/linux-6.3-rc2/drivers/pci/hotplug/ |
A D | cpqphp_pci.c | 72 struct pci_bus *child; in cpqhp_configure_device() 160 struct pci_bus *fakebus; in cpqhp_set_irq() 254 ctrl->pci_bus->number = tbus; in PCI_GetBusDevHelper() 562 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_save_base_addr_length() local 568 pci_bus->number = func->bus; in cpqhp_save_base_addr_length() 707 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_save_used_resources() local 713 pci_bus->number = func->bus; in cpqhp_save_used_resources() 960 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_configure_board() local 966 pci_bus->number = func->bus; in cpqhp_configure_board() 1039 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_valid_replace() local [all …]
|
A D | cpqphp_ctrl.c | 1117 struct pci_bus *bus = ctrl->pci_bus; in set_controller_speed() 1255 struct pci_bus *bus = ctrl->pci_bus; in board_replaced() 1413 struct pci_bus *bus = ctrl->pci_bus; in board_added() 1504 ctrl->pci_bus->number = func->bus; in board_added() 2036 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_process_SS() local 2044 pci_bus->number = func->bus; in cpqhp_process_SS() 2223 ctrl->pci_bus->number = func->bus; in configure_new_device() 2333 struct pci_bus *pci_bus; in configure_new_function() local 2336 pci_bus = ctrl->pci_bus; in configure_new_function() 2337 pci_bus->number = func->bus; in configure_new_function() [all …]
|
A D | acpiphp_glue.c | 176 put_device(&bridge->pci_bus->dev); in free_bridge() 192 struct pci_bus *bus; in acpiphp_post_dock_fixup() 237 struct pci_bus *pbus = bridge->pci_bus; in acpiphp_add_context() 290 slot->bus = bridge->pci_bus; in acpiphp_add_context() 373 struct pci_bus *tmp; in acpiphp_max_busnr() 485 struct pci_bus *bus = slot->bus; in enable_slot() 555 struct pci_bus *bus = slot->bus; in disable_slot() 577 struct pci_bus *bus = slot->bus; in slot_no_hotplug() 709 struct pci_bus *bus = slot->bus; in acpiphp_check_bridge() 879 bridge->pci_bus = bus; in acpiphp_enumerate_slots() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | pci-acpi.h | 34 struct pci_bus *pbus = pdev->bus; in acpi_find_root_bridge_handle() 84 void acpi_pci_add_bus(struct pci_bus *bus); 85 void acpi_pci_remove_bus(struct pci_bus *bus); 97 void acpi_pci_slot_enumerate(struct pci_bus *bus); 98 void acpi_pci_slot_remove(struct pci_bus *bus); 102 static inline void acpi_pci_slot_remove(struct pci_bus *bus) { } in acpi_pci_slot_remove() 107 void acpiphp_enumerate_slots(struct pci_bus *bus); 108 void acpiphp_remove_slots(struct pci_bus *bus); 113 static inline void acpiphp_remove_slots(struct pci_bus *bus) { } in acpiphp_remove_slots() 137 static inline void acpi_pci_add_bus(struct pci_bus *bus) { } in acpi_pci_add_bus() [all …]
|
A D | pci.h | 561 struct pci_bus *bus; /* Root bus */ 643 struct pci_bus { struct 770 int (*add_bus)(struct pci_bus *bus); 771 void (*remove_bus)(struct pci_bus *bus); 1087 void pcibios_fixup_bus(struct pci_bus *); 1098 void pci_fixup_cardbus(struct pci_bus *); 1121 struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, 1145 void pci_remove_bus(struct pci_bus *b); 1165 struct pci_bus *pci_find_next_bus(const struct pci_bus *from); 1372 void pci_resume_bus(struct pci_bus *bus); [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | pci.h | 65 extern int pci_domain_nr(struct pci_bus *bus); 68 extern int pci_proc_domain(struct pci_bus *bus); 78 extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, 80 extern int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, 82 extern int pci_mmap_legacy_page_range(struct pci_bus *bus, 88 extern void pcibios_claim_one_bus(struct pci_bus *b); 90 extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); 98 struct pci_bus *bus, int devfn); 104 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 105 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); [all …]
|
A 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; 232 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); 257 extern void pci_hp_remove_devices(struct pci_bus *bus); 260 extern void pci_hp_add_devices(struct pci_bus *bus); 262 extern int pcibios_unmap_io_space(struct pci_bus *bus); [all …]
|
/linux-6.3-rc2/drivers/pci/ |
A D | search.c | 32 struct pci_bus *bus; in pci_for_each_dma_alias() 116 static struct pci_bus *pci_do_find_bus(struct pci_bus *bus, unsigned char busnr) in pci_do_find_bus() 118 struct pci_bus *child; in pci_do_find_bus() 119 struct pci_bus *tmp; in pci_do_find_bus() 141 struct pci_bus *pci_find_bus(int domain, int busnr) in pci_find_bus() 143 struct pci_bus *bus = NULL; in pci_find_bus() 144 struct pci_bus *tmp_bus; in pci_find_bus() 166 struct pci_bus *pci_find_next_bus(const struct pci_bus *from) in pci_find_next_bus() 169 struct pci_bus *b = NULL; in pci_find_next_bus() 174 b = list_entry(n, struct pci_bus, node); in pci_find_next_bus() [all …]
|
A D | bus.c | 47 void pci_bus_add_resource(struct pci_bus *bus, struct resource *res, in pci_bus_add_resource() 63 struct resource *pci_bus_resource_n(const struct pci_bus *bus, int n) in pci_bus_resource_n() 79 void pci_bus_remove_resources(struct pci_bus *bus) in pci_bus_remove_resources() 136 static void pci_clip_resource_to_region(struct pci_bus *bus, in pci_clip_resource_to_region() 267 struct pci_bus *bus = dev->bus; in pci_bus_clip_resource() 303 void __weak pcibios_resource_survey_bus(struct pci_bus *bus) { } in pcibios_resource_survey_bus() 342 void pci_bus_add_devices(const struct pci_bus *bus) in pci_bus_add_devices() 345 struct pci_bus *child; in pci_bus_add_devices() 382 struct pci_bus *bus; in pci_walk_bus() 414 struct pci_bus *pci_bus_get(struct pci_bus *bus) in pci_bus_get() [all …]
|
A D | host-bridge.c | 12 static struct pci_bus *find_pci_root_bus(struct pci_bus *bus) in find_pci_root_bus() 20 struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus) in pci_find_host_bridge() 22 struct pci_bus *root_bus = find_pci_root_bus(bus); in pci_find_host_bridge() 30 struct pci_bus *root_bus = find_pci_root_bus(dev->bus); in pci_get_host_bridge_device() 51 void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, in pcibios_resource_to_bus() 76 void pcibios_bus_to_resource(struct pci_bus *bus, struct resource *res, in pcibios_bus_to_resource()
|
A D | pci.h | 88 void pci_pme_wakeup_bus(struct pci_bus *bus); 148 int pci_proc_detach_bus(struct pci_bus *bus); 159 void pci_create_legacy_files(struct pci_bus *bus); 160 void pci_remove_legacy_files(struct pci_bus *bus); 254 void __pci_bus_size_bridges(struct pci_bus *bus, 263 struct pci_bus *pci_bus_get(struct pci_bus *bus); 264 void pci_bus_put(struct pci_bus *bus); 480 int pci_iov_bus_range(struct pci_bus *bus); 498 static inline int pci_iov_bus_range(struct pci_bus *bus) in pci_iov_bus_range() 629 void pci_set_bus_of_node(struct pci_bus *bus); [all …]
|
A D | probe.c | 91 struct pci_bus *pci_bus = to_pci_bus(dev); in release_pcibus_dev() local 96 kfree(pci_bus); in release_pcibus_dev() 547 static struct pci_bus *pci_alloc_bus(struct pci_bus *parent) in pci_alloc_bus() 549 struct pci_bus *b; in pci_alloc_bus() 864 struct pci_bus *b; in pci_set_bus_msi_domain() 1082 static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent, in pci_alloc_child_bus() 1085 struct pci_bus *child; in pci_alloc_child_bus() 1164 struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, in pci_add_new_bus() 3158 struct pci_bus *b; in pci_scan_root_bus_bridge() 3199 struct pci_bus *b; in pci_scan_root_bus() [all …]
|
A D | setup-bus.c | 1214 struct pci_bus *b = dev->subordinate; in __pci_bus_size_bridges() 1364 struct pci_bus *b; in pdev_assign_fixed_resources() 1383 struct pci_bus *b; in __pci_bus_assign_resources() 1452 struct pci_bus *child; in pci_bus_allocate_dev_resources() 1465 struct pci_bus *child; in pci_bus_allocate_resources() 1492 struct pci_bus *b; in __pci_bridge_assign_resources() 1638 struct pci_bus *b; in pci_bus_dump_resources() 1656 struct pci_bus *child_bus; in pci_bus_get_depth() 1921 struct pci_bus *b; in pci_bus_distribute_available_resources() 2021 struct pci_bus *b; in pci_root_bus_distribute_available_resources() [all …]
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | pci-hotplug.c | 21 static struct pci_bus *find_bus_among_children(struct pci_bus *bus, in find_bus_among_children() 24 struct pci_bus *child = NULL; in find_bus_among_children() 25 struct pci_bus *tmp; in find_bus_among_children() 39 struct pci_bus *pci_find_bus_by_node(struct device_node *dn) in pci_find_bus_by_node() 78 void pci_hp_remove_devices(struct pci_bus *bus) in pci_hp_remove_devices() 81 struct pci_bus *child_bus; in pci_hp_remove_devices() 107 void pci_hp_add_devices(struct pci_bus *bus) in pci_hp_add_devices()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A 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() 111 static inline int __pcibus_to_node(const struct pci_bus *bus) in __pcibus_to_node() 117 cpumask_of_pcibus(const struct pci_bus *bus) in cpumask_of_pcibus()
|
/linux-6.3-rc2/arch/mips/pci/ |
A 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()
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | pci.h | 23 struct pci_bus *bus; 61 static inline int pci_proc_domain(struct pci_bus *bus) in pci_proc_domain() 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, 87 extern void pci_adjust_legacy_attr(struct pci_bus *bus,
|
/linux-6.3-rc2/drivers/acpi/ |
A D | pci_slot.c | 91 struct pci_bus *pci_bus = context; in register_slot() local 103 if (pci_slot->bus == pci_bus && pci_slot->number == device) in register_slot() 112 pci_slot = pci_create_slot(pci_bus, device, name, NULL); in register_slot() 122 get_device(&pci_bus->dev); in register_slot() 125 pci_slot, pci_bus->number, device, name); in register_slot() 130 void acpi_pci_slot_enumerate(struct pci_bus *bus) in acpi_pci_slot_enumerate() 142 void acpi_pci_slot_remove(struct pci_bus *bus) in acpi_pci_slot_remove()
|
/linux-6.3-rc2/arch/arm/plat-orion/include/plat/ |
A 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,
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A 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()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A 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() 177 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) in pci_acpi_scan_root() 180 struct pci_bus *bus, *child; in pci_acpi_scan_root() 225 void pcibios_add_bus(struct pci_bus *bus) in pcibios_add_bus() 230 void pcibios_remove_bus(struct pci_bus *bus) in pcibios_remove_bus()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A 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 *);
|
/linux-6.3-rc2/arch/x86/pci/ |
A 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()
|
/linux-6.3-rc2/include/linux/platform_data/x86/ |
A D | p2sb.h | 12 struct pci_bus; 17 int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem); 21 static inline int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem) in p2sb_bar()
|
/linux-6.3-rc2/drivers/dca/ |
A D | dca-core.c | 31 static struct pci_bus *dca_pci_rc_from_dev(struct device *dev) in dca_pci_rc_from_dev() 34 struct pci_bus *bus = pdev->bus; in dca_pci_rc_from_dev() 42 static struct dca_domain *dca_allocate_domain(struct pci_bus *rc) in dca_allocate_domain() 112 static struct dca_domain *dca_find_domain(struct pci_bus *rc) in dca_find_domain() 125 struct pci_bus *rc; in dca_get_domain() 142 struct pci_bus *rc; in dca_find_provider_by_dev() 175 struct pci_bus *pci_rc; in dca_add_requester() 360 struct pci_bus *rc; in register_dca_provider() 400 struct pci_bus *pci_rc; in unregister_dca_provider()
|