/arch/ia64/include/asm/sn/ |
D | pcidev.h | 33 #define SN_PCIBUS_BUSSOFT(pci_bus) \ argument 34 ((struct pcibus_bussoft *)(SN_PLATFORM_DATA(pci_bus)->provider_soft)) 36 #define SN_PCIBUS_BUSSOFT_INFO(pci_bus) \ argument 37 ((struct pcibus_info *)(SN_PLATFORM_DATA(pci_bus)->provider_soft)) 73 extern void sn_bus_fixup(struct pci_bus *); 74 extern void sn_acpi_bus_fixup(struct pci_bus *); 75 extern void sn_common_bus_fixup(struct pci_bus *, struct pcibus_bussoft *); 78 extern void sn_generate_path(struct pci_bus *pci_bus, char *address);
|
/arch/x86/include/asm/ |
D | pci.h | 26 extern struct pci_bus *pci_scan_bus_on_node(int busno, struct pci_ops *ops, 28 extern struct pci_bus *pci_scan_bus_with_sysdata(int busno); 30 static inline int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr() 36 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain() 60 struct pci_bus *pcibios_scan_root(int bus); 105 static inline int __pcibus_to_node(const struct pci_bus *bus) in __pcibus_to_node() 112 static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus) in __pcibus_to_cpumask() 118 cpumask_of_pcibus(const struct pci_bus *bus) in cpumask_of_pcibus()
|
/arch/arm/include/asm/mach/ |
D | pci.h | 12 struct pci_bus; 18 struct pci_bus *(*scan)(int nr, struct pci_sys_data *); 33 struct pci_bus *bus; /* PCI bus */ 56 extern struct pci_bus *iop3xx_pci_scan_bus(int nr, struct pci_sys_data *); 61 extern struct pci_bus *dc21285_scan_bus(int nr, struct pci_sys_data *); 66 extern struct pci_bus *via82c505_scan_bus(int nr, struct pci_sys_data *); 70 extern struct pci_bus *pci_v3_scan_bus(int nr, struct pci_sys_data *);
|
/arch/powerpc/include/asm/ |
D | pci.h | 112 extern int pci_domain_nr(struct pci_bus *bus); 115 extern int pci_proc_domain(struct pci_bus *bus); 126 extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, 128 extern int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, 130 extern int pci_mmap_legacy_page_range(struct pci_bus *bus, 207 extern void pcibios_claim_one_bus(struct pci_bus *b); 209 extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); 217 struct pci_bus *bus, int devfn); 222 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 223 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); [all …]
|
D | pci-bridge.h | 69 struct pci_bus *bus; 154 static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) in pci_bus_to_host() 252 static inline struct device_node *pci_bus_to_OF_node(struct pci_bus *bus) in pci_bus_to_OF_node() 261 extern struct pci_bus *pcibios_find_pci_bus(struct device_node *dn); 264 extern void pcibios_remove_pci_devices(struct pci_bus *bus); 267 extern void pcibios_add_pci_devices(struct pci_bus *bus); 269 static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) in pci_bus_to_host() 287 extern int pcibios_unmap_io_space(struct pci_bus *bus); 288 extern int pcibios_map_io_space(struct pci_bus *bus);
|
D | topology.h | 34 struct pci_bus; 36 extern int pcibus_to_node(struct pci_bus *bus); 38 static inline int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node()
|
/arch/mips/pci/ |
D | ops-rc32434.c | 48 struct pci_bus *bus, unsigned int devfn, in config_access() 73 static int read_config_byte(struct pci_bus *bus, unsigned int devfn, in read_config_byte() 84 static int read_config_word(struct pci_bus *bus, unsigned int devfn, in read_config_word() 95 static int read_config_dword(struct pci_bus *bus, unsigned int devfn, in read_config_dword() 130 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, in write_config_byte() 149 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, in write_config_word() 169 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, in write_config_dword() 178 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, in pci_config_read() 191 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, in pci_config_write()
|
D | ops-pnx8550.c | 42 calc_cfg_addr(struct pci_bus *bus, unsigned int devfn, int where) in calc_cfg_addr() 53 config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int where, unsigned in… in config_access() 113 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 * val) in read_config_byte() 141 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 * val) in read_config_word() 166 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 * val) in read_config_dword() 181 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) in write_config_byte() 209 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) in write_config_word() 233 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) in write_config_dword() 247 static int config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) in config_read() 267 static int config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) in config_write()
|
D | ops-au1000.c | 93 static int config_access(unsigned char access_type, struct pci_bus *bus, in config_access() 189 static int read_config_byte(struct pci_bus *bus, unsigned int devfn, in read_config_byte() 204 static int read_config_word(struct pci_bus *bus, unsigned int devfn, in read_config_word() 217 static int read_config_dword(struct pci_bus *bus, unsigned int devfn, in read_config_dword() 226 static int write_config_byte(struct pci_bus *bus, unsigned int devfn, in write_config_byte() 243 static int write_config_word(struct pci_bus *bus, unsigned int devfn, in write_config_word() 260 static int write_config_dword(struct pci_bus *bus, unsigned int devfn, in write_config_dword() 269 static int config_read(struct pci_bus *bus, unsigned int devfn, in config_read() 292 static int config_write(struct pci_bus *bus, unsigned int devfn, in config_write()
|
D | ops-titan-ht.c | 35 static int titan_ht_config_read_dword(struct pci_bus *bus, unsigned int devfn, in titan_ht_config_read_dword() 67 static int titan_ht_config_read(struct pci_bus *bus, unsigned int devfn, in titan_ht_config_read() 80 static inline int titan_ht_config_write_dword(struct pci_bus *bus, in titan_ht_config_write_dword() 106 static int titan_ht_config_write(struct pci_bus *bus, unsigned int devfn, in titan_ht_config_write()
|
D | ops-sni.c | 40 static int pcimt_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_read() 63 static int pcimt_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_write() 100 static int pcit_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_read() 137 static int pcit_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_write()
|
D | ops-pmcmsp.c | 376 struct pci_bus *bus, in msp_pcibios_config_access() 512 msp_pcibios_read_config_byte(struct pci_bus *bus, in msp_pcibios_read_config_byte() 560 msp_pcibios_read_config_word(struct pci_bus *bus, in msp_pcibios_read_config_word() 617 msp_pcibios_read_config_dword(struct pci_bus *bus, in msp_pcibios_read_config_dword() 670 msp_pcibios_write_config_byte(struct pci_bus *bus, in msp_pcibios_write_config_byte() 719 msp_pcibios_write_config_word(struct pci_bus *bus, in msp_pcibios_write_config_word() 771 msp_pcibios_write_config_dword(struct pci_bus *bus, in msp_pcibios_write_config_dword() 813 msp_pcibios_read_config(struct pci_bus *bus, in msp_pcibios_read_config() 864 msp_pcibios_write_config(struct pci_bus *bus, in msp_pcibios_write_config()
|
D | ops-mace.c | 32 static inline int mkaddr(struct pci_bus *bus, unsigned int devfn, in mkaddr() 42 mace_pci_read_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_read_config() 78 mace_pci_write_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_write_config()
|
D | ops-msc.c | 48 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) in msc_pcibios_config_access() 89 static int msc_pcibios_read(struct pci_bus *bus, unsigned int devfn, in msc_pcibios_read() 113 static int msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, in msc_pcibios_write()
|
/arch/powerpc/platforms/pseries/ |
D | pci_dlpar.c | 36 static struct pci_bus * 37 find_bus_among_children(struct pci_bus *bus, in find_bus_among_children() 40 struct pci_bus *child = NULL; in find_bus_among_children() 56 struct pci_bus * 74 void pcibios_remove_pci_devices(struct pci_bus *bus) in pcibios_remove_pci_devices() 77 struct pci_bus *child_bus; in pcibios_remove_pci_devices() 103 void pcibios_add_pci_devices(struct pci_bus * bus) in pcibios_add_pci_devices() 166 struct pci_bus *b = phb->bus; in remove_phb_dynamic()
|
/arch/arm/plat-orion/include/plat/ |
D | pcie.h | 22 int orion_pcie_rd_conf(void __iomem *base, struct pci_bus *bus, 24 int orion_pcie_rd_conf_tlp(void __iomem *base, struct pci_bus *bus, 26 int orion_pcie_rd_conf_wa(void __iomem *wa_base, struct pci_bus *bus, 28 int orion_pcie_wr_conf(void __iomem *base, struct pci_bus *bus,
|
/arch/sparc/kernel/ |
D | pci_impl.h | 149 struct pci_bus *pci_bus; member 161 extern struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, 166 extern void pci_scan_for_target_abort(struct pci_pbm_info *, struct pci_bus *); 167 extern void pci_scan_for_master_abort(struct pci_pbm_info *, struct pci_bus *); 168 extern void pci_scan_for_parity_error(struct pci_pbm_info *, struct pci_bus *);
|
/arch/mn10300/unit-asb2305/ |
D | pci.c | 26 struct pci_bus *pci_root_bus; 46 static inline int __query(const struct pci_bus *bus, unsigned int devfn) in __query() 106 static int pci_ampci_read_config_byte(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config_byte() 126 static int pci_ampci_read_config_word(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config_word() 146 static int pci_ampci_read_config_dword(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config_dword() 166 static int pci_ampci_write_config_byte(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config_byte() 186 static int pci_ampci_write_config_word(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config_word() 204 static int pci_ampci_write_config_dword(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config_dword() 222 static int pci_ampci_read_config(struct pci_bus *bus, unsigned int devfn, in pci_ampci_read_config() 238 static int pci_ampci_write_config(struct pci_bus *bus, unsigned int devfn, in pci_ampci_write_config() [all …]
|
/arch/sparc/include/asm/ |
D | pbm.h | 35 struct pci_bus *pci_bus; /* Was inline, MJ allocs now */ member
|
D | topology_64.h | 36 struct pci_bus; 38 extern int pcibus_to_node(struct pci_bus *pbus); 40 static inline int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node()
|
/arch/powerpc/kernel/ |
D | pci_32.c | 103 make_one_node_map(struct device_node* node, u8 pci_bus) in make_one_node_map() argument 108 if (pci_bus >= pci_bus_count) in make_one_node_map() 114 pci_to_OF_bus_map[pci_bus] = 0; in make_one_node_map() 116 pci_to_OF_bus_map[pci_bus] = bus_range[0]; in make_one_node_map() 129 dev = pci_get_bus_and_slot(pci_bus, ((reg[0] >> 8) & 0xff)); in make_one_node_map() 237 static struct device_node *scan_OF_for_pci_bus(struct pci_bus *bus) in scan_OF_for_pci_bus() 265 pci_busdev_to_OF_node(struct pci_bus *bus, int devfn) in pci_busdev_to_OF_node() 373 struct pci_bus *bus; in pcibios_scan_phb() 524 null_read_config(struct pci_bus *bus, unsigned int devfn, int offset, in null_read_config() 531 null_write_config(struct pci_bus *bus, unsigned int devfn, int offset, in null_write_config() [all …]
|
/arch/arm/common/ |
D | via82c505.c | 18 via82c505_read_config(struct pci_bus *bus, unsigned int devfn, int where, in via82c505_read_config() 37 via82c505_write_config(struct pci_bus *bus, unsigned int devfn, int where, in via82c505_write_config() 86 struct pci_bus * __init via82c505_scan_bus(int nr, struct pci_sys_data *sysdata) in via82c505_scan_bus()
|
/arch/arm/mach-ixp2000/include/mach/ |
D | platform.h | 132 struct pci_bus* ixp2000_pci_scan_bus(int, struct pci_sys_data*); 133 int ixp2000_pci_read_config(struct pci_bus*, unsigned int, int, int, u32 *); 134 int ixp2000_pci_write_config(struct pci_bus*, unsigned int, int, int, u32);
|
/arch/mips/pmc-sierra/yosemite/ |
D | ht-irq.c | 36 void __init titan_ht_pcibios_fixup_bus(struct pci_bus *bus) in titan_ht_pcibios_fixup_bus() 38 struct pci_bus *current_bus = bus; in titan_ht_pcibios_fixup_bus()
|
/arch/x86/pci/ |
D | common.c | 33 struct pci_bus *pci_root_bus; 57 static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) in pci_read() 63 static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) in pci_write() 150 void __devinit pcibios_fixup_bus(struct pci_bus *b) in pcibios_fixup_bus() 378 struct pci_bus * __devinit pcibios_scan_root(int busnum) in pcibios_scan_root() 380 struct pci_bus *bus = NULL; in pcibios_scan_root() 573 struct pci_bus * __devinit pci_scan_bus_on_node(int busno, struct pci_ops *ops, int node) in pci_scan_bus_on_node() 575 struct pci_bus *bus = NULL; in pci_scan_bus_on_node() 596 struct pci_bus * __devinit pci_scan_bus_with_sysdata(int busno) in pci_scan_bus_with_sysdata()
|