Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/drivers/soundwire/
Dmipi_disco.c37 device_property_read_u32(bus->dev, in sdw_master_read_prop()
293 device_property_read_u32(dev, "mipi-sdw-sw-interface-revision", in sdw_slave_read_prop()
311 device_property_read_u32(dev, "mipi-sdw-clockstopprepare-timeout", in sdw_slave_read_prop()
314 device_property_read_u32(dev, "mipi-sdw-slave-channelprepare-timeout", in sdw_slave_read_prop()
317 device_property_read_u32(dev, in sdw_slave_read_prop()
330 device_property_read_u32(dev, in sdw_slave_read_prop()
333 device_property_read_u32(dev, "mipi-sdw-master-count", in sdw_slave_read_prop()
336 device_property_read_u32(dev, "mipi-sdw-source-port-list", in sdw_slave_read_prop()
339 device_property_read_u32(dev, "mipi-sdw-sink-port-list", in sdw_slave_read_prop()
/Linux-v5.4/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.4/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.4/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.4/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.4/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()
227 if (device_property_read_u32(dev, "cd-debounce-delay-ms", in mmc_of_parse()
324 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse()
332 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
340 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.4/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.4/drivers/leds/
Dleds-lm3532.c495 ret = device_property_read_u32(&priv->client->dev, "ti,als-vmin", in lm3532_parse_als()
500 ret = device_property_read_u32(&priv->client->dev, "ti,als-vmax", in lm3532_parse_als()
510 ret = device_property_read_u32(&priv->client->dev, "ti,als1-imp-sel", in lm3532_parse_als()
517 ret = device_property_read_u32(&priv->client->dev, "ti,als2-imp-sel", in lm3532_parse_als()
524 ret = device_property_read_u32(&priv->client->dev, "ti,als-avrg-time-us", in lm3532_parse_als()
565 ret = device_property_read_u32(&priv->client->dev, "ramp-up-us", in lm3532_parse_node()
572 ret = device_property_read_u32(&priv->client->dev, "ramp-down-us", in lm3532_parse_node()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-tegra.c582 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
588 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
594 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
600 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
606 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()
628 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
639 err = device_property_read_u32(host->mmc->parent, in tegra_sdhci_parse_pad_autocal_dt()
650 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()
[all …]
Dsdhci_am654.c357 ret = device_property_read_u32(dev, "ti,otap-del-sel", in sdhci_am654_get_of_property()
363 ret = device_property_read_u32(dev, "ti,trm-icp", in sdhci_am654_get_of_property()
368 ret = device_property_read_u32(dev, "ti,driver-strength-ohm", in sdhci_am654_get_of_property()
395 device_property_read_u32(dev, "ti,strobe-sel", &sdhci_am654->strb_sel); in sdhci_am654_get_of_property()
Dsdhci-pltfm.c90 (device_property_read_u32(dev, "bus-width", &bus_width) == 0 && in sdhci_get_property()
105 device_property_read_u32(dev, "clock-frequency", &pltfm_host->clock); in sdhci_get_property()
/Linux-v5.4/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.4/drivers/input/misc/
Dgpio_decoder.c81 device_property_read_u32(dev, "linux,axis", &decoder->axis); in gpio_decoder_probe()
92 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.4/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.4/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()
/Linux-v5.4/drivers/input/keyboard/
Dadc-keys.c137 if (device_property_read_u32(dev, "keyup-threshold-microvolt", in adc_keys_probe()
154 if (!device_property_read_u32(dev, "poll-interval", &value)) in adc_keys_probe()
/Linux-v5.4/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()
Dgpio-exar.c132 ret = device_property_read_u32(&pdev->dev, "exar,first-pin", in gpio_exar_probe()
137 ret = device_property_read_u32(&pdev->dev, "ngpios", &ngpios); in gpio_exar_probe()
/Linux-v5.4/drivers/mfd/
Dat91-usart.c33 device_property_read_u32(&pdev->dev, "atmel,usart-mode", &opmode); in at91_usart_mode_probe()
/Linux-v5.4/drivers/power/supply/
Dbq24257_charger.c887 ret = device_property_read_u32(bq->dev, "ti,charge-current", &property); in bq24257_fw_probe()
894 ret = device_property_read_u32(bq->dev, "ti,battery-regulation-voltage", in bq24257_fw_probe()
902 ret = device_property_read_u32(bq->dev, "ti,termination-current", in bq24257_fw_probe()
911 ret = device_property_read_u32(bq->dev, "ti,current-limit", in bq24257_fw_probe()
928 ret = device_property_read_u32(bq->dev, "ti,ovp-voltage", in bq24257_fw_probe()
937 ret = device_property_read_u32(bq->dev, "ti,in-dpm-voltage", in bq24257_fw_probe()
/Linux-v5.4/drivers/spi/
Dspi-dw-mmio.c181 device_property_read_u32(&pdev->dev, "reg-io-width", &dws->reg_io_width); in dw_spi_mmio_probe()
185 device_property_read_u32(&pdev->dev, "num-cs", &num_cs); in dw_spi_mmio_probe()
/Linux-v5.4/drivers/i2c/busses/
Di2c-thunderx-pcidrv.c102 device_property_read_u32(dev, "sclk", &i2c->sys_freq); in thunder_i2c_clock_enable()
179 ret = device_property_read_u32(dev, "clock-frequency", &i2c->twsi_freq); in thunder_i2c_probe_pci()

1234567