Home
last modified time | relevance | path

Searched refs:pci_bus (Results 1 – 25 of 161) sorted by relevance

1234567

/arch/ia64/include/asm/sn/
Dpcidev.h33 #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/
Dpci.h26 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/
Dpci.h12 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/
Dpci.h112 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 …]
Dpci-bridge.h69 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);
Dtopology.h34 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/
Dops-rc32434.c48 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()
Dops-pnx8550.c42 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()
Dops-au1000.c93 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()
Dops-titan-ht.c35 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()
Dops-sni.c40 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()
Dops-pmcmsp.c376 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()
Dops-mace.c32 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()
Dops-msc.c48 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/
Dpci_dlpar.c36 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/
Dpcie.h22 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/
Dpci_impl.h149 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/
Dpci.c26 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/
Dpbm.h35 struct pci_bus *pci_bus; /* Was inline, MJ allocs now */ member
Dtopology_64.h36 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/
Dpci_32.c103 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/
Dvia82c505.c18 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/
Dplatform.h132 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/
Dht-irq.c36 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/
Dcommon.c33 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()

1234567