Home
last modified time | relevance | path

Searched refs:of_property_read_u32 (Results 1 – 25 of 1106) sorted by relevance

12345678910>>...45

/linux/drivers/memory/
A Dof_memory.c71 ret |= of_property_read_u32(np, "tRCD", &tim->tRCD); in of_do_get_timings()
72 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_do_get_timings()
74 ret |= of_property_read_u32(np, "tRRD", &tim->tRRD); in of_do_get_timings()
75 ret |= of_property_read_u32(np, "tWTR", &tim->tWTR); in of_do_get_timings()
76 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings()
77 ret |= of_property_read_u32(np, "tRTP", &tim->tRTP); in of_do_get_timings()
80 ret |= of_property_read_u32(np, "tFAW", &tim->tFAW); in of_do_get_timings()
85 ret |= of_property_read_u32(np, "tDQSCK-max-derated", in of_do_get_timings()
223 ret |= of_property_read_u32(np, "tRC", &tim->tRC); in of_lpddr3_do_get_timings()
226 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_lpddr3_do_get_timings()
[all …]
A Dti-aemif.c269 if (of_property_read_u32(np, "ti,cs-chipselect", &cs)) { in of_aemif_parse_abus_config()
291 if (!of_property_read_u32(np, "ti,cs-min-turnaround-ns", &val)) in of_aemif_parse_abus_config()
294 if (!of_property_read_u32(np, "ti,cs-read-hold-ns", &val)) in of_aemif_parse_abus_config()
297 if (!of_property_read_u32(np, "ti,cs-read-strobe-ns", &val)) in of_aemif_parse_abus_config()
300 if (!of_property_read_u32(np, "ti,cs-read-setup-ns", &val)) in of_aemif_parse_abus_config()
303 if (!of_property_read_u32(np, "ti,cs-write-hold-ns", &val)) in of_aemif_parse_abus_config()
306 if (!of_property_read_u32(np, "ti,cs-write-strobe-ns", &val)) in of_aemif_parse_abus_config()
309 if (!of_property_read_u32(np, "ti,cs-write-setup-ns", &val)) in of_aemif_parse_abus_config()
312 if (!of_property_read_u32(np, "ti,cs-bus-width", &val)) in of_aemif_parse_abus_config()
A Domap-gpmc.c2012 of_property_read_u32(np, "gpmc,adv-aad-mux-on-ns", in gpmc_read_timings_dt()
2026 of_property_read_u32(np, "gpmc,oe-aad-mux-on-ns", in gpmc_read_timings_dt()
2028 of_property_read_u32(np, "gpmc,oe-aad-mux-off-ns", in gpmc_read_timings_dt()
2032 of_property_read_u32(np, "gpmc,page-burst-access-ns", in gpmc_read_timings_dt()
2037 of_property_read_u32(np, "gpmc,bus-turnaround-ns", in gpmc_read_timings_dt()
2039 of_property_read_u32(np, "gpmc,cycle2cycle-delay-ns", in gpmc_read_timings_dt()
2041 of_property_read_u32(np, "gpmc,wait-monitoring-ns", in gpmc_read_timings_dt()
2043 of_property_read_u32(np, "gpmc,clk-activation-ns", in gpmc_read_timings_dt()
2048 of_property_read_u32(np, "gpmc,wr-data-mux-bus-ns", in gpmc_read_timings_dt()
2087 if (of_property_read_u32(child, "reg", &cs) < 0) { in gpmc_probe_generic_child()
[all …]
A Djz4780-nemc.c191 if (!of_property_read_u32(node, "ingenic,nemc-bus-width", &val)) { in jz4780_nemc_configure_bank()
207 if (of_property_read_u32(node, "ingenic,nemc-tAS", &val) == 0) { in jz4780_nemc_configure_bank()
219 if (of_property_read_u32(node, "ingenic,nemc-tAH", &val) == 0) { in jz4780_nemc_configure_bank()
231 if (of_property_read_u32(node, "ingenic,nemc-tBP", &val) == 0) { in jz4780_nemc_configure_bank()
243 if (of_property_read_u32(node, "ingenic,nemc-tAW", &val) == 0) { in jz4780_nemc_configure_bank()
255 if (of_property_read_u32(node, "ingenic,nemc-tSTRV", &val) == 0) { in jz4780_nemc_configure_bank()
/linux/drivers/devfreq/
A Drk3399_dmc.c248 ret |= of_property_read_u32(np, "rockchip,pd_idle", in of_get_ddr_timings()
250 ret |= of_property_read_u32(np, "rockchip,sr_idle", in of_get_ddr_timings()
256 ret |= of_property_read_u32(np, "rockchip,standby_idle", in of_get_ddr_timings()
266 ret |= of_property_read_u32(np, "rockchip,ddr3_drv", in of_get_ddr_timings()
268 ret |= of_property_read_u32(np, "rockchip,ddr3_odt", in of_get_ddr_timings()
274 ret |= of_property_read_u32(np, "rockchip,phy_ddr3_odt", in of_get_ddr_timings()
278 ret |= of_property_read_u32(np, "rockchip,lpddr3_drv", in of_get_ddr_timings()
280 ret |= of_property_read_u32(np, "rockchip,lpddr3_odt", in of_get_ddr_timings()
290 ret |= of_property_read_u32(np, "rockchip,lpddr4_drv", in of_get_ddr_timings()
433 of_property_read_u32(np, "upthreshold", in rk3399_dmcfreq_probe()
[all …]
/linux/arch/riscv/kernel/
A Dcacheinfo.c97 if (!of_property_read_u32(node, "cache-size", &size) && in fill_cacheinfo()
98 !of_property_read_u32(node, "cache-block-size", &line_size) && in fill_cacheinfo()
99 !of_property_read_u32(node, "cache-sets", &sets)) { in fill_cacheinfo()
103 if (!of_property_read_u32(node, "i-cache-size", &size) && in fill_cacheinfo()
104 !of_property_read_u32(node, "i-cache-sets", &sets) && in fill_cacheinfo()
105 !of_property_read_u32(node, "i-cache-block-size", &line_size)) { in fill_cacheinfo()
109 if (!of_property_read_u32(node, "d-cache-size", &size) && in fill_cacheinfo()
110 !of_property_read_u32(node, "d-cache-sets", &sets) && in fill_cacheinfo()
111 !of_property_read_u32(node, "d-cache-block-size", &line_size)) { in fill_cacheinfo()
138 if (of_property_read_u32(np, "cache-level", &level)) in init_cache_level()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_platform.c165 if (of_property_read_u32(rx_node, "snps,rx-queues-to-use", in stmmac_mtl_setup()
193 if (of_property_read_u32(q_node, "snps,priority", in stmmac_mtl_setup()
244 if (of_property_read_u32(q_node, "snps,weight", in stmmac_mtl_setup()
255 if (of_property_read_u32(q_node, "snps,send_slope", in stmmac_mtl_setup()
258 if (of_property_read_u32(q_node, "snps,idle_slope", in stmmac_mtl_setup()
261 if (of_property_read_u32(q_node, "snps,high_credit", in stmmac_mtl_setup()
264 if (of_property_read_u32(q_node, "snps,low_credit", in stmmac_mtl_setup()
271 if (of_property_read_u32(q_node, "snps,priority", in stmmac_mtl_setup()
448 of_property_read_u32(np, "clk_csr", &plat->clk_csr); in stmmac_probe_config_dt()
499 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt()
[all …]
/linux/drivers/regulator/
A Dof_regulator.c68 found = !of_property_read_u32(np, prop, &pval); in of_get_regulator_prot_limits()
99 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints()
102 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) in of_get_regulation_constraints()
115 if (!of_property_read_u32(np, "regulator-min-microamp", &pval)) in of_get_regulation_constraints()
117 if (!of_property_read_u32(np, "regulator-max-microamp", &pval)) in of_get_regulation_constraints()
141 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); in of_get_regulation_constraints()
240 if (!of_property_read_u32(np, "regulator-max-step-microvolt", in of_get_regulation_constraints()
270 if (!of_property_read_u32(suspend_np, "regulator-mode", in of_get_regulation_constraints()
292 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
296 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
[all …]
A Danatop-regulator.c203 ret = of_property_read_u32(np, "anatop-reg-offset", &control_reg); in anatop_regulator_probe()
208 ret = of_property_read_u32(np, "anatop-vol-bit-width", &vol_bit_width); in anatop_regulator_probe()
213 ret = of_property_read_u32(np, "anatop-vol-bit-shift", &vol_bit_shift); in anatop_regulator_probe()
218 ret = of_property_read_u32(np, "anatop-min-bit-val", &min_bit_val); in anatop_regulator_probe()
223 ret = of_property_read_u32(np, "anatop-min-voltage", &min_voltage); in anatop_regulator_probe()
228 ret = of_property_read_u32(np, "anatop-max-voltage", &max_voltage); in anatop_regulator_probe()
235 of_property_read_u32(np, "anatop-delay-reg-offset", in anatop_regulator_probe()
237 of_property_read_u32(np, "anatop-delay-bit-width", in anatop_regulator_probe()
239 of_property_read_u32(np, "anatop-delay-bit-shift", in anatop_regulator_probe()
294 if (!of_property_read_u32(np, "anatop-enable-bit", in anatop_regulator_probe()
/linux/arch/powerpc/sysdev/
A Dfsl_soc.c88 of_property_read_u32(soc, "clock-frequency", &sysfreq); in fsl_get_sys_freq()
90 of_property_read_u32(soc, "bus-frequency", &sysfreq); in fsl_get_sys_freq()
109 of_property_read_u32(node, "clock-frequency", &brgfreq); in get_brgfreq()
122 of_property_read_u32(node, "brg-frequency", &brgfreq); in get_brgfreq()
124 if (!of_property_read_u32(node, "bus-frequency", in get_brgfreq()
145 of_property_read_u32(node, "current-speed", &fs_baudrate); in get_baudrate()
/linux/drivers/dma/dw/
A Dof.c57 if (of_property_read_u32(np, "dma-masters", &nr_masters)) in dw_dma_parse_dt()
62 if (of_property_read_u32(np, "dma-channels", &nr_channels)) in dw_dma_parse_dt()
74 of_property_read_u32(np, "chan_allocation_order", &pdata->chan_allocation_order); in dw_dma_parse_dt()
75 of_property_read_u32(np, "chan_priority", &pdata->chan_priority); in dw_dma_parse_dt()
77 of_property_read_u32(np, "block_size", &pdata->block_size); in dw_dma_parse_dt()
94 of_property_read_u32(np, "snps,dma-protection-control", &pdata->protctl); in dw_dma_parse_dt()
/linux/drivers/bus/
A Dtegra-gmi.c145 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt()
165 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt()
170 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt()
175 if (!of_property_read_u32(child, "nvidia,snor-adv-width", &property)) in tegra_gmi_parse_dt()
180 if (!of_property_read_u32(child, "nvidia,snor-ce-width", &property)) in tegra_gmi_parse_dt()
185 if (!of_property_read_u32(child, "nvidia,snor-we-width", &property)) in tegra_gmi_parse_dt()
190 if (!of_property_read_u32(child, "nvidia,snor-oe-width", &property)) in tegra_gmi_parse_dt()
195 if (!of_property_read_u32(child, "nvidia,snor-wait-width", &property)) in tegra_gmi_parse_dt()
/linux/drivers/input/touchscreen/
A Dstmpe-ts.c266 if (!of_property_read_u32(np, "st,sample-time", &val)) in stmpe_ts_get_platform_info()
268 if (!of_property_read_u32(np, "st,mod-12b", &val)) in stmpe_ts_get_platform_info()
270 if (!of_property_read_u32(np, "st,ref-sel", &val)) in stmpe_ts_get_platform_info()
272 if (!of_property_read_u32(np, "st,adc-freq", &val)) in stmpe_ts_get_platform_info()
274 if (!of_property_read_u32(np, "st,ave-ctrl", &val)) in stmpe_ts_get_platform_info()
276 if (!of_property_read_u32(np, "st,touch-det-delay", &val)) in stmpe_ts_get_platform_info()
278 if (!of_property_read_u32(np, "st,settling", &val)) in stmpe_ts_get_platform_info()
280 if (!of_property_read_u32(np, "st,fraction-z", &val)) in stmpe_ts_get_platform_info()
282 if (!of_property_read_u32(np, "st,i-drive", &val)) in stmpe_ts_get_platform_info()
A Dbcm_iproc_tsc.c353 if (of_property_read_u32(np, "scanning_period", &val) >= 0) { in iproc_get_tsc_config()
362 if (of_property_read_u32(np, "debounce_timeout", &val) >= 0) { in iproc_get_tsc_config()
371 if (of_property_read_u32(np, "settling_timeout", &val) >= 0) { in iproc_get_tsc_config()
380 if (of_property_read_u32(np, "touch_timeout", &val) >= 0) { in iproc_get_tsc_config()
389 if (of_property_read_u32(np, "average_data", &val) >= 0) { in iproc_get_tsc_config()
397 if (of_property_read_u32(np, "fifo_threshold", &val) >= 0) { in iproc_get_tsc_config()
407 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config()
408 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config()
410 of_property_read_u32(np, "touchscreen-fuzz-x", in iproc_get_tsc_config()
412 of_property_read_u32(np, "touchscreen-fuzz-y", in iproc_get_tsc_config()
A D88pm860x-ts.c133 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-prebias", &n)) in pm860x_touch_dt_init()
135 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-slot-cycle", &n)) in pm860x_touch_dt_init()
137 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-off-scale", &n)) in pm860x_touch_dt_init()
139 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-sw-cal", &n)) in pm860x_touch_dt_init()
147 if (!of_property_read_u32(np, "marvell,88pm860x-tsi-prebias", &data)) { in pm860x_touch_dt_init()
154 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init()
156 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init()
163 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init()
/linux/drivers/gpu/drm/tilcdc/
A Dtilcdc_panel.c279 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias); in of_get_panel_info()
280 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt); in of_get_panel_info()
281 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz); in of_get_panel_info()
282 ret |= of_property_read_u32(info_np, "bpp", &info->bpp); in of_get_panel_info()
283 ret |= of_property_read_u32(info_np, "fdd", &info->fdd); in of_get_panel_info()
284 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge); in of_get_panel_info()
285 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl); in of_get_panel_info()
286 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order); in of_get_panel_info()
287 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th); in of_get_panel_info()
/linux/drivers/tty/serial/8250/
A D8250_of.c46 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup()
65 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup()
86 if (of_property_read_u32(np, "reg-offset", &prop) == 0) in of_platform_serial_setup()
90 if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { in of_platform_serial_setup()
117 if (of_property_read_u32(np, "reg-shift", &prop) == 0) in of_platform_serial_setup()
121 if (of_property_read_u32(np, "fifo-size", &prop) == 0) in of_platform_serial_setup()
219 if ((of_property_read_u32(ofdev->dev.of_node, "tx-threshold", in of_platform_serial_probe()
227 if (of_property_read_u32(ofdev->dev.of_node, in of_platform_serial_probe()
/linux/drivers/video/
A Dof_display_timing.c39 ret = of_property_read_u32(np, name, &result->typ); in parse_timing_property()
76 if (!of_property_read_u32(np, "vsync-active", &val)) in of_parse_display_timing()
79 if (!of_property_read_u32(np, "hsync-active", &val)) in of_parse_display_timing()
82 if (!of_property_read_u32(np, "de-active", &val)) in of_parse_display_timing()
85 if (!of_property_read_u32(np, "pixelclk-active", &val)) in of_parse_display_timing()
89 if (!of_property_read_u32(np, "syncclk-active", &val)) in of_parse_display_timing()
/linux/drivers/gpio/
A Dgpio-stp-xway.c257 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in xway_stp_probe()
261 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,groups", &groups)) in xway_stp_probe()
268 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,dsl", &dsl)) in xway_stp_probe()
277 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy1", &phy)) in xway_stp_probe()
279 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe()
285 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy3", &phy)) in xway_stp_probe()
290 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy4", &phy)) in xway_stp_probe()
A Dgpio-spear-spics.c134 if (of_property_read_u32(np, "st-spics,peripcfg-reg", in spics_gpio_probe()
137 if (of_property_read_u32(np, "st-spics,sw-enable-bit", in spics_gpio_probe()
140 if (of_property_read_u32(np, "st-spics,cs-value-bit", in spics_gpio_probe()
143 if (of_property_read_u32(np, "st-spics,cs-enable-mask", in spics_gpio_probe()
146 if (of_property_read_u32(np, "st-spics,cs-enable-shift", in spics_gpio_probe()
/linux/drivers/power/reset/
A Dgpio-restart.c80 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); in gpio_restart_probe()
89 of_property_read_u32(pdev->dev.of_node, "active-delay", in gpio_restart_probe()
91 of_property_read_u32(pdev->dev.of_node, "inactive-delay", in gpio_restart_probe()
93 of_property_read_u32(pdev->dev.of_node, "wait-delay", in gpio_restart_probe()
A Dsyscon-poweroff.c44 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { in syscon_poweroff_probe()
49 value_err = of_property_read_u32(pdev->dev.of_node, "value", &value); in syscon_poweroff_probe()
50 mask_err = of_property_read_u32(pdev->dev.of_node, "mask", &mask); in syscon_poweroff_probe()
/linux/drivers/cpuidle/
A Ddt_idle_states.c41 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
46 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
54 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
68 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
/linux/drivers/video/backlight/
A Darcxcnn_bl.c190 ret = of_property_read_u32(node, "default-brightness", &prog_val); in arcxcnn_parse_dt()
194 ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); in arcxcnn_parse_dt()
198 ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); in arcxcnn_parse_dt()
202 ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); in arcxcnn_parse_dt()
206 ret = of_property_read_u32(node, "arc,comp-config", &prog_val); in arcxcnn_parse_dt()
210 ret = of_property_read_u32(node, "arc,filter-config", &prog_val); in arcxcnn_parse_dt()
214 ret = of_property_read_u32(node, "arc,trim-config", &prog_val); in arcxcnn_parse_dt()
/linux/sound/soc/codecs/
A Dcs35l35.c1296 ret = of_property_read_u32(np, "cirrus,audio-channel", &val32); in cs35l35_handle_of_data()
1300 ret = of_property_read_u32(np, "cirrus,advisory-channel", in cs35l35_handle_of_data()
1320 ret = of_property_read_u32(classh, in cs35l35_handle_of_data()
1328 ret = of_property_read_u32(classh, in cs35l35_handle_of_data()
1336 ret = of_property_read_u32(classh, "cirrus,classh-mem-depth", in cs35l35_handle_of_data()
1348 ret = of_property_read_u32(classh, "cirrus,classh-headroom", in cs35l35_handle_of_data()
1355 ret = of_property_read_u32(classh, in cs35l35_handle_of_data()
1368 ret = of_property_read_u32(classh, "cirrus,classh-wk-fet-thld", in cs35l35_handle_of_data()
1373 ret = of_property_read_u32(classh, "cirrus,classh-vpch-auto", in cs35l35_handle_of_data()
1380 ret = of_property_read_u32(classh, "cirrus,classh-vpch-rate", in cs35l35_handle_of_data()
[all …]

Completed in 61 milliseconds

12345678910>>...45