/linux-4.19.296/drivers/base/ |
D | bus.c | 41 static struct bus_type *bus_get(struct bus_type *bus) in bus_get() 50 static void bus_put(struct bus_type *bus) in bus_put() 130 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 142 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file() 154 struct bus_type *bus = priv->bus; in bus_release() local 184 struct bus_type *bus = bus_get(drv->bus); in unbind_store() local 211 struct bus_type *bus = bus_get(drv->bus); in bind_store() local 239 static ssize_t show_drivers_autoprobe(struct bus_type *bus, char *buf) in show_drivers_autoprobe() 244 static ssize_t store_drivers_autoprobe(struct bus_type *bus, in store_drivers_autoprobe() 254 static ssize_t store_drivers_probe(struct bus_type *bus, in store_drivers_probe() [all …]
|
/linux-4.19.296/drivers/pci/ |
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() 154 static int pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, in pci_bus_alloc_from_region() 224 int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, in pci_bus_alloc_resource() 263 struct pci_bus *bus = dev->bus; in pci_bus_clip_resource() local 300 void __weak pcibios_resource_survey_bus(struct pci_bus *bus) { } in pcibios_resource_survey_bus() 339 void pci_bus_add_devices(const struct pci_bus *bus) in pci_bus_add_devices() 379 struct pci_bus *bus; in pci_walk_bus() local [all …]
|
D | remove.c | 47 void pci_remove_bus(struct pci_bus *bus) in pci_remove_bus() 67 struct pci_bus *bus = dev->subordinate; in pci_stop_bus_device() local 87 struct pci_bus *bus = dev->subordinate; in pci_remove_bus_device() local 129 void pci_stop_root_bus(struct pci_bus *bus) in pci_stop_root_bus() 147 void pci_remove_root_bus(struct pci_bus *bus) in pci_remove_root_bus()
|
D | setup-bus.c | 498 static void pbus_assign_resources_sorted(const struct pci_bus *bus, in pbus_assign_resources_sorted() 511 void pci_setup_cardbus(struct pci_bus *bus) in pci_setup_cardbus() 666 static void __pci_setup_bridge(struct pci_bus *bus, unsigned long type) in __pci_setup_bridge() 685 void __weak pcibios_setup_bridge(struct pci_bus *bus, unsigned long type) in pcibios_setup_bridge() 689 void pci_setup_bridge(struct pci_bus *bus) in pci_setup_bridge() 736 static void pci_bridge_check_ranges(struct pci_bus *bus) in pci_bridge_check_ranges() 759 static struct resource *find_free_bus_resource(struct pci_bus *bus, in find_free_bus_resource() 811 resource_size_t __weak pcibios_window_alignment(struct pci_bus *bus, in pcibios_window_alignment() 821 static resource_size_t window_alignment(struct pci_bus *bus, in window_alignment() 856 static void pbus_size_io(struct pci_bus *bus, resource_size_t min_size, in pbus_size_io() [all …]
|
D | probe.c | 683 void pcie_update_link_speed(struct pci_bus *bus, u16 linksta) in pcie_update_link_speed() 720 static void pci_set_bus_speed(struct pci_bus *bus) in pci_set_bus_speed() 778 static struct irq_domain *pci_host_bridge_msi_domain(struct pci_bus *bus) in pci_host_bridge_msi_domain() 807 static void pci_set_bus_msi_domain(struct pci_bus *bus) in pci_set_bus_msi_domain() 832 struct pci_bus *bus, *b; in pci_register_host_bridge() local 1113 static int pci_scan_bridge_extend(struct pci_bus *bus, struct pci_dev *dev, in pci_scan_bridge_extend() 1342 int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass) in pci_scan_bridge() 2238 struct pci_dev *pci_alloc_dev(struct pci_bus *bus) in pci_alloc_dev() 2259 static bool pci_bus_wait_crs(struct pci_bus *bus, int devfn, u32 *l, in pci_bus_wait_crs() 2303 bool pci_bus_generic_read_dev_vendor_id(struct pci_bus *bus, int devfn, u32 *l, in pci_bus_generic_read_dev_vendor_id() [all …]
|
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() 50 void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, in pcibios_resource_to_bus() 75 void pcibios_bus_to_resource(struct pci_bus *bus, struct resource *res, in pcibios_bus_to_resource()
|
D | search.c | 33 struct pci_bus *bus; in pci_for_each_dma_alias() local 115 static struct pci_bus *pci_do_find_bus(struct pci_bus *bus, unsigned char busnr) in pci_do_find_bus() 142 struct pci_bus *bus = NULL; in pci_find_bus() local 194 struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn) in pci_get_slot() 229 struct pci_dev *pci_get_domain_bus_and_slot(int domain, unsigned int bus, in pci_get_domain_bus_and_slot()
|
D | xen-pcifront.c | 33 struct pci_bus *bus; member 68 unsigned int domain, unsigned int bus, in pcifront_init_sd() 178 static int pcifront_bus_read(struct pci_bus *bus, unsigned int devfn, in pcifront_bus_read() 217 static int pcifront_bus_write(struct pci_bus *bus, unsigned int devfn, in pcifront_bus_write() 418 unsigned int domain, unsigned int bus, in pcifront_scan_bus() 447 unsigned int domain, unsigned int bus) in pcifront_scan_root() 523 unsigned int domain, unsigned int bus) in pcifront_rescan_root() 557 static void free_root_bus_devs(struct pci_bus *bus) in free_root_bus_devs() 597 int bus = pdev->sh_info->aer_op.bus; in pcifront_common_process() local 859 unsigned int domain, bus; in pcifront_try_connect() local [all …]
|
/linux-4.19.296/drivers/soundwire/ |
D | stream.c | 55 static int _sdw_program_slave_port_params(struct sdw_bus *bus, in _sdw_program_slave_port_params() 121 static int sdw_program_slave_port_params(struct sdw_bus *bus, in sdw_program_slave_port_params() 229 static int sdw_program_master_port_params(struct sdw_bus *bus, in sdw_program_master_port_params() 260 struct sdw_bus *bus = m_rt->bus; in sdw_program_port_params() local 294 static int sdw_enable_disable_slave_ports(struct sdw_bus *bus, in sdw_enable_disable_slave_ports() 328 struct sdw_bus *bus = m_rt->bus; in sdw_enable_disable_master_ports() local 407 static int sdw_prep_deprep_slave_ports(struct sdw_bus *bus, in sdw_prep_deprep_slave_ports() 498 struct sdw_bus *bus = m_rt->bus; in sdw_prep_deprep_master_ports() local 565 struct sdw_bus *bus = m_rt->bus; in sdw_notify_config() local 596 static int sdw_program_params(struct sdw_bus *bus) in sdw_program_params() [all …]
|
D | bus.c | 18 int sdw_add_bus_master(struct sdw_bus *bus) in sdw_add_bus_master() 104 struct sdw_bus *bus = slave->bus; in sdw_delete_slave() local 124 void sdw_delete_bus_master(struct sdw_bus *bus) in sdw_delete_bus_master() 151 static inline int do_transfer(struct sdw_bus *bus, struct sdw_msg *msg) in do_transfer() 169 static inline int do_transfer_defer(struct sdw_bus *bus, in do_transfer_defer() 191 static int sdw_reset_page(struct sdw_bus *bus, u16 dev_num) in sdw_reset_page() 213 int sdw_transfer(struct sdw_bus *bus, struct sdw_msg *msg) in sdw_transfer() 240 int sdw_transfer_defer(struct sdw_bus *bus, struct sdw_msg *msg, in sdw_transfer_defer() 400 static struct sdw_slave *sdw_get_slave(struct sdw_bus *bus, int i) in sdw_get_slave() 482 void sdw_extract_slave_id(struct sdw_bus *bus, in sdw_extract_slave_id() [all …]
|
/linux-4.19.296/include/sound/ |
D | hda_component.h | 24 static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup() 28 static inline int snd_hdac_display_power(struct hdac_bus *bus, bool enable) in snd_hdac_display_power() 43 static inline int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init() 50 static inline int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit() 54 static inline int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier()
|
D | hda_i915.h | 14 static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk() 17 static inline int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init() 22 static inline int snd_hdac_i915_exit(struct hdac_bus *bus) in snd_hdac_i915_exit()
|
/linux-4.19.296/drivers/misc/mei/ |
D | bus.c | 46 struct mei_device *bus; in __mei_cl_send() local 126 struct mei_device *bus; in __mei_cl_recv() local 279 struct mei_device *bus; in mei_cl_bus_rx_work() local 365 struct mei_device *bus = cldev->bus; in mei_cldev_register_rx_cb() local 399 struct mei_device *bus = cldev->bus; in mei_cldev_register_notif_cb() local 518 struct mei_device *bus = cldev->bus; in mei_cldev_enable() local 584 struct mei_device *bus; in mei_cldev_disable() local 851 static struct mei_device *mei_dev_bus_get(struct mei_device *bus) in mei_dev_bus_get() 859 static void mei_dev_bus_put(struct mei_device *bus) in mei_dev_bus_put() 905 static struct mei_cl_device *mei_cl_bus_dev_alloc(struct mei_device *bus, in mei_cl_bus_dev_alloc() [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-aspeed.c | 162 static int aspeed_i2c_recover_bus(struct aspeed_i2c_bus *bus) in aspeed_i2c_recover_bus() 231 static bool aspeed_i2c_slave_irq(struct aspeed_i2c_bus *bus) in aspeed_i2c_slave_irq() 333 static void aspeed_i2c_do_start(struct aspeed_i2c_bus *bus) in aspeed_i2c_do_start() 354 static void aspeed_i2c_do_stop(struct aspeed_i2c_bus *bus) in aspeed_i2c_do_stop() 361 static void aspeed_i2c_next_msg_or_stop(struct aspeed_i2c_bus *bus) in aspeed_i2c_next_msg_or_stop() 384 static bool aspeed_i2c_master_irq(struct aspeed_i2c_bus *bus) in aspeed_i2c_master_irq() 553 struct aspeed_i2c_bus *bus = dev_id; in aspeed_i2c_bus_irq() local 578 struct aspeed_i2c_bus *bus = i2c_get_adapdata(adap); in aspeed_i2c_master_xfer() local 621 static void __aspeed_i2c_reg_slave(struct aspeed_i2c_bus *bus, u16 slave_addr) in __aspeed_i2c_reg_slave() 639 struct aspeed_i2c_bus *bus = i2c_get_adapdata(client->adapter); in aspeed_i2c_reg_slave() local [all …]
|
D | i2c-powermac.c | 44 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_smbus_xfer() local 151 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_master_xfer() local 215 struct pmac_i2c_bus *bus, in i2c_powermac_get_addr() 259 struct pmac_i2c_bus *bus, in i2c_powermac_add_missing() 323 struct pmac_i2c_bus *bus) in i2c_powermac_register_devices() 390 struct pmac_i2c_bus *bus = dev_get_platdata(&dev->dev); in i2c_powermac_probe() local
|
/linux-4.19.296/include/linux/ |
D | pci-acpi.h | 93 static inline void acpi_pci_slot_enumerate(struct pci_bus *bus) { } in acpi_pci_slot_enumerate() 94 static inline void acpi_pci_slot_remove(struct pci_bus *bus) { } in acpi_pci_slot_remove() 104 static inline void acpiphp_enumerate_slots(struct pci_bus *bus) { } in acpiphp_enumerate_slots() 105 static inline void acpiphp_remove_slots(struct pci_bus *bus) { } in acpiphp_remove_slots() 115 static inline void acpi_pci_add_bus(struct pci_bus *bus) { } in acpi_pci_add_bus() 116 static inline void acpi_pci_remove_bus(struct pci_bus *bus) { } in acpi_pci_remove_bus()
|
/linux-4.19.296/drivers/misc/cxl/ |
D | vphb.c | 25 static int cxl_pci_probe_mode(struct pci_bus *bus) in cxl_pci_probe_mode() 86 static resource_size_t cxl_pci_window_alignment(struct pci_bus *bus, in cxl_pci_window_alignment() 97 static int cxl_pcie_cfg_record(u8 bus, u8 devfn) in cxl_pcie_cfg_record() 102 static inline struct cxl_afu *pci_bus_to_afu(struct pci_bus *bus) in pci_bus_to_afu() 119 static inline int cxl_pcie_config_info(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_config_info() 132 static int cxl_pcie_read_config(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_read_config() 172 static int cxl_pcie_write_config(struct pci_bus *bus, unsigned int devfn, in cxl_pcie_write_config()
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | acpiphp_glue.c | 192 struct pci_bus *bus; in acpiphp_post_dock_fixup() local 370 static unsigned char acpiphp_max_busnr(struct pci_bus *bus) in acpiphp_max_busnr() 444 struct pci_bus *bus = bridge->subordinate; in acpiphp_native_scan_bridge() local 483 struct pci_bus *bus = slot->bus; in enable_slot() local 556 struct pci_bus *bus = slot->bus; in disable_slot() local 578 struct pci_bus *bus = slot->bus; in slot_no_hotplug() local 657 struct pci_bus *bus = dev->subordinate; in trim_stale_devices() local 710 struct pci_bus *bus = slot->bus; in acpiphp_check_bridge() local 737 static void acpiphp_sanitize_bus(struct pci_bus *bus) in acpiphp_sanitize_bus() 858 void acpiphp_enumerate_slots(struct pci_bus *bus) in acpiphp_enumerate_slots() [all …]
|
/linux-4.19.296/drivers/pci/pcie/ |
D | aer_inject.c | 32 u8 bus; member 47 unsigned int bus; member 63 struct pci_bus *bus; member 75 unsigned int bus, unsigned int devfn, in aer_error_init() 86 static struct aer_error *__find_aer_error(u32 domain, unsigned int bus, in __find_aer_error() 110 static struct pci_ops *__find_pci_bus_ops(struct pci_bus *bus) in __find_pci_bus_ops() 178 static int aer_inj_read_config(struct pci_bus *bus, unsigned int devfn, in aer_inj_read_config() 222 static int aer_inj_write_config(struct pci_bus *bus, unsigned int devfn, in aer_inj_write_config() 276 struct pci_bus *bus, in pci_bus_ops_init() 284 static int pci_bus_set_aer_ops(struct pci_bus *bus) in pci_bus_set_aer_ops()
|
/linux-4.19.296/drivers/s390/crypto/ |
D | ap_bus.c | 1002 static ssize_t ap_domain_show(struct bus_type *bus, char *buf) in ap_domain_show() 1007 static ssize_t ap_domain_store(struct bus_type *bus, in ap_domain_store() 1027 static ssize_t ap_control_domain_mask_show(struct bus_type *bus, char *buf) in ap_control_domain_mask_show() 1042 static ssize_t ap_usage_domain_mask_show(struct bus_type *bus, char *buf) in ap_usage_domain_mask_show() 1057 static ssize_t ap_interrupts_show(struct bus_type *bus, char *buf) in ap_interrupts_show() 1065 static ssize_t config_time_show(struct bus_type *bus, char *buf) in config_time_show() 1070 static ssize_t config_time_store(struct bus_type *bus, in config_time_store() 1084 static ssize_t poll_thread_show(struct bus_type *bus, char *buf) in poll_thread_show() 1089 static ssize_t poll_thread_store(struct bus_type *bus, in poll_thread_store() 1107 static ssize_t poll_timeout_show(struct bus_type *bus, char *buf) in poll_timeout_show() [all …]
|
/linux-4.19.296/drivers/xen/xen-pciback/ |
D | pci_stub.c | 41 unsigned char bus; member 155 static struct pcistub_device *pcistub_device_find_locked(int domain, int bus, in pcistub_device_find_locked() 173 static struct pcistub_device *pcistub_device_find(int domain, int bus, in pcistub_device_find() 211 int domain, int bus, in pcistub_get_pci_dev_by_slot() 485 int domain, int bus, unsigned int devfn) in pcistub_device_id_add_list() 1008 static inline int str_to_slot(const char *buf, int *domain, int *bus, in str_to_slot() 1045 static inline int str_to_quirk(const char *buf, int *domain, int *bus, int in str_to_quirk() 1065 static int pcistub_device_id_add(int domain, int bus, int slot, int func) in pcistub_device_id_add() 1105 static int pcistub_device_id_remove(int domain, int bus, int slot, int func) in pcistub_device_id_remove() 1134 static int pcistub_reg_add(int domain, int bus, int slot, int func, in pcistub_reg_add() [all …]
|
D | passthrough.c | 22 unsigned int bus, in __xen_pcibk_get_pci_dev() 51 unsigned int domain, bus, devfn; in __xen_pcibk_add_pci_dev() local 125 unsigned int domain, bus; in __xen_pcibk_publish_pci_roots() local 179 unsigned int *domain, unsigned int *bus, in __xen_pcibk_get_pcifront_dev()
|
D | xenbus.c | 203 unsigned int domain, unsigned int bus, in xen_pcibk_publish_pci_dev() 226 int domain, int bus, int slot, int func, in xen_pcibk_export_device() 273 int domain, int bus, int slot, int func) in xen_pcibk_remove_device() 302 unsigned int domain, unsigned int bus) in xen_pcibk_publish_pci_root() 366 int domain, bus, slot, func; in xen_pcibk_reconfigure() local 564 int domain, bus, slot, func; in xen_pcibk_setup_backend() local
|
/linux-4.19.296/drivers/pci/controller/ |
D | pcie-altera.c | 50 #define TLP_REQ_ID(bus, devfn) (((bus) << 8) | (devfn)) argument 51 #define TLP_CFGRD_DW0(pcie, bus) \ argument 55 #define TLP_CFGWR_DW0(pcie, bus) \ argument 61 #define TLP_CFG_DW2(bus, devfn, offset) \ argument 113 static bool altera_pcie_hide_rc_bar(struct pci_bus *bus, unsigned int devfn, in altera_pcie_hide_rc_bar() 132 struct pci_bus *bus, int dev) in altera_pcie_valid_device() 213 static int tlp_cfg_dword_read(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_read() 227 static int tlp_cfg_dword_write(struct altera_pcie *pcie, u8 bus, u32 devfn, in tlp_cfg_dword_write() 324 static int altera_pcie_cfg_read(struct pci_bus *bus, unsigned int devfn, in altera_pcie_cfg_read() 341 static int altera_pcie_cfg_write(struct pci_bus *bus, unsigned int devfn, in altera_pcie_cfg_write() [all …]
|
D | pci-thunder-ecam.c | 29 static int handle_ea_bar(u32 e0, int bar, struct pci_bus *bus, in handle_ea_bar() 86 static int thunder_ecam_p2_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_p2_config_read() 127 static int thunder_ecam_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_read() 333 static int thunder_ecam_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_write()
|