Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/device/
H A 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H 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()
/openbmc/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c303 dev = bus_find_device(hid_bpf_ops->bus_type, NULL, &hid_id, device_match_id); in hid_bpf_attach_prog()
351 dev = bus_find_device(hid_bpf_ops->bus_type, NULL, &hid_id, device_match_id); in hid_bpf_allocate_context()
/openbmc/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()
/openbmc/linux/drivers/vdpa/
H 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()
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()
/openbmc/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()
H A Ddavinci_emac.c1515 phy = bus_find_device(&mdio_bus_type, NULL, NULL, in emac_dev_open()
/openbmc/linux/drivers/base/
H A Dauxiliary.c358 dev = bus_find_device(&auxiliary_bus_type, start, data, match); in auxiliary_find_device()
H 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);
H A Dplatform.c1510 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
/openbmc/linux/drivers/pci/
H A Dsearch.c277 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, in pci_get_dev_by_id()
/openbmc/linux/drivers/s390/cio/
H A Dscm.c190 dev = bus_find_device(&scm_bus_type, NULL, sale, check_address); in scmdev_find()
H A Dcss.c497 dev = bus_find_device(&css_bus_type, NULL, in get_subchannel_by_schid()
H A Ddevice.c652 dev = bus_find_device(&ccw_bus_type, NULL, dev_id, match_dev_id); in get_ccwdev_by_dev_id()
/openbmc/linux/drivers/acpi/
H A 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()
H A Dacpi_lpss.c572 dev = bus_find_device(&platform_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
576 return bus_find_device(&pci_bus_type, NULL, &data, match_hid_uid); in acpi_lpss_find_device()
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_platform.c431 while ((dev = bus_find_device(&platform_bus_type, NULL, name, in ipmi_remove_platform_device_by_name()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddev.c605 next = bus_find_device(&pci_bus_type, NULL, dev, match); in mlx5_get_next_dev()
/openbmc/linux/drivers/s390/crypto/
H A Dap_bus.c1820 dev = bus_find_device(&ap_bus_type, NULL, in ap_scan_domains()
1969 dev = bus_find_device(&ap_bus_type, NULL, in ap_scan_adapter()
2173 bus_find_device(&ap_bus_type, NULL, in ap_scan_bus()
/openbmc/linux/drivers/usb/core/
H A Dusb.c436 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface); in usb_find_interface()
/openbmc/linux/drivers/i2c/
H 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()
/openbmc/linux/drivers/media/pci/intel/
H A Dipu-bridge.c146 dev = bus_find_device(&platform_bus_type, NULL, adev, in ipu_bridge_get_ivsc_csi_dev()
/openbmc/linux/drivers/cxl/core/
H A Dport.c1200 dev = bus_find_device(&cxl_bus_type, NULL, ctx, match_port_by_dport); in __find_cxl_port()
1352 dev = bus_find_device(&cxl_bus_type, NULL, &ctx, in cxl_detach_ep()
/openbmc/linux/drivers/thunderbolt/
H A Dswitch.c3733 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_link_depth()
3757 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_uuid()
3784 dev = bus_find_device(&tb_bus_type, NULL, &lookup, tb_switch_match); in tb_switch_find_by_route()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c715 dev = bus_find_device(&coresight_bustype, NULL, &id, in coresight_get_sink_by_id()

12