Home
last modified time | relevance | path

Searched refs:dev_read_u32 (Results 1 – 25 of 101) sorted by relevance

12345

/drivers/i2c/
A Dacpi_i2c.c191 dev_read_u32(dev, "acpi,uid", &priv->uid); in acpi_i2c_of_to_plat()
193 dev_read_u32(dev, "acpi,wake", &priv->wake); in acpi_i2c_of_to_plat()
198 dev_read_u32(dev, "hid-descr-addr", &priv->hid_desc_reg_offset); in acpi_i2c_of_to_plat()
199 dev_read_u32(dev, "reset-delay-ms", &priv->reset_delay_ms); in acpi_i2c_of_to_plat()
200 dev_read_u32(dev, "reset-off-delay-ms", &priv->reset_off_delay_ms); in acpi_i2c_of_to_plat()
201 dev_read_u32(dev, "enable-delay-ms", &priv->enable_delay_ms); in acpi_i2c_of_to_plat()
202 dev_read_u32(dev, "enable-off-delay-ms", &priv->enable_off_delay_ms); in acpi_i2c_of_to_plat()
203 dev_read_u32(dev, "stop-delay-ms", &priv->stop_delay_ms); in acpi_i2c_of_to_plat()
204 dev_read_u32(dev, "stop-off-delay-ms", &priv->stop_off_delay_ms); in acpi_i2c_of_to_plat()
A Docores_i2c.c518 if (dev_read_u32(dev, "reg-shift", &bus->reg_shift)) { in ocores_i2c_probe()
520 ret = dev_read_u32(dev, "regstep", &val); in ocores_i2c_probe()
532 if (dev_read_u32(dev, "clock-frequency", &val)) { in ocores_i2c_probe()
546 if (dev_read_u32(dev, "opencores,ip-clock-frequency", &val)) { in ocores_i2c_probe()
/drivers/power/regulator/
A Danatop_regulator.c189 ret = dev_read_u32(dev, in anatop_regulator_probe()
195 ret = dev_read_u32(dev, in anatop_regulator_probe()
201 ret = dev_read_u32(dev, in anatop_regulator_probe()
207 ret = dev_read_u32(dev, in anatop_regulator_probe()
213 ret = dev_read_u32(dev, in anatop_regulator_probe()
219 ret = dev_read_u32(dev, in anatop_regulator_probe()
226 dev_read_u32(dev, "anatop-delay-reg-offset", in anatop_regulator_probe()
228 dev_read_u32(dev, "anatop-delay-bit-width", in anatop_regulator_probe()
230 dev_read_u32(dev, "anatop-delay-bit-shift", in anatop_regulator_probe()
/drivers/cpu/
A Driscv_cpu.c51 dev_read_u32(dev, "clock-frequency", (u32 *)&info->cpu_freq); in riscv_cpu_get_info()
58 ret = dev_read_u32(dev, "i-cache-size", &i_cache_size); in riscv_cpu_get_info()
61 ret = dev_read_u32(dev, "d-cache-size", &d_cache_size); in riscv_cpu_get_info()
116 ret = dev_read_u32(dev, "timebase-frequency", &plat->timebase_freq); in riscv_cpu_bind()
119 dev_read_u32(dev->parent, "timebase-frequency", in riscv_cpu_bind()
A Dcpu_sandbox.c75 ret = dev_read_u32(dev, "timebase-frequency", &plat->timebase_freq); in cpu_sandbox_bind()
78 ret = dev_read_u32(dev->parent, "timebase-frequency", in cpu_sandbox_bind()
/drivers/sysreset/
A Dsysreset_syscon.c54 err = dev_read_u32(dev, "offset", &priv->offset); in syscon_reboot_probe()
60 mask_err = dev_read_u32(dev, "mask", &priv->mask); in syscon_reboot_probe()
61 value_err = dev_read_u32(dev, "value", &priv->value); in syscon_reboot_probe()
/drivers/mtd/nvmxip/
A Dnvmxip_qspi.c40 ret = dev_read_u32(dev, "lba_shift", &plat->lba_shift); in nvmxip_qspi_of_to_plat()
46 ret = dev_read_u32(dev, "lba", (u32 *)&plat->lba); in nvmxip_qspi_of_to_plat()
/drivers/power/acpi_pmc/
A Dacpi-pmc-uclass.c213 ret = dev_read_u32(dev, "gpe0-dwx-mask", &upriv->gpe0_dwx_mask); in pmc_ofdata_to_uc_plat()
216 ret = dev_read_u32(dev, "gpe0-dwx-shift-base", in pmc_ofdata_to_uc_plat()
220 ret = dev_read_u32(dev, "gpe0-sts", &upriv->gpe0_sts_reg); in pmc_ofdata_to_uc_plat()
224 ret = dev_read_u32(dev, "gpe0-en", &upriv->gpe0_en_reg); in pmc_ofdata_to_uc_plat()
/drivers/cache/
A Dcache-l2x0.c21 if (!dev_read_u32(dev, "prefetch-data", &prefetch)) { in l2c310_of_parse_and_init()
28 if (!dev_read_u32(dev, "prefetch-instr", &prefetch)) { in l2c310_of_parse_and_init()
A Dcache-andes-l2.c132 dev_read_u32(dev, "andes,inst-prefetch", &plat->iprefetch); in andes_l2_of_to_plat()
133 dev_read_u32(dev, "andes,data-prefetch", &plat->dprefetch); in andes_l2_of_to_plat()
/drivers/pinctrl/nxp/
A Dpinctrl-mxs.c31 ret = dev_read_u32(conf, "fsl,drive-strength", &val); in mxs_dt_node_to_map()
35 ret = dev_read_u32(conf, "fsl,voltage", &val); in mxs_dt_node_to_map()
39 ret = dev_read_u32(conf, "fsl,pull-up", &val); in mxs_dt_node_to_map()
/drivers/input/
A Dcpcap_pwrbutton.c82 ret = dev_read_u32(dev, "interrupts", &irq_desc); in cpcap_pwrbutton_of_to_plat()
90 ret = dev_read_u32(dev, "linux,code", &priv->keycode); in cpcap_pwrbutton_of_to_plat()
/drivers/firmware/scmi/
A Dsmccc_agent.c68 if (dev_read_u32(dev, "arm,smc-id", &func_id)) { in setup_channel()
91 if (dev_read_u32(protocol, "arm,smc-id", &func_id)) { in scmi_smccc_get_channel()
/drivers/ram/k3-ddrss/
A Dk3-ddrss.c388 ret = dev_read_u32(dev, "instance", &ddrss->instance); in k3_ddrss_ofdata_to_priv()
397 ret = dev_read_u32(dev, "ti,ddr-freq0", &ddrss->ddr_freq0); in k3_ddrss_ofdata_to_priv()
404 ret = dev_read_u32(dev, "ti,ddr-freq1", &ddrss->ddr_freq1); in k3_ddrss_ofdata_to_priv()
408 ret = dev_read_u32(dev, "ti,ddr-freq2", &ddrss->ddr_freq2); in k3_ddrss_ofdata_to_priv()
412 ret = dev_read_u32(dev, "ti,ddr-fhs-cnt", &ddrss->ddr_fhs_cnt); in k3_ddrss_ofdata_to_priv()
916 ret = dev_read_u32(dev, "intrlv-gran", &msmc->gran); in k3_msmc_probe()
923 ret = dev_read_u32(dev, "intrlv-size", &msmc->size); in k3_msmc_probe()
930 ret = dev_read_u32(dev, "ecc-enable", &msmc->enable); in k3_msmc_probe()
937 ret = dev_read_u32(dev, "emif-config", &msmc->config); in k3_msmc_probe()
944 ret = dev_read_u32(dev, "emif-active", &msmc->active); in k3_msmc_probe()
/drivers/misc/
A Dusb251xb.c448 if (!dev_read_u32(dev, "oc-delay-us", &property_u32)) { in usb251xb_of_to_plat()
494 if (!dev_read_u32(dev, "sp-max-total-current-microamp", &property_u32)) in usb251xb_of_to_plat()
498 if (!dev_read_u32(dev, "bp-max-total-current-microamp", &property_u32)) in usb251xb_of_to_plat()
502 if (!dev_read_u32(dev, "sp-max-removable-current-microamp", in usb251xb_of_to_plat()
507 if (!dev_read_u32(dev, "bp-max-removable-current-microamp", in usb251xb_of_to_plat()
512 if (!dev_read_u32(dev, "power-on-time-ms", &property_u32)) in usb251xb_of_to_plat()
A Dmicrochip_flexcom.c32 ret = dev_read_u32(dev, "atmel,flexcom-mode", &plat->flexcom_mode); in microchip_flexcom_of_to_plat()
/drivers/pinctrl/tegra/
A Dpinctrl-tegra20.c20 ret = dev_read_u32(config, "nvidia,pull", &pull); in tegra_pinctrl_set_pin()
24 ret = dev_read_u32(config, "nvidia,tristate", &tristate); in tegra_pinctrl_set_pin()
/drivers/mmc/
A Dam654_sdhci.c640 ret = dev_read_u32(dev, "ti,otap-del-sel-legacy", in sdhci_am654_get_otap_delay()
649 ret = dev_read_u32(dev, td[i].otap_binding, in sdhci_am654_get_otap_delay()
661 ret = dev_read_u32(dev, td[i].itap_binding, in sdhci_am654_get_otap_delay()
742 ret = dev_read_u32(dev, "ti,trm-icp", &plat->trm_icp); in am654_sdhci_of_to_plat()
746 ret = dev_read_u32(dev, "ti,driver-strength-ohm", in am654_sdhci_of_to_plat()
773 dev_read_u32(dev, "ti,strobe-sel", &plat->strb_sel); in am654_sdhci_of_to_plat()
774 dev_read_u32(dev, "ti,clkbuf-sel", &plat->clkbuf_sel); in am654_sdhci_of_to_plat()
A Dca_dw_mmc.c106 dev_read_u32(dev, "sd_dll_ctrl", &tmp); in ca_dwmmc_of_to_plat()
111 dev_read_u32(dev, "io_drv_ctrl", &tmp); in ca_dwmmc_of_to_plat()
A Dsnps_dw_mmc.c89 ret = dev_read_u32(dev, "fifo-depth", &fifo_depth); in snps_dwmmc_of_to_plat()
105 ret = dev_read_u32(dev, "max-frequency", &priv->f_max); in snps_dwmmc_of_to_plat()
/drivers/clk/ti/
A Dclk-am3-dpll.c364 if (dev_read_u32(dev, "ti,ssc-modfreq-hz", &priv->ssc_modfreq)) in clk_ti_am3_dpll_of_to_plat()
367 if (dev_read_u32(dev, "ti,ssc-deltam", &priv->ssc_deltam)) in clk_ti_am3_dpll_of_to_plat()
372 if (dev_read_u32(dev, "ti,min-div", &min_div) || min_div == 0 || in clk_ti_am3_dpll_of_to_plat()
/drivers/pinctrl/
A Dpinctrl-at91-pio4.c117 dev_read_u32(config, params->property, &val); in atmel_pinctrl_get_pinconf()
126 dev_read_u32(config, params->property, &val); in atmel_pinctrl_get_pinconf()
/drivers/net/
A Dsandbox-raw-bus.c27 dev_read_u32(dev, "skip-localhost", &skip_localhost); in eth_raw_bus_post_bind()
/drivers/gpio/
A Dgpio-fxl6408.c313 if (dev_read_u32(dev, "initial_io_dir", &val32)) { in fxl6408_probe()
329 if (dev_read_u32(dev, "initial_output", &val32)) { in fxl6408_probe()
/drivers/pci/
A Dpcie_cdns_ti.c600 dev_read_u32(pcie->dev, "cdns,no-bar-match-nbits", in pcie_cdns_ti_map_dma_ranges()
799 dev_read_u32(dev, "vendor-id", &pcie->vendor_id); in pcie_cdns_ti_of_to_plat()
800 dev_read_u32(dev, "device-id", &pcie->device_id); in pcie_cdns_ti_of_to_plat()
802 ret = dev_read_u32(dev, "num-lanes", &pcie->num_lanes); in pcie_cdns_ti_of_to_plat()
806 ret = dev_read_u32(dev, "max-link-speed", &pcie->max_link_speed); in pcie_cdns_ti_of_to_plat()

Completed in 91 milliseconds

12345