Home
last modified time | relevance | path

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

12

/linux/include/linux/device/
A Dclass.h117 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 Dmux.c49 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 Dport-mapper.c144 return class_find_device(&typec_class, NULL, node, connector_match); in find_connector()
/linux/init/
A Ddo_mounts.c127 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 Dclass.c399 struct device *class_find_device(struct class *class, struct device *start, in class_find_device() function
425 EXPORT_SYMBOL_GPL(class_find_device);
A Ddevcoredump.c261 existing = class_find_device(&devcd_class, NULL, dev, in dev_coredumpm()
/linux/kernel/power/
A Dsuspend_test.c204 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
/linux/drivers/net/wwan/
A Dwwan_core.c121 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 Dfpga-region.c27 dev = class_find_device(fpga_region_class, start, data, match); in fpga_region_class_find()
A Dfpga-bridge.c129 bridge_dev = class_find_device(fpga_bridge_class, NULL, dev, in fpga_bridge_get()
A Dfpga-mgr.c522 struct device *mgr_dev = class_find_device(fpga_mgr_class, NULL, dev, in fpga_mgr_get()
/linux/drivers/gpio/
A Dgpiolib-sysfs.c681 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 Dcore.c184 return dev_to_mISDN(class_find_device(&mISDN_class, NULL, &id, in get_mdevice()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhnae.c114 dev = class_find_device(hnae_class, NULL, fwnode, __ae_match); in find_ae()
/linux/drivers/power/supply/
A Dpower_supply_core.c454 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 Dsysfs.c509 parent = class_find_device(&pwm_class, NULL, chip, in pwmchip_sysfs_unexport()
/linux/drivers/scsi/
A Dhosts.c555 cdev = class_find_device(&shost_class, NULL, &hostnum, in scsi_host_lookup()
A Dscsi_transport_iscsi.c216 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 Dbacklight.c681 dev = class_find_device(backlight_class, NULL, node, of_parent_match); in of_find_backlight_by_node()
/linux/net/nfc/
A Dcore.c1036 d = class_find_device(&nfc_class, NULL, &idx, match_idx); in nfc_get_device()
/linux/drivers/tee/
A Dtee_core.c1114 dev = class_find_device(tee_class, dev, &match_data, match_dev); in tee_client_open_context()
/linux/drivers/hwtracing/stm/
A Dcore.c492 dev = class_find_device(&stm_class, NULL, &major, major_match); in stm_char_open()
/linux/drivers/spi/
A Dspi.c4196 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 Dnet-sysfs.c1951 dev = class_find_device(&net_class, NULL, np, of_dev_node_match); in of_find_net_device_by_node()
/linux/drivers/regulator/
A Dcore.c1852 dev = class_find_device(&regulator_class, NULL, name, regulator_match); in regulator_lookup_by_name()

Completed in 77 milliseconds

12