/linux/include/linux/device/ |
A D | class.h | 117 extern struct device *class_find_device(struct class *class, 130 return class_find_device(class, NULL, name, device_match_name); in class_find_device_by_name() 142 return class_find_device(class, NULL, np, device_match_of_node); in class_find_device_by_of_node() 155 return class_find_device(class, NULL, fwnode, device_match_fwnode); in class_find_device_by_fwnode() 167 return class_find_device(class, NULL, &devt, device_match_devt); in class_find_device_by_devt() 181 return class_find_device(class, NULL, adev, device_match_acpi_dev); in class_find_device_by_acpi_dev()
|
/linux/drivers/usb/typec/ |
A D | mux.c | 49 dev = class_find_device(&typec_mux_class, NULL, fwnode, in typec_switch_match() 246 dev = class_find_device(&typec_mux_class, NULL, fwnode, in typec_mux_match()
|
A D | port-mapper.c | 144 return class_find_device(&typec_class, NULL, node, connector_match); in find_connector()
|
/linux/init/ |
A D | do_mounts.c | 127 dev = class_find_device(&block_class, NULL, &cmp, &match_dev_by_uuid); in devt_from_partuuid() 176 dev = class_find_device(&block_class, NULL, label, &match_dev_by_label); in devt_from_partlabel()
|
/linux/drivers/base/ |
A D | class.c | 399 struct device *class_find_device(struct class *class, struct device *start, in class_find_device() function 425 EXPORT_SYMBOL_GPL(class_find_device);
|
A D | devcoredump.c | 261 existing = class_find_device(&devcd_class, NULL, dev, in dev_coredumpm()
|
/linux/kernel/power/ |
A D | suspend_test.c | 204 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
|
/linux/drivers/net/wwan/ |
A D | wwan_core.c | 121 dev = class_find_device(wwan_class, NULL, parent, wwan_dev_parent_match); in wwan_dev_get_by_parent() 138 dev = class_find_device(wwan_class, NULL, name, wwan_dev_name_match); in wwan_dev_get_by_name() 298 dev = class_find_device(wwan_class, NULL, &minor, wwan_port_minor_match); in wwan_port_get_by_minor()
|
/linux/drivers/fpga/ |
A D | fpga-region.c | 27 dev = class_find_device(fpga_region_class, start, data, match); in fpga_region_class_find()
|
A D | fpga-bridge.c | 129 bridge_dev = class_find_device(fpga_bridge_class, NULL, dev, in fpga_bridge_get()
|
A D | fpga-mgr.c | 522 struct device *mgr_dev = class_find_device(fpga_mgr_class, NULL, dev, in fpga_mgr_get()
|
/linux/drivers/gpio/ |
A D | gpiolib-sysfs.c | 681 cdev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_export_link() 713 dev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_unexport()
|
/linux/drivers/isdn/mISDN/ |
A D | core.c | 184 return dev_to_mISDN(class_find_device(&mISDN_class, NULL, &id, in get_mdevice()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hnae.c | 114 dev = class_find_device(hnae_class, NULL, fwnode, __ae_match); in find_ae()
|
/linux/drivers/power/supply/ |
A D | power_supply_core.c | 454 struct device *dev = class_find_device(power_supply_class, NULL, name, in power_supply_get_by_name() 511 dev = class_find_device(power_supply_class, NULL, power_supply_np, in power_supply_get_by_phandle()
|
/linux/drivers/pwm/ |
A D | sysfs.c | 509 parent = class_find_device(&pwm_class, NULL, chip, in pwmchip_sysfs_unexport()
|
/linux/drivers/scsi/ |
A D | hosts.c | 555 cdev = class_find_device(&shost_class, NULL, &hostnum, in scsi_host_lookup()
|
A D | scsi_transport_iscsi.c | 216 dev = class_find_device(&iscsi_endpoint_class, NULL, &id, in iscsi_create_endpoint() 281 dev = class_find_device(&iscsi_endpoint_class, NULL, &handle, in iscsi_lookup_endpoint()
|
/linux/drivers/video/backlight/ |
A D | backlight.c | 681 dev = class_find_device(backlight_class, NULL, node, of_parent_match); in of_find_backlight_by_node()
|
/linux/net/nfc/ |
A D | core.c | 1036 d = class_find_device(&nfc_class, NULL, &idx, match_idx); in nfc_get_device()
|
/linux/drivers/tee/ |
A D | tee_core.c | 1114 dev = class_find_device(tee_class, dev, &match_data, match_dev); in tee_client_open_context()
|
/linux/drivers/hwtracing/stm/ |
A D | core.c | 492 dev = class_find_device(&stm_class, NULL, &major, major_match); in stm_char_open()
|
/linux/drivers/spi/ |
A D | spi.c | 4196 dev = class_find_device(&spi_master_class, NULL, adev, in acpi_spi_find_controller_by_adev() 4199 dev = class_find_device(&spi_slave_class, NULL, adev, in acpi_spi_find_controller_by_adev()
|
/linux/net/core/ |
A D | net-sysfs.c | 1951 dev = class_find_device(&net_class, NULL, np, of_dev_node_match); in of_find_net_device_by_node()
|
/linux/drivers/regulator/ |
A D | core.c | 1852 dev = class_find_device(®ulator_class, NULL, name, regulator_match); in regulator_lookup_by_name()
|