Home
last modified time | relevance | path

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

12

/linux/net/rfkill/
H A Drfkill-gpio.c117 device_property_read_string(&pdev->dev, name_property, &rfkill->name); in rfkill_gpio_probe()
118 device_property_read_string(&pdev->dev, type_property, &type_name); in rfkill_gpio_probe()
/linux/sound/soc/loongson/
H A Dloongson_card.c111 device_property_read_string(card->dev, "codec-dai-name", &codec_dai_name); in loongson_card_parse_acpi()
186 ret = device_property_read_string(dev, "model", &card->name); in loongson_asoc_card_probe()
/linux/drivers/watchdog/
H A Dgpio_wdt.c122 ret = device_property_read_string(dev, "hw_algo", &algo); in gpio_wdt_probe()
/linux/drivers/iio/frequency/
H A Dadmv1013.c525 ret = device_property_read_string(&spi->dev, "adi,input-mode", &str); in admv1013_properties_parse()
536 ret = device_property_read_string(&spi->dev, "adi,quad-se-mode", &str); in admv1013_properties_parse()
/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()
H A Dleds-sun50i-a100.c257 device_property_read_string(dev, "allwinner,pixel-format", &format); in sun50i_a100_ledc_parse_format()
/linux/drivers/base/
H A Dproperty.c266 int device_property_read_string(const struct device *dev, const char *propname, in device_property_read_string() function
271 EXPORT_SYMBOL_GPL(device_property_read_string);
/linux/drivers/input/misc/
H A Dda7280.c786 error = device_property_read_string(dev, "dlg,actuator-type", &str); in da7280_parse_properties()
857 error = device_property_read_string(dev, gpi_str2, &str); in da7280_parse_properties()
864 error = device_property_read_string(dev, gpi_str3, &str); in da7280_parse_properties()
/linux/drivers/hwmon/
H A Dltc4282.c1283 ret = device_property_read_string(dev, "adi,gpio1-mode", &func); in ltc4282_gpio_setup()
1299 ret = device_property_read_string(dev, "adi,gpio2-mode", &func); in ltc4282_gpio_setup()
1463 ret = device_property_read_string(dev, "adi,overvoltage-dividers", in ltc4282_setup()
1478 ret = device_property_read_string(dev, "adi,undervoltage-dividers", in ltc4282_setup()
/linux/drivers/clk/
H A Dclk-gpio.c374 ret = device_property_read_string(dev, "clock-output-names", &clk_name); in clk_gated_fixed_probe()
/linux/drivers/net/phy/aquantia/
H A Daquantia_firmware.c331 ret = device_property_read_string(dev, "firmware-name", &fw_name); in aqr_firmware_load_fs()
/linux/drivers/input/touchscreen/
H A Dgoodix_fwupload.c332 device_property_read_string(&ts->client->dev, in goodix_firmware_check()
/linux/drivers/power/supply/
H A Dgpio-charger.c150 if (!device_property_read_string(dev, "charger-type", &chargetype)) { in gpio_charger_get_type()
/linux/drivers/tty/serial/8250/
H A D8250_ni.c359 if (!device_property_read_string(dev, "transceiver", &portmode)) { in ni16550_probe()
/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c166 device_property_read_string(dev, "label", &pdata->name); in gpio_keys_polled_get_devtree_pdata()
/linux/drivers/gpu/drm/tiny/
H A Dpanel-mipi-dbi.c50 ret = device_property_read_string(dev, "format", &format_name); in panel_mipi_dbi_get_format()
H A Dsharp-memory.c592 if (device_property_read_string(dev, "sharp,vcom-mode", &vcom_mode_str)) in sharp_memory_probe()
/linux/drivers/iio/pressure/
H A Dmprls0025pa.c374 ret = device_property_read_string(dev, "honeywell,pressure-triplet", in mpr_common_probe()
H A Dhsc030pa.c474 ret = device_property_read_string(dev, "honeywell,pressure-triplet", in hsc_common_probe()
/linux/drivers/net/phy/
H A Ddp83822.c648 if (!device_property_read_string(dev, "ti,rmii-mode", &of_val)) { in dp8382x_config_rmii_mode()
828 if (!device_property_read_string(dev, "ti,gpio2-clk-out", &of_val)) { in dp83822_of_init()
/linux/drivers/iio/light/
H A Dgp2ap002.c458 ret = device_property_read_string(dev, "compatible", &compat); in gp2ap002_probe()
/linux/drivers/iio/adc/
H A Dadi-axi-adc.c411 if (device_property_read_string(st->dev, "dma-names", &dma_name)) in axi_adc_request_buffer()
/linux/include/linux/
H A Dproperty.h51 int device_property_read_string(const struct device *dev, const char *propname,
/linux/drivers/usb/dwc3/
H A Dcore.c1835 device_property_read_string(dev, "snps,hsphy_interface", in dwc3_get_properties()
1993 if (device_property_read_string(dev, "linux,extcon-name", &name) == 0) in dwc3_get_extcon()
2154 ret = device_property_read_string(dwc->dev, "usb-psy-name", &usb_psy_name); in dwc3_get_usb_power_supply()

12