/linux/drivers/power/reset/ |
H A D | gpio-poweroff.c | 81 device_property_read_u32(&pdev->dev, "active-delay-ms", &gpio_poweroff->active_delay_ms); in gpio_poweroff_probe() 82 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe() 84 device_property_read_u32(&pdev->dev, "timeout-ms", &gpio_poweroff->timeout_ms); in gpio_poweroff_probe() 85 device_property_read_u32(&pdev->dev, "priority", &priority); in gpio_poweroff_probe()
|
/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 331 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props() 338 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props() 339 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props() 368 ret = device_property_read_u32(dev, "shunt-resistor-micro-ohms", in rescale_current_sense_shunt_props() 388 ret = device_property_read_u32(dev, "output-ohms", in rescale_voltage_divider_props() 395 ret = device_property_read_u32(dev, "full-ohms", in rescale_voltage_divider_props() 419 ret = device_property_read_u32(dev, "excitation-current-microamp", in rescale_temp_sense_rtd_props() 427 ret = device_property_read_u32(dev, "alpha-ppm-per-celsius", &alpha); in rescale_temp_sense_rtd_props() 434 ret = device_property_read_u32(dev, "r-naught-ohms", &r0); in rescale_temp_sense_rtd_props() 458 device_property_read_u32(dev, "sense-offset-millicelsius", &offset); in rescale_temp_transducer_props() [all …]
|
/linux/drivers/tty/serial/ |
H A D | serial_port.c | 206 device_property_read_u32(dev, "clock-frequency", &port->uartclk); in __uart_read_properties() 209 ret = device_property_read_u32(dev, "reg-shift", &value); in __uart_read_properties() 216 ret = device_property_read_u32(dev, "reg-io-width", &value); in __uart_read_properties() 242 ret = device_property_read_u32(dev, "reg-offset", &value); in __uart_read_properties() 256 device_property_read_u32(dev, "fifo-size", &port->fifosize); in __uart_read_properties()
|
/linux/drivers/dma/qcom/ |
H A D | hidma_mgmt.c | 196 rc = device_property_read_u32(&pdev->dev, "dma-channels", in hidma_mgmt_probe() 203 rc = device_property_read_u32(&pdev->dev, in hidma_mgmt_probe() 211 rc = device_property_read_u32(&pdev->dev, "max-write-burst-bytes", in hidma_mgmt_probe() 226 rc = device_property_read_u32(&pdev->dev, "max-read-burst-bytes", in hidma_mgmt_probe() 240 rc = device_property_read_u32(&pdev->dev, "max-write-transactions", in hidma_mgmt_probe() 254 rc = device_property_read_u32(&pdev->dev, "max-read-transactions", in hidma_mgmt_probe()
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-xsphy.c | 251 device_property_read_u32(dev, "mediatek,efuse-intr", in phy_parse_property() 253 device_property_read_u32(dev, "mediatek,eye-src", in phy_parse_property() 255 device_property_read_u32(dev, "mediatek,eye-vrt", in phy_parse_property() 257 device_property_read_u32(dev, "mediatek,eye-term", in phy_parse_property() 264 device_property_read_u32(dev, "mediatek,efuse-intr", in phy_parse_property() 266 device_property_read_u32(dev, "mediatek,efuse-tx-imp", in phy_parse_property() 268 device_property_read_u32(dev, "mediatek,efuse-rx-imp", in phy_parse_property() 547 device_property_read_u32(dev, "mediatek,src-ref-clk-mhz", in mtk_xsphy_probe() 549 device_property_read_u32(dev, "mediatek,src-coef", &xsphy->src_coef); in mtk_xsphy_probe()
|
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-of.c | 94 ret = device_property_read_u32(dev, "hid-descr-addr", &val); in i2c_hid_of_probe() 105 if (!device_property_read_u32(dev, "post-power-on-delay-ms", &val)) in i2c_hid_of_probe() 113 if (!device_property_read_u32(dev, "post-reset-deassert-delay-ms", &val)) in i2c_hid_of_probe()
|
/linux/drivers/iio/frequency/ |
H A D | adf4350.c | 509 device_property_read_u32(dev, "adi,channel-spacing", &tmp); in adf4350_parse_dt() 513 device_property_read_u32(dev, "adi,power-up-frequency", &tmp); in adf4350_parse_dt() 517 device_property_read_u32(dev, "adi,reference-div-factor", &tmp); in adf4350_parse_dt() 533 device_property_read_u32(dev, "adi,charge-pump-current", &tmp); in adf4350_parse_dt() 537 device_property_read_u32(dev, "adi,muxout-select", &tmp); in adf4350_parse_dt() 556 device_property_read_u32(dev, "adi,12bit-clk-divider", &tmp); in adf4350_parse_dt() 560 device_property_read_u32(dev, "adi,clk-divider-mode", &tmp); in adf4350_parse_dt() 574 device_property_read_u32(dev, "adi,output-power", &tmp); in adf4350_parse_dt() 578 device_property_read_u32(dev, "adi,aux-output-power", &tmp); in adf4350_parse_dt()
|
/linux/drivers/video/fbdev/ |
H A D | ssd1307fb.c | 625 if (device_property_read_u32(dev, "solomon,width", &par->width)) in ssd1307fb_probe() 628 if (device_property_read_u32(dev, "solomon,height", &par->height)) in ssd1307fb_probe() 631 if (device_property_read_u32(dev, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe() 634 if (device_property_read_u32(dev, "solomon,col-offset", &par->col_offset)) in ssd1307fb_probe() 637 if (device_property_read_u32(dev, "solomon,com-offset", &par->com_offset)) in ssd1307fb_probe() 640 if (device_property_read_u32(dev, "solomon,prechargep1", &par->prechargep1)) in ssd1307fb_probe() 643 if (device_property_read_u32(dev, "solomon,prechargep2", &par->prechargep2)) in ssd1307fb_probe() 663 if (device_property_read_u32(dev, "solomon,dclk-div", &par->dclk_div)) in ssd1307fb_probe() 665 if (device_property_read_u32(dev, "solomon,dclk-frq", &par->dclk_frq)) in ssd1307fb_probe()
|
/linux/drivers/leds/ |
H A D | leds-lm3532.c | 494 ret = device_property_read_u32(&priv->client->dev, "ti,als-vmin", in lm3532_parse_als() 499 ret = device_property_read_u32(&priv->client->dev, "ti,als-vmax", in lm3532_parse_als() 509 ret = device_property_read_u32(&priv->client->dev, "ti,als1-imp-sel", in lm3532_parse_als() 516 ret = device_property_read_u32(&priv->client->dev, "ti,als2-imp-sel", in lm3532_parse_als() 523 ret = device_property_read_u32(&priv->client->dev, "ti,als-avrg-time-us", in lm3532_parse_als() 575 ret = device_property_read_u32(&priv->client->dev, "ramp-up-us", in lm3532_parse_node() 582 ret = device_property_read_u32(&priv->client->dev, "ramp-down-us", in lm3532_parse_node()
|
/linux/drivers/gpio/ |
H A D | gpio-xilinx.c | 560 device_property_read_u32(dev, "xlnx,is-dual", &is_dual); in xgpio_probe() 568 device_property_read_u32(dev, "xlnx,dout-default", &state[0]); in xgpio_probe() 569 device_property_read_u32(dev, "xlnx,dout-default-2", &state[1]); in xgpio_probe() 574 device_property_read_u32(dev, "xlnx,tri-default", &dir[0]); in xgpio_probe() 575 device_property_read_u32(dev, "xlnx,tri-default-2", &dir[1]); in xgpio_probe() 583 if (device_property_read_u32(dev, "xlnx,gpio-width", &width[0])) in xgpio_probe() 589 if (is_dual && device_property_read_u32(dev, "xlnx,gpio2-width", &width[1])) in xgpio_probe()
|
/linux/drivers/misc/eeprom/ |
H A D | at25.c | 325 err = device_property_read_u32(dev, "size", &val); in at25_fw_to_chip() 327 err = device_property_read_u32(dev, "at25,byte-len", &val); in at25_fw_to_chip() 334 err = device_property_read_u32(dev, "pagesize", &val); in at25_fw_to_chip() 336 err = device_property_read_u32(dev, "at25,page-size", &val); in at25_fw_to_chip() 343 err = device_property_read_u32(dev, "address-width", &val); in at25_fw_to_chip() 345 err = device_property_read_u32(dev, "at25,addr-mode", &val); in at25_fw_to_chip()
|
/linux/drivers/video/backlight/ |
H A D | mt6370-backlight.c | 168 ret = device_property_read_u32(dev, "mediatek,bled-ovp-microvolt", in mt6370_init_backlight_properties() 181 ret = device_property_read_u32(dev, "mediatek,bled-ocp-microamp", in mt6370_init_backlight_properties() 197 ret = device_property_read_u32(dev, "max-brightness", &brightness); in mt6370_init_backlight_properties() 203 ret = device_property_read_u32(dev, "default-brightness", &brightness); in mt6370_init_backlight_properties()
|
H A D | rt4831-backlight.c | 99 ret = device_property_read_u32(dev, "max-brightness", &brightness); in rt4831_parse_backlight_properties() 105 ret = device_property_read_u32(dev, "default-brightness", &brightness); in rt4831_parse_backlight_properties() 141 ret = device_property_read_u32(dev, "richtek,bled-ocp-microamp", in rt4831_parse_backlight_properties()
|
H A D | ktd2801-backlight.c | 72 ret = device_property_read_u32(dev, "max-brightness", &max_brightness); in ktd2801_backlight_probe() 80 ret = device_property_read_u32(dev, "default-brightness", &brightness); in ktd2801_backlight_probe()
|
H A D | ktd253-backlight.c | 156 ret = device_property_read_u32(dev, "max-brightness", &max_brightness); in ktd253_backlight_probe() 165 ret = device_property_read_u32(dev, "default-brightness", &brightness); in ktd253_backlight_probe()
|
/linux/sound/soc/codecs/ |
H A D | ts3a227e.c | 303 err = device_property_read_u32(dev, "ti,micbias", &value); in ts3a227e_parse_device_property() 310 err = device_property_read_u32(dev, "ti,debounce-release-ms", in ts3a227e_parse_device_property() 319 err = device_property_read_u32(dev, "ti,debounce-press-ms", &value_ms); in ts3a227e_parse_device_property() 333 err = device_property_read_u32(dev, "ti,debounce-insertion-ms", in ts3a227e_parse_device_property()
|
/linux/drivers/input/misc/ |
H A D | gpio_decoder.c | 72 device_property_read_u32(dev, "linux,axis", &decoder->axis); in gpio_decoder_probe() 85 if (device_property_read_u32(dev, "decoder-max-value", &max)) in gpio_decoder_probe()
|
H A D | da7280.c | 791 error = device_property_read_u32(dev, "dlg,const-op-mode", &val); in da7280_parse_properties() 796 error = device_property_read_u32(dev, "dlg,periodic-op-mode", &val); in da7280_parse_properties() 801 error = device_property_read_u32(dev, "dlg,nom-microvolt", &val); in da7280_parse_properties() 806 error = device_property_read_u32(dev, "dlg,abs-max-microvolt", &val); in da7280_parse_properties() 811 error = device_property_read_u32(dev, "dlg,imax-microamp", &val); in da7280_parse_properties() 816 error = device_property_read_u32(dev, "dlg,impd-micro-ohms", &val); in da7280_parse_properties() 822 error = device_property_read_u32(dev, "dlg,resonant-freq-hz", &val); in da7280_parse_properties() 838 error = device_property_read_u32(dev, "dlg,ps-seq-id", &val); in da7280_parse_properties() 843 error = device_property_read_u32(dev, "dlg,ps-seq-loop", &val); in da7280_parse_properties() 851 error = device_property_read_u32 (dev, gpi_str1, &val); in da7280_parse_properties()
|
H A D | rotary_encoder.c | 194 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe() 196 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe() 227 device_property_read_u32(dev, "linux,axis", &encoder->axis); in rotary_encoder_probe()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-thunderx-pcidrv.c | 103 if (device_property_read_u32(dev, "sclk", &i2c->sys_freq)) in thunder_i2c_clock_enable() 104 device_property_read_u32(dev, "ioclk", &i2c->sys_freq); in thunder_i2c_clock_enable() 190 ret = device_property_read_u32(dev, "clock-frequency", &i2c->twsi_freq); in thunder_i2c_probe_pci()
|
/linux/drivers/mmc/host/ |
H A D | sdhci-tegra.c | 594 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 600 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 606 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 612 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 618 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 624 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 630 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 636 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 651 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() 662 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt() [all …]
|
/linux/drivers/input/ |
H A D | matrix-keymap.c | 57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties() 58 device_property_read_u32(dev, "keypad,num-columns", cols); in matrix_keypad_parse_properties()
|
/linux/drivers/hwmon/pmbus/ |
H A D | ina233.c | 114 ret = device_property_read_u32(dev, "shunt-resistor", &rshunt); in ina233_probe() 125 ret = device_property_read_u32(dev, "ti,maximum-expected-current-microamp", &max_current); in ina233_probe()
|
/linux/drivers/auxdisplay/ |
H A D | hd44780.c | 273 ret = device_property_read_u32(dev, "display-height-chars", in hd44780_probe() 277 ret = device_property_read_u32(dev, "display-width-chars", &lcd->width); in hd44780_probe() 289 device_property_read_u32(dev, "internal-buffer-width", &hdc->bwidth); in hd44780_probe()
|
/linux/drivers/iio/adc/ |
H A D | spear_adc.c | 311 if (device_property_read_u32(dev, "sampling-frequency", &st->sampling_freq)) in spear_adc_probe() 319 device_property_read_u32(dev, "average-samples", &st->avg_samples); in spear_adc_probe() 325 device_property_read_u32(dev, "vref-external", &st->vref_external); in spear_adc_probe()
|