/linux-6.6.21/include/linux/device/ |
D | bus.h | 80 struct bus_type { struct 112 int __must_check bus_register(const struct bus_type *bus); argument 114 void bus_unregister(const struct bus_type *bus); 116 int __must_check bus_rescan_devices(const struct bus_type *bus); 120 ssize_t (*show)(const struct bus_type *bus, char *buf); 121 ssize_t (*store)(const struct bus_type *bus, const char *buf, size_t count); 131 int __must_check bus_create_file(const struct bus_type *bus, struct bus_attribute *attr); 132 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr); 144 int bus_for_each_dev(const struct bus_type *bus, struct device *start, void *data, 146 struct device *bus_find_device(const struct bus_type *bus, struct device *start, [all …]
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 126 enum v4l2_mbus_type bus_type) in v4l2_fwnode_endpoint_parse_csi2_bus() argument 140 if (bus_type == V4L2_MBUS_CSI2_DPHY || in v4l2_fwnode_endpoint_parse_csi2_bus() 141 bus_type == V4L2_MBUS_CSI2_CPHY) { in v4l2_fwnode_endpoint_parse_csi2_bus() 218 if (bus_type == V4L2_MBUS_CSI2_DPHY || in v4l2_fwnode_endpoint_parse_csi2_bus() 219 bus_type == V4L2_MBUS_CSI2_CPHY || in v4l2_fwnode_endpoint_parse_csi2_bus() 223 bus_type == V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus() 226 if (bus_type == V4L2_MBUS_UNKNOWN) in v4l2_fwnode_endpoint_parse_csi2_bus() 227 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus() 268 enum v4l2_mbus_type bus_type) in v4l2_fwnode_endpoint_parse_parallel_bus() argument 274 if (bus_type == V4L2_MBUS_PARALLEL || bus_type == V4L2_MBUS_BT656) in v4l2_fwnode_endpoint_parse_parallel_bus() [all …]
|
/linux-6.6.21/drivers/base/ |
D | bus.c | 60 static struct subsys_private *bus_to_subsys(const struct bus_type *bus) in bus_to_subsys() 87 static const struct bus_type *bus_get(const struct bus_type *bus) in bus_get() 96 static void bus_put(const struct bus_type *bus) in bus_put() 179 int bus_create_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 194 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file() 236 const struct bus_type *bus = bus_get(drv->bus); in unbind_store() 259 const struct bus_type *bus = bus_get(drv->bus); in bind_store() 277 static ssize_t drivers_autoprobe_show(const struct bus_type *bus, char *buf) in drivers_autoprobe_show() 290 static ssize_t drivers_autoprobe_store(const struct bus_type *bus, in drivers_autoprobe_store() 307 static ssize_t drivers_probe_store(const struct bus_type *bus, in drivers_probe_store() [all …]
|
/linux-6.6.21/drivers/net/wireless/broadcom/b43/ |
D | bus.h | 15 enum b43_bus_type bus_type; member 60 return (dev->bus_type == B43_BUS_SSB && in b43_bus_host_is_pcmcia() 70 if (dev->bus_type == B43_BUS_BCMA) in b43_bus_host_is_pci() 74 if (dev->bus_type == B43_BUS_SSB) in b43_bus_host_is_pci() 83 return (dev->bus_type == B43_BUS_SSB && in b43_bus_host_is_sdio()
|
D | bus.c | 81 dev->bus_type = B43_BUS_BCMA; in b43_bus_dev_bcma_init() 186 dev->bus_type = B43_BUS_SSB; in b43_bus_dev_ssb_init() 225 switch (dev->bus_type) { in b43_bus_get_wldev() 240 switch (dev->bus_type) { in b43_bus_set_wldev()
|
/linux-6.6.21/Documentation/driver-api/driver-model/ |
D | bus.rst | 7 See the kerneldoc for the struct bus_type. 9 int bus_register(struct bus_type * bus); 19 struct bus_type pci_bus_type = { 26 extern struct bus_type pci_bus_type; 72 int bus_for_each_dev(struct bus_type * bus, struct device * start, 76 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start, 128 ssize_t (*show)(const struct bus_type *, char * buf); 129 ssize_t (*store)(const struct bus_type *, const char * buf, size_t count); 145 int bus_create_file(struct bus_type *, struct bus_attribute *); 146 void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
D | porting.rst | 39 - Define a struct bus_type for the bus driver:: 41 struct bus_type pci_bus_type = { 72 extern struct bus_type pci_bus_type; 150 belongs to. This should be set to the bus_type that was declared 340 Instead, a bus may supply a method in struct bus_type that does the 392 struct bus_type:: 407 struct bus_type contains a list of all devices registered with the bus 414 int bus_for_each_dev(struct bus_type * bus, struct device * start, 420 struct bus_type also contains a list of all drivers registered with 426 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start, [all …]
|
/linux-6.6.21/drivers/platform/x86/ |
D | serial-multi-instantiate.c | 39 enum smi_bus_type bus_type; member 259 switch (node->bus_type) { in smi_probe() 296 .bus_type = SMI_I2C, 307 .bus_type = SMI_I2C, 318 .bus_type = SMI_I2C, 329 .bus_type = SMI_AUTO_DETECT, 342 .bus_type = SMI_AUTO_DETECT,
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | common.h | 67 enum brcmf_bus_type bus_type, 83 void brcmf_acpi_probe(struct device *dev, enum brcmf_bus_type bus_type, 87 enum brcmf_bus_type bus_type, in brcmf_acpi_probe() argument
|
D | of.h | 6 void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, 9 static void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, in brcmf_of_probe() argument
|
D | common.c | 507 enum brcmf_bus_type bus_type, in brcmf_get_module_param() argument 515 brcmf_dbg(INFO, "Enter, bus=%d, chip=%d, rev=%d\n", bus_type, chip, in brcmf_get_module_param() 531 if (bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param() 539 if ((device_pd->bus_type == bus_type) && in brcmf_get_module_param() 546 if (device_pd->bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param() 558 brcmf_of_probe(dev, bus_type, settings); in brcmf_get_module_param() 559 brcmf_acpi_probe(dev, bus_type, settings); in brcmf_get_module_param()
|
/linux-6.6.21/tools/usb/usbip/src/ |
D | usbip_unbind.c | 32 char bus_type[] = "usb"; in unbind_device() local 63 SYSFS_MNT_PATH, SYSFS_BUS_NAME, bus_type, SYSFS_DRIVERS_NAME, in unbind_device() 81 SYSFS_MNT_PATH, SYSFS_BUS_NAME, bus_type, SYSFS_DRIVERS_NAME, in unbind_device()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | intel_huc.h | 17 struct bus_type; 69 void intel_huc_register_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus); 70 void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus);
|
/linux-6.6.21/drivers/gpu/host1x/ |
D | bus.h | 10 struct bus_type; 13 extern struct bus_type host1x_bus_type;
|
/linux-6.6.21/drivers/s390/crypto/ |
D | ap_bus.c | 138 static struct bus_type ap_bus_type; 1183 static ssize_t ap_domain_show(const struct bus_type *bus, char *buf) in ap_domain_show() 1188 static ssize_t ap_domain_store(const struct bus_type *bus, in ap_domain_store() 1210 static ssize_t ap_control_domain_mask_show(const struct bus_type *bus, char *buf) in ap_control_domain_mask_show() 1224 static ssize_t ap_usage_domain_mask_show(const struct bus_type *bus, char *buf) in ap_usage_domain_mask_show() 1238 static ssize_t ap_adapter_mask_show(const struct bus_type *bus, char *buf) in ap_adapter_mask_show() 1252 static ssize_t ap_interrupts_show(const struct bus_type *bus, char *buf) in ap_interrupts_show() 1259 static ssize_t config_time_show(const struct bus_type *bus, char *buf) in config_time_show() 1264 static ssize_t config_time_store(const struct bus_type *bus, in config_time_store() 1278 static ssize_t poll_thread_show(const struct bus_type *bus, char *buf) in poll_thread_show() [all …]
|
/linux-6.6.21/drivers/iommu/ |
D | iommu-priv.h | 24 const struct iommu_ops *ops, struct bus_type *bus, 27 struct bus_type *bus,
|
/linux-6.6.21/drivers/usb/typec/ |
D | bus.h | 8 struct bus_type; 31 extern const struct bus_type typec_bus;
|
/linux-6.6.21/arch/powerpc/platforms/ps3/ |
D | repository.c | 166 enum ps3_bus_type *bus_type) in ps3_repository_read_bus_type() argument 176 *bus_type = v1; in ps3_repository_read_bus_type() 307 __func__, __LINE__, tmp.bus_type, tmp.bus_index, tmp.bus_id, in ps3_repository_find_device() 368 result = ps3_repository_read_bus_type(tmp.bus_index, &tmp.bus_type); in ps3_repository_find_device_by_id() 410 __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, in ps3_repository_find_device_by_id() 416 int __init ps3_repository_find_devices(enum ps3_bus_type bus_type, in ps3_repository_find_devices() argument 422 pr_devel(" -> %s:%d: find bus_type %u\n", __func__, __LINE__, bus_type); in ps3_repository_find_devices() 424 repo.bus_type = bus_type; in ps3_repository_find_devices() 425 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_repository_find_devices() 458 int __init ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from, in ps3_repository_find_bus() argument [all …]
|
D | platform.h | 85 enum ps3_bus_type *bus_type); 128 enum ps3_bus_type bus_type; member 137 int __init ps3_repository_find_devices(enum ps3_bus_type bus_type, 139 int __init ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from,
|
/linux-6.6.21/drivers/edac/ |
D | edac_module.c | 70 static struct bus_type edac_subsys = { 93 struct bus_type *edac_get_sysfs_subsys(void) in edac_get_sysfs_subsys()
|
/linux-6.6.21/sound/soc/rockchip/ |
D | rk3399_gru_sound.c | 451 struct bus_type *bus_type; member 469 .bus_type = &i2c_bus_type, 473 .bus_type = &spi_bus_type, 487 if (dailink_match[i].bus_type) { in rockchip_sound_codec_node_match() 488 dev = bus_find_device_by_of_node(dailink_match[i].bus_type, in rockchip_sound_codec_node_match()
|
/linux-6.6.21/include/linux/ |
D | pm_clock.h | 94 extern void pm_clk_add_notifier(struct bus_type *bus, 97 static inline void pm_clk_add_notifier(struct bus_type *bus, in pm_clk_add_notifier()
|
D | hid_bpf.h | 118 struct bus_type *bus_type; member
|
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-dev.c | 217 vep.bus_type = V4L2_MBUS_CSI2_DPHY; in rkisp1_subdev_notifier_register() 226 vep.bus_type = V4L2_MBUS_UNKNOWN; in rkisp1_subdev_notifier_register() 239 if (vep.bus_type != V4L2_MBUS_PARALLEL && in rkisp1_subdev_notifier_register() 240 vep.bus_type != V4L2_MBUS_BT656) { in rkisp1_subdev_notifier_register() 268 rk_asd->mbus_type = vep.bus_type; in rkisp1_subdev_notifier_register() 271 if (vep.bus_type == V4L2_MBUS_CSI2_DPHY) { in rkisp1_subdev_notifier_register()
|
/linux-6.6.21/drivers/dma/idxd/ |
D | compat.c | 19 const struct bus_type *bus = drv->bus; in unbind_store() 35 const struct bus_type *bus = drv->bus; in bind_store()
|