Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/usb/common/
H A Dcommon.c113 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_speed()
140 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_ssp_rate()
196 err = device_property_read_string(dev, "dr_mode", &dr_mode); in usb_get_dr_mode()
216 ret = device_property_read_string(dev, "role-switch-default-mode", &str); in usb_get_role_switch_default_mode()
/openbmc/linux/net/rfkill/
H A Drfkill-gpio.c95 device_property_read_string(&pdev->dev, name_property, &rfkill->name); in rfkill_gpio_probe()
96 device_property_read_string(&pdev->dev, type_property, &type_name); in rfkill_gpio_probe()
/openbmc/linux/sound/soc/loongson/
H A Dloongson_card.c107 device_property_read_string(card->dev, "codec-dai-name", in loongson_card_parse_acpi()
178 ret = device_property_read_string(&pdev->dev, "model", &card->name); in loongson_asoc_card_probe()
/openbmc/linux/drivers/leds/
H A Dleds-cpcap.c187 err = device_property_read_string(&pdev->dev, "label", &led->led.name); in cpcap_led_probe()
H A Dleds-lp3952.c100 ret = device_property_read_string(dev, label, &str); in lp3952_get_label()
/openbmc/linux/drivers/remoteproc/
H A Dmeson_mx_ao_arc.c152 device_property_read_string(dev, "firmware-name", &fw_name); in meson_mx_ao_arc_rproc_probe()
/openbmc/linux/drivers/i2c/
H A Di2c-slave-eeprom.c128 int ret = device_property_read_string(&client->dev, "firmware-name", &eeprom_data); in i2c_slave_init_eeprom_data()
/openbmc/linux/drivers/iio/adc/
H A Dadi-axi-adc.c131 if (device_property_read_string(st->dev, "dma-names", &dma_name)) in axi_adc_request_buffer()
/openbmc/linux/drivers/iio/frequency/
H A Dadmv1013.c536 ret = device_property_read_string(&spi->dev, "adi,input-mode", &str); in admv1013_properties_parse()
547 ret = device_property_read_string(&spi->dev, "adi,quad-se-mode", &str); in admv1013_properties_parse()
H A Dadmv1014.c722 ret = device_property_read_string(&spi->dev, "adi,input-mode", &str); in admv1014_properties_parse()
733 ret = device_property_read_string(&spi->dev, "adi,quad-se-mode", &str); in admv1014_properties_parse()
/openbmc/linux/drivers/base/
H A Dproperty.c227 int device_property_read_string(const struct device *dev, const char *propname, in device_property_read_string() function
232 EXPORT_SYMBOL_GPL(device_property_read_string);
/openbmc/linux/drivers/input/misc/
H A 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()
/openbmc/linux/drivers/power/supply/
H A Dgpio-charger.c142 if (!device_property_read_string(dev, "charger-type", &chargetype)) { in gpio_charger_get_type()
/openbmc/linux/drivers/input/touchscreen/
H A Dgoodix_fwupload.c332 device_property_read_string(&ts->client->dev, in goodix_firmware_check()
/openbmc/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c167 device_property_read_string(dev, "label", &pdata->name); in gpio_keys_polled_get_devtree_pdata()
/openbmc/linux/drivers/iio/proximity/
H A Dsx9324.c918 ret = device_property_read_string(dev, in sx9324_get_default_reg()
927 ret = device_property_read_string(dev, in sx9324_get_default_reg()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-platform.c415 ret = device_property_read_string(dev, XGBE_PHY_MODE_PROPERTY, in xgbe_platform_probe()
/openbmc/linux/sound/soc/codecs/
H A Dtas5805m.c506 if (device_property_read_string(dev, "ti,dsp-config-name", in tas5805m_i2c_probe()
H A Dda7213.c1773 if (!device_property_read_string(dev, "dlg,dmic-data-sel", &fw_str)) in da7213_fw_to_pdata()
1778 if (!device_property_read_string(dev, "dlg,dmic-samplephase", &fw_str)) in da7213_fw_to_pdata()
/openbmc/linux/drivers/iio/light/
H A Dgp2ap002.c458 ret = device_property_read_string(dev, "compatible", &compat); in gp2ap002_probe()
/openbmc/linux/drivers/gpio/
H A Dgpio-mockup.c416 rv = device_property_read_string(dev, "chip-label", &name); in gpio_mockup_probe()
/openbmc/linux/drivers/usb/dwc3/
H A Dcore.c1544 ret = device_property_read_string(dev, "usb-psy-name", &usb_psy_name); in dwc3_get_properties()
1638 device_property_read_string(dev, "snps,hsphy_interface", in dwc3_get_properties()
1798 if (device_property_read_string(dev, "linux,extcon-name", &name) == 0) in dwc3_get_extcon()
/openbmc/linux/drivers/iio/magnetometer/
H A Dtmag5273.c505 ret = device_property_read_string(dev, "ti,angle-measurement", &str); in tmag5273_read_device_property()
/openbmc/linux/include/linux/
H A Dproperty.h54 int device_property_read_string(const struct device *dev, const char *propname,
/openbmc/linux/drivers/vfio/platform/
H A Dvfio_platform_common.c609 ret = device_property_read_string(dev, "compatible", in vfio_platform_of_probe()

123