| /linux/include/linux/device/ |
| H A 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); 151 int bus_for_each_dev(const struct bus_type *bus, struct device *start, 153 struct device *bus_find_device(const struct bus_type *bus, struct device *start, [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A 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() 229 if (bus_type == V4L2_MBUS_CSI2_DPHY || in v4l2_fwnode_endpoint_parse_csi2_bus() 230 bus_type == V4L2_MBUS_CSI2_CPHY || in v4l2_fwnode_endpoint_parse_csi2_bus() 234 bus_type == V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus() 237 if (bus_type == V4L2_MBUS_UNKNOWN) in v4l2_fwnode_endpoint_parse_csi2_bus() 238 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus() 309 enum v4l2_mbus_type bus_type) in v4l2_fwnode_endpoint_parse_parallel_bus() argument 315 if (bus_type == V4L2_MBUS_PARALLEL || bus_type == V4L2_MBUS_BT656) in v4l2_fwnode_endpoint_parse_parallel_bus() [all …]
|
| /linux/drivers/base/ |
| H A D | bus.c | 60 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() 181 int bus_create_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 196 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file() 238 const struct bus_type *bus = bus_get(drv->bus); in unbind_store() 261 const struct bus_type *bus = bus_get(drv->bus); in bind_store() 279 static ssize_t drivers_autoprobe_show(const struct bus_type *bus, char *buf) in drivers_autoprobe_show() 292 static ssize_t drivers_autoprobe_store(const struct bus_type *bus, in drivers_autoprobe_store() 309 static ssize_t drivers_probe_store(const struct bus_type *bus, in drivers_probe_store() [all …]
|
| H A D | base.h | 53 const struct bus_type *bus; 76 struct subsys_private *bus_to_subsys(const struct bus_type *bus); 172 bool bus_is_registered(const struct bus_type *bus);
|
| /linux/Documentation/driver-api/driver-model/ |
| H A 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 *);
|
| H A 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/drivers/platform/x86/ |
| H A D | serial-multi-instantiate.c | 40 enum smi_bus_type bus_type; member 268 switch (node->bus_type) { in smi_probe() 317 .bus_type = SMI_I2C, 328 .bus_type = SMI_I2C, 339 .bus_type = SMI_I2C, 350 .bus_type = SMI_AUTO_DETECT, 363 .bus_type = SMI_AUTO_DETECT, 376 .bus_type = SMI_AUTO_DETECT, 389 .bus_type = SMI_AUTO_DETECT, 400 .bus_type = SMI_AUTO_DETECT,
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A 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()
|
| H A 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A 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
|
| H A D | common.c | 513 enum brcmf_bus_type bus_type, in brcmf_get_module_param() argument 521 brcmf_dbg(INFO, "Enter, bus=%d, chip=%d, rev=%d\n", bus_type, chip, in brcmf_get_module_param() 537 if (bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param() 545 if ((device_pd->bus_type == bus_type) && in brcmf_get_module_param() 552 if (device_pd->bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param() 564 if (brcmf_of_probe(dev, bus_type, settings) == -EPROBE_DEFER) { in brcmf_get_module_param() 568 brcmf_acpi_probe(dev, bus_type, settings); in brcmf_get_module_param()
|
| /linux/tools/usb/usbip/src/ |
| H A 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/drivers/gpu/drm/i915/gt/uc/ |
| H A 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/drivers/gpu/host1x/ |
| H A D | bus.h | 10 struct bus_type; 13 extern const struct bus_type host1x_bus_type;
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A 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,
|
| H A D | device-init.c | 126 BUG_ON(repo->bus_type != PS3_BUS_TYPE_SB); in ps3_setup_gelic_device() 197 BUG_ON(repo->bus_type != PS3_BUS_TYPE_SB); in ps3_setup_uhc_device() 901 static int __init ps3_start_probe_thread(enum ps3_bus_type bus_type) in ps3_start_probe_thread() argument 911 repo.bus_type = bus_type; in ps3_start_probe_thread() 913 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_start_probe_thread() 929 "ps3-probe-%u", bus_type); in ps3_start_probe_thread()
|
| /linux/drivers/media/platform/st/stm32/stm32-dcmipp/ |
| H A D | dcmipp-input.c | 257 inp->ved.bus_type == V4L2_MBUS_BT656) in dcmipp_inp_adjust_fmt() 336 if (inp->ved.bus_type == V4L2_MBUS_BT656) { in dcmipp_inp_configure_parallel() 429 if (inp->ved.bus_type == V4L2_MBUS_PARALLEL || in dcmipp_inp_enable_streams() 430 inp->ved.bus_type == V4L2_MBUS_BT656) in dcmipp_inp_enable_streams() 432 else if (inp->ved.bus_type == V4L2_MBUS_CSI2_DPHY) in dcmipp_inp_enable_streams() 470 if (inp->ved.bus_type == V4L2_MBUS_PARALLEL || in dcmipp_inp_disable_streams() 471 inp->ved.bus_type == V4L2_MBUS_BT656) { in dcmipp_inp_disable_streams()
|
| /linux/drivers/edac/ |
| H A D | edac_module.c | 70 static const struct bus_type edac_subsys = { 93 const struct bus_type *edac_get_sysfs_subsys(void) in edac_get_sysfs_subsys()
|
| /linux/drivers/net/netdevsim/ |
| H A D | bus.c | 159 new_device_store(const struct bus_type *bus, const char *buf, size_t count) in new_device_store() 214 del_device_store(const struct bus_type *bus, const char *buf, size_t count) in del_device_store() 253 static ssize_t link_device_store(const struct bus_type *bus, const char *buf, size_t count) in link_device_store() 349 static ssize_t unlink_device_store(const struct bus_type *bus, const char *buf, size_t count) in unlink_device_store() 437 static const struct bus_type nsim_bus = {
|
| /linux/Documentation/translations/zh_TW/filesystems/ |
| H A D | sysfs.txt | 335 ssize_t (*show)(const struct bus_type *, char * buf); 336 ssize_t (*store)(const struct bus_type *, const char * buf, size_t count); 345 int bus_create_file(struct bus_type *, struct bus_attribute *); 346 void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| H A D | sysfs.txt | 332 ssize_t (*show)(const struct bus_type *, char * buf); 333 ssize_t (*store)(const struct bus_type *, const char * buf, size_t count); 342 int bus_create_file(struct bus_type *, struct bus_attribute *); 343 void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | ibmebus.c | 58 const struct bus_type ibmebus_bus_type; 272 static ssize_t probe_store(const struct bus_type *bus, const char *buf, size_t count) in probe_store() 310 static ssize_t remove_store(const struct bus_type *bus, const char *buf, size_t count) in remove_store() 436 const struct bus_type ibmebus_bus_type = {
|
| /linux/drivers/dma/idxd/ |
| H A D | compat.c | 18 const struct bus_type *bus = drv->bus; in unbind_store() 39 const struct bus_type *bus = drv->bus; in bind_store()
|
| /linux/include/linux/ |
| H A D | hid_bpf.h | 78 const struct bus_type *bus_type; member
|
| /linux/Documentation/driver-api/ |
| H A D | infrastructure.rst | 12 :identifiers: bus_type bus_notifier_event 66 :no-identifiers: bus_type bus_notifier_event
|