Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/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.10/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.10/drivers/iio/afe/
Diio-rescale.c157 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props()
164 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props()
165 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()
194 ret = device_property_read_u32(dev, "shunt-resistor-micro-ohms", in rescale_current_sense_shunt_props()
214 ret = device_property_read_u32(dev, "output-ohms", in rescale_voltage_divider_props()
221 ret = device_property_read_u32(dev, "full-ohms", in rescale_voltage_divider_props()
/Linux-v5.10/drivers/misc/eeprom/
Dat25.c254 if (device_property_read_u32(dev, "size", &val) == 0 || in at25_fw_to_chip()
255 device_property_read_u32(dev, "at25,byte-len", &val) == 0) { in at25_fw_to_chip()
262 if (device_property_read_u32(dev, "pagesize", &val) == 0 || in at25_fw_to_chip()
263 device_property_read_u32(dev, "at25,page-size", &val) == 0) { in at25_fw_to_chip()
270 if (device_property_read_u32(dev, "at25,addr-mode", &val) == 0) { in at25_fw_to_chip()
273 if (device_property_read_u32(dev, "address-width", &val)) { in at25_fw_to_chip()
/Linux-v5.10/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.10/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.10/drivers/mmc/core/
Dhost.c185 if (device_property_read_u32(dev, "bus-width", &bus_width) < 0) { in mmc_of_parse()
207 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
229 if (device_property_read_u32(dev, "cd-debounce-delay-ms", in mmc_of_parse()
311 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse()
319 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
327 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.10/drivers/video/fbdev/
Dssd1307fb.c621 if (device_property_read_u32(dev, "solomon,width", &par->width)) in ssd1307fb_probe()
624 if (device_property_read_u32(dev, "solomon,height", &par->height)) in ssd1307fb_probe()
627 if (device_property_read_u32(dev, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe()
630 if (device_property_read_u32(dev, "solomon,col-offset", &par->col_offset)) in ssd1307fb_probe()
633 if (device_property_read_u32(dev, "solomon,com-offset", &par->com_offset)) in ssd1307fb_probe()
636 if (device_property_read_u32(dev, "solomon,prechargep1", &par->prechargep1)) in ssd1307fb_probe()
639 if (device_property_read_u32(dev, "solomon,prechargep2", &par->prechargep2)) in ssd1307fb_probe()
659 if (device_property_read_u32(dev, "solomon,dclk-div", &par->dclk_div)) in ssd1307fb_probe()
661 if (device_property_read_u32(dev, "solomon,dclk-frq", &par->dclk_frq)) in ssd1307fb_probe()
/Linux-v5.10/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.10/drivers/mmc/host/
Dsdhci_am654.c565 ret = device_property_read_u32(dev, td[MMC_TIMING_LEGACY].otap_binding, in sdhci_am654_get_otap_delay()
572 ret = device_property_read_u32(dev, "ti,otap-del-sel", in sdhci_am654_get_otap_delay()
588 ret = device_property_read_u32(dev, td[i].otap_binding, in sdhci_am654_get_otap_delay()
604 device_property_read_u32(dev, td[i].itap_binding, in sdhci_am654_get_otap_delay()
686 ret = device_property_read_u32(dev, "ti,trm-icp", in sdhci_am654_get_of_property()
691 ret = device_property_read_u32(dev, "ti,driver-strength-ohm", in sdhci_am654_get_of_property()
718 device_property_read_u32(dev, "ti,strobe-sel", &sdhci_am654->strb_sel); in sdhci_am654_get_of_property()
719 device_property_read_u32(dev, "ti,clkbuf-sel", in sdhci_am654_get_of_property()
Dsdhci-tegra.c599 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
605 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
611 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
617 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
623 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
629 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
635 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
641 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
656 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
667 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
[all …]
/Linux-v5.10/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()
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()
Ddrv260x.c472 error = device_property_read_u32(dev, "mode", &haptics->mode); in drv260x_probe()
484 error = device_property_read_u32(dev, "library-sel", &haptics->library); in drv260x_probe()
511 error = device_property_read_u32(dev, "vib-rated-mv", &voltage); in drv260x_probe()
515 error = device_property_read_u32(dev, "vib-overdrive-mv", &voltage); in drv260x_probe()
/Linux-v5.10/drivers/auxdisplay/
Dhd44780.c244 ret = device_property_read_u32(dev, "display-height-chars", in hd44780_probe()
248 ret = device_property_read_u32(dev, "display-width-chars", &lcd->width); in hd44780_probe()
260 device_property_read_u32(dev, "internal-buffer-width", &lcd->bwidth); in hd44780_probe()
/Linux-v5.10/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.10/drivers/video/backlight/
Dktd253-backlight.c122 ret = device_property_read_u32(dev, "max-brightness", &max_brightness); in ktd253_backlight_probe()
131 ret = device_property_read_u32(dev, "default-brightness", &brightness); in ktd253_backlight_probe()
/Linux-v5.10/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.c418 if (!device_property_read_u32(dev, "maxim,vmon-slot-no", &value)) in max98373_slot_config()
423 if (!device_property_read_u32(dev, "maxim,imon-slot-no", &value)) in max98373_slot_config()
443 if (!device_property_read_u32(dev, "maxim,spkfb-slot-no", &value)) in max98373_slot_config()
/Linux-v5.10/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.10/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()
/Linux-v5.10/drivers/power/supply/
Dsmb347-charger.c1194 device_property_read_u32(dev, "summit,fast-voltage-threshold-microvolt", in smb347_dt_parse_dev_info()
1196 device_property_read_u32(dev, "summit,mains-current-limit-microamp", in smb347_dt_parse_dev_info()
1198 device_property_read_u32(dev, "summit,usb-current-limit-microamp", in smb347_dt_parse_dev_info()
1202 device_property_read_u32(dev, "summit,chip-temperature-threshold-celsius", in smb347_dt_parse_dev_info()
1204 device_property_read_u32(dev, "summit,soft-compensation-method", in smb347_dt_parse_dev_info()
1206 device_property_read_u32(dev, "summit,charge-current-compensation-microamp", in smb347_dt_parse_dev_info()
1215 device_property_read_u32(dev, "summit,enable-charge-control", in smb347_dt_parse_dev_info()
/Linux-v5.10/drivers/hwmon/
Dadm1177.c229 if (device_property_read_u32(dev, "shunt-resistor-micro-ohms", in adm1177_probe()
232 if (device_property_read_u32(dev, "adi,shutdown-threshold-microamp", in adm1177_probe()

123456789