| /linux/include/linux/device/ |
| H A D | bus.h | 25 * struct bus_type - The bus type of the device 79 * A bus is represented by the bus_type structure. It contains the name, the 83 struct bus_type { struct 116 int __must_check bus_register(const struct bus_type *bus); argument 118 void bus_unregister(const struct bus_type *bus); 120 int __must_check bus_rescan_devices(const struct bus_type *bus); 124 ssize_t (*show)(const struct bus_type *bus, char *buf); 125 ssize_t (*store)(const struct bus_type *bus, const char *buf, size_t count); 135 int __must_check bus_create_file(const struct bus_type *bus, struct bus_attribute *attr); 136 void bus_remove_file(const struct bus_type *bu 84 namebus_type global() argument 85 dev_namebus_type global() argument 86 bus_groupsbus_type global() argument 87 dev_groupsbus_type global() argument 88 drv_groupsbus_type global() argument 90 matchbus_type global() argument 91 ueventbus_type global() argument 92 probebus_type global() argument [all...] |
| H A D | driver.h | 100 const struct bus_type *bus; 137 struct device_driver *driver_find(const char *name, const struct bus_type *bus);
|
| /linux/drivers/base/ |
| H A D | bus.c | 47 * bus_to_subsys - Turn a struct bus_type into a struct subsys_private 49 * @bus: pointer to the struct bus_type to look up 52 * the external struct bus_type pointer. This function walks the list of 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 *bu in unbind_store() [all...] |
| H A D | base.h | 17 * portions of the bus_type/class structure. 30 * @bus: pointer back to the struct bus_type that this structure is associated 40 * bus_type/class to be statically allocated safely. Nothing outside of the 54 const struct bus_type *bus; 77 struct subsys_private *bus_to_subsys(const struct bus_type *bus); 159 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/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/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 | 59 const struct bus_type ibmebus_bus_type; 273 static ssize_t probe_store(const struct bus_type *bus, const char *buf, size_t count) in probe_store() 311 static ssize_t remove_store(const struct bus_type *bus, const char *buf, size_t count) in remove_store() 437 const struct bus_type ibmebus_bus_type = {
|
| /linux/drivers/media/platform/synopsys/ |
| H A D | dw-mipi-csi2rx.c | 119 enum v4l2_mbus_type bus_type; 383 switch (csi2->bus_type) { in dw_mipi_csi2rx_start() 731 vep.bus_type = V4L2_MBUS_UNKNOWN; in dw_mipi_csi2rx_register() 736 if (vep.bus_type != V4L2_MBUS_CSI2_DPHY && in dw_mipi_csi2rx_register() 737 vep.bus_type != V4L2_MBUS_CSI2_CPHY) in dw_mipi_csi2rx_register() 741 csi2->bus_type = vep.bus_type; in dw_mipi_csi2rx_register() 114 enum v4l2_mbus_type bus_type; global() 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
|
| /linux/include/linux/ |
| H A D | hid_bpf.h | 78 const struct bus_type *bus_type; member
|