Lines Matching defs:devbase
449 static void __init mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase,
456 for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0;
457 pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) {
458 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
460 id = readb(devbase + pos + 3);
469 base = devbase + pos;
485 static void __init mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase,
492 static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase,
500 for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0;
501 pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) {
502 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
504 id = readb(devbase + pos + 3);
512 base = devbase + pos;
532 mpic->fixups[irq].applebase = devbase + 0x60;
565 u8 __iomem *devbase = cfgspace + (devfn << 8);
566 u8 hdr_type = readb(devbase + PCI_HEADER_TYPE);
567 u32 l = readl(devbase + PCI_VENDOR_ID);
577 s = readw(devbase + PCI_STATUS);
581 mpic_scan_ht_pic(mpic, devbase, devfn, l);
582 mpic_scan_ht_msi(mpic, devbase, devfn);