Lines Matching defs:devbase
447 static void __init mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase,
454 for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0;
455 pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) {
456 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
458 id = readb(devbase + pos + 3);
467 base = devbase + pos;
483 static void __init mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase,
490 static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase,
498 for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0;
499 pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) {
500 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
502 id = readb(devbase + pos + 3);
510 base = devbase + pos;
530 mpic->fixups[irq].applebase = devbase + 0x60;
563 u8 __iomem *devbase = cfgspace + (devfn << 8);
564 u8 hdr_type = readb(devbase + PCI_HEADER_TYPE);
565 u32 l = readl(devbase + PCI_VENDOR_ID);
575 s = readw(devbase + PCI_STATUS);
579 mpic_scan_ht_pic(mpic, devbase, devfn, l);
580 mpic_scan_ht_msi(mpic, devbase, devfn);