/openbmc/linux/include/linux/device/ |
H A D | bus.h | 146 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 D | ibmebus.c | 198 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 D | hid_bpf_dispatch.c | 303 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 D | phy-am335x-control.c | 137 dev = bus_find_device(&platform_bus_type, NULL, node, match); in am335x_get_phy_control()
|
/openbmc/linux/drivers/vdpa/ |
H A D | vdpa.c | 230 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 D | cpsw-phy-sel.c | 174 dev = bus_find_device(&platform_bus_type, NULL, node, match); in cpsw_phy_sel()
|
H A D | davinci_emac.c | 1515 phy = bus_find_device(&mdio_bus_type, NULL, NULL, in emac_dev_open()
|
/openbmc/linux/drivers/base/ |
H A D | auxiliary.c | 358 dev = bus_find_device(&auxiliary_bus_type, start, data, match); in auxiliary_find_device()
|
H A D | bus.c | 392 struct device *bus_find_device(const struct bus_type *bus, in bus_find_device() function 412 EXPORT_SYMBOL_GPL(bus_find_device);
|
H A D | platform.c | 1510 return bus_find_device(&platform_bus_type, start, drv, in platform_find_device_by_driver()
|
/openbmc/linux/drivers/pci/ |
H A D | search.c | 277 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, in pci_get_dev_by_id()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | scm.c | 190 dev = bus_find_device(&scm_bus_type, NULL, sale, check_address); in scmdev_find()
|
H A D | css.c | 497 dev = bus_find_device(&css_bus_type, NULL, in get_subchannel_by_schid()
|
H A D | device.c | 652 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 D | utils.c | 909 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 D | acpi_lpss.c | 572 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 D | ipmi_si_platform.c | 431 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 D | dev.c | 605 next = bus_find_device(&pci_bus_type, NULL, dev, match); in mlx5_get_next_dev()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | ap_bus.c | 1820 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 D | usb.c | 436 dev = bus_find_device(&usb_bus_type, NULL, &argb, __find_interface); in usb_find_interface()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-acpi.c | 431 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 D | ipu-bridge.c | 146 dev = bus_find_device(&platform_bus_type, NULL, adev, in ipu_bridge_get_ivsc_csi_dev()
|
/openbmc/linux/drivers/cxl/core/ |
H A D | port.c | 1200 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 D | switch.c | 3733 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 D | coresight-core.c | 715 dev = bus_find_device(&coresight_bustype, NULL, &id, in coresight_get_sink_by_id()
|