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