16 if (((
id & 0xffff) == 0x0000) || ((
id & 0xffff) == 0xffff) ||
17 (((
id >> 16) & 0xffff) == 0xffff) ||
18 (((
id >> 16) & 0xffff) == 0x0000)) {
22 (dev >> 15) & 0x1f, (dev >> 12) & 7);
31 printk(
BIOS_DEBUG,
"PCI: %02x:%02x.%02x\n", (dev >> 20) & 0xff, (dev >> 15) & 0x1f,
34 for (i = 0; i <= 255; i++) {
40 if ((i & 0x0f) == 0x0f)
51 if (((
id & 0xffff) == 0x0000) || ((
id & 0xffff) == 0xffff) ||
52 (((
id >> 16) & 0xffff) == 0xffff) ||
53 (((
id >> 16) & 0xffff) == 0x0000)) {
62 for (
unsigned int d = 0; d < 4; d++) {
63 const unsigned int device = spd_map[d];
71 for (i = 0; (i < 256); i++) {
#define printk(level,...)
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
static __always_inline u8 pci_read_config8(const struct device *dev, u16 reg)
static int smbus_read_byte(struct device *const dev, u8 addr)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
void dump_pci_device(unsigned int dev)
void dump_spd_registers(void)
void dump_pci_devices(void)
void print_pci_devices(void)
#define PCI_DEV(SEGBUS, DEV, FN)