Subversion Repositories Kolibri OS

Rev

Rev 6296 | Rev 6660 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6296 Rev 6320
Line 49... Line 49...
49
#include 
49
#include 
50
#include 
50
#include 
51
#include "intel_guc.h"
51
#include "intel_guc.h"
Line 52... Line 52...
52
 
52
 
53
#include 
-
 
Line 54... Line 53...
54
#include 
53
#include 
55
 
54
 
56
#define ioread32(addr)          readl(addr)
55
#define ioread32(addr)          readl(addr)
57
static inline u8 inb(u16 port)
56
static inline u8 inb(u16 port)
Line 2621... Line 2620...
2621
#define INTEL_PCH_LPT_DEVICE_ID_TYPE		0x8c00
2620
#define INTEL_PCH_LPT_DEVICE_ID_TYPE		0x8c00
2622
#define INTEL_PCH_LPT_LP_DEVICE_ID_TYPE		0x9c00
2621
#define INTEL_PCH_LPT_LP_DEVICE_ID_TYPE		0x9c00
2623
#define INTEL_PCH_SPT_DEVICE_ID_TYPE		0xA100
2622
#define INTEL_PCH_SPT_DEVICE_ID_TYPE		0xA100
2624
#define INTEL_PCH_SPT_LP_DEVICE_ID_TYPE		0x9D00
2623
#define INTEL_PCH_SPT_LP_DEVICE_ID_TYPE		0x9D00
2625
#define INTEL_PCH_P2X_DEVICE_ID_TYPE		0x7100
2624
#define INTEL_PCH_P2X_DEVICE_ID_TYPE		0x7100
-
 
2625
#define INTEL_PCH_QEMU_DEVICE_ID_TYPE		0x2900 /* qemu q35 has 2918 */
Line 2626... Line 2626...
2626
 
2626
 
2627
#define INTEL_PCH_TYPE(dev) (__I915__(dev)->pch_type)
2627
#define INTEL_PCH_TYPE(dev) (__I915__(dev)->pch_type)
2628
#define HAS_PCH_SPT(dev) (INTEL_PCH_TYPE(dev) == PCH_SPT)
2628
#define HAS_PCH_SPT(dev) (INTEL_PCH_TYPE(dev) == PCH_SPT)
2629
#define HAS_PCH_LPT(dev) (INTEL_PCH_TYPE(dev) == PCH_LPT)
2629
#define HAS_PCH_LPT(dev) (INTEL_PCH_TYPE(dev) == PCH_LPT)