/openbmc/linux/include/linux/device/ |
H A D | class.h | 99 struct device *class_find_device(const struct class *class, const struct device *start, 111 return class_find_device(class, NULL, name, device_match_name); in class_find_device_by_name() 123 return class_find_device(class, NULL, np, device_match_of_node); in class_find_device_by_of_node() 135 return class_find_device(class, NULL, fwnode, device_match_fwnode); in class_find_device_by_fwnode() 147 return class_find_device(class, NULL, &devt, device_match_devt); in class_find_device_by_devt() 161 return class_find_device(class, NULL, adev, device_match_acpi_dev); in class_find_device_by_acpi_dev()
|
/openbmc/linux/block/ |
H A D | early-lookup.c | 71 dev = class_find_device(&block_class, NULL, &cmp, &match_dev_by_uuid); in devt_from_partuuid() 116 dev = class_find_device(&block_class, NULL, label, &match_dev_by_label); in devt_from_partlabel()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | retimer.c | 32 dev = class_find_device(&retimer_class, NULL, fwnode, in typec_retimer_match()
|
H A D | mux.c | 56 dev = class_find_device(&typec_mux_class, NULL, fwnode, in typec_switch_match() 281 dev = class_find_device(&typec_mux_class, NULL, fwnode, in typec_mux_match()
|
/openbmc/linux/kernel/power/ |
H A D | suspend_test.c | 204 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
|
/openbmc/linux/drivers/net/wwan/ |
H A D | wwan_core.c | 132 dev = class_find_device(wwan_class, NULL, parent, wwan_dev_parent_match); in wwan_dev_get_by_parent() 149 dev = class_find_device(wwan_class, NULL, name, wwan_dev_name_match); in wwan_dev_get_by_name() 185 dev = class_find_device(wwan_class, NULL, dir, wwan_dev_debugfs_match); in wwan_dev_get_by_debugfs() 373 dev = class_find_device(wwan_class, NULL, &minor, wwan_port_minor_match); in wwan_port_get_by_minor()
|
/openbmc/linux/drivers/base/ |
H A D | class.c | 437 struct device *class_find_device(const struct class *class, const struct device *start, in class_find_device() function 465 EXPORT_SYMBOL_GPL(class_find_device);
|
H A D | devcoredump.c | 335 existing = class_find_device(&devcd_class, NULL, dev, in dev_coredumpm()
|
/openbmc/linux/drivers/fpga/ |
H A D | fpga-region.c | 27 dev = class_find_device(&fpga_region_class, start, data, match); in fpga_region_class_find()
|
H A D | fpga-bridge.c | 129 bridge_dev = class_find_device(&fpga_bridge_class, NULL, dev, in fpga_bridge_get()
|
H A D | fpga-mgr.c | 695 mgr_dev = class_find_device(&fpga_mgr_class, NULL, dev, fpga_mgr_dev_match); in fpga_mgr_get()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 675 cdev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_export_link() 707 dev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_unexport()
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | core.c | 177 return dev_to_mISDN(class_find_device(&mISDN_class, NULL, &id, in get_mdevice()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hnae.c | 114 dev = class_find_device(hnae_class, NULL, fwnode, __ae_match); in find_ae()
|
/openbmc/linux/drivers/pwm/ |
H A D | sysfs.c | 525 parent = class_find_device(&pwm_class, NULL, chip, in pwmchip_sysfs_unexport()
|
/openbmc/linux/drivers/scsi/ |
H A D | hosts.c | 563 cdev = class_find_device(&shost_class, NULL, &hostnum, in scsi_host_lookup()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | backlight.c | 681 dev = class_find_device(backlight_class, NULL, node, of_parent_match); in of_find_backlight_by_node()
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_core.c | 462 struct device *dev = class_find_device(power_supply_class, NULL, name, in power_supply_get_by_name() 519 dev = class_find_device(power_supply_class, NULL, power_supply_np, in power_supply_get_by_phandle()
|
/openbmc/linux/net/nfc/ |
H A D | core.c | 1036 d = class_find_device(&nfc_class, NULL, &idx, match_idx); in nfc_get_device()
|
/openbmc/linux/drivers/tee/ |
H A D | tee_core.c | 1115 dev = class_find_device(tee_class, dev, &match_data, match_dev); in tee_client_open_context()
|
/openbmc/linux/drivers/hwtracing/stm/ |
H A D | core.c | 492 dev = class_find_device(&stm_class, NULL, &major, major_match); in stm_char_open()
|
/openbmc/linux/drivers/spi/ |
H A D | spi.c | 4563 dev = class_find_device(&spi_master_class, NULL, adev, in acpi_spi_find_controller_by_adev() 4566 dev = class_find_device(&spi_slave_class, NULL, adev, in acpi_spi_find_controller_by_adev()
|
/openbmc/linux/net/core/ |
H A D | net-sysfs.c | 1989 dev = class_find_device(&net_class, NULL, np, of_dev_node_match); in of_find_net_device_by_node()
|
/openbmc/linux/drivers/regulator/ |
H A D | core.c | 1989 dev = class_find_device(®ulator_class, NULL, name, regulator_match); in regulator_lookup_by_name()
|