Home
last modified time | relevance | path

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

12345678910>>...17

/linux/include/linux/device/
A Dbus.h82 struct bus_type { struct
117 extern int __must_check bus_register(struct bus_type *bus); argument
119 extern void bus_unregister(struct bus_type *bus);
125 ssize_t (*show)(struct bus_type *bus, char *buf);
136 extern int __must_check bus_create_file(struct bus_type *,
155 struct bus_type *subsys,
223 bus_find_next_device(struct bus_type *bus,struct device *cur) in bus_find_next_device()
254 void bus_sort_breadthfirst(struct bus_type *bus,
265 extern int bus_register_notifier(struct bus_type *bus,
267 extern int bus_unregister_notifier(struct bus_type *bus,
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-fwnode.c270 if (bus_type == V4L2_MBUS_PARALLEL || bus_type == V4L2_MBUS_BT656) in v4l2_fwnode_endpoint_parse_parallel_bus()
348 switch (bus_type) { in v4l2_fwnode_endpoint_parse_parallel_bus()
395 if (bus_type == V4L2_MBUS_CCP2) in v4l2_fwnode_endpoint_parse_csi1_bus()
396 vep->bus_type = V4L2_MBUS_CCP2; in v4l2_fwnode_endpoint_parse_csi1_bus()
412 v4l2_fwnode_bus_type_to_string(bus_type), bus_type, in __v4l2_fwnode_endpoint_parse()
414 vep->bus_type); in __v4l2_fwnode_endpoint_parse()
429 vep->bus_type = mbus_type; in __v4l2_fwnode_endpoint_parse()
432 switch (vep->bus_type) { in __v4l2_fwnode_endpoint_parse()
445 vep->bus_type); in __v4l2_fwnode_endpoint_parse()
456 vep->bus_type); in __v4l2_fwnode_endpoint_parse()
[all …]
/linux/include/linux/soc/samsung/
A Ds3c-pm.h86 extern struct bus_type s3c2410_subsys;
87 extern struct bus_type s3c2410a_subsys;
88 extern struct bus_type s3c2412_subsys;
89 extern struct bus_type s3c2416_subsys;
90 extern struct bus_type s3c2440_subsys;
91 extern struct bus_type s3c2442_subsys;
92 extern struct bus_type s3c2443_subsys;
/linux/drivers/base/
A Dbus.c42 static struct bus_type *bus_get(struct bus_type *bus) in bus_get()
51 static void bus_put(struct bus_type *bus) in bus_put()
155 struct bus_type *bus = priv->bus; in bus_release()
185 struct bus_type *bus = bus_get(drv->bus); in unbind_store()
208 struct bus_type *bus = bus_get(drv->bus); in bind_store()
480 struct bus_type *bus = dev->bus; in bus_probe_device()
508 struct bus_type *bus = dev->bus; in bus_remove_device()
592 struct bus_type *bus; in bus_add_driver()
781 int bus_register(struct bus_type *bus) in bus_register()
1021 struct bus_type *subsys; in subsys_interface_register()
[all …]
/linux/Documentation/driver-api/driver-model/
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)(struct bus_type *, char * buf);
129 ssize_t (*store)(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 *);
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/
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()
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/s390/crypto/
A Dap_bus.c129 static struct bus_type ap_bus_type;
1109 static ssize_t ap_domain_show(struct bus_type *bus, char *buf) in ap_domain_show()
1114 static ssize_t ap_domain_store(struct bus_type *bus, in ap_domain_store()
1189 static ssize_t config_time_show(struct bus_type *bus, char *buf) in config_time_show()
1194 static ssize_t config_time_store(struct bus_type *bus, in config_time_store()
1213 static ssize_t poll_thread_store(struct bus_type *bus, in poll_thread_store()
1274 static ssize_t apmask_show(struct bus_type *bus, char *buf) in apmask_show()
1305 static ssize_t aqmask_show(struct bus_type *bus, char *buf) in aqmask_show()
1336 static ssize_t scans_show(struct bus_type *bus, char *buf) in scans_show()
1344 static ssize_t bindings_show(struct bus_type *bus, char *buf) in bindings_show()
[all …]
/linux/tools/usb/usbip/src/
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/arch/powerpc/platforms/ps3/
A Drepository.c166 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 ps3_repository_find_devices(enum ps3_bus_type bus_type, in ps3_repository_find_devices() argument
424 repo.bus_type = bus_type; in ps3_repository_find_devices()
473 if (type == bus_type) { in ps3_repository_find_bus()
1318 if (repo->bus_type == PS3_BUS_TYPE_STORAGE) in dump_device_info()
1339 &repo.bus_type); in ps3_repository_dump_bus_info()
[all …]
A Dplatform.h85 enum ps3_bus_type *bus_type);
128 enum ps3_bus_type bus_type; member
137 int ps3_repository_find_devices(enum ps3_bus_type bus_type,
139 int ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from,
/linux/drivers/gpu/host1x/
A Dbus.h10 struct bus_type;
13 extern struct bus_type host1x_bus_type;
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dof.h6 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
A Dcommon.c396 enum brcmf_bus_type bus_type, in brcmf_get_module_param() argument
404 brcmf_dbg(INFO, "Enter, bus=%d, chip=%d, rev=%d\n", bus_type, chip, in brcmf_get_module_param()
420 if (bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param()
428 if ((device_pd->bus_type == bus_type) && in brcmf_get_module_param()
435 if (device_pd->bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param()
447 brcmf_of_probe(dev, bus_type, settings); in brcmf_get_module_param()
A Dof.c61 void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, in brcmf_of_probe() argument
100 if (bus_type != BRCMF_BUSTYPE_SDIO) in brcmf_of_probe()
/linux/drivers/usb/typec/
A Dbus.h8 struct bus_type;
29 extern struct bus_type typec_bus;
/linux/sound/soc/rockchip/
A Drk3399_gru_sound.c427 struct bus_type *bus_type; member
445 .bus_type = &i2c_bus_type,
449 .bus_type = &spi_bus_type,
463 if (dailink_match[i].bus_type) { in rockchip_sound_codec_node_match()
464 dev = bus_find_device_by_of_node(dailink_match[i].bus_type, in rockchip_sound_codec_node_match()
/linux/include/linux/
A Diommu.h37 struct bus_type;
412 extern int bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops);
413 extern int bus_iommu_probe(struct bus_type *bus);
414 extern bool iommu_present(struct bus_type *bus);
415 extern bool iommu_capable(struct bus_type *bus, enum iommu_cap cap);
416 extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus);
693 static inline bool iommu_present(struct bus_type *bus) in iommu_present()
698 static inline bool iommu_capable(struct bus_type *bus, enum iommu_cap cap) in iommu_capable()
703 static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
A Dpm_clock.h94 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()
/linux/arch/arm/mach-s3c/
A Ds3c2410.c77 struct bus_type s3c2410_subsys = {
85 struct bus_type s3c2410a_subsys = {
A Ds3c244x.c73 struct bus_type s3c2440_subsys = {
78 struct bus_type s3c2442_subsys = {
/linux/drivers/edac/
A Dedac_module.c70 static struct bus_type edac_subsys = {
93 struct bus_type *edac_get_sysfs_subsys(void) in edac_get_sysfs_subsys()
/linux/drivers/dma/idxd/
A Dcompat.c19 struct bus_type *bus = drv->bus; in unbind_store()
35 struct bus_type *bus = drv->bus; in bind_store()
/linux/Documentation/translations/zh_CN/filesystems/
A Dsysfs.txt332 ssize_t (*show)(struct bus_type *, char * buf);
333 ssize_t (*store)(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 *);

Completed in 66 milliseconds

12345678910>>...17