Home
last modified time | relevance | path

Searched refs:pci_io_base (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/include/asm-ppc64/
Deeh.h185 val = in_8((u8 *)(port+pci_io_base)); in eeh_inb()
187 return eeh_check_failure((void*)(port+pci_io_base), val); in eeh_inb()
193 return out_8((u8 *)(port+pci_io_base), val); in eeh_outb()
200 val = in_le16((u16 *)(port+pci_io_base)); in eeh_inw()
202 return eeh_check_failure((void*)(port+pci_io_base), val); in eeh_inw()
208 return out_le16((u16 *)(port+pci_io_base), val); in eeh_outw()
215 val = in_le32((u32 *)(port+pci_io_base)); in eeh_inl()
217 return eeh_check_failure((void*)(port+pci_io_base), val); in eeh_inl()
223 return out_le32((u32 *)(port+pci_io_base), val); in eeh_outl()
Dio.h29 extern unsigned long pci_io_base;
86 #define insb(port, buf, ns) _insb((u8 *)((port)+pci_io_base), (buf), (ns))
87 #define outsb(port, buf, ns) _outsb((u8 *)((port)+pci_io_base), (buf), (ns))
88 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+pci_io_base), (buf), (ns))
89 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+pci_io_base), (buf), (ns))
90 #define insl(port, buf, nl) _insl_ns((u32 *)((port)+pci_io_base), (buf), (nl))
91 #define outsl(port, buf, nl) _outsl_ns((u32 *)((port)+pci_io_base), (buf), (nl))
121 #define insw_ns(port, buf, ns) _insw_ns((u16 *)((port)+pci_io_base), (buf), (ns))
122 #define outsw_ns(port, buf, ns) _outsw_ns((u16 *)((port)+pci_io_base), (buf), (ns))
123 #define insl_ns(port, buf, nl) _insl_ns((u32 *)((port)+pci_io_base), (buf), (nl))
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
DpSeries_pci.c358 if (!pci_io_base) { in find_and_init_phbs()
359 pci_io_base = (unsigned long)phb->io_base_virt; in find_and_init_phbs()
361 isa_io_base = pci_io_base; in find_and_init_phbs()
364 res->start += (unsigned long)phb->io_base_virt - pci_io_base; in find_and_init_phbs()
662 unsigned long offset = (unsigned long)phb->io_base_virt - pci_io_base; in fixup_resources()
Dppc_ksyms.c112 EXPORT_SYMBOL(pci_io_base);
Dpci.c44 unsigned long pci_io_base = 0; variable
588 unsigned long offset = (unsigned long)phb->io_base_virt - pci_io_base; in pcibios_fixup_bus()
/linux-2.4.37.9/arch/ppc/platforms/
Dapus_pci.c55 void *pci_io_base(unsigned int bus) in pci_io_base() function
/linux-2.4.37.9/drivers/net/
Dtlan.c562 u32 pci_io_base = 0; in TLan_probe1() local
576 pci_io_base = pci_resource_start(pdev, reg); in TLan_probe1()
578 pci_io_base); in TLan_probe1()
582 if (!pci_io_base) { in TLan_probe1()
588 dev->base_addr = pci_io_base; in TLan_probe1()