Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/device/
H A Dclass.h99 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 Dearly-lookup.c71 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 Dretimer.c32 dev = class_find_device(&retimer_class, NULL, fwnode, in typec_retimer_match()
H A Dmux.c56 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 Dsuspend_test.c204 dev = class_find_device(rtc_class, NULL, NULL, has_wakealarm); in test_suspend()
/openbmc/linux/drivers/net/wwan/
H A Dwwan_core.c132 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 Dclass.c437 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 Ddevcoredump.c335 existing = class_find_device(&devcd_class, NULL, dev, in dev_coredumpm()
/openbmc/linux/drivers/fpga/
H A Dfpga-region.c27 dev = class_find_device(&fpga_region_class, start, data, match); in fpga_region_class_find()
H A Dfpga-bridge.c129 bridge_dev = class_find_device(&fpga_bridge_class, NULL, dev, in fpga_bridge_get()
H A Dfpga-mgr.c695 mgr_dev = class_find_device(&fpga_mgr_class, NULL, dev, fpga_mgr_dev_match); in fpga_mgr_get()
/openbmc/linux/drivers/gpio/
H A Dgpiolib-sysfs.c675 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 Dcore.c177 return dev_to_mISDN(class_find_device(&mISDN_class, NULL, &id, in get_mdevice()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.c114 dev = class_find_device(hnae_class, NULL, fwnode, __ae_match); in find_ae()
/openbmc/linux/drivers/pwm/
H A Dsysfs.c525 parent = class_find_device(&pwm_class, NULL, chip, in pwmchip_sysfs_unexport()
/openbmc/linux/drivers/scsi/
H A Dhosts.c563 cdev = class_find_device(&shost_class, NULL, &hostnum, in scsi_host_lookup()
/openbmc/linux/drivers/video/backlight/
H A Dbacklight.c681 dev = class_find_device(backlight_class, NULL, node, of_parent_match); in of_find_backlight_by_node()
/openbmc/linux/drivers/power/supply/
H A Dpower_supply_core.c462 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 Dcore.c1036 d = class_find_device(&nfc_class, NULL, &idx, match_idx); in nfc_get_device()
/openbmc/linux/drivers/tee/
H A Dtee_core.c1115 dev = class_find_device(tee_class, dev, &match_data, match_dev); in tee_client_open_context()
/openbmc/linux/drivers/hwtracing/stm/
H A Dcore.c492 dev = class_find_device(&stm_class, NULL, &major, major_match); in stm_char_open()
/openbmc/linux/drivers/spi/
H A Dspi.c4563 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 Dnet-sysfs.c1989 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 Dcore.c1989 dev = class_find_device(&regulator_class, NULL, name, regulator_match); in regulator_lookup_by_name()