| /linux/include/linux/device/ |
| H A D | bus.h | 157 struct device *bus_find_device(const struct bus_type *bus, struct device *start, 173 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name() 185 return bus_find_device(bus, NULL, np, device_match_of_node); in bus_find_device_by_of_node() 197 return bus_find_device(bus, NULL, fwnode, device_match_fwnode); in bus_find_device_by_fwnode() 209 return bus_find_device(bus, NULL, &devt, device_match_devt); in bus_find_device_by_devt() 221 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device() 236 return bus_find_device(bus, NULL, adev, device_match_acpi_dev); in bus_find_device_by_acpi_dev()
|
| /linux/lib/kunit/ |
| H A D | platform-test.c | 81 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/ |
| H A D | ibmebus.c | 199 dev = bus_find_device(&ibmebus_bus_type, NULL, child, in ibmebus_create_devices() 283 dev = bus_find_device(&ibmebus_bus_type, NULL, path, in probe_store() 319 if ((dev = bus_find_device(&ibmebus_bus_type, NULL, path, in remove_store()
|
| /linux/drivers/of/ |
| H A D | overlay_test.c | 95 dev = bus_find_device(&platform_bus_type, NULL, kunit_compatible, in of_overlay_apply_kunit_cleanup()
|
| /linux/drivers/usb/phy/ |
| H A D | phy-am335x-control.c | 137 dev = bus_find_device(&platform_bus_type, NULL, node, match); in am335x_get_phy_control()
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-lis3lv02d.c | 215 dev = bus_find_device(&platform_bus_type, NULL, smo8800_ids, match_acpi_device_ids); in dell_lis3lv02d_init()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpsw-phy-sel.c | 174 dev = bus_find_device(&platform_bus_type, NULL, node, match); in cpsw_phy_sel()
|
| /linux/drivers/s390/cio/ |
| H A D | scm.c | 191 dev = bus_find_device(&scm_bus_type, NULL, sale, check_address); in scmdev_find()
|
| H A D | device.c | 649 dev = bus_find_device(&ccw_bus_type, NULL, dev_id, match_dev_id); in get_ccwdev_by_dev_id()
|
| /linux/drivers/acpi/ |
| H A D | utils.c | 965 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_present() 998 dev = bus_find_device(&acpi_bus_type, start, &match, acpi_dev_match_cb); in acpi_dev_get_next_match_dev()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_si_platform.c | 426 while ((dev = bus_find_device(&platform_bus_type, NULL, name, in ipmi_remove_platform_device_by_name()
|
| /linux/drivers/acpi/x86/ |
| H A D | lpss.c | 557 dev = bus_find_device(&platform_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device() 561 return bus_find_device(&pci_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
|
| /linux/drivers/platform/x86/x86-android-tablets/ |
| H A D | core.c | 192 adap_dev = bus_find_device(&i2c_bus_type, NULL, pdev, match_parent); in get_i2c_adap_by_pci_parent()
|
| /linux/drivers/base/ |
| H A D | bus.c | 405 struct device *bus_find_device(const struct bus_type *bus, in bus_find_device() function 428 EXPORT_SYMBOL_GPL(bus_find_device);
|
| H A D | platform.c | 1517 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
|
| /linux/drivers/hid/bpf/ |
| H A D | hid_bpf_dispatch.c | 213 dev = bus_find_device(hid_ops->bus_type, NULL, &hid_id, device_match_id); in hid_get_device()
|
| /linux/drivers/cxl/core/ |
| H A D | port.c | 1387 dev = bus_find_device(&cxl_bus_type, NULL, ctx, match_port_by_dport); in __find_cxl_port() 1511 bus_find_device(&cxl_bus_type, NULL, &ctx, port_has_memdev); in cxl_detach_ep() 1593 dev = bus_find_device(&cxl_bus_type, NULL, uport_dev, match_port_by_uport); in find_cxl_port_by_uport()
|
| H A D | region.c | 2233 bus_find_device(&cxl_bus_type, NULL, cxled, cxl_region_by_target); in cxl_cancel_auto_attach() 4015 struct device *dev __free(put_device) = bus_find_device( in cxl_region_contains_resource()
|
| /linux/drivers/i2c/ |
| H A D | i2c-core-acpi.c | 454 dev = bus_find_device(&i2c_bus_type, NULL, handle, device_match_acpi_handle); in i2c_acpi_find_adapter_by_handle()
|
| H A D | i2c-core-base.c | 1881 dev = bus_find_device(&i2c_bus_type, NULL, fwnode, in i2c_find_adapter_by_fwnode()
|
| /linux/drivers/usb/core/ |
| H A D | usb.c | 437 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface); in usb_find_interface()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_acpi.c | 1604 pdev = bus_find_device(&platform_bus_type, NULL, isp_sensor_ids, in amdgpu_acpi_get_isp4_dev()
|
| /linux/drivers/iommu/ |
| H A D | virtio-iommu.c | 1012 struct device *dev = bus_find_device(virtio_bus_type, NULL, fwnode, in viommu_get_by_fwnode()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-core.c | 628 dev = bus_find_device(&coresight_bustype, NULL, &id, in coresight_get_sink_by_id()
|
| /linux/drivers/nvmem/ |
| H A D | core.c | 1118 dev = bus_find_device(&nvmem_bus_type, NULL, data, match); in __nvmem_device_get()
|