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