Home
last modified time | relevance | path

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

12345678910>>...26

/linux/drivers/memory/
H A Dof_memory.c38 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); in of_get_min_tck()
39 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); in of_get_min_tck()
40 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); in of_get_min_tck()
41 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); in of_get_min_tck()
42 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); in of_get_min_tck()
43 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); in of_get_min_tck()
44 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck()
45 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); in of_get_min_tck()
46 ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); in of_get_min_tck()
47 ret |= of_property_read_u32(np, "tCKESR-min-tck", &min->tCKESR); in of_get_min_tck()
[all …]
/linux/drivers/regulator/
H 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()
113 if (!of_property_read_u32(np, "regulator-microvolt-offset", &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()
120 if (!of_property_read_u32(np, "regulator-input-current-limit-microamp", in of_get_regulation_constraints()
128 if (!of_property_read_u32(np, "regulator-power-budget-milliwatt", &pval)) in of_get_regulation_constraints()
146 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); in of_get_regulation_constraints()
154 ret = of_property_read_u32(np, "regulator-settling-time-us", &pval); in of_get_regulation_constraints()
[all …]
H 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/
H A Dfsl_soc.c73 of_property_read_u32(soc, "clock-frequency", &sysfreq); in fsl_get_sys_freq()
75 of_property_read_u32(soc, "bus-frequency", &sysfreq); in fsl_get_sys_freq()
94 of_property_read_u32(node, "clock-frequency", &brgfreq); in get_brgfreq()
107 of_property_read_u32(node, "brg-frequency", &brgfreq); in get_brgfreq()
109 if (!of_property_read_u32(node, "bus-frequency", in get_brgfreq()
130 of_property_read_u32(node, "current-speed", &fs_baudrate); in get_baudrate()
/linux/drivers/devfreq/
H A Drk3399_dmc.c303 ret |= of_property_read_u32(np, "rockchip,pd-idle-ns", in rk3399_dmcfreq_of_props()
305 ret |= of_property_read_u32(np, "rockchip,sr-idle-ns", in rk3399_dmcfreq_of_props()
307 ret |= of_property_read_u32(np, "rockchip,sr-mc-gate-idle-ns", in rk3399_dmcfreq_of_props()
309 ret |= of_property_read_u32(np, "rockchip,srpd-lite-idle-ns", in rk3399_dmcfreq_of_props()
311 ret |= of_property_read_u32(np, "rockchip,standby-idle-ns", in rk3399_dmcfreq_of_props()
313 ret |= of_property_read_u32(np, "rockchip,ddr3_odt_dis_freq", in rk3399_dmcfreq_of_props()
315 ret |= of_property_read_u32(np, "rockchip,lpddr3_odt_dis_freq", in rk3399_dmcfreq_of_props()
317 ret |= of_property_read_u32(np, "rockchip,lpddr4_odt_dis_freq", in rk3399_dmcfreq_of_props()
320 ret |= of_property_read_u32(np, "rockchip,pd-idle-dis-freq-hz", in rk3399_dmcfreq_of_props()
322 ret |= of_property_read_u32(np, "rockchip,sr-idle-dis-freq-hz", in rk3399_dmcfreq_of_props()
[all …]
/linux/drivers/dma/dw/
H 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/input/touchscreen/
H 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()
H A D88pm860x-ts.c134 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-prebias", &n)) in pm860x_touch_dt_init()
136 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-slot-cycle", &n)) in pm860x_touch_dt_init()
138 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-off-scale", &n)) in pm860x_touch_dt_init()
140 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-sw-cal", &n)) in pm860x_touch_dt_init()
148 if (!of_property_read_u32(np, "marvell,88pm860x-tsi-prebias", &data)) { in pm860x_touch_dt_init()
155 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init()
157 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init()
164 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init()
H A Dbcm_iproc_tsc.c346 if (of_property_read_u32(np, "scanning_period", &val) >= 0) { in iproc_get_tsc_config()
355 if (of_property_read_u32(np, "debounce_timeout", &val) >= 0) { in iproc_get_tsc_config()
364 if (of_property_read_u32(np, "settling_timeout", &val) >= 0) { in iproc_get_tsc_config()
373 if (of_property_read_u32(np, "touch_timeout", &val) >= 0) { in iproc_get_tsc_config()
382 if (of_property_read_u32(np, "average_data", &val) >= 0) { in iproc_get_tsc_config()
390 if (of_property_read_u32(np, "fifo_threshold", &val) >= 0) { in iproc_get_tsc_config()
400 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config()
401 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config()
403 of_property_read_u32(np, "touchscreen-fuzz-x", in iproc_get_tsc_config()
405 of_property_read_u32(np, "touchscreen-fuzz-y", in iproc_get_tsc_config()
/linux/drivers/video/
H 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/power/reset/
H A Dgpio-restart.c76 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); in gpio_restart_probe()
85 of_property_read_u32(pdev->dev.of_node, "active-delay", in gpio_restart_probe()
87 of_property_read_u32(pdev->dev.of_node, "inactive-delay", in gpio_restart_probe()
89 of_property_read_u32(pdev->dev.of_node, "wait-delay", in gpio_restart_probe()
H A Dsyscon-poweroff.c59 if (of_property_read_u32(dev->of_node, "offset", &data->offset)) { in syscon_poweroff_probe()
64 value_err = of_property_read_u32(dev->of_node, "value", &data->value); in syscon_poweroff_probe()
65 mask_err = of_property_read_u32(dev->of_node, "mask", &data->mask); in syscon_poweroff_probe()
/linux/drivers/gpio/
H A Dgpio-spear-spics.c122 if (of_property_read_u32(np, "st-spics,peripcfg-reg", in spics_gpio_probe()
125 if (of_property_read_u32(np, "st-spics,sw-enable-bit", in spics_gpio_probe()
128 if (of_property_read_u32(np, "st-spics,cs-value-bit", in spics_gpio_probe()
131 if (of_property_read_u32(np, "st-spics,cs-enable-mask", in spics_gpio_probe()
134 if (of_property_read_u32(np, "st-spics,cs-enable-shift", in spics_gpio_probe()
/linux/drivers/cpuidle/
H A Ddt_idle_states.c40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
53 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
67 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
/linux/arch/powerpc/platforms/powernv/
H A Dopal-imc.c60 if (of_property_read_u32(node, "cb_offset", &cb_offset)) in export_imc_mode_and_cmd()
155 ret = of_property_read_u32(parent, "size", &pmu_ptr->counter_mem_size); in imc_pmu_create()
159 if (!of_property_read_u32(parent, "offset", &offset)) { in imc_pmu_create()
223 if (of_property_read_u32(node, "type", &type)) in get_max_nest_dev()
253 if (of_property_read_u32(imc_dev, "type", &type)) { in opal_imc_counters_probe()
/linux/sound/soc/codecs/
H A Dcs35l35.c1255 ret = of_property_read_u32(np, "cirrus,boost-ctl-millivolt", &val32); in cs35l35_handle_of_data()
1265 ret = of_property_read_u32(np, "cirrus,boost-peak-milliamp", &val32); in cs35l35_handle_of_data()
1276 ret = of_property_read_u32(np, "cirrus,boost-ind-nanohenry", &val32); in cs35l35_handle_of_data()
1284 if (of_property_read_u32(np, "cirrus,sp-drv-strength", &val32) >= 0) in cs35l35_handle_of_data()
1286 if (of_property_read_u32(np, "cirrus,sp-drv-unused", &val32) >= 0) in cs35l35_handle_of_data()
1292 ret = of_property_read_u32(np, "cirrus,audio-channel", &val32); in cs35l35_handle_of_data()
1296 ret = of_property_read_u32(np, "cirrus,advisory-channel", in cs35l35_handle_of_data()
1316 ret = of_property_read_u32(classh, in cs35l35_handle_of_data()
1324 ret = of_property_read_u32(classh, in cs35l35_handle_of_data()
1332 ret = of_property_read_u32(class in cs35l35_handle_of_data()
[all...]
H A Dmax98504.c322 if (!of_property_read_u32(node, "maxim,brownout-threshold", in max98504_i2c_probe()
326 of_property_read_u32(node, "maxim,brownout-attenuation", in max98504_i2c_probe()
328 of_property_read_u32(node, "maxim,brownout-attack-hold-ms", in max98504_i2c_probe()
330 of_property_read_u32(node, "maxim,brownout-timed-hold-ms", in max98504_i2c_probe()
332 of_property_read_u32(node, "maxim,brownout-release-rate-ms", in max98504_i2c_probe()
/linux/drivers/input/misc/
H A Dtwl6040-vibra.c254 of_property_read_u32(twl6040_core_node, "ti,vibldrv-res", in twl6040_vibra_probe()
256 of_property_read_u32(twl6040_core_node, "ti,vibrdrv-res", in twl6040_vibra_probe()
258 of_property_read_u32(twl6040_core_node, "ti,viblmotor-res", in twl6040_vibra_probe()
260 of_property_read_u32(twl6040_core_node, "ti,vibrmotor-res", in twl6040_vibra_probe()
262 of_property_read_u32(twl6040_core_node, "ti,vddvibl-uV", &vddvibl_uV); in twl6040_vibra_probe()
263 of_property_read_u32(twl6040_core_node, "ti,vddvibr-uV", &vddvibr_uV); in twl6040_vibra_probe()
/linux/drivers/clk/keystone/
H A Dpll.c172 if (of_property_read_u32(node, "fixed-postdiv", &pll_data->postdiv)) { in _of_pll_clk_init()
270 if (of_property_read_u32(node, "bit-shift", &shift)) { in of_pll_div_clk_init()
276 if (of_property_read_u32(node, "bit-mask", &mask)) { in of_pll_div_clk_init()
319 if (of_property_read_u32(node, "bit-shift", &shift)) { in of_pll_mux_clk_init()
324 if (of_property_read_u32(node, "bit-mask", &mask)) { in of_pll_mux_clk_init()
/linux/drivers/mtd/nand/raw/
H A Dorion_nand.c131 if (!of_property_read_u32(pdev->dev.of_node, "cle", &val)) in orion_nand_probe()
135 if (!of_property_read_u32(pdev->dev.of_node, "ale", &val)) in orion_nand_probe()
139 if (!of_property_read_u32(pdev->dev.of_node, in orion_nand_probe()
144 if (!of_property_read_u32(pdev->dev.of_node, in orion_nand_probe()
/linux/drivers/leds/
H A Dleds-syscon.c84 if (of_property_read_u32(np, "reg", &sled->offset) && in syscon_led_probe()
85 of_property_read_u32(np, "offset", &sled->offset)) in syscon_led_probe()
87 if (of_property_read_u32(np, "mask", &sled->mask)) in syscon_led_probe()
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c78 if (of_property_read_u32(np, "reg", &reg)) in mxs_dt_node_to_map()
81 ret = of_property_read_u32(np, "fsl,drive-strength", &val); in mxs_dt_node_to_map()
84 ret = of_property_read_u32(np, "fsl,voltage", &val); in mxs_dt_node_to_map()
87 ret = of_property_read_u32(np, "fsl,pull-up", &val); in mxs_dt_node_to_map()
365 if (of_property_read_u32(np, "reg", &val)) in mxs_pinctrl_parse_group()
429 if (of_property_read_u32(child, "reg", &val)) in mxs_pinctrl_probe_dt()
456 if (of_property_read_u32(child, "reg", &val)) in mxs_pinctrl_probe_dt()
496 if (of_property_read_u32(child, "reg", &val)) { in mxs_pinctrl_probe_dt()
/linux/drivers/clk/ti/
H A Dfixed-factor.c36 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup()
41 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { in of_ti_fixed_factor_clk_setup()
/linux/drivers/usb/renesas_usbhs/
H A Drza.c24 of_property_read_u32(usb_x1_clk, "clock-frequency", &freq_usb); in usbhs_rza1_hardware_init()
25 of_property_read_u32(extal_clk, "clock-frequency", &freq_extal); in usbhs_rza1_hardware_init()
/linux/arch/arm/mm/
H A Dcache-l2x0.c955 of_property_read_u32(np, "cache-size", &cache_size); in l2x0_cache_size_of_parse()
956 of_property_read_u32(np, "cache-sets", &sets); in l2x0_cache_size_of_parse()
957 of_property_read_u32(np, "cache-block-size", &block_size); in l2x0_cache_size_of_parse()
958 of_property_read_u32(np, "cache-line-size", &line_size); in l2x0_cache_size_of_parse()
1037 of_property_read_u32(np, "arm,tag-latency", &tag); in l2x0_of_parse()
1052 of_property_read_u32(np, "arm,dirty-latency", &dirty); in l2x0_of_parse()
1203 ret = of_property_read_u32(np, "arm,double-linefill", &val); in l2c310_of_parse()
1213 ret = of_property_read_u32(np, "arm,double-linefill-incr", &val); in l2c310_of_parse()
1223 ret = of_property_read_u32(np, "arm,double-linefill-wrap", &val); in l2c310_of_parse()
1233 ret = of_property_read_u32(np, "arm,prefetch-drop", &val); in l2c310_of_parse()
[all …]

12345678910>>...26