Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v4.19/arch/arm/plat-samsung/include/plat/
Dcpu.h131 extern struct bus_type s3c2410_subsys;
132 extern struct bus_type s3c2410a_subsys;
133 extern struct bus_type s3c2412_subsys;
134 extern struct bus_type s3c2416_subsys;
135 extern struct bus_type s3c2440_subsys;
136 extern struct bus_type s3c2442_subsys;
137 extern struct bus_type s3c2443_subsys;
138 extern struct bus_type s3c6410_subsys;
/Linux-v4.19/drivers/base/
Dbus.c38 static struct bus_type *bus_get(struct bus_type *bus) in bus_get()
47 static void bus_put(struct bus_type *bus) in bus_put()
127 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
139 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
151 struct bus_type *bus = priv->bus; in bus_release()
181 struct bus_type *bus = bus_get(drv->bus); in unbind_store()
208 struct bus_type *bus = bus_get(drv->bus); in bind_store()
236 static ssize_t show_drivers_autoprobe(struct bus_type *bus, char *buf) in show_drivers_autoprobe()
241 static ssize_t store_drivers_autoprobe(struct bus_type *bus, in store_drivers_autoprobe()
251 static ssize_t store_drivers_probe(struct bus_type *bus, in store_drivers_probe()
[all …]
Ddevcon.c59 extern struct bus_type platform_bus_type;
60 extern struct bus_type pci_bus_type;
61 extern struct bus_type i2c_bus_type;
62 extern struct bus_type spi_bus_type;
64 static struct bus_type *generic_match_buses[] = {
81 struct bus_type *bus; in generic_match()
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
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()
Dbus.c94 dev->bus_type = B43_BUS_BCMA; in b43_bus_dev_bcma_init()
199 dev->bus_type = B43_BUS_SSB; in b43_bus_dev_ssb_init()
238 switch (dev->bus_type) { in b43_bus_get_wldev()
253 switch (dev->bus_type) { in b43_bus_set_wldev()
/Linux-v4.19/Documentation/driver-model/
Dbus.txt6 See the kerneldoc for the struct bus_type.
8 int bus_register(struct bus_type * bus);
18 struct bus_type pci_bus_type = {
25 extern struct bus_type pci_bus_type;
71 int bus_for_each_dev(struct bus_type * bus, struct device * start, void * data,
74 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start,
123 ssize_t (*show)(struct bus_type *, char * buf);
124 ssize_t (*store)(struct bus_type *, const char * buf, size_t count);
140 int bus_create_file(struct bus_type *, struct bus_attribute *);
141 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-fwnode.c106 vep->bus_type = V4L2_MBUS_CSI2; in v4l2_fwnode_endpoint_parse_csi2_bus()
130 vep->bus_type = V4L2_MBUS_PARALLEL; in v4l2_fwnode_endpoint_parse_parallel_bus()
132 vep->bus_type = V4L2_MBUS_BT656; in v4l2_fwnode_endpoint_parse_parallel_bus()
168 u32 bus_type) in v4l2_fwnode_endpoint_parse_csi1_bus() argument
185 if (bus_type == V4L2_FWNODE_BUS_TYPE_CCP2) in v4l2_fwnode_endpoint_parse_csi1_bus()
186 vep->bus_type = V4L2_MBUS_CCP2; in v4l2_fwnode_endpoint_parse_csi1_bus()
188 vep->bus_type = V4L2_MBUS_CSI1; in v4l2_fwnode_endpoint_parse_csi1_bus()
194 u32 bus_type = 0; in v4l2_fwnode_endpoint_parse() local
200 memset(&vep->bus_type, 0, sizeof(*vep) - in v4l2_fwnode_endpoint_parse()
201 offsetof(typeof(*vep), bus_type)); in v4l2_fwnode_endpoint_parse()
[all …]
/Linux-v4.19/include/linux/
Ddevice.h38 struct bus_type;
48 ssize_t (*show)(struct bus_type *bus, char *buf);
49 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
59 extern int __must_check bus_create_file(struct bus_type *,
61 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
114 struct bus_type { struct
148 extern int __must_check bus_register(struct bus_type *bus); argument
150 extern void bus_unregister(struct bus_type *bus);
152 extern int __must_check bus_rescan_devices(struct bus_type *bus);
160 struct bus_type *subsys,
[all …]
Diommu.h47 struct bus_type;
285 extern int bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops);
286 extern bool iommu_present(struct bus_type *bus);
287 extern bool iommu_capable(struct bus_type *bus, enum iommu_cap cap);
288 extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus);
410 static inline bool iommu_present(struct bus_type *bus) in iommu_present()
415 static inline bool iommu_capable(struct bus_type *bus, enum iommu_cap cap) in iommu_capable()
420 static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
Ddma-debug.h27 struct bus_type;
31 extern void dma_debug_add_bus(struct bus_type *bus);
97 static inline void dma_debug_add_bus(struct bus_type *bus) in dma_debug_add_bus()
Dpm_clock.h90 extern void pm_clk_add_notifier(struct bus_type *bus,
93 static inline void pm_clk_add_notifier(struct bus_type *bus, in pm_clk_add_notifier()
/Linux-v4.19/tools/usb/usbip/src/
Dusbip_unbind.c44 char bus_type[] = "usb"; in unbind_device() local
75 SYSFS_MNT_PATH, SYSFS_BUS_NAME, bus_type, SYSFS_DRIVERS_NAME, in unbind_device()
93 SYSFS_MNT_PATH, SYSFS_BUS_NAME, bus_type, SYSFS_DRIVERS_NAME, in unbind_device()
/Linux-v4.19/drivers/gpu/host1x/
Dbus.h21 struct bus_type;
24 extern struct bus_type host1x_bus_type;
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dof.h17 void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type,
20 static void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, in brcmf_of_probe() argument
Dof.c26 void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, in brcmf_of_probe() argument
35 if (!np || bus_type != BRCMF_BUSTYPE_SDIO || in brcmf_of_probe()
Dcommon.c404 enum brcmf_bus_type bus_type, in brcmf_get_module_param() argument
412 brcmf_dbg(INFO, "Enter, bus=%d, chip=%d, rev=%d\n", bus_type, chip, in brcmf_get_module_param()
428 if (bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param()
436 if ((device_pd->bus_type == bus_type) && in brcmf_get_module_param()
443 if (device_pd->bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param()
454 brcmf_of_probe(dev, bus_type, settings); in brcmf_get_module_param()
/Linux-v4.19/drivers/s390/crypto/
Dap_bus.c117 static struct bus_type ap_bus_type;
682 static struct bus_type ap_bus_type = {
997 static ssize_t ap_domain_show(struct bus_type *bus, char *buf) in ap_domain_show()
1002 static ssize_t ap_domain_store(struct bus_type *bus, in ap_domain_store()
1022 static ssize_t ap_control_domain_mask_show(struct bus_type *bus, char *buf) in ap_control_domain_mask_show()
1037 static ssize_t ap_usage_domain_mask_show(struct bus_type *bus, char *buf) in ap_usage_domain_mask_show()
1052 static ssize_t ap_interrupts_show(struct bus_type *bus, char *buf) in ap_interrupts_show()
1060 static ssize_t config_time_show(struct bus_type *bus, char *buf) in config_time_show()
1065 static ssize_t config_time_store(struct bus_type *bus, in config_time_store()
1079 static ssize_t poll_thread_show(struct bus_type *bus, char *buf) in poll_thread_show()
[all …]
/Linux-v4.19/arch/sparc/include/asm/
Ddma-mapping.h11 extern struct bus_type pci_bus_type;
13 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) in get_arch_dma_ops()
/Linux-v4.19/drivers/usb/typec/
Dbus.h9 struct bus_type;
31 extern struct bus_type typec_bus;
/Linux-v4.19/arch/powerpc/platforms/ps3/
Drepository.c178 enum ps3_bus_type *bus_type) in ps3_repository_read_bus_type() argument
188 *bus_type = v1; in ps3_repository_read_bus_type()
319 __func__, __LINE__, tmp.bus_type, tmp.bus_index, tmp.bus_id, in ps3_repository_find_device()
380 result = ps3_repository_read_bus_type(tmp.bus_index, &tmp.bus_type); in ps3_repository_find_device_by_id()
422 __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, in ps3_repository_find_device_by_id()
428 int ps3_repository_find_devices(enum ps3_bus_type bus_type, in ps3_repository_find_devices() argument
434 pr_devel(" -> %s:%d: find bus_type %u\n", __func__, __LINE__, bus_type); in ps3_repository_find_devices()
436 repo.bus_type = bus_type; in ps3_repository_find_devices()
437 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_repository_find_devices()
470 int ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from, in ps3_repository_find_bus() argument
[all …]
Dplatform.h97 enum ps3_bus_type *bus_type);
140 enum ps3_bus_type bus_type; member
149 int ps3_repository_find_devices(enum ps3_bus_type bus_type,
151 int ps3_repository_find_bus(enum ps3_bus_type bus_type, unsigned int from,
/Linux-v4.19/arch/arm/mach-s3c24xx/
Ds3c2410.c78 struct bus_type s3c2410_subsys = {
86 struct bus_type s3c2410a_subsys = {
Ds3c244x.c75 struct bus_type s3c2440_subsys = {
80 struct bus_type s3c2442_subsys = {
/Linux-v4.19/sound/soc/rockchip/
Drk3399_gru_sound.c393 struct bus_type *bus_type; member
411 .bus_type = &i2c_bus_type,
415 .bus_type = &spi_bus_type,
434 if (dailink_match[i].bus_type) { in rockchip_sound_codec_node_match()
435 dev = bus_find_device(dailink_match[i].bus_type, NULL, in rockchip_sound_codec_node_match()
/Linux-v4.19/drivers/edac/
Dedac_module.c70 static struct bus_type edac_subsys = {
93 struct bus_type *edac_get_sysfs_subsys(void) in edac_get_sysfs_subsys()

12345678910>>...15