Home
last modified time | relevance | path

Searched refs:device_property_read_u32 (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/Linux-v6.1/drivers/soundwire/
Dmipi_disco.c37 device_property_read_u32(bus->dev, in sdw_master_read_prop()
294 device_property_read_u32(dev, "mipi-sdw-sw-interface-revision", in sdw_slave_read_prop()
312 device_property_read_u32(dev, "mipi-sdw-clockstopprepare-timeout", in sdw_slave_read_prop()
315 device_property_read_u32(dev, "mipi-sdw-slave-channelprepare-timeout", in sdw_slave_read_prop()
318 device_property_read_u32(dev, in sdw_slave_read_prop()
331 device_property_read_u32(dev, in sdw_slave_read_prop()
334 device_property_read_u32(dev, "mipi-sdw-master-count", in sdw_slave_read_prop()
337 device_property_read_u32(dev, "mipi-sdw-source-port-list", in sdw_slave_read_prop()
340 device_property_read_u32(dev, "mipi-sdw-sink-port-list", in sdw_slave_read_prop()
/Linux-v6.1/drivers/iio/afe/
Diio-rescale.c320 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props()
327 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props()
328 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()
357 ret = device_property_read_u32(dev, "shunt-resistor-micro-ohms", in rescale_current_sense_shunt_props()
377 ret = device_property_read_u32(dev, "output-ohms", in rescale_voltage_divider_props()
384 ret = device_property_read_u32(dev, "full-ohms", in rescale_voltage_divider_props()
408 ret = device_property_read_u32(dev, "excitation-current-microamp", in rescale_temp_sense_rtd_props()
416 ret = device_property_read_u32(dev, "alpha-ppm-per-celsius", &alpha); in rescale_temp_sense_rtd_props()
423 ret = device_property_read_u32(dev, "r-naught-ohms", &r0); in rescale_temp_sense_rtd_props()
447 device_property_read_u32(dev, "sense-offset-millicelsius", &offset); in rescale_temp_transducer_props()
[all …]
/Linux-v6.1/drivers/power/reset/
Dgpio-poweroff.c68 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe()
69 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe()
71 device_property_read_u32(&pdev->dev, "timeout-ms", &timeout); in gpio_poweroff_probe()
/Linux-v6.1/drivers/phy/mediatek/
Dphy-mtk-xsphy.c239 device_property_read_u32(dev, "mediatek,efuse-intr", in phy_parse_property()
241 device_property_read_u32(dev, "mediatek,eye-src", in phy_parse_property()
243 device_property_read_u32(dev, "mediatek,eye-vrt", in phy_parse_property()
245 device_property_read_u32(dev, "mediatek,eye-term", in phy_parse_property()
252 device_property_read_u32(dev, "mediatek,efuse-intr", in phy_parse_property()
254 device_property_read_u32(dev, "mediatek,efuse-tx-imp", in phy_parse_property()
256 device_property_read_u32(dev, "mediatek,efuse-rx-imp", in phy_parse_property()
469 device_property_read_u32(dev, "mediatek,src-ref-clk-mhz", in mtk_xsphy_probe()
471 device_property_read_u32(dev, "mediatek,src-coef", &xsphy->src_coef); in mtk_xsphy_probe()
/Linux-v6.1/drivers/iio/frequency/
Dadf4350.c397 device_property_read_u32(dev, "adi,channel-spacing", &tmp); in adf4350_parse_dt()
401 device_property_read_u32(dev, "adi,power-up-frequency", &tmp); in adf4350_parse_dt()
405 device_property_read_u32(dev, "adi,reference-div-factor", &tmp); in adf4350_parse_dt()
421 device_property_read_u32(dev, "adi,charge-pump-current", &tmp); in adf4350_parse_dt()
425 device_property_read_u32(dev, "adi,muxout-select", &tmp); in adf4350_parse_dt()
444 device_property_read_u32(dev, "adi,12bit-clk-divider", &tmp); in adf4350_parse_dt()
448 device_property_read_u32(dev, "adi,clk-divider-mode", &tmp); in adf4350_parse_dt()
462 device_property_read_u32(dev, "adi,output-power", &tmp); in adf4350_parse_dt()
466 device_property_read_u32(dev, "adi,aux-output-power", &tmp); in adf4350_parse_dt()
/Linux-v6.1/drivers/dma/qcom/
Dhidma_mgmt.c200 rc = device_property_read_u32(&pdev->dev, "dma-channels", in hidma_mgmt_probe()
207 rc = device_property_read_u32(&pdev->dev, in hidma_mgmt_probe()
215 rc = device_property_read_u32(&pdev->dev, "max-write-burst-bytes", in hidma_mgmt_probe()
230 rc = device_property_read_u32(&pdev->dev, "max-read-burst-bytes", in hidma_mgmt_probe()
244 rc = device_property_read_u32(&pdev->dev, "max-write-transactions", in hidma_mgmt_probe()
258 rc = device_property_read_u32(&pdev->dev, "max-read-transactions", in hidma_mgmt_probe()
/Linux-v6.1/drivers/input/touchscreen/
Dtsc2007_core.c237 if (!device_property_read_u32(dev, "ti,max-rt", &val32)) in tsc2007_probe_properties()
242 if (!device_property_read_u32(dev, "ti,fuzzx", &val32)) in tsc2007_probe_properties()
245 if (!device_property_read_u32(dev, "ti,fuzzy", &val32)) in tsc2007_probe_properties()
248 if (!device_property_read_u32(dev, "ti,fuzzz", &val32)) in tsc2007_probe_properties()
256 if (!device_property_read_u32(dev, "ti,x-plate-ohms", &val32)) { in tsc2007_probe_properties()
/Linux-v6.1/drivers/misc/eeprom/
Dat25.c328 err = device_property_read_u32(dev, "size", &val); in at25_fw_to_chip()
330 err = device_property_read_u32(dev, "at25,byte-len", &val); in at25_fw_to_chip()
337 err = device_property_read_u32(dev, "pagesize", &val); in at25_fw_to_chip()
339 err = device_property_read_u32(dev, "at25,page-size", &val); in at25_fw_to_chip()
346 err = device_property_read_u32(dev, "address-width", &val); in at25_fw_to_chip()
348 err = device_property_read_u32(dev, "at25,addr-mode", &val); in at25_fw_to_chip()
/Linux-v6.1/drivers/video/fbdev/
Dssd1307fb.c677 if (device_property_read_u32(dev, "solomon,width", &par->width)) in ssd1307fb_probe()
680 if (device_property_read_u32(dev, "solomon,height", &par->height)) in ssd1307fb_probe()
683 if (device_property_read_u32(dev, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe()
686 if (device_property_read_u32(dev, "solomon,col-offset", &par->col_offset)) in ssd1307fb_probe()
689 if (device_property_read_u32(dev, "solomon,com-offset", &par->com_offset)) in ssd1307fb_probe()
692 if (device_property_read_u32(dev, "solomon,prechargep1", &par->prechargep1)) in ssd1307fb_probe()
695 if (device_property_read_u32(dev, "solomon,prechargep2", &par->prechargep2)) in ssd1307fb_probe()
715 if (device_property_read_u32(dev, "solomon,dclk-div", &par->dclk_div)) in ssd1307fb_probe()
717 if (device_property_read_u32(dev, "solomon,dclk-frq", &par->dclk_frq)) in ssd1307fb_probe()
/Linux-v6.1/drivers/leds/
Dleds-lm3532.c494 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()
563 ret = device_property_read_u32(&priv->client->dev, "ramp-up-us", in lm3532_parse_node()
570 ret = device_property_read_u32(&priv->client->dev, "ramp-down-us", in lm3532_parse_node()
/Linux-v6.1/drivers/mmc/host/
Dsdhci_am654.c581 ret = device_property_read_u32(dev, td[MMC_TIMING_LEGACY].otap_binding, in sdhci_am654_get_otap_delay()
588 ret = device_property_read_u32(dev, "ti,otap-del-sel", in sdhci_am654_get_otap_delay()
604 ret = device_property_read_u32(dev, td[i].otap_binding, in sdhci_am654_get_otap_delay()
620 device_property_read_u32(dev, td[i].itap_binding, in sdhci_am654_get_otap_delay()
702 ret = device_property_read_u32(dev, "ti,trm-icp", in sdhci_am654_get_of_property()
707 ret = device_property_read_u32(dev, "ti,driver-strength-ohm", in sdhci_am654_get_of_property()
734 device_property_read_u32(dev, "ti,strobe-sel", &sdhci_am654->strb_sel); in sdhci_am654_get_of_property()
735 device_property_read_u32(dev, "ti,clkbuf-sel", in sdhci_am654_get_of_property()
Dsdhci-tegra.c593 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
599 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
605 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
611 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
617 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
623 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
629 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
635 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
650 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
661 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
[all …]
/Linux-v6.1/drivers/mmc/core/
Dhost.c286 if (device_property_read_u32(dev, "bus-width", &bus_width) < 0) { in mmc_of_parse()
308 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
330 if (device_property_read_u32(dev, "cd-debounce-delay-ms", in mmc_of_parse()
415 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse()
423 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
431 device_property_read_u32(dev, "post-power-on-delay-ms", in mmc_of_parse()
Dpwrseq_simple.c132 device_property_read_u32(dev, "post-power-on-delay-ms", in mmc_pwrseq_simple_probe()
134 device_property_read_u32(dev, "power-off-delay-us", in mmc_pwrseq_simple_probe()
/Linux-v6.1/drivers/video/backlight/
Dmt6370-backlight.c168 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()
Drt4831-backlight.c99 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()
/Linux-v6.1/drivers/input/misc/
Diqs269a.c762 if (!device_property_read_u32(&client->dev, "azoteq,suspend-mode", in iqs269_parse_prop()
778 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-lp-lta", in iqs269_parse_prop()
790 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-lp-cnt", in iqs269_parse_prop()
802 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-np-lta", in iqs269_parse_prop()
814 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-np-cnt", in iqs269_parse_prop()
826 if (!device_property_read_u32(&client->dev, "azoteq,rate-np-ms", in iqs269_parse_prop()
836 if (!device_property_read_u32(&client->dev, "azoteq,rate-lp-ms", in iqs269_parse_prop()
846 if (!device_property_read_u32(&client->dev, "azoteq,rate-ulp-ms", in iqs269_parse_prop()
856 if (!device_property_read_u32(&client->dev, "azoteq,timeout-pwr-ms", in iqs269_parse_prop()
866 if (!device_property_read_u32(&client->dev, "azoteq,timeout-lta-ms", in iqs269_parse_prop()
[all …]
Dgpio_decoder.c72 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()
Dda7280.c792 error = device_property_read_u32(dev, "dlg,const-op-mode", &val); in da7280_parse_properties()
797 error = device_property_read_u32(dev, "dlg,periodic-op-mode", &val); in da7280_parse_properties()
802 error = device_property_read_u32(dev, "dlg,nom-microvolt", &val); in da7280_parse_properties()
807 error = device_property_read_u32(dev, "dlg,abs-max-microvolt", &val); in da7280_parse_properties()
812 error = device_property_read_u32(dev, "dlg,imax-microamp", &val); in da7280_parse_properties()
817 error = device_property_read_u32(dev, "dlg,impd-micro-ohms", &val); in da7280_parse_properties()
823 error = device_property_read_u32(dev, "dlg,resonant-freq-hz", &val); in da7280_parse_properties()
839 error = device_property_read_u32(dev, "dlg,ps-seq-id", &val); in da7280_parse_properties()
844 error = device_property_read_u32(dev, "dlg,ps-seq-loop", &val); in da7280_parse_properties()
852 error = device_property_read_u32 (dev, gpi_str1, &val); in da7280_parse_properties()
Drotary_encoder.c201 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe()
203 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe()
234 device_property_read_u32(dev, "linux,axis", &encoder->axis); in rotary_encoder_probe()
/Linux-v6.1/sound/soc/codecs/
Dts3a227e.c286 err = device_property_read_u32(dev, "ti,micbias", &value); in ts3a227e_parse_device_property()
293 err = device_property_read_u32(dev, "ti,debounce-release-ms", in ts3a227e_parse_device_property()
302 err = device_property_read_u32(dev, "ti,debounce-press-ms", &value_ms); in ts3a227e_parse_device_property()
316 err = device_property_read_u32(dev, "ti,debounce-insertion-ms", in ts3a227e_parse_device_property()
Ddmic.c106 device_property_read_u32(component->dev, "wakeup-delay-ms", in dmic_component_probe()
108 device_property_read_u32(component->dev, "modeswitch-delay-ms", in dmic_component_probe()
/Linux-v6.1/drivers/gpu/drm/solomon/
Dssd130x.c806 if (device_property_read_u32(dev, "solomon,width", &ssd130x->width)) in ssd130x_parse_properties()
809 if (device_property_read_u32(dev, "solomon,height", &ssd130x->height)) in ssd130x_parse_properties()
812 if (device_property_read_u32(dev, "solomon,page-offset", &ssd130x->page_offset)) in ssd130x_parse_properties()
815 if (device_property_read_u32(dev, "solomon,col-offset", &ssd130x->col_offset)) in ssd130x_parse_properties()
818 if (device_property_read_u32(dev, "solomon,com-offset", &ssd130x->com_offset)) in ssd130x_parse_properties()
821 if (device_property_read_u32(dev, "solomon,prechargep1", &ssd130x->prechargep1)) in ssd130x_parse_properties()
824 if (device_property_read_u32(dev, "solomon,prechargep2", &ssd130x->prechargep2)) in ssd130x_parse_properties()
844 if (device_property_read_u32(dev, "solomon,dclk-div", &ssd130x->dclk_div)) in ssd130x_parse_properties()
846 if (device_property_read_u32(dev, "solomon,dclk-frq", &ssd130x->dclk_frq)) in ssd130x_parse_properties()
/Linux-v6.1/drivers/input/
Dmatrix-keymap.c57 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-v6.1/drivers/auxdisplay/
Dhd44780.c276 ret = device_property_read_u32(dev, "display-height-chars", in hd44780_probe()
280 ret = device_property_read_u32(dev, "display-width-chars", &lcd->width); in hd44780_probe()
292 device_property_read_u32(dev, "internal-buffer-width", &hdc->bwidth); in hd44780_probe()

12345678910>>...13