Home
last modified time | relevance | path

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

12

/linux/include/linux/device/
H A Dbus.h157 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 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/
H A Dibmebus.c199 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 Doverlay_test.c95 dev = bus_find_device(&platform_bus_type, NULL, kunit_compatible, in of_overlay_apply_kunit_cleanup()
/linux/drivers/usb/phy/
H A Dphy-am335x-control.c137 dev = bus_find_device(&platform_bus_type, NULL, node, match); in am335x_get_phy_control()
/linux/drivers/platform/x86/dell/
H A Ddell-lis3lv02d.c215 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 Dcpsw-phy-sel.c174 dev = bus_find_device(&platform_bus_type, NULL, node, match); in cpsw_phy_sel()
/linux/drivers/s390/cio/
H A Dscm.c191 dev = bus_find_device(&scm_bus_type, NULL, sale, check_address); in scmdev_find()
H A Ddevice.c649 dev = bus_find_device(&ccw_bus_type, NULL, dev_id, match_dev_id); in get_ccwdev_by_dev_id()
/linux/drivers/acpi/
H A Dutils.c965 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 Dipmi_si_platform.c426 while ((dev = bus_find_device(&platform_bus_type, NULL, name, in ipmi_remove_platform_device_by_name()
/linux/drivers/acpi/x86/
H A Dlpss.c557 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 Dcore.c192 adap_dev = bus_find_device(&i2c_bus_type, NULL, pdev, match_parent); in get_i2c_adap_by_pci_parent()
/linux/drivers/base/
H A Dbus.c405 struct device *bus_find_device(const struct bus_type *bus, in bus_find_device() function
428 EXPORT_SYMBOL_GPL(bus_find_device);
H A Dplatform.c1517 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c213 dev = bus_find_device(hid_ops->bus_type, NULL, &hid_id, device_match_id); in hid_get_device()
/linux/drivers/cxl/core/
H A Dport.c1387 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 Dregion.c2233 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 Di2c-core-acpi.c454 dev = bus_find_device(&i2c_bus_type, NULL, handle, device_match_acpi_handle); in i2c_acpi_find_adapter_by_handle()
H A Di2c-core-base.c1881 dev = bus_find_device(&i2c_bus_type, NULL, fwnode, in i2c_find_adapter_by_fwnode()
/linux/drivers/usb/core/
H A Dusb.c437 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface); in usb_find_interface()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c1604 pdev = bus_find_device(&platform_bus_type, NULL, isp_sensor_ids, in amdgpu_acpi_get_isp4_dev()
/linux/drivers/iommu/
H A Dvirtio-iommu.c1012 struct device *dev = bus_find_device(virtio_bus_type, NULL, fwnode, in viommu_get_by_fwnode()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c628 dev = bus_find_device(&coresight_bustype, NULL, &id, in coresight_get_sink_by_id()
/linux/drivers/nvmem/
H A Dcore.c1118 dev = bus_find_device(&nvmem_bus_type, NULL, data, match); in __nvmem_device_get()

12