Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.14.4/drivers/soundwire/
Dmipi_disco.c60 device_property_read_u32(bus->dev, in sdw_master_read_prop()
419 device_property_read_u32(dev, "mipi-sdw-sw-interface-revision", in sdw_slave_read_prop()
437 device_property_read_u32(dev, "mipi-sdw-clockstopprepare-timeout", in sdw_slave_read_prop()
440 ret = device_property_read_u32(dev, "mipi-sdw-peripheral-channelprepare-timeout", in sdw_slave_read_prop()
443 device_property_read_u32(dev, "mipi-sdw-slave-channelprepare-timeout", in sdw_slave_read_prop()
446 device_property_read_u32(dev, in sdw_slave_read_prop()
459 device_property_read_u32(dev, in sdw_slave_read_prop()
462 device_property_read_u32(dev, "mipi-sdw-master-count", in sdw_slave_read_prop()
465 device_property_read_u32(dev, "mipi-sdw-source-port-list", in sdw_slave_read_prop()
468 device_property_read_u32(dev, "mipi-sdw-sink-port-list", in sdw_slave_read_prop()
[all …]
/linux-6.14.4/drivers/iio/afe/
Diio-rescale.c331 ret = device_property_read_u32(dev, "sense-resistor-micro-ohms", in rescale_current_sense_amplifier_props()
338 device_property_read_u32(dev, "sense-gain-mult", &gain_mult); in rescale_current_sense_amplifier_props()
339 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()
368 ret = device_property_read_u32(dev, "shunt-resistor-micro-ohms", in rescale_current_sense_shunt_props()
388 ret = device_property_read_u32(dev, "output-ohms", in rescale_voltage_divider_props()
395 ret = device_property_read_u32(dev, "full-ohms", in rescale_voltage_divider_props()
419 ret = device_property_read_u32(dev, "excitation-current-microamp", in rescale_temp_sense_rtd_props()
427 ret = device_property_read_u32(dev, "alpha-ppm-per-celsius", &alpha); in rescale_temp_sense_rtd_props()
434 ret = device_property_read_u32(dev, "r-naught-ohms", &r0); in rescale_temp_sense_rtd_props()
458 device_property_read_u32(dev, "sense-offset-millicelsius", &offset); in rescale_temp_transducer_props()
[all …]
/linux-6.14.4/drivers/power/reset/
Dgpio-poweroff.c81 device_property_read_u32(&pdev->dev, "active-delay-ms", &gpio_poweroff->active_delay_ms); in gpio_poweroff_probe()
82 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe()
84 device_property_read_u32(&pdev->dev, "timeout-ms", &gpio_poweroff->timeout_ms); in gpio_poweroff_probe()
85 device_property_read_u32(&pdev->dev, "priority", &priority); in gpio_poweroff_probe()
/linux-6.14.4/drivers/pinctrl/intel/
Dpinctrl-intel-platform.c99 ret = device_property_read_u32(dev, "intc-gpio-pad-ownership-offset", &offset); in intel_platform_pinctrl_prepare_community()
104 ret = device_property_read_u32(dev, "intc-gpio-pad-configuration-lock-offset", &offset); in intel_platform_pinctrl_prepare_community()
109 ret = device_property_read_u32(dev, "intc-gpio-host-software-pad-ownership-offset", &offset); in intel_platform_pinctrl_prepare_community()
114 ret = device_property_read_u32(dev, "intc-gpio-gpi-interrupt-status-offset", &offset); in intel_platform_pinctrl_prepare_community()
119 ret = device_property_read_u32(dev, "intc-gpio-gpi-interrupt-enable-offset", &offset); in intel_platform_pinctrl_prepare_community()
/linux-6.14.4/drivers/tty/serial/
Dserial_port.c206 device_property_read_u32(dev, "clock-frequency", &port->uartclk); in __uart_read_properties()
209 ret = device_property_read_u32(dev, "reg-shift", &value); in __uart_read_properties()
216 ret = device_property_read_u32(dev, "reg-io-width", &value); in __uart_read_properties()
242 ret = device_property_read_u32(dev, "reg-offset", &value); in __uart_read_properties()
256 device_property_read_u32(dev, "fifo-size", &port->fifosize); in __uart_read_properties()
/linux-6.14.4/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()
468 device_property_read_u32(dev, "mediatek,src-ref-clk-mhz", in mtk_xsphy_probe()
470 device_property_read_u32(dev, "mediatek,src-coef", &xsphy->src_coef); in mtk_xsphy_probe()
/linux-6.14.4/drivers/phy/freescale/
Dphy-fsl-imx8mq-usb.c144 if (device_property_read_u32(dev, "fsl,phy-tx-vref-tune-percent", in imx8m_get_phy_tuning_data()
151 if (device_property_read_u32(dev, "fsl,phy-tx-rise-tune-percent", in imx8m_get_phy_tuning_data()
158 if (device_property_read_u32(dev, "fsl,phy-tx-preemp-amp-tune-microamp", in imx8m_get_phy_tuning_data()
165 if (device_property_read_u32(dev, "fsl,phy-tx-vboost-level-microvolt", in imx8m_get_phy_tuning_data()
172 if (device_property_read_u32(dev, "fsl,phy-comp-dis-tune-percent", in imx8m_get_phy_tuning_data()
179 if (device_property_read_u32(dev, "fsl,phy-pcs-tx-deemph-3p5db-attenuation-db", in imx8m_get_phy_tuning_data()
186 if (device_property_read_u32(dev, "fsl,phy-pcs-tx-swing-full-percent", in imx8m_get_phy_tuning_data()
/linux-6.14.4/drivers/dma/qcom/
Dhidma_mgmt.c196 rc = device_property_read_u32(&pdev->dev, "dma-channels", in hidma_mgmt_probe()
203 rc = device_property_read_u32(&pdev->dev, in hidma_mgmt_probe()
211 rc = device_property_read_u32(&pdev->dev, "max-write-burst-bytes", in hidma_mgmt_probe()
226 rc = device_property_read_u32(&pdev->dev, "max-read-burst-bytes", in hidma_mgmt_probe()
240 rc = device_property_read_u32(&pdev->dev, "max-write-transactions", in hidma_mgmt_probe()
254 rc = device_property_read_u32(&pdev->dev, "max-read-transactions", in hidma_mgmt_probe()
/linux-6.14.4/drivers/iio/frequency/
Dadf4350.c509 device_property_read_u32(dev, "adi,channel-spacing", &tmp); in adf4350_parse_dt()
513 device_property_read_u32(dev, "adi,power-up-frequency", &tmp); in adf4350_parse_dt()
517 device_property_read_u32(dev, "adi,reference-div-factor", &tmp); in adf4350_parse_dt()
533 device_property_read_u32(dev, "adi,charge-pump-current", &tmp); in adf4350_parse_dt()
537 device_property_read_u32(dev, "adi,muxout-select", &tmp); in adf4350_parse_dt()
556 device_property_read_u32(dev, "adi,12bit-clk-divider", &tmp); in adf4350_parse_dt()
560 device_property_read_u32(dev, "adi,clk-divider-mode", &tmp); in adf4350_parse_dt()
574 device_property_read_u32(dev, "adi,output-power", &tmp); in adf4350_parse_dt()
578 device_property_read_u32(dev, "adi,aux-output-power", &tmp); in adf4350_parse_dt()
/linux-6.14.4/drivers/hid/i2c-hid/
Di2c-hid-of.c94 ret = device_property_read_u32(dev, "hid-descr-addr", &val); in i2c_hid_of_probe()
105 if (!device_property_read_u32(dev, "post-power-on-delay-ms", &val)) in i2c_hid_of_probe()
113 if (!device_property_read_u32(dev, "post-reset-deassert-delay-ms", &val)) in i2c_hid_of_probe()
/linux-6.14.4/drivers/input/misc/
Diqs269a.c816 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-lp-lta", in iqs269_parse_prop()
828 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-lp-cnt", in iqs269_parse_prop()
840 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-np-lta", in iqs269_parse_prop()
852 if (!device_property_read_u32(&client->dev, "azoteq,filt-str-np-cnt", in iqs269_parse_prop()
864 if (!device_property_read_u32(&client->dev, "azoteq,rate-np-ms", in iqs269_parse_prop()
874 if (!device_property_read_u32(&client->dev, "azoteq,rate-lp-ms", in iqs269_parse_prop()
884 if (!device_property_read_u32(&client->dev, "azoteq,rate-ulp-ms", in iqs269_parse_prop()
894 if (!device_property_read_u32(&client->dev, "azoteq,timeout-pwr-ms", in iqs269_parse_prop()
904 if (!device_property_read_u32(&client->dev, "azoteq,timeout-lta-ms", in iqs269_parse_prop()
933 if (!device_property_read_u32(&client->dev, "azoteq,gpio3-select", 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()
/linux-6.14.4/drivers/video/fbdev/
Dssd1307fb.c625 if (device_property_read_u32(dev, "solomon,width", &par->width)) in ssd1307fb_probe()
628 if (device_property_read_u32(dev, "solomon,height", &par->height)) in ssd1307fb_probe()
631 if (device_property_read_u32(dev, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe()
634 if (device_property_read_u32(dev, "solomon,col-offset", &par->col_offset)) in ssd1307fb_probe()
637 if (device_property_read_u32(dev, "solomon,com-offset", &par->com_offset)) in ssd1307fb_probe()
640 if (device_property_read_u32(dev, "solomon,prechargep1", &par->prechargep1)) in ssd1307fb_probe()
643 if (device_property_read_u32(dev, "solomon,prechargep2", &par->prechargep2)) in ssd1307fb_probe()
663 if (device_property_read_u32(dev, "solomon,dclk-div", &par->dclk_div)) in ssd1307fb_probe()
665 if (device_property_read_u32(dev, "solomon,dclk-frq", &par->dclk_frq)) in ssd1307fb_probe()
/linux-6.14.4/drivers/gpio/
Dgpio-ds4520.c32 ret = device_property_read_u32(dev, "reg", &base); in ds4520_gpio_probe()
36 ret = device_property_read_u32(dev, "ngpios", &ngpio); in ds4520_gpio_probe()
Dgpio-xilinx.c581 device_property_read_u32(dev, "xlnx,is-dual", &is_dual); in xgpio_probe()
589 device_property_read_u32(dev, "xlnx,dout-default", &state[0]); in xgpio_probe()
590 device_property_read_u32(dev, "xlnx,dout-default-2", &state[1]); in xgpio_probe()
595 device_property_read_u32(dev, "xlnx,tri-default", &dir[0]); in xgpio_probe()
596 device_property_read_u32(dev, "xlnx,tri-default-2", &dir[1]); in xgpio_probe()
604 if (device_property_read_u32(dev, "xlnx,gpio-width", &width[0])) in xgpio_probe()
610 if (is_dual && device_property_read_u32(dev, "xlnx,gpio2-width", &width[1])) in xgpio_probe()
/linux-6.14.4/drivers/input/touchscreen/
Dtsc2007_core.c224 if (!device_property_read_u32(dev, "ti,max-rt", &val32)) in tsc2007_probe_properties()
229 if (!device_property_read_u32(dev, "ti,fuzzx", &val32)) in tsc2007_probe_properties()
232 if (!device_property_read_u32(dev, "ti,fuzzy", &val32)) in tsc2007_probe_properties()
235 if (!device_property_read_u32(dev, "ti,fuzzz", &val32)) in tsc2007_probe_properties()
243 if (!device_property_read_u32(dev, "ti,x-plate-ohms", &val32)) { in tsc2007_probe_properties()
/linux-6.14.4/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-6.14.4/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()
575 ret = device_property_read_u32(&priv->client->dev, "ramp-up-us", in lm3532_parse_node()
582 ret = device_property_read_u32(&priv->client->dev, "ramp-down-us", in lm3532_parse_node()
/linux-6.14.4/drivers/mmc/core/
Dhost.c281 if (device_property_read_u32(dev, "bus-width", &bus_width) < 0) { in mmc_of_parse()
303 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
325 if (device_property_read_u32(dev, "cd-debounce-delay-ms", in mmc_of_parse()
410 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse()
418 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
426 device_property_read_u32(dev, "post-power-on-delay-ms", in mmc_of_parse()
/linux-6.14.4/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()
Dktd2801-backlight.c72 ret = device_property_read_u32(dev, "max-brightness", &max_brightness); in ktd2801_backlight_probe()
80 ret = device_property_read_u32(dev, "default-brightness", &brightness); in ktd2801_backlight_probe()
/linux-6.14.4/sound/soc/codecs/
Dts3a227e.c303 err = device_property_read_u32(dev, "ti,micbias", &value); in ts3a227e_parse_device_property()
310 err = device_property_read_u32(dev, "ti,debounce-release-ms", in ts3a227e_parse_device_property()
319 err = device_property_read_u32(dev, "ti,debounce-press-ms", &value_ms); in ts3a227e_parse_device_property()
333 err = device_property_read_u32(dev, "ti,debounce-insertion-ms", in ts3a227e_parse_device_property()
/linux-6.14.4/drivers/i2c/busses/
Di2c-thunderx-pcidrv.c103 if (device_property_read_u32(dev, "sclk", &i2c->sys_freq)) in thunder_i2c_clock_enable()
104 device_property_read_u32(dev, "ioclk", &i2c->sys_freq); in thunder_i2c_clock_enable()
187 ret = device_property_read_u32(dev, "clock-frequency", &i2c->twsi_freq); in thunder_i2c_probe_pci()
/linux-6.14.4/drivers/mmc/host/
Dsdhci-tegra.c594 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
600 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
606 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
612 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
618 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
624 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
630 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
636 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
651 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()
[all …]

12345678910>>...17