Home
last modified time | relevance | path

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

12345678910>>...20

/OK3568_Linux_fs/kernel/include/linux/device/
H A Dbus.h82 struct bus_type { struct
122 extern int __must_check bus_register(struct bus_type *bus); argument
124 extern void bus_unregister(struct bus_type *bus);
126 extern int __must_check bus_rescan_devices(struct bus_type *bus);
130 ssize_t (*show)(struct bus_type *bus, char *buf);
131 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
141 extern int __must_check bus_create_file(struct bus_type *,
143 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
159 struct bus_type *subsys,
165 int bus_for_each_dev(struct bus_type *bus, struct device *start, void *data,
[all …]
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-fwnode.c131 enum v4l2_mbus_type bus_type) in v4l2_fwnode_endpoint_parse_csi2_bus() argument
145 if (bus_type == V4L2_MBUS_CSI2_DPHY || in v4l2_fwnode_endpoint_parse_csi2_bus()
146 bus_type == V4L2_MBUS_CSI2_CPHY) { in v4l2_fwnode_endpoint_parse_csi2_bus()
225 if (bus_type == V4L2_MBUS_CSI2_DPHY || in v4l2_fwnode_endpoint_parse_csi2_bus()
226 bus_type == V4L2_MBUS_CSI2_CPHY || lanes_used || in v4l2_fwnode_endpoint_parse_csi2_bus()
230 bus_type == V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus()
233 if (bus_type == V4L2_MBUS_UNKNOWN) in v4l2_fwnode_endpoint_parse_csi2_bus()
234 vep->bus_type = V4L2_MBUS_CSI2_DPHY; in v4l2_fwnode_endpoint_parse_csi2_bus()
275 enum v4l2_mbus_type bus_type) in v4l2_fwnode_endpoint_parse_parallel_bus() argument
281 if (bus_type == V4L2_MBUS_PARALLEL || bus_type == V4L2_MBUS_BT656) in v4l2_fwnode_endpoint_parse_parallel_bus()
[all …]
/OK3568_Linux_fs/kernel/drivers/base/
H 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()
131 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
143 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
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()
230 static ssize_t drivers_autoprobe_show(struct bus_type *bus, char *buf) in drivers_autoprobe_show()
235 static ssize_t drivers_autoprobe_store(struct bus_type *bus, in drivers_autoprobe_store()
245 static ssize_t drivers_probe_store(struct bus_type *bus, in drivers_probe_store()
[all …]
/OK3568_Linux_fs/kernel/include/linux/soc/samsung/
H 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;
/OK3568_Linux_fs/kernel/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)(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 *);
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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dap_bus.c112 static struct bus_type ap_bus_type;
596 static struct bus_type ap_bus_type = {
934 static ssize_t ap_domain_show(struct bus_type *bus, char *buf) in ap_domain_show()
939 static ssize_t ap_domain_store(struct bus_type *bus, in ap_domain_store()
960 static ssize_t ap_control_domain_mask_show(struct bus_type *bus, char *buf) in ap_control_domain_mask_show()
975 static ssize_t ap_usage_domain_mask_show(struct bus_type *bus, char *buf) in ap_usage_domain_mask_show()
990 static ssize_t ap_adapter_mask_show(struct bus_type *bus, char *buf) in ap_adapter_mask_show()
1005 static ssize_t ap_interrupts_show(struct bus_type *bus, char *buf) in ap_interrupts_show()
1013 static ssize_t config_time_show(struct bus_type *bus, char *buf) in config_time_show()
1018 static ssize_t config_time_store(struct bus_type *bus, in config_time_store()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_linux_platdev.c98 wifi_adapter_info_t* dhd_wifi_platform_attach_adapter(uint32 bus_type, in dhd_wifi_platform_attach_adapter() argument
108 if ((adapter->bus_type == -1 || adapter->bus_type == bus_type) && in dhd_wifi_platform_attach_adapter()
122 wifi_adapter_info_t* dhd_wifi_platform_get_adapter(uint32 bus_type, uint32 bus_num, uint32 slot_num) in dhd_wifi_platform_get_adapter() argument
131 if ((adapter->bus_type == -1 || adapter->bus_type == bus_type) && in dhd_wifi_platform_get_adapter()
517 adapter->bus_type = -1; in wifi_ctrlfunc_register_drv()
716 adapter->bus_type, adapter->bus_num, adapter->slot_num)); in dhd_wifi_platform_load_pcie()
836 adapter->bus_type, adapter->bus_num, adapter->slot_num)); in dhd_wifi_platform_load_sdio()
945 adapter->bus_type, adapter->bus_num, adapter->slot_num)); in dhd_wifi_platform_load_usb()
H A Ddhd_linux.h80 uint bus_type; member
142 wifi_adapter_info_t* dhd_wifi_platform_attach_adapter(uint32 bus_type,
144 wifi_adapter_info_t* dhd_wifi_platform_get_adapter(uint32 bus_type, uint32 bus_num,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_platdev.c121 wifi_adapter_info_t* dhd_wifi_platform_attach_adapter(uint32 bus_type, in dhd_wifi_platform_attach_adapter() argument
131 if ((adapter->bus_type == -1 || adapter->bus_type == bus_type) && in dhd_wifi_platform_attach_adapter()
145 wifi_adapter_info_t* dhd_wifi_platform_get_adapter(uint32 bus_type, uint32 bus_num, uint32 slot_num) in dhd_wifi_platform_get_adapter() argument
154 if ((adapter->bus_type == -1 || adapter->bus_type == bus_type) && in dhd_wifi_platform_get_adapter()
174 alloc_ptr = plat_data->mem_prealloc(adapter->bus_type, adapter->index, section, size); in wifi_platform_prealloc()
582 adapter->bus_type = -1; in wifi_ctrlfunc_register_drv()
788 adapter->bus_type, adapter->bus_num, adapter->slot_num));
907 adapter->bus_type, adapter->bus_num, adapter->slot_num));
1027 adapter->bus_type, adapter->bus_num, adapter->slot_num));
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_platdev.c118 wifi_adapter_info_t* dhd_wifi_platform_attach_adapter(uint32 bus_type, in dhd_wifi_platform_attach_adapter() argument
128 if ((adapter->bus_type == -1 || adapter->bus_type == bus_type) && in dhd_wifi_platform_attach_adapter()
142 wifi_adapter_info_t* dhd_wifi_platform_get_adapter(uint32 bus_type, uint32 bus_num, uint32 slot_num) in dhd_wifi_platform_get_adapter() argument
151 if ((adapter->bus_type == -1 || adapter->bus_type == bus_type) && in dhd_wifi_platform_get_adapter()
171 alloc_ptr = plat_data->mem_prealloc(adapter->bus_type, adapter->index, section, size); in wifi_platform_prealloc()
581 adapter->bus_type = -1; in wifi_ctrlfunc_register_drv()
788 adapter->bus_type, adapter->bus_num, adapter->slot_num)); in dhd_wifi_platform_load_pcie()
909 adapter->bus_type, adapter->bus_num, adapter->slot_num)); in dhd_wifi_platform_load_sdio()
1043 adapter->bus_type, adapter->bus_num, adapter->slot_num)); in dhd_wifi_platform_load_usb()
H A Ddhd_gpio.c28 extern void *dhd_wlan_mem_prealloc(uint bus_type, int index,
433 adapter->bus_type = SDIO_BUS; in dhd_wlan_init_adapter()
435 adapter->bus_type = PCI_BUS; in dhd_wlan_init_adapter()
437 adapter->bus_type = USB_BUS; in dhd_wlan_init_adapter()
440 adapter->bus_type, adapter->bus_num, adapter->slot_num); in dhd_wlan_init_adapter()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H 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
422 pr_devel(" -> %s:%d: find bus_type %u\n", __func__, __LINE__, bus_type); in ps3_repository_find_devices()
424 repo.bus_type = bus_type; in ps3_repository_find_devices()
425 result = ps3_repository_find_bus(repo.bus_type, 0, &repo.bus_index); in ps3_repository_find_devices()
458 int 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 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,
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/
H A Dbus.h10 struct bus_type;
13 extern struct bus_type host1x_bus_type;
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H 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()
H 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
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Diommu.h49 struct bus_type;
443 extern int bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops);
444 extern int bus_iommu_probe(struct bus_type *bus);
445 extern bool iommu_present(struct bus_type *bus);
446 extern bool iommu_capable(struct bus_type *bus, enum iommu_cap cap);
447 extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus);
681 static inline bool iommu_present(struct bus_type *bus) in iommu_present()
686 static inline bool iommu_capable(struct bus_type *bus, enum iommu_cap cap) in iommu_capable()
691 static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) in iommu_domain_alloc()
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dbus.h9 struct bus_type;
29 extern struct bus_type typec_bus;
/OK3568_Linux_fs/kernel/arch/arm/mach-s3c/
H A Ds3c2410.c77 struct bus_type s3c2410_subsys = {
85 struct bus_type s3c2410a_subsys = {
H A Ds3c244x.c73 struct bus_type s3c2440_subsys = {
78 struct bus_type s3c2442_subsys = {
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dsample_python_dbus_next.py24 bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
25 bus2 = await MessageBus(bus_type=BusType.SYSTEM).connect()

12345678910>>...20