Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/linux/device/
Dbus.h146 struct device *bus_find_device(const struct bus_type *bus, struct device *start,
160 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name()
172 return bus_find_device(bus, NULL, np, device_match_of_node); in bus_find_device_by_of_node()
184 return bus_find_device(bus, NULL, fwnode, device_match_fwnode); in bus_find_device_by_fwnode()
196 return bus_find_device(bus, NULL, &devt, device_match_devt); in bus_find_device_by_devt()
208 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device()
223 return bus_find_device(bus, NULL, adev, device_match_acpi_dev); in bus_find_device_by_acpi_dev()
/Linux-v6.6/arch/powerpc/platforms/pseries/
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-v6.6/drivers/hid/bpf/
Dhid_bpf_dispatch.c275 dev = bus_find_device(hid_bpf_ops->bus_type, NULL, &hid_id, device_match_id); in hid_bpf_attach_prog()
319 dev = bus_find_device(hid_bpf_ops->bus_type, NULL, &hid_id, device_match_id); in hid_bpf_allocate_context()
/Linux-v6.6/drivers/vdpa/
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()
1126 dev = bus_find_device(&vdpa_bus, NULL, devname, vdpa_name_match); in vdpa_nl_cmd_dev_config_get_doit()
1214 dev = bus_find_device(&vdpa_bus, NULL, devname, vdpa_name_match); in vdpa_nl_cmd_dev_stats_get_doit()
/Linux-v6.6/drivers/usb/phy/
Dphy-am335x-control.c137 dev = bus_find_device(&platform_bus_type, NULL, node, match); in am335x_get_phy_control()
/Linux-v6.6/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c174 dev = bus_find_device(&platform_bus_type, NULL, node, match); in cpsw_phy_sel()
Ddavinci_emac.c1515 phy = bus_find_device(&mdio_bus_type, NULL, NULL, in emac_dev_open()
/Linux-v6.6/drivers/base/
Dauxiliary.c358 dev = bus_find_device(&auxiliary_bus_type, start, data, match); in auxiliary_find_device()
Dbus.c390 struct device *bus_find_device(const struct bus_type *bus, in bus_find_device() function
410 EXPORT_SYMBOL_GPL(bus_find_device);
Dplatform.c1510 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
/Linux-v6.6/drivers/pci/
Dsearch.c277 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, in pci_get_dev_by_id()
/Linux-v6.6/drivers/s390/cio/
Dscm.c190 dev = bus_find_device(&scm_bus_type, NULL, sale, check_address); in scmdev_find()
Dcss.c497 dev = bus_find_device(&css_bus_type, NULL, in get_subchannel_by_schid()
Ddevice.c649 dev = bus_find_device(&ccw_bus_type, NULL, dev_id, match_dev_id); in get_ccwdev_by_dev_id()
/Linux-v6.6/drivers/acpi/
Dutils.c909 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_present()
942 dev = bus_find_device(&acpi_bus_type, start, &match, acpi_dev_match_cb); in acpi_dev_get_next_match_dev()
Dacpi_lpss.c570 dev = bus_find_device(&platform_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
574 return bus_find_device(&pci_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
/Linux-v6.6/drivers/char/ipmi/
Dipmi_si_platform.c431 while ((dev = bus_find_device(&platform_bus_type, NULL, name, in ipmi_remove_platform_device_by_name()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c605 next = bus_find_device(&pci_bus_type, NULL, dev, match); in mlx5_get_next_dev()
/Linux-v6.6/drivers/s390/crypto/
Dap_bus.c1816 dev = bus_find_device(&ap_bus_type, NULL, in ap_scan_domains()
1966 dev = bus_find_device(&ap_bus_type, NULL, in ap_scan_adapter()
2170 bus_find_device(&ap_bus_type, NULL, in ap_scan_bus()
/Linux-v6.6/drivers/usb/core/
Dusb.c436 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface); in usb_find_interface()
/Linux-v6.6/drivers/i2c/
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-v6.6/drivers/media/pci/intel/
Dipu-bridge.c137 dev = bus_find_device(&platform_bus_type, NULL, adev, in ipu_bridge_get_ivsc_csi_dev()
/Linux-v6.6/drivers/thunderbolt/
Dswitch.c3365 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_link_depth()
3389 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_uuid()
3416 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_route()
/Linux-v6.6/drivers/cxl/core/
Dport.c1172 dev = bus_find_device(&cxl_bus_type, NULL, ctx, match_port_by_dport); in __find_cxl_port()
1320 dev = bus_find_device(&cxl_bus_type, NULL, &ctx, in cxl_detach_ep()
/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-core.c699 dev = bus_find_device(&coresight_bustype, NULL, &id, in coresight_get_sink_by_id()

12