Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/soundwire/
Dmipi_disco.c37 device_property_read_u32(bus->dev, in sdw_master_read_prop()
295 device_property_read_u32(dev, "mipi-sdw-sw-interface-revision", in sdw_slave_read_prop()
313 device_property_read_u32(dev, "mipi-sdw-clockstopprepare-timeout", in sdw_slave_read_prop()
316 device_property_read_u32(dev, "mipi-sdw-slave-channelprepare-timeout", in sdw_slave_read_prop()
319 device_property_read_u32(dev, in sdw_slave_read_prop()
332 device_property_read_u32(dev, in sdw_slave_read_prop()
335 device_property_read_u32(dev, "mipi-sdw-master-count", in sdw_slave_read_prop()
338 device_property_read_u32(dev, "mipi-sdw-source-port-list", in sdw_slave_read_prop()
341 device_property_read_u32(dev, "mipi-sdw-sink-port-list", in sdw_slave_read_prop()
/Linux-v4.19/drivers/mmc/core/
Dhost.c188 if (device_property_read_u32(dev, "bus-width", &bus_width) < 0) { in mmc_of_parse()
210 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
230 if (device_property_read_u32(dev, "cd-debounce-delay-ms", in mmc_of_parse()
327 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse()
335 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
343 device_property_read_u32(dev, "post-power-on-delay-ms", in mmc_of_parse()
Dpwrseq_simple.c129 device_property_read_u32(dev, "post-power-on-delay-ms", in mmc_pwrseq_simple_probe()
131 device_property_read_u32(dev, "power-off-delay-us", in mmc_pwrseq_simple_probe()
/Linux-v4.19/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-v4.19/drivers/misc/eeprom/
Dat25.c258 if (device_property_read_u32(dev, "size", &val) == 0 || in at25_fw_to_chip()
259 device_property_read_u32(dev, "at25,byte-len", &val) == 0) { in at25_fw_to_chip()
266 if (device_property_read_u32(dev, "pagesize", &val) == 0 || in at25_fw_to_chip()
267 device_property_read_u32(dev, "at25,page-size", &val) == 0) { in at25_fw_to_chip()
274 if (device_property_read_u32(dev, "at25,addr-mode", &val) == 0) { in at25_fw_to_chip()
277 if (device_property_read_u32(dev, "address-width", &val)) { in at25_fw_to_chip()
/Linux-v4.19/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-v4.19/drivers/dma/qcom/
Dhidma_mgmt.c209 rc = device_property_read_u32(&pdev->dev, "dma-channels", in hidma_mgmt_probe()
216 rc = device_property_read_u32(&pdev->dev, in hidma_mgmt_probe()
224 rc = device_property_read_u32(&pdev->dev, "max-write-burst-bytes", in hidma_mgmt_probe()
239 rc = device_property_read_u32(&pdev->dev, "max-read-burst-bytes", in hidma_mgmt_probe()
253 rc = device_property_read_u32(&pdev->dev, "max-write-transactions", in hidma_mgmt_probe()
267 rc = device_property_read_u32(&pdev->dev, "max-read-transactions", in hidma_mgmt_probe()
/Linux-v4.19/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.c204 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe()
206 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe()
237 device_property_read_u32(dev, "linux,axis", &encoder->axis); in rotary_encoder_probe()
Ddrv260x.c480 error = device_property_read_u32(dev, "mode", &haptics->mode); in drv260x_probe()
492 error = device_property_read_u32(dev, "library-sel", &haptics->library); in drv260x_probe()
519 error = device_property_read_u32(dev, "vib-rated-mv", &voltage); in drv260x_probe()
523 error = device_property_read_u32(dev, "vib-overdrive-mv", &voltage); in drv260x_probe()
/Linux-v4.19/drivers/auxdisplay/
Dhd44780.c264 ret = device_property_read_u32(dev, "display-height-chars", in hd44780_probe()
268 ret = device_property_read_u32(dev, "display-width-chars", &lcd->width); in hd44780_probe()
280 device_property_read_u32(dev, "internal-buffer-width", &lcd->bwidth); in hd44780_probe()
/Linux-v4.19/drivers/input/
Dmatrix-keymap.c65 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties()
66 device_property_read_u32(dev, "keypad,num-columns", cols); in matrix_keypad_parse_properties()
/Linux-v4.19/drivers/input/keyboard/
Dadc-keys.c140 if (device_property_read_u32(dev, "keyup-threshold-microvolt", in adc_keys_probe()
157 if (!device_property_read_u32(dev, "poll-interval", &value)) in adc_keys_probe()
/Linux-v4.19/drivers/gpio/
Dgpio-xgene-sb.c269 if (!device_property_read_u32(&pdev->dev, in xgene_gpio_sb_probe()
275 if (!device_property_read_u32(&pdev->dev, XGENE_NIRQ_PROPERTY, &val32)) in xgene_gpio_sb_probe()
280 if (!device_property_read_u32(&pdev->dev, XGENE_NGPIO_PROPERTY, &val32)) in xgene_gpio_sb_probe()
Dgpio-exar.c135 ret = device_property_read_u32(&pdev->dev, "exar,first-pin", in gpio_exar_probe()
140 ret = device_property_read_u32(&pdev->dev, "ngpios", &ngpios); in gpio_exar_probe()
/Linux-v4.19/drivers/spi/
Dspi-dw-mmio.c155 device_property_read_u32(&pdev->dev, "reg-io-width", &dws->reg_io_width); in dw_spi_mmio_probe()
159 device_property_read_u32(&pdev->dev, "num-cs", &num_cs); in dw_spi_mmio_probe()
/Linux-v4.19/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()
/Linux-v4.19/sound/soc/codecs/
Dnau8824.c1799 ret = device_property_read_u32(dev, "nuvoton,jkdet-polarity", in nau8824_read_device_properties()
1803 ret = device_property_read_u32(dev, "nuvoton,micbias-voltage", in nau8824_read_device_properties()
1807 ret = device_property_read_u32(dev, "nuvoton,vref-impedance", in nau8824_read_device_properties()
1811 ret = device_property_read_u32(dev, "nuvoton,sar-threshold-num", in nau8824_read_device_properties()
1823 ret = device_property_read_u32(dev, "nuvoton,sar-hysteresis", in nau8824_read_device_properties()
1827 ret = device_property_read_u32(dev, "nuvoton,sar-voltage", in nau8824_read_device_properties()
1831 ret = device_property_read_u32(dev, "nuvoton,sar-compare-time", in nau8824_read_device_properties()
1835 ret = device_property_read_u32(dev, "nuvoton,sar-sampling-time", in nau8824_read_device_properties()
1839 ret = device_property_read_u32(dev, "nuvoton,short-key-debounce", in nau8824_read_device_properties()
1843 ret = device_property_read_u32(dev, "nuvoton,jack-eject-debounce", in nau8824_read_device_properties()
Dnau8825.c2483 ret = device_property_read_u32(dev, "nuvoton,jkdet-polarity", in nau8825_read_device_properties()
2487 ret = device_property_read_u32(dev, "nuvoton,micbias-voltage", in nau8825_read_device_properties()
2491 ret = device_property_read_u32(dev, "nuvoton,vref-impedance", in nau8825_read_device_properties()
2495 ret = device_property_read_u32(dev, "nuvoton,sar-threshold-num", in nau8825_read_device_properties()
2507 ret = device_property_read_u32(dev, "nuvoton,sar-hysteresis", in nau8825_read_device_properties()
2511 ret = device_property_read_u32(dev, "nuvoton,sar-voltage", in nau8825_read_device_properties()
2515 ret = device_property_read_u32(dev, "nuvoton,sar-compare-time", in nau8825_read_device_properties()
2519 ret = device_property_read_u32(dev, "nuvoton,sar-sampling-time", in nau8825_read_device_properties()
2523 ret = device_property_read_u32(dev, "nuvoton,short-key-debounce", in nau8825_read_device_properties()
2527 ret = device_property_read_u32(dev, "nuvoton,jack-insert-debounce", in nau8825_read_device_properties()
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Dmms114.c398 if (device_property_read_u32(dev, "x-size", &props->max_x)) { in mms114_parse_legacy_bindings()
403 if (device_property_read_u32(dev, "y-size", &props->max_y)) { in mms114_parse_legacy_bindings()
408 device_property_read_u32(dev, "contact-threshold", in mms114_parse_legacy_bindings()
410 device_property_read_u32(dev, "moving-threshold", in mms114_parse_legacy_bindings()
Dcyttsp_core.c572 if (!device_property_read_u32(dev, "active-distance", &dt_value)) { in cyttsp_parse_properties()
582 if (!device_property_read_u32(dev, "active-interval-ms", &dt_value)) { in cyttsp_parse_properties()
591 if (!device_property_read_u32(dev, "lowpower-interval-ms", &dt_value)) { in cyttsp_parse_properties()
601 if (!device_property_read_u32(dev, "touch-timeout-ms", &dt_value)) { in cyttsp_parse_properties()
/Linux-v4.19/drivers/power/reset/
Dgpio-poweroff.c69 device_property_read_u32(&pdev->dev, "timeout-ms", &timeout); in gpio_poweroff_probe()
/Linux-v4.19/drivers/power/supply/
Dbq24257_charger.c897 ret = device_property_read_u32(bq->dev, "ti,charge-current", &property); in bq24257_fw_probe()
904 ret = device_property_read_u32(bq->dev, "ti,battery-regulation-voltage", in bq24257_fw_probe()
912 ret = device_property_read_u32(bq->dev, "ti,termination-current", in bq24257_fw_probe()
921 ret = device_property_read_u32(bq->dev, "ti,current-limit", in bq24257_fw_probe()
938 ret = device_property_read_u32(bq->dev, "ti,ovp-voltage", in bq24257_fw_probe()
947 ret = device_property_read_u32(bq->dev, "ti,in-dpm-voltage", in bq24257_fw_probe()
/Linux-v4.19/drivers/soc/lantiq/
Dfpi-bus.c49 ret = device_property_read_u32(dev, "lantiq,offset-endianness", in ltq_fpi_probe()
/Linux-v4.19/drivers/mux/
Dadgs1408.c76 ret = device_property_read_u32(dev, "idle-state", (u32 *)&idle_state); in adgs1408_probe()

123456