Home
last modified time | relevance | path

Searched refs:bus_type (Results 1 – 25 of 261) sorted by relevance

1234567891011

/linux/Documentation/driver-api/driver-model/
H A Dbus.rst7 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 Dporting.rst39 - 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/net/wireless/broadcom/b43/
H A Dbus.h15 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 Dbus.c81 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 Dcommon.h67 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 Dcommon.c513 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 Dusbip_unbind.c32 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 Dintel_huc.h17 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 Dbus.h10 struct bus_type;
13 extern const struct bus_type host1x_bus_type;
/linux/drivers/s390/crypto/
H A Dap_bus.c177 static const struct bus_type ap_bus_type;
1339 static ssize_t ap_domain_show(const struct bus_type *bus, char *buf) in ap_domain_show()
1344 static ssize_t ap_domain_store(const struct bus_type *bus, in ap_domain_store()
1366 static ssize_t ap_control_domain_mask_show(const struct bus_type *bus, char *buf) in ap_control_domain_mask_show()
1380 static ssize_t ap_usage_domain_mask_show(const struct bus_type *bus, char *buf) in ap_usage_domain_mask_show()
1394 static ssize_t ap_adapter_mask_show(const struct bus_type *bus, char *buf) in ap_adapter_mask_show()
1408 static ssize_t ap_interrupts_show(const struct bus_type *bus, char *buf) in ap_interrupts_show()
1415 static ssize_t config_time_show(const struct bus_type *bus, char *buf) in config_time_show()
1420 static ssize_t config_time_store(const struct bus_type *bus, in config_time_store()
1434 static ssize_t poll_thread_show(const struct bus_type *bus, char *buf) in poll_thread_show()
[all …]
/linux/arch/powerpc/platforms/ps3/
H A Drepository.c169 enum ps3_bus_type *bus_type) in ps3_repository_read_bus_type() argument
179 *bus_type = v1; in ps3_repository_read_bus_type()
310 __func__, __LINE__, tmp.bus_type, tmp.bus_index, tmp.bus_id, in ps3_repository_find_device()
371 result = ps3_repository_read_bus_type(tmp.bus_index, &tmp.bus_type); in ps3_repository_find_device_by_id()
413 __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, in ps3_repository_find_device_by_id()
419 int __init ps3_repository_find_devices(enum ps3_bus_type bus_type, in ps3_repository_find_devices() argument
425 pr_devel(" -> %s:%d: find bus_type %u\n", __func__, __LINE__, bus_type); in ps3_repository_find_devices()
427 repo.bus_type = bus_type; in ps3_repository_find_devices()
428 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_repository_find_devices()
461 int __init ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from, in ps3_repository_find_bus() argument
[all …]
H A Dplatform.h85 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 Ddevice-init.c126 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 Ddcmipp-input.c257 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 Dedac_module.c70 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 Dbus.c159 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/drivers/dma/idxd/
H A Dcompat.c18 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 Dsysfs.txt335 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 Dsysfs.txt332 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/include/linux/
H A Dhid_bpf.h78 const struct bus_type *bus_type; member
/linux/include/linux/device/
H A Ddriver.h102 const struct bus_type *bus;
139 struct device_driver *driver_find(const char *name, const struct bus_type *bus);
/linux/drivers/net/ethernet/seeq/
H A Dether3.c751 int bus_type, ret; in ether3_probe() local
789 bus_type = BUS_UNKNOWN; in ether3_probe()
797 bus_type = BUS_8; in ether3_probe()
799 if (bus_type == BUS_UNKNOWN && in ether3_probe()
802 bus_type = BUS_16; in ether3_probe()
804 switch (bus_type) { in ether3_probe()
/linux/drivers/acpi/
H A Dmipi-disco-img.c283 unsigned int bus_type; in extract_crs_csi2_conn_info() local
298 bus_type = V4L2_FWNODE_BUS_TYPE_CSI2_CPHY; in extract_crs_csi2_conn_info()
302 bus_type = V4L2_FWNODE_BUS_TYPE_CSI2_DPHY; in extract_crs_csi2_conn_info()
336 PROPERTY_ENTRY_U32("bus-type", bus_type); in extract_crs_csi2_conn_info()
354 PROPERTY_ENTRY_U32("bus-type", bus_type); in extract_crs_csi2_conn_info()
/linux/drivers/media/platform/microchip/
H A Dmicrochip-csi2dc.c579 if (input_endpoint.bus_type == V4L2_MBUS_PARALLEL || in csi2dc_of_parse()
580 input_endpoint.bus_type == V4L2_MBUS_BT656) { in csi2dc_of_parse()
586 if (input_endpoint.bus_type == V4L2_MBUS_CSI2_DPHY) { in csi2dc_of_parse()
609 if (output_endpoint.bus_type != V4L2_MBUS_PARALLEL && in csi2dc_of_parse()
610 output_endpoint.bus_type != V4L2_MBUS_BT656) { in csi2dc_of_parse()
/linux/drivers/zorro/
H A Dzorro.h7 extern const struct bus_type zorro_bus_type;

1234567891011