Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.15/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-v5.15/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-v5.15/drivers/iio/afe/
Diio-rescale.c186 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props()
193 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props()
194 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()
223 ret = device_property_read_u32(dev, "shunt-resistor-micro-ohms", in rescale_current_sense_shunt_props()
243 ret = device_property_read_u32(dev, "output-ohms", in rescale_voltage_divider_props()
250 ret = device_property_read_u32(dev, "full-ohms", in rescale_voltage_divider_props()
/Linux-v5.15/drivers/phy/mediatek/
Dphy-mtk-xsphy.c276 device_property_read_u32(dev, "mediatek,efuse-intr", in phy_parse_property()
278 device_property_read_u32(dev, "mediatek,eye-src", in phy_parse_property()
280 device_property_read_u32(dev, "mediatek,eye-vrt", in phy_parse_property()
282 device_property_read_u32(dev, "mediatek,eye-term", in phy_parse_property()
289 device_property_read_u32(dev, "mediatek,efuse-intr", in phy_parse_property()
291 device_property_read_u32(dev, "mediatek,efuse-tx-imp", in phy_parse_property()
293 device_property_read_u32(dev, "mediatek,efuse-rx-imp", in phy_parse_property()
529 device_property_read_u32(dev, "mediatek,src-ref-clk-mhz", in mtk_xsphy_probe()
531 device_property_read_u32(dev, "mediatek,src-coef", &xsphy->src_coef); in mtk_xsphy_probe()
/Linux-v5.15/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-v5.15/drivers/misc/eeprom/
Dat25.c313 if (device_property_read_u32(dev, "size", &val) == 0 || in at25_fw_to_chip()
314 device_property_read_u32(dev, "at25,byte-len", &val) == 0) { in at25_fw_to_chip()
321 if (device_property_read_u32(dev, "pagesize", &val) == 0 || in at25_fw_to_chip()
322 device_property_read_u32(dev, "at25,page-size", &val) == 0) { in at25_fw_to_chip()
329 if (device_property_read_u32(dev, "at25,addr-mode", &val) == 0) { in at25_fw_to_chip()
332 if (device_property_read_u32(dev, "address-width", &val)) { in at25_fw_to_chip()
/Linux-v5.15/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()
Dhycon-hy46xx.c288 error = device_property_read_u32(dev, "hycon,threshold", &val); in hycon_hy46xx_get_defaults()
303 error = device_property_read_u32(dev, "hycon,report-speed-hz", &val); in hycon_hy46xx_get_defaults()
318 error = device_property_read_u32(dev, "hycon,filter-data", &val); in hycon_hy46xx_get_defaults()
327 error = device_property_read_u32(dev, "hycon,gain", &val); in hycon_hy46xx_get_defaults()
336 error = device_property_read_u32(dev, "hycon,edge-offset", &val); in hycon_hy46xx_get_defaults()
/Linux-v5.15/drivers/mmc/core/
Dhost.c277 if (device_property_read_u32(dev, "bus-width", &bus_width) < 0) { in mmc_of_parse()
299 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
321 if (device_property_read_u32(dev, "cd-debounce-delay-ms", in mmc_of_parse()
406 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse()
414 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
422 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-v5.15/drivers/video/fbdev/
Dssd1307fb.c678 if (device_property_read_u32(dev, "solomon,width", &par->width)) in ssd1307fb_probe()
681 if (device_property_read_u32(dev, "solomon,height", &par->height)) in ssd1307fb_probe()
684 if (device_property_read_u32(dev, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe()
687 if (device_property_read_u32(dev, "solomon,col-offset", &par->col_offset)) in ssd1307fb_probe()
690 if (device_property_read_u32(dev, "solomon,com-offset", &par->com_offset)) in ssd1307fb_probe()
693 if (device_property_read_u32(dev, "solomon,prechargep1", &par->prechargep1)) in ssd1307fb_probe()
696 if (device_property_read_u32(dev, "solomon,prechargep2", &par->prechargep2)) in ssd1307fb_probe()
716 if (device_property_read_u32(dev, "solomon,dclk-div", &par->dclk_div)) in ssd1307fb_probe()
718 if (device_property_read_u32(dev, "solomon,dclk-frq", &par->dclk_frq)) in ssd1307fb_probe()
/Linux-v5.15/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-v5.15/drivers/mmc/host/
Dsdhci_am654.c585 ret = device_property_read_u32(dev, td[MMC_TIMING_LEGACY].otap_binding, in sdhci_am654_get_otap_delay()
592 ret = device_property_read_u32(dev, "ti,otap-del-sel", in sdhci_am654_get_otap_delay()
608 ret = device_property_read_u32(dev, td[i].otap_binding, in sdhci_am654_get_otap_delay()
624 device_property_read_u32(dev, td[i].itap_binding, in sdhci_am654_get_otap_delay()
706 ret = device_property_read_u32(dev, "ti,trm-icp", in sdhci_am654_get_of_property()
711 ret = device_property_read_u32(dev, "ti,driver-strength-ohm", in sdhci_am654_get_of_property()
738 device_property_read_u32(dev, "ti,strobe-sel", &sdhci_am654->strb_sel); in sdhci_am654_get_of_property()
739 device_property_read_u32(dev, "ti,clkbuf-sel", in sdhci_am654_get_of_property()
Dsdhci-tegra.c605 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()
641 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
647 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()
673 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
[all …]
/Linux-v5.15/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.c80 device_property_read_u32(dev, "linux,axis", &decoder->axis); in gpio_decoder_probe()
93 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-v5.15/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-v5.15/sound/soc/codecs/
Ddmic.c103 device_property_read_u32(component->dev, "wakeup-delay-ms", in dmic_component_probe()
105 device_property_read_u32(component->dev, "modeswitch-delay-ms", in dmic_component_probe()
Dmax98373.c462 if (!device_property_read_u32(dev, "maxim,vmon-slot-no", &value)) in max98373_slot_config()
467 if (!device_property_read_u32(dev, "maxim,imon-slot-no", &value)) in max98373_slot_config()
487 if (!device_property_read_u32(dev, "maxim,spkfb-slot-no", &value)) in max98373_slot_config()
/Linux-v5.15/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()
/Linux-v5.15/drivers/video/backlight/
Dktd253-backlight.c157 ret = device_property_read_u32(dev, "max-brightness", &max_brightness); in ktd253_backlight_probe()
166 ret = device_property_read_u32(dev, "default-brightness", &brightness); in ktd253_backlight_probe()
/Linux-v5.15/drivers/input/keyboard/
Dadc-keys.c135 if (device_property_read_u32(dev, "keyup-threshold-microvolt", in adc_keys_probe()
176 if (!device_property_read_u32(dev, "poll-interval", &value)) in adc_keys_probe()
/Linux-v5.15/drivers/gpio/
Dgpio-xgene-sb.c256 if (!device_property_read_u32(&pdev->dev, in xgene_gpio_sb_probe()
262 if (!device_property_read_u32(&pdev->dev, XGENE_NIRQ_PROPERTY, &val32)) in xgene_gpio_sb_probe()
267 if (!device_property_read_u32(&pdev->dev, XGENE_NGPIO_PROPERTY, &val32)) in xgene_gpio_sb_probe()

1234567891011