Home
last modified time | relevance | path

Searched refs:bus_find_device (Results 1 – 25 of 30) sorted by relevance

12

/linux/include/linux/device/
A Dbus.h144 struct device *bus_find_device(const struct bus_type *bus, struct device *start,
157 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name()
169 return bus_find_device(bus, NULL, np, device_match_of_node); in bus_find_device_by_of_node()
181 return bus_find_device(bus, NULL, fwnode, device_match_fwnode); in bus_find_device_by_fwnode()
193 return bus_find_device(bus, NULL, &devt, device_match_devt); in bus_find_device_by_devt()
205 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device()
220 return bus_find_device(bus, NULL, adev, device_match_acpi_dev); in bus_find_device_by_acpi_dev()
/linux/lib/kunit/
A Dplatform-test.c81 dev = bus_find_device(&platform_bus_type, NULL, name, in kunit_platform_device_add_cleans_up()
98 dev = bus_find_device(&platform_bus_type, NULL, name, in kunit_platform_device_add_cleans_up()
/linux/arch/powerpc/platforms/pseries/
A Dibmebus.c198 dev = bus_find_device(&ibmebus_bus_type, NULL, child, in ibmebus_create_devices()
282 dev = bus_find_device(&ibmebus_bus_type, NULL, path, in probe_store()
318 if ((dev = bus_find_device(&ibmebus_bus_type, NULL, path, in remove_store()
/linux/drivers/of/
A Doverlay_test.c93 dev = bus_find_device(&platform_bus_type, NULL, kunit_compatible, in of_overlay_apply_kunit_cleanup()
/linux/drivers/vdpa/
A Dvdpa.c230 dev = bus_find_device(&vdpa_bus, NULL, dev_name(&vdev->dev), vdpa_name_match); in __vdpa_register_device()
717 dev = bus_find_device(&vdpa_bus, NULL, name, vdpa_name_match); in vdpa_nl_cmd_dev_del_set_doit()
801 dev = bus_find_device(&vdpa_bus, NULL, devname, vdpa_name_match); in vdpa_nl_cmd_dev_get_doit()
1338 dev = bus_find_device(&vdpa_bus, NULL, devname, vdpa_name_match); in vdpa_nl_cmd_dev_config_get_doit()
1411 dev = bus_find_device(&vdpa_bus, NULL, name, vdpa_name_match); in vdpa_nl_cmd_dev_attr_set_doit()
1500 dev = bus_find_device(&vdpa_bus, NULL, devname, vdpa_name_match); in vdpa_nl_cmd_dev_stats_get_doit()
/linux/drivers/usb/phy/
A Dphy-am335x-control.c137 dev = bus_find_device(&platform_bus_type, NULL, node, match); in am335x_get_phy_control()
/linux/drivers/net/ethernet/ti/
A Dcpsw-phy-sel.c174 dev = bus_find_device(&platform_bus_type, NULL, node, match); in cpsw_phy_sel()
/linux/drivers/base/
A Dauxiliary.c359 dev = bus_find_device(&auxiliary_bus_type, start, data, match); in auxiliary_find_device()
A Dbus.c392 struct device *bus_find_device(const struct bus_type *bus, in bus_find_device() function
412 EXPORT_SYMBOL_GPL(bus_find_device);
A Dplatform.c1505 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
/linux/drivers/pci/
A Dsearch.c277 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, in pci_get_dev_by_id()
/linux/drivers/s390/cio/
A Dscm.c190 dev = bus_find_device(&scm_bus_type, NULL, sale, check_address); in scmdev_find()
A Dcss.c486 dev = bus_find_device(&css_bus_type, NULL, in get_subchannel_by_schid()
/linux/drivers/acpi/
A Dutils.c966 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_present()
999 dev = bus_find_device(&acpi_bus_type, start, &match, acpi_dev_match_cb); in acpi_dev_get_next_match_dev()
/linux/drivers/char/ipmi/
A Dipmi_si_platform.c425 while ((dev = bus_find_device(&platform_bus_type, NULL, name, in ipmi_remove_platform_device_by_name()
/linux/drivers/acpi/x86/
A Dlpss.c560 dev = bus_find_device(&platform_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
564 return bus_find_device(&pci_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
/linux/drivers/s390/crypto/
A Dap_bus.c1838 dev = bus_find_device(&ap_bus_type, NULL, in ap_scan_domains()
1988 dev = bus_find_device(&ap_bus_type, NULL, in ap_scan_adapter()
2247 bus_find_device(&ap_bus_type, NULL, in ap_scan_bus()
/linux/drivers/hid/bpf/
A Dhid_bpf_dispatch.c204 dev = bus_find_device(hid_ops->bus_type, NULL, &hid_id, device_match_id); in hid_get_device()
/linux/drivers/usb/core/
A Dusb.c436 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface); in usb_find_interface()
/linux/drivers/i2c/
A Di2c-core-acpi.c431 dev = bus_find_device(&i2c_bus_type, NULL, handle, device_match_acpi_handle); in i2c_acpi_find_adapter_by_handle()
/linux/drivers/media/pci/intel/
A Dipu-bridge.c167 dev = bus_find_device(&platform_bus_type, NULL, adev, in ipu_bridge_get_ivsc_csi_dev()
/linux/drivers/thunderbolt/
A Dswitch.c3731 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_link_depth()
3755 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_uuid()
3782 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_route()
/linux/drivers/cxl/core/
A Dport.c1339 dev = bus_find_device(&cxl_bus_type, NULL, ctx, match_port_by_dport); in __find_cxl_port()
1490 bus_find_device(&cxl_bus_type, NULL, &ctx, port_has_memdev); in cxl_detach_ep()
/linux/drivers/hwtracing/coresight/
A Dcoresight-core.c527 dev = bus_find_device(&coresight_bustype, NULL, &id, in coresight_get_sink_by_id()
/linux/drivers/platform/x86/
A Dwmi.c198 dev = bus_find_device(&wmi_bus_type, NULL, &guid, wmidev_match_guid); in wmi_find_device_by_guid()

Completed in 73 milliseconds

12