Home
last modified time | relevance | path

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

12345678910>>...20

/openbmc/linux/include/linux/device/
H A Dbus.h80 struct bus_type { struct
112 int __must_check bus_register(const struct bus_type *bus); argument
114 void bus_unregister(const struct bus_type *bus);
116 int __must_check bus_rescan_devices(const struct bus_type *bus);
120 ssize_t (*show)(const struct bus_type *bus, char *buf);
121 ssize_t (*store)(const struct bus_type *bus, const char *buf, size_t count);
206 bus_find_next_device(const struct bus_type *bus,struct device *cur) in bus_find_next_device()
227 bus_find_device_by_acpi_dev(const struct bus_type *bus, const void *adev) in bus_find_device_by_acpi_dev()
235 void bus_sort_breadthfirst(struct bus_type *bus,
279 struct kset *bus_get_kset(const struct bus_type *bus);
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-fwnode.c274 if (bus_type == V4L2_MBUS_PARALLEL || bus_type == V4L2_MBUS_BT656) in v4l2_fwnode_endpoint_parse_parallel_bus()
367 switch (bus_type) { in v4l2_fwnode_endpoint_parse_parallel_bus()
414 if (bus_type == V4L2_MBUS_CCP2) in v4l2_fwnode_endpoint_parse_csi1_bus()
415 vep->bus_type = V4L2_MBUS_CCP2; in v4l2_fwnode_endpoint_parse_csi1_bus()
431 v4l2_fwnode_bus_type_to_string(bus_type), bus_type, in __v4l2_fwnode_endpoint_parse()
433 vep->bus_type); in __v4l2_fwnode_endpoint_parse()
448 vep->bus_type = mbus_type; in __v4l2_fwnode_endpoint_parse()
451 switch (vep->bus_type) { in __v4l2_fwnode_endpoint_parse()
464 vep->bus_type); in __v4l2_fwnode_endpoint_parse()
475 vep->bus_type); in __v4l2_fwnode_endpoint_parse()
[all …]
/openbmc/skeleton/ledctl/
H A Dled_controller.c442 sd_bus *bus_type = NULL; in start_led_services() local
449 rc = sd_bus_open_system(&bus_type); in start_led_services()
463 sd_bus_unref(bus_type); in start_led_services()
468 rc = sd_bus_add_object_manager(bus_type, NULL, led_dbus_root); in start_led_services()
474 sd_bus_unref(bus_type); in start_led_services()
498 rc = sd_bus_add_object_vtable(bus_type, in start_led_services()
511 rc = sd_bus_emit_object_added(bus_type, led_object); in start_led_services()
532 rc = sd_bus_request_name(bus_type, "org.openbmc.control.led", 0); in start_led_services()
542 rc = sd_bus_process(bus_type, NULL); in start_led_services()
553 rc = sd_bus_wait(bus_type, (uint64_t) - 1); in start_led_services()
[all …]
/openbmc/linux/drivers/base/
H A Dbus.c87 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()
236 const struct bus_type *bus = bus_get(drv->bus); in unbind_store()
259 const struct bus_type *bus = bus_get(drv->bus); in bind_store()
779 int bus_rescan_devices(const struct bus_type *bus) in bus_rescan_devices()
851 int bus_register(const struct bus_type *bus) in bus_register()
936 void bus_unregister(const struct bus_type *bus) in bus_unregister()
1040 void bus_sort_breadthfirst(struct bus_type *bus, in bus_sort_breadthfirst()
1204 static int subsys_register(struct bus_type *subsys, in subsys_register()
1274 int subsys_system_register(struct bus_type *subsys, in subsys_system_register()
[all …]
/openbmc/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()
/openbmc/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 *);
/openbmc/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 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
H A Dcommon.c507 enum brcmf_bus_type bus_type, in brcmf_get_module_param() argument
515 brcmf_dbg(INFO, "Enter, bus=%d, chip=%d, rev=%d\n", bus_type, chip, in brcmf_get_module_param()
531 if (bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param()
539 if ((device_pd->bus_type == bus_type) && in brcmf_get_module_param()
546 if (device_pd->bus_type == BRCMF_BUSTYPE_SDIO) in brcmf_get_module_param()
558 brcmf_of_probe(dev, bus_type, settings); in brcmf_get_module_param()
559 brcmf_acpi_probe(dev, bus_type, settings); in brcmf_get_module_param()
/openbmc/linux/drivers/platform/x86/
H A Dserial-multi-instantiate.c39 enum smi_bus_type bus_type; member
259 switch (node->bus_type) { in smi_probe()
296 .bus_type = SMI_I2C,
307 .bus_type = SMI_I2C,
318 .bus_type = SMI_I2C,
329 .bus_type = SMI_AUTO_DETECT,
342 .bus_type = SMI_AUTO_DETECT,
/openbmc/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()
/openbmc/linux/drivers/gpu/host1x/
H A Dbus.h10 struct bus_type;
13 extern struct bus_type host1x_bus_type;
/openbmc/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);
/openbmc/linux/drivers/iommu/
H A Diommu-priv.h24 const struct iommu_ops *ops, struct bus_type *bus,
27 struct bus_type *bus,
/openbmc/linux/drivers/usb/typec/
H A Dbus.h8 struct bus_type;
31 extern const struct bus_type typec_bus;
/openbmc/linux/drivers/s390/crypto/
H A Dap_bus.c138 static struct bus_type ap_bus_type;
1183 static ssize_t ap_domain_show(const struct bus_type *bus, char *buf) in ap_domain_show()
1188 static ssize_t ap_domain_store(const struct bus_type *bus, in ap_domain_store()
1264 static ssize_t config_time_store(const struct bus_type *bus, in config_time_store()
1283 static ssize_t poll_thread_store(const struct bus_type *bus, in poll_thread_store()
1352 static ssize_t apmask_show(const struct bus_type *bus, char *buf) in apmask_show()
1444 static ssize_t aqmask_show(const struct bus_type *bus, char *buf) in aqmask_show()
1536 static ssize_t scans_show(const struct bus_type *bus, char *buf) in scans_show()
1553 static ssize_t bindings_show(const struct bus_type *bus, char *buf) in bindings_show()
1569 static ssize_t features_show(const struct bus_type *bus, char *buf) in features_show()
[all …]
/openbmc/linux/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 __init 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 …]
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,
/openbmc/linux/drivers/edac/
H A Dedac_module.c70 static struct bus_type edac_subsys = {
93 struct bus_type *edac_get_sysfs_subsys(void) in edac_get_sysfs_subsys()
/openbmc/linux/include/linux/
H 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()
/openbmc/skeleton/libopenbmc_intf/
H A Dopenbmc_intf.h108 GBusType bus_type,
119 GBusType bus_type,
359 GBusType bus_type,
370 GBusType bus_type,
629 GBusType bus_type,
640 GBusType bus_type,
844 GBusType bus_type,
855 GBusType bus_type,
986 GBusType bus_type,
997 GBusType bus_type,
[all …]
/openbmc/linux/sound/soc/rockchip/
H A Drk3399_gru_sound.c451 struct bus_type *bus_type; member
469 .bus_type = &i2c_bus_type,
473 .bus_type = &spi_bus_type,
487 if (dailink_match[i].bus_type) { in rockchip_sound_codec_node_match()
488 dev = bus_find_device_by_of_node(dailink_match[i].bus_type, in rockchip_sound_codec_node_match()
/openbmc/ipmi-fru-parser/
H A Dstrgfnhandler.cpp100 sd_bus* bus_type = ipmid_get_sd_bus_connection(); in ipmiStorageWriteFruData() local
104 sdbusplus::bus_t bus{bus_type}; in ipmiStorageWriteFruData()
/openbmc/linux/drivers/dma/idxd/
H A Dcompat.c19 const struct bus_type *bus = drv->bus; in unbind_store()
35 const struct bus_type *bus = drv->bus; in bind_store()

12345678910>>...20