Home
last modified time | relevance | path

Searched refs:device_property_read_string (Results 1 – 25 of 29) sorted by relevance

12

/drivers/usb/common/
Dcommon.c112 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_speed()
139 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_ssp_rate()
195 err = device_property_read_string(dev, "dr_mode", &dr_mode); in usb_get_dr_mode()
215 ret = device_property_read_string(dev, "role-switch-default-mode", &str); in usb_get_role_switch_default_mode()
/drivers/leds/
Dleds-cpcap.c187 err = device_property_read_string(&pdev->dev, "label", &led->led.name); in cpcap_led_probe()
Dleds-lp3952.c100 ret = device_property_read_string(dev, label, &str); in lp3952_get_label()
/drivers/i2c/
Di2c-slave-eeprom.c128 int ret = device_property_read_string(&client->dev, "firmware-name", &eeprom_data); in i2c_slave_init_eeprom_data()
/drivers/base/
Dproperty.c202 int device_property_read_string(struct device *dev, const char *propname, in device_property_read_string() function
207 EXPORT_SYMBOL_GPL(device_property_read_string);
/drivers/input/misc/
Dda7280.c787 error = device_property_read_string(dev, "dlg,actuator-type", &str); in da7280_parse_properties()
858 error = device_property_read_string(dev, gpi_str2, &str); in da7280_parse_properties()
865 error = device_property_read_string(dev, gpi_str3, &str); in da7280_parse_properties()
/drivers/power/supply/
Dgpio-charger.c142 if (!device_property_read_string(dev, "charger-type", &chargetype)) { in gpio_charger_get_type()
/drivers/input/keyboard/
Dgpio_keys_polled.c167 device_property_read_string(dev, "label", &pdata->name); in gpio_keys_polled_get_devtree_pdata()
Dgpio_keys.c753 device_property_read_string(dev, "label", &pdata->name); in gpio_keys_get_devtree_pdata()
/drivers/iio/adc/
Dadi-axi-adc.c112 if (device_property_read_string(dev, "dma-names", &dma_name)) in adi_axi_adc_config_dma_buffer()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-platform.c415 ret = device_property_read_string(dev, XGBE_PHY_MODE_PROPERTY, in xgbe_platform_probe()
/drivers/iio/light/
Dgp2ap002.c459 ret = device_property_read_string(dev, "compatible", &compat); in gp2ap002_probe()
/drivers/usb/dwc3/
Ddrd.c457 if (device_property_read_string(dev, "linux,extcon-name", &name) == 0) in dwc3_get_extcon()
Dcore.c1362 ret = device_property_read_string(dev, "usb-psy-name", &usb_psy_name); in dwc3_get_properties()
1440 device_property_read_string(dev, "snps,hsphy_interface", in dwc3_get_properties()
/drivers/input/touchscreen/
Dsilead.c447 error = device_property_read_string(dev, "firmware-name", &str); in silead_ts_read_props()
/drivers/gpio/
Dgpio-mockup.c415 rv = device_property_read_string(dev, "chip-label", &name); in gpio_mockup_probe()
/drivers/vfio/platform/
Dvfio_platform_common.c616 ret = device_property_read_string(dev, "compatible", in vfio_platform_of_probe()
/drivers/hid/intel-ish-hid/
Dishtp-fw-loader.c258 rv = device_property_read_string(devc, "firmware-name", &val); in get_firmware_variant()
/drivers/mmc/host/
Dsdhci-xenon-phy.c844 if (!device_property_read_string(dev, "marvell,xenon-phy-type", &phy_type)) in xenon_phy_parse_params()
/drivers/tee/optee/
Dcore.c563 if (device_property_read_string(dev, "method", &method)) { in get_invoke_func()
/drivers/misc/eeprom/
Dat24.c726 err = device_property_read_string(dev, "label", in at24_probe()
/drivers/mfd/
Diqs62x.c999 device_property_read_string(&client->dev, "firmware-name", &fw_name); in iqs62x_probe()
/drivers/usb/dwc2/
Ddebugfs.c765 device_property_read_string(hsotg->dev, "dr_mode", &dr_mode); in dr_mode_show()
/drivers/gpu/drm/tiny/
Drepaper.c1034 if (!device_property_read_string(dev, "pervasive,thermal-zone", in repaper_probe()
/drivers/iio/proximity/
Dsx9310.c1265 ret = device_property_read_string(dev, "semtech,resolution", &res); in sx9310_get_default_reg()

12