/arch/powerpc/include/asm/ |
D | pci.h | 67 extern int pci_domain_nr(struct pci_bus *bus); 70 extern int pci_proc_domain(struct pci_bus *bus); 80 extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, 82 extern int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, 84 extern int pci_mmap_legacy_page_range(struct pci_bus *bus, 90 extern void pcibios_claim_one_bus(struct pci_bus *b); 92 extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); 100 struct pci_bus *bus, int devfn); 106 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 107 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); [all …]
|
D | pci-bridge.h | 19 void (*dma_bus_setup)(struct pci_bus *bus); 23 int (*probe_mode)(struct pci_bus *bus); 34 resource_size_t (*window_alignment)(struct pci_bus *bus, 36 void (*setup_bridge)(struct pci_bus *bus, 53 struct pci_bus *bus; 154 extern int indirect_read_config(struct pci_bus *bus, unsigned int devfn, 161 extern int indirect_write_config(struct pci_bus *bus, unsigned int devfn, 164 static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) in pci_bus_to_host() 222 extern struct pci_dn *pci_get_pdn_by_devfn(struct pci_bus *bus, 254 extern struct pci_bus *pci_find_bus_by_node(struct device_node *dn); [all …]
|
D | topology.h | 25 struct pci_bus; 27 extern int pcibus_to_node(struct pci_bus *bus); 29 static inline int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node()
|
/arch/x86/include/asm/ |
D | pci.h | 36 static inline struct pci_sysdata *to_pci_sysdata(const struct pci_bus *bus) in to_pci_sysdata() 44 static inline int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr() 49 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain() 56 static inline void *_pci_root_bus_fwnode(struct pci_bus *bus) in _pci_root_bus_fwnode() 65 static inline bool is_vmd(struct pci_bus *bus) in is_vmd() 113 static inline int __pcibus_to_node(const struct pci_bus *bus) in __pcibus_to_node() 119 cpumask_of_pcibus(const struct pci_bus *bus) in cpumask_of_pcibus()
|
/arch/powerpc/kernel/ |
D | pci-hotplug.c | 20 static struct pci_bus *find_bus_among_children(struct pci_bus *bus, in find_bus_among_children() 23 struct pci_bus *child = NULL; in find_bus_among_children() 24 struct pci_bus *tmp; in find_bus_among_children() 38 struct pci_bus *pci_find_bus_by_node(struct device_node *dn) in pci_find_bus_by_node() 77 void pci_hp_remove_devices(struct pci_bus *bus) in pci_hp_remove_devices() 80 struct pci_bus *child_bus; in pci_hp_remove_devices() 106 void pci_hp_add_devices(struct pci_bus *bus) in pci_hp_add_devices()
|
/arch/alpha/include/asm/ |
D | pci.h | 23 struct pci_bus *bus; 67 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain() 86 extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, 88 extern int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, 90 extern int pci_mmap_legacy_page_range(struct pci_bus *bus, 93 extern void pci_adjust_legacy_attr(struct pci_bus *bus,
|
/arch/microblaze/include/asm/ |
D | pci.h | 39 extern int pci_domain_nr(struct pci_bus *bus); 42 extern int pci_proc_domain(struct pci_bus *bus); 51 extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, 53 extern int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, 55 extern int pci_mmap_legacy_page_range(struct pci_bus *bus,
|
/arch/arm/plat-orion/include/plat/ |
D | pcie.h | 14 struct pci_bus; 24 int orion_pcie_rd_conf(void __iomem *base, struct pci_bus *bus, 26 int orion_pcie_rd_conf_tlp(void __iomem *base, struct pci_bus *bus, 28 int orion_pcie_rd_conf_wa(void __iomem *wa_base, struct pci_bus *bus, 30 int orion_pcie_wr_conf(void __iomem *base, struct pci_bus *bus,
|
/arch/mips/pci/ |
D | ops-rc32434.c | 47 struct pci_bus *bus, unsigned int devfn, in config_access() 72 static int read_config_byte(struct pci_bus *bus, unsigned int devfn, in read_config_byte() 83 static int read_config_word(struct pci_bus *bus, unsigned int devfn, in read_config_word() 94 static int read_config_dword(struct pci_bus *bus, unsigned int devfn, in read_config_dword() 129 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, in write_config_byte() 148 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, in write_config_word() 168 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, in write_config_dword() 177 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, in pci_config_read() 190 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, in pci_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 | pci-lantiq.h | 11 extern int ltq_pci_read_config_dword(struct pci_bus *bus, 13 extern int ltq_pci_write_config_dword(struct pci_bus *bus,
|
D | ops-loongson2.c | 33 struct pci_bus *bus, in loongson_pcibios_config_access() 118 static int loongson_pcibios_read(struct pci_bus *bus, unsigned int devfn, in loongson_pcibios_read() 142 static int loongson_pcibios_write(struct pci_bus *bus, unsigned int devfn, in loongson_pcibios_write() 184 struct pci_bus bus = { in _rdmsr() 200 struct pci_bus bus = { in _wrmsr()
|
D | ops-mace.c | 30 static inline int mkaddr(struct pci_bus *bus, unsigned int devfn, in mkaddr() 40 mace_pci_read_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_read_config() 76 mace_pci_write_config(struct pci_bus *bus, unsigned int devfn, in mace_pci_write_config()
|
/arch/ia64/include/asm/ |
D | pci.h | 38 extern int pci_mmap_legacy_page_range(struct pci_bus *bus, 42 char *pci_get_legacy_mem(struct pci_bus *bus); 43 int pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size); 44 int pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size); 61 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain()
|
/arch/arm64/kernel/ |
D | pci.c | 40 struct pci_bus *b = pci_find_bus(domain, bus); in raw_pci_read() 50 struct pci_bus *b = pci_find_bus(domain, bus); in raw_pci_write() 59 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() 74 int acpi_pci_bus_find_domain_nr(struct pci_bus *bus) in acpi_pci_bus_find_domain_nr() 162 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) in pci_acpi_scan_root() 165 struct pci_bus *bus, *child; in pci_acpi_scan_root() 210 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus() 215 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus()
|
/arch/sparc/kernel/ |
D | pci_impl.h | 156 struct pci_bus *pci_bus; member 168 struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, 173 void pci_scan_for_target_abort(struct pci_pbm_info *, struct pci_bus *); 174 void pci_scan_for_master_abort(struct pci_pbm_info *, struct pci_bus *); 175 void pci_scan_for_parity_error(struct pci_pbm_info *, struct pci_bus *);
|
/arch/x86/pci/ |
D | i386.c | 233 static void pcibios_allocate_bus_resources(struct pci_bus *bus) in pcibios_allocate_bus_resources() 235 struct pci_bus *child; in pcibios_allocate_bus_resources() 307 static void pcibios_allocate_resources(struct pci_bus *bus, int pass) in pcibios_allocate_resources() 310 struct pci_bus *child; in pcibios_allocate_resources() 341 static void pcibios_allocate_rom_resources(struct pci_bus *bus) in pcibios_allocate_rom_resources() 344 struct pci_bus *child; in pcibios_allocate_rom_resources() 357 struct pci_bus *bus; in pcibios_assign_resources() 375 void pcibios_resource_survey_bus(struct pci_bus *bus) in pcibios_resource_survey_bus() 390 struct pci_bus *bus; in pcibios_resource_survey()
|
/arch/sparc/include/asm/ |
D | topology_64.h | 18 struct pci_bus; 20 int pcibus_to_node(struct pci_bus *pbus); 22 static inline int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node()
|
D | pbm.h | 36 struct pci_bus *pci_bus; /* Was inline, MJ allocs now */ member
|
D | pci.h | 30 int pci_domain_nr(struct pci_bus *bus); 31 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain()
|
/arch/mips/include/asm/ |
D | pci.h | 32 struct pci_bus *bus; 124 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain() 131 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain()
|
/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 12 struct pci_bus; 13 extern int pcibus_to_node(struct pci_bus *);
|
/arch/arm64/include/asm/ |
D | topology.h | 9 struct pci_bus; 10 int pcibus_to_node(struct pci_bus *bus);
|
/arch/mips/include/asm/mach-ip27/ |
D | topology.h | 20 struct pci_bus; 21 extern int pcibus_to_node(struct pci_bus *);
|
/arch/ia64/pci/ |
D | pci.c | 99 static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_read() 106 static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_write() 290 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) in pci_acpi_scan_root() 364 void pcibios_fixup_bus(struct pci_bus *b) in pcibios_fixup_bus() 376 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus() 381 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus() 425 char *pci_get_legacy_mem(struct pci_bus *bus) in pci_get_legacy_mem() 439 pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma, in pci_mmap_legacy_page_range() 486 int pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size) in pci_legacy_read() 517 int pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size) in pci_legacy_write()
|