Home
last modified time | relevance | path

Searched refs:of_property_read_u32 (Results 1 – 200 of 689) sorted by relevance

1234

/linux-4.4.14/drivers/memory/
Dof_memory.c40 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); in of_get_min_tck()
41 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); in of_get_min_tck()
42 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); in of_get_min_tck()
43 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); in of_get_min_tck()
44 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); in of_get_min_tck()
45 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); in of_get_min_tck()
46 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck()
47 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); in of_get_min_tck()
48 ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); in of_get_min_tck()
49 ret |= of_property_read_u32(np, "tCKESR-min-tck", &min->tCKESR); in of_get_min_tck()
[all …]
Dti-aemif.c271 if (of_property_read_u32(np, "ti,cs-chipselect", &cs)) { in of_aemif_parse_abus_config()
293 if (!of_property_read_u32(np, "ti,cs-min-turnaround-ns", &val)) in of_aemif_parse_abus_config()
296 if (!of_property_read_u32(np, "ti,cs-read-hold-ns", &val)) in of_aemif_parse_abus_config()
299 if (!of_property_read_u32(np, "ti,cs-read-strobe-ns", &val)) in of_aemif_parse_abus_config()
302 if (!of_property_read_u32(np, "ti,cs-read-setup-ns", &val)) in of_aemif_parse_abus_config()
305 if (!of_property_read_u32(np, "ti,cs-write-hold-ns", &val)) in of_aemif_parse_abus_config()
308 if (!of_property_read_u32(np, "ti,cs-write-strobe-ns", &val)) in of_aemif_parse_abus_config()
311 if (!of_property_read_u32(np, "ti,cs-write-setup-ns", &val)) in of_aemif_parse_abus_config()
314 if (!of_property_read_u32(np, "ti,cs-bus-width", &val)) in of_aemif_parse_abus_config()
Domap-gpmc.c1680 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt()
1681 of_property_read_u32(np, "gpmc,mux-add-data", &p->mux_add_data); in gpmc_read_settings_dt()
1683 if (!of_property_read_u32(np, "gpmc,burst-length", &p->burst_len)) { in gpmc_read_settings_dt()
1692 if (!of_property_read_u32(np, "gpmc,wait-pin", &p->wait_pin)) { in gpmc_read_settings_dt()
1714 of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); in gpmc_read_timings_dt()
1717 of_property_read_u32(np, "gpmc,cs-on-ns", &gpmc_t->cs_on); in gpmc_read_timings_dt()
1718 of_property_read_u32(np, "gpmc,cs-rd-off-ns", &gpmc_t->cs_rd_off); in gpmc_read_timings_dt()
1719 of_property_read_u32(np, "gpmc,cs-wr-off-ns", &gpmc_t->cs_wr_off); in gpmc_read_timings_dt()
1722 of_property_read_u32(np, "gpmc,adv-on-ns", &gpmc_t->adv_on); in gpmc_read_timings_dt()
1723 of_property_read_u32(np, "gpmc,adv-rd-off-ns", &gpmc_t->adv_rd_off); in gpmc_read_timings_dt()
[all …]
Djz4780-nemc.c186 if (!of_property_read_u32(node, "ingenic,nemc-bus-width", &val)) { in jz4780_nemc_configure_bank()
202 if (of_property_read_u32(node, "ingenic,nemc-tAS", &val) == 0) { in jz4780_nemc_configure_bank()
214 if (of_property_read_u32(node, "ingenic,nemc-tAH", &val) == 0) { in jz4780_nemc_configure_bank()
226 if (of_property_read_u32(node, "ingenic,nemc-tBP", &val) == 0) { in jz4780_nemc_configure_bank()
238 if (of_property_read_u32(node, "ingenic,nemc-tAW", &val) == 0) { in jz4780_nemc_configure_bank()
250 if (of_property_read_u32(node, "ingenic,nemc-tSTRV", &val) == 0) { in jz4780_nemc_configure_bank()
Dpl172.c67 if (!of_property_read_u32(np, name, &val)) { in pl172_timing_prop()
93 if (!of_property_read_u32(np, "mpmc,memory-width", &cfg)) { in pl172_setup_static()
179 if (!of_property_read_u32(np, "mpmc,cs", &cs)) { in pl172_parse_cs_config()
Dmvebu-devbus.c106 err = of_property_read_u32(node, name, &time_ps); in get_timing_param_ps()
127 err = of_property_read_u32(node, "devbus,bus-width", &r->bus_width); in devbus_get_timing_params()
179 err = of_property_read_u32(node, "devbus,sync-enable", in devbus_get_timing_params()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-of.c65 if (!of_property_read_u32(node, "clock-lanes", &v)) { in v4l2_of_parse_csi_bus()
88 if (!of_property_read_u32(node, "hsync-active", &v)) in v4l2_of_parse_parallel_bus()
92 if (!of_property_read_u32(node, "vsync-active", &v)) in v4l2_of_parse_parallel_bus()
96 if (!of_property_read_u32(node, "field-even-active", &v)) in v4l2_of_parse_parallel_bus()
104 if (!of_property_read_u32(node, "pclk-sample", &v)) in v4l2_of_parse_parallel_bus()
108 if (!of_property_read_u32(node, "data-active", &v)) in v4l2_of_parse_parallel_bus()
117 if (!of_property_read_u32(node, "bus-width", &v)) in v4l2_of_parse_parallel_bus()
120 if (!of_property_read_u32(node, "data-shift", &v)) in v4l2_of_parse_parallel_bus()
123 if (!of_property_read_u32(node, "sync-on-green-active", &v)) in v4l2_of_parse_parallel_bus()
281 of_property_read_u32(np, "reg", &link->local_port); in v4l2_of_parse_link()
[all …]
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c122 if (of_property_read_u32(np, "max-speed", &plat->max_speed)) in stmmac_probe_config_dt()
146 if (of_property_read_u32(np, "snps,phy-addr", &plat->phy_addr) == 0) in stmmac_probe_config_dt()
157 of_property_read_u32(np, "tx-fifo-depth", &plat->tx_fifo_size); in stmmac_probe_config_dt()
159 of_property_read_u32(np, "rx-fifo-depth", &plat->rx_fifo_size); in stmmac_probe_config_dt()
190 of_property_read_u32(np, "max-frame-size", &plat->maxmtu); in stmmac_probe_config_dt()
191 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt()
193 of_property_read_u32(np, "snps,perfect-filter-entries", in stmmac_probe_config_dt()
218 of_property_read_u32(np, "snps,pbl", &dma_cfg->pbl); in stmmac_probe_config_dt()
223 of_property_read_u32(np, "snps,burst_len", &dma_cfg->burst_len); in stmmac_probe_config_dt()
/linux-4.4.14/drivers/regulator/
Dof_regulator.c54 if (!of_property_read_u32(np, "regulator-microvolt-offset", &pval)) in of_get_regulation_constraints()
56 if (!of_property_read_u32(np, "regulator-min-microamp", &pval)) in of_get_regulation_constraints()
58 if (!of_property_read_u32(np, "regulator-max-microamp", &pval)) in of_get_regulation_constraints()
61 if (!of_property_read_u32(np, "regulator-input-current-limit-microamp", in of_get_regulation_constraints()
82 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); in of_get_regulation_constraints()
90 ret = of_property_read_u32(np, "regulator-enable-ramp-delay", &pval); in of_get_regulation_constraints()
97 if (!of_property_read_u32(np, "regulator-initial-mode", &pval)) { in of_get_regulation_constraints()
110 if (!of_property_read_u32(np, "regulator-system-load", &pval)) in of_get_regulation_constraints()
135 if (!of_property_read_u32(suspend_np, "regulator-mode", in of_get_regulation_constraints()
157 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
Danatop-regulator.c214 ret = of_property_read_u32(np, "anatop-reg-offset", in anatop_regulator_probe()
220 ret = of_property_read_u32(np, "anatop-vol-bit-width", in anatop_regulator_probe()
226 ret = of_property_read_u32(np, "anatop-vol-bit-shift", in anatop_regulator_probe()
232 ret = of_property_read_u32(np, "anatop-min-bit-val", in anatop_regulator_probe()
238 ret = of_property_read_u32(np, "anatop-min-voltage", in anatop_regulator_probe()
244 ret = of_property_read_u32(np, "anatop-max-voltage", in anatop_regulator_probe()
252 of_property_read_u32(np, "anatop-delay-reg-offset", in anatop_regulator_probe()
254 of_property_read_u32(np, "anatop-delay-bit-width", in anatop_regulator_probe()
256 of_property_read_u32(np, "anatop-delay-bit-shift", in anatop_regulator_probe()
Dmax8952.c153 if (of_property_read_u32(np, "max8952,default-mode", &pd->default_mode)) in max8952_parse_dt()
171 if (of_property_read_u32(np, "max8952,sync-freq", &pd->sync_freq)) in max8952_parse_dt()
174 if (of_property_read_u32(np, "max8952,ramp-speed", &pd->ramp_speed)) in max8952_parse_dt()
Dti-abb-regulator.c427 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); in ti_abb_init_timings()
440 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); in ti_abb_init_timings()
802 of_property_read_u32(pdev->dev.of_node, pname, in ti_abb_probe()
815 of_property_read_u32(pdev->dev.of_node, pname, in ti_abb_probe()
829 of_property_read_u32(pdev->dev.of_node, pname, in ti_abb_probe()
/linux-4.4.14/drivers/input/touchscreen/
Dstmpe-ts.c274 if (!of_property_read_u32(np, "st,sample-time", &val)) in stmpe_ts_get_platform_info()
276 if (!of_property_read_u32(np, "st,mod-12b", &val)) in stmpe_ts_get_platform_info()
278 if (!of_property_read_u32(np, "st,ref-sel", &val)) in stmpe_ts_get_platform_info()
280 if (!of_property_read_u32(np, "st,adc-freq", &val)) in stmpe_ts_get_platform_info()
282 if (!of_property_read_u32(np, "st,ave-ctrl", &val)) in stmpe_ts_get_platform_info()
284 if (!of_property_read_u32(np, "st,touch-det-delay", &val)) in stmpe_ts_get_platform_info()
286 if (!of_property_read_u32(np, "st,settling", &val)) in stmpe_ts_get_platform_info()
288 if (!of_property_read_u32(np, "st,fraction-z", &val)) in stmpe_ts_get_platform_info()
290 if (!of_property_read_u32(np, "st,i-drive", &val)) in stmpe_ts_get_platform_info()
D88pm860x-ts.c136 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-prebias", &n)) in pm860x_touch_dt_init()
138 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-slot-cycle", &n)) in pm860x_touch_dt_init()
140 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-off-scale", &n)) in pm860x_touch_dt_init()
142 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-sw-cal", &n)) in pm860x_touch_dt_init()
150 if (!of_property_read_u32(np, "marvell,88pm860x-tsi-prebias", &data)) { in pm860x_touch_dt_init()
157 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init()
159 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init()
166 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init()
Dbcm_iproc_tsc.c343 if (of_property_read_u32(np, "scanning_period", &val) >= 0) { in iproc_get_tsc_config()
352 if (of_property_read_u32(np, "debounce_timeout", &val) >= 0) { in iproc_get_tsc_config()
361 if (of_property_read_u32(np, "settling_timeout", &val) >= 0) { in iproc_get_tsc_config()
370 if (of_property_read_u32(np, "touch_timeout", &val) >= 0) { in iproc_get_tsc_config()
379 if (of_property_read_u32(np, "average_data", &val) >= 0) { in iproc_get_tsc_config()
387 if (of_property_read_u32(np, "fifo_threshold", &val) >= 0) { in iproc_get_tsc_config()
397 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config()
398 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config()
400 of_property_read_u32(np, "touchscreen-fuzz-x", in iproc_get_tsc_config()
402 of_property_read_u32(np, "touchscreen-fuzz-y", in iproc_get_tsc_config()
Dchipone_icn8318.c226 if (of_property_read_u32(np, "touchscreen-size-x", &data->max_x) || in icn8318_probe()
227 of_property_read_u32(np, "touchscreen-size-y", &data->max_y)) { in icn8318_probe()
233 of_property_read_u32(np, "touchscreen-fuzz-x", &fuzz_x); in icn8318_probe()
234 of_property_read_u32(np, "touchscreen-fuzz-y", &fuzz_y); in icn8318_probe()
Dtsc2007.c301 if (!of_property_read_u32(np, "ti,max-rt", &val32)) in tsc2007_probe_dt()
306 if (!of_property_read_u32(np, "ti,fuzzx", &val32)) in tsc2007_probe_dt()
309 if (!of_property_read_u32(np, "ti,fuzzy", &val32)) in tsc2007_probe_dt()
312 if (!of_property_read_u32(np, "ti,fuzzz", &val32)) in tsc2007_probe_dt()
320 if (!of_property_read_u32(np, "ti,x-plate-ohms", &val32)) { in tsc2007_probe_dt()
Dti_am335x_tsc.c346 err = of_property_read_u32(node, "ti,wires", &ts_dev->wires); in titsc_parse_dt()
358 err = of_property_read_u32(node, "ti,x-plate-resistance", in titsc_parse_dt()
367 err = of_property_read_u32(node, "ti,coordinate-readouts", in titsc_parse_dt()
371 err = of_property_read_u32(node, "ti,coordiante-readouts", in titsc_parse_dt()
384 err = of_property_read_u32(node, "ti,charge-delay", in titsc_parse_dt()
Dmms114.c394 if (of_property_read_u32(np, "x-size", &pdata->x_size)) { in mms114_parse_dt()
399 if (of_property_read_u32(np, "y-size", &pdata->y_size)) { in mms114_parse_dt()
404 of_property_read_u32(np, "contact-threshold", in mms114_parse_dt()
406 of_property_read_u32(np, "moving-threshold", in mms114_parse_dt()
/linux-4.4.14/drivers/gpio/
Dgpio-xilinx.c268 of_property_read_u32(np, "xlnx,dout-default", &chip->gpio_state[0]); in xgpio_probe()
271 if (of_property_read_u32(np, "xlnx,tri-default", &chip->gpio_dir[0])) in xgpio_probe()
278 if (of_property_read_u32(np, "xlnx,gpio-width", &chip->gpio_width[0])) in xgpio_probe()
283 if (of_property_read_u32(np, "xlnx,is-dual", &is_dual)) in xgpio_probe()
288 of_property_read_u32(np, "xlnx,dout-default-2", in xgpio_probe()
292 if (of_property_read_u32(np, "xlnx,tri-default-2", in xgpio_probe()
300 if (of_property_read_u32(np, "xlnx,gpio2-width", in xgpio_probe()
Dgpio-spear-spics.c140 if (of_property_read_u32(np, "st-spics,peripcfg-reg", in spics_gpio_probe()
143 if (of_property_read_u32(np, "st-spics,sw-enable-bit", in spics_gpio_probe()
146 if (of_property_read_u32(np, "st-spics,cs-value-bit", in spics_gpio_probe()
149 if (of_property_read_u32(np, "st-spics,cs-enable-mask", in spics_gpio_probe()
152 if (of_property_read_u32(np, "st-spics,cs-enable-shift", in spics_gpio_probe()
Dgpio-stp-xway.c226 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in xway_stp_probe()
230 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,groups", &groups)) in xway_stp_probe()
237 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,dsl", &dsl)) in xway_stp_probe()
244 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy1", &phy)) in xway_stp_probe()
246 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe()
Dgpio-twl4030.c463 of_property_read_u32(dev->of_node, "ti,debounce", in of_gpio_twl4030()
465 of_property_read_u32(dev->of_node, "ti,mmc-cd", in of_gpio_twl4030()
467 of_property_read_u32(dev->of_node, "ti,pullups", in of_gpio_twl4030()
469 of_property_read_u32(dev->of_node, "ti,pulldowns", in of_gpio_twl4030()
Dgpio-mm-lantiq.c122 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in ltq_mm_probe()
/linux-4.4.14/drivers/power/reset/
Dgpio-restart.c86 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); in gpio_restart_probe()
95 of_property_read_u32(pdev->dev.of_node, "active-delay", in gpio_restart_probe()
97 of_property_read_u32(pdev->dev.of_node, "inactive-delay", in gpio_restart_probe()
99 of_property_read_u32(pdev->dev.of_node, "wait-delay", in gpio_restart_probe()
Dsyscon-poweroff.c53 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { in syscon_poweroff_probe()
58 if (of_property_read_u32(pdev->dev.of_node, "mask", &mask)) { in syscon_poweroff_probe()
Dsyscon-reboot.c64 if (of_property_read_u32(pdev->dev.of_node, "offset", &ctx->offset)) in syscon_reboot_probe()
67 if (of_property_read_u32(pdev->dev.of_node, "mask", &ctx->mask)) in syscon_reboot_probe()
Dhisi-reboot.c54 if (of_property_read_u32(np, "reboot-offset", &reboot_offset) < 0) { in hisi_reboot_probe()
Dxgene-reboot.c77 if (of_property_read_u32(dev->of_node, "mask", &ctx->mask)) in xgene_reboot_probe()
/linux-4.4.14/drivers/of/
Dof_mtd.c64 ret = of_property_read_u32(np, "nand-ecc-step-size", &val); in of_get_nand_ecc_step_size()
81 ret = of_property_read_u32(np, "nand-ecc-strength", &val); in of_get_nand_ecc_strength()
96 if (of_property_read_u32(np, "nand-bus-width", &val)) in of_get_nand_bus_width()
Dof_mdio.c100 ret = of_property_read_u32(np, "reg", &addr); in of_mdio_parse_addr()
337 if (of_property_read_u32(fixed_link_node, "speed", &status.speed)) in of_phy_register_fixed_link()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c324 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias); in of_get_panel_info()
325 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt); in of_get_panel_info()
326 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz); in of_get_panel_info()
327 ret |= of_property_read_u32(info_np, "bpp", &info->bpp); in of_get_panel_info()
328 ret |= of_property_read_u32(info_np, "fdd", &info->fdd); in of_get_panel_info()
329 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge); in of_get_panel_info()
330 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl); in of_get_panel_info()
331 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order); in of_get_panel_info()
332 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th); in of_get_panel_info()
/linux-4.4.14/drivers/cpuidle/
Ddt_idle_states.c42 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
47 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
55 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
69 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
/linux-4.4.14/sound/soc/codecs/
Dda7219-aad.c558 if (of_property_read_u32(aad_np, "dlg,micbias-pulse-lvl", in da7219_aad_of_to_pdata()
565 if (of_property_read_u32(aad_np, "dlg,micbias-pulse-time", in da7219_aad_of_to_pdata()
569 if (of_property_read_u32(aad_np, "dlg,btn-cfg", &of_val32) >= 0) in da7219_aad_of_to_pdata()
574 if (of_property_read_u32(aad_np, "dlg,mic-det-thr", &of_val32) >= 0) in da7219_aad_of_to_pdata()
580 if (of_property_read_u32(aad_np, "dlg,jack-ins-deb", &of_val32) >= 0) in da7219_aad_of_to_pdata()
592 if (of_property_read_u32(aad_np, "dlg,jack-rem-deb", &of_val32) >= 0) in da7219_aad_of_to_pdata()
598 if (of_property_read_u32(aad_np, "dlg,a-d-btn-thr", &of_val32) >= 0) in da7219_aad_of_to_pdata()
603 if (of_property_read_u32(aad_np, "dlg,d-b-btn-thr", &of_val32) >= 0) in da7219_aad_of_to_pdata()
608 if (of_property_read_u32(aad_np, "dlg,b-c-btn-thr", &of_val32) >= 0) in da7219_aad_of_to_pdata()
613 if (of_property_read_u32(aad_np, "dlg,c-mic-btn-thr", &of_val32) >= 0) in da7219_aad_of_to_pdata()
[all …]
Dcs35l32.c274 if (of_property_read_u32(np, "cirrus,sdout-share", &val) >= 0) in cs35l32_handle_of_data()
277 of_property_read_u32(np, "cirrus,boost-manager", &val); in cs35l32_handle_of_data()
291 of_property_read_u32(np, "cirrus,sdout-datacfg", &val); in cs35l32_handle_of_data()
305 of_property_read_u32(np, "cirrus,battery-threshold", &val); in cs35l32_handle_of_data()
319 of_property_read_u32(np, "cirrus,battery-recovery", &val); in cs35l32_handle_of_data()
Dcs42l56.c1163 if (of_property_read_u32(np, "cirrus,micbias-lvl", &val32) >= 0) in cs42l56_handle_of_data()
1166 if (of_property_read_u32(np, "cirrus,chgfreq-divisor", &val32) >= 0) in cs42l56_handle_of_data()
1169 if (of_property_read_u32(np, "cirrus,adaptive-pwr-cfg", &val32) >= 0) in cs42l56_handle_of_data()
1172 if (of_property_read_u32(np, "cirrus,hpf-left-freq", &val32) >= 0) in cs42l56_handle_of_data()
1175 if (of_property_read_u32(np, "cirrus,hpf-left-freq", &val32) >= 0) in cs42l56_handle_of_data()
/linux-4.4.14/drivers/video/
Dof_display_timing.c41 ret = of_property_read_u32(np, name, &result->typ); in parse_timing_property()
78 if (!of_property_read_u32(np, "vsync-active", &val)) in of_parse_display_timing()
81 if (!of_property_read_u32(np, "hsync-active", &val)) in of_parse_display_timing()
84 if (!of_property_read_u32(np, "de-active", &val)) in of_parse_display_timing()
87 if (!of_property_read_u32(np, "pixelclk-active", &val)) in of_parse_display_timing()
/linux-4.4.14/drivers/tty/serial/
Dof_serial.c71 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup()
88 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup()
102 if (of_property_read_u32(np, "reg-offset", &prop) == 0) in of_platform_serial_setup()
106 if (of_property_read_u32(np, "reg-shift", &prop) == 0) in of_platform_serial_setup()
110 if (of_property_read_u32(np, "fifo-size", &prop) == 0) in of_platform_serial_setup()
120 if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { in of_platform_serial_setup()
/linux-4.4.14/drivers/net/can/sja1000/
Dsja1000_platform.c104 err = of_property_read_u32(of, "reg-io-width", &prop); in sp_populate_of()
123 err = of_property_read_u32(of, "nxp,external-clock-frequency", &prop); in sp_populate_of()
129 err = of_property_read_u32(of, "nxp,tx-output-mode", &prop); in sp_populate_of()
135 err = of_property_read_u32(of, "nxp,tx-output-config", &prop); in sp_populate_of()
141 err = of_property_read_u32(of, "nxp,clock-out-frequency", &prop); in sp_populate_of()
/linux-4.4.14/drivers/clk/keystone/
Dpll.c176 if (of_property_read_u32(node, "fixed-postdiv", &pll_data->postdiv)) { in _of_pll_clk_init()
273 if (of_property_read_u32(node, "bit-shift", &shift)) { in of_pll_div_clk_init()
278 if (of_property_read_u32(node, "bit-mask", &mask)) { in of_pll_div_clk_init()
317 if (of_property_read_u32(node, "bit-shift", &shift)) { in of_pll_mux_clk_init()
322 if (of_property_read_u32(node, "bit-mask", &mask)) { in of_pll_mux_clk_init()
/linux-4.4.14/drivers/misc/
Dqcom-coincell.c109 rc = of_property_read_u32(node, "reg", &chgr.base_addr); in qcom_coincell_probe()
116 rc = of_property_read_u32(node, "qcom,rset-ohms", &rset); in qcom_coincell_probe()
123 rc = of_property_read_u32(node, "qcom,vset-millivolts", &vset); in qcom_coincell_probe()
Dbmp085.c405 if (!of_property_read_u32(np, "chip-id", &prop)) in bmp085_get_of_properties()
408 if (!of_property_read_u32(np, "temp-measurement-period", &prop)) in bmp085_get_of_properties()
411 if (!of_property_read_u32(np, "default-oversampling", &prop)) in bmp085_get_of_properties()
/linux-4.4.14/drivers/input/misc/
Dtwl6040-vibra.c283 of_property_read_u32(twl6040_core_node, "ti,vibldrv-res", in twl6040_vibra_probe()
285 of_property_read_u32(twl6040_core_node, "ti,vibrdrv-res", in twl6040_vibra_probe()
287 of_property_read_u32(twl6040_core_node, "ti,viblmotor-res", in twl6040_vibra_probe()
289 of_property_read_u32(twl6040_core_node, "ti,vibrmotor-res", in twl6040_vibra_probe()
291 of_property_read_u32(twl6040_core_node, "ti,vddvibl-uV", &vddvibl_uV); in twl6040_vibra_probe()
292 of_property_read_u32(twl6040_core_node, "ti,vddvibr-uV", &vddvibr_uV); in twl6040_vibra_probe()
Drotary_encoder.c219 of_property_read_u32(np, "rotary-encoder,steps", &pdata->steps); in rotary_encoder_parse_dt()
220 of_property_read_u32(np, "linux,axis", &pdata->axis); in rotary_encoder_parse_dt()
232 error = of_property_read_u32(np, "rotary-encoder,steps-per-period", in rotary_encoder_parse_dt()
Dpalmas-pwrbutton.c130 error = of_property_read_u32(np, "ti,palmas-long-press-seconds", &val); in palmas_pwron_params_ofinit()
140 error = of_property_read_u32(np, in palmas_pwron_params_ofinit()
Ddrv260x.c479 error = of_property_read_u32(np, "mode", &haptics->mode); in drv260x_parse_dt()
485 error = of_property_read_u32(np, "library-sel", &haptics->library); in drv260x_parse_dt()
492 error = of_property_read_u32(np, "vib-rated-mv", &voltage); in drv260x_parse_dt()
497 error = of_property_read_u32(np, "vib-overdrive-mv", &voltage); in drv260x_parse_dt()
Dregulator-haptic.c131 error = of_property_read_u32(node, "max-microvolt", &haptic->max_volt); in regulator_haptic_parse_dt()
137 error = of_property_read_u32(node, "min-microvolt", &haptic->min_volt); in regulator_haptic_parse_dt()
Dpm8941-pwrkey.c163 if (of_property_read_u32(pdev->dev.of_node, "debounce", &req_delay)) in pm8941_pwrkey_probe()
191 error = of_property_read_u32(pdev->dev.of_node, "reg", in pm8941_pwrkey_probe()
/linux-4.4.14/drivers/clk/ti/
Dfixed-factor.c44 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup()
49 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { in of_ti_fixed_factor_clk_setup()
Dapll.c362 if (of_property_read_u32(node, "ti,clock-frequency", &val)) { in of_omap2_apll_setup()
368 if (of_property_read_u32(node, "ti,bit-shift", &val)) { in of_omap2_apll_setup()
377 if (of_property_read_u32(node, "ti,idlest-shift", &val)) { in of_omap2_apll_setup()
Dmux.c206 of_property_read_u32(node, "ti,bit-shift", &shift); in of_mux_clk_setup()
278 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in of_ti_composite_mux_clk_setup()
Dclk-dra7-atl.c270 ret = of_property_read_u32(cfg_node, "bws", in of_dra7_atl_clk_probe()
272 ret |= of_property_read_u32(cfg_node, "aws", in of_dra7_atl_clk_probe()
Dgate.c231 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in _of_ti_gate_clk_setup()
270 of_property_read_u32(node, "ti,bit-shift", &val); in _of_ti_composite_gate_clk_setup()
Ddivider.c484 if (of_property_read_u32(node, "ti,min-div", &min_div)) in _get_divider_width()
487 if (of_property_read_u32(node, "ti,max-div", &max_div)) { in _get_divider_width()
527 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in ti_clk_divider_populate()
/linux-4.4.14/drivers/mtd/nand/
Dorion_nand.c106 if (!of_property_read_u32(pdev->dev.of_node, "cle", &val)) in orion_nand_probe()
110 if (!of_property_read_u32(pdev->dev.of_node, "ale", &val)) in orion_nand_probe()
114 if (!of_property_read_u32(pdev->dev.of_node, in orion_nand_probe()
119 if (!of_property_read_u32(pdev->dev.of_node, in orion_nand_probe()
Dlpc32xx_mlc.c620 of_property_read_u32(np, "nxp,tcea-delay", &ncfg->tcea_delay); in lpc32xx_parse_dt()
621 of_property_read_u32(np, "nxp,busy-delay", &ncfg->busy_delay); in lpc32xx_parse_dt()
622 of_property_read_u32(np, "nxp,nand-ta", &ncfg->nand_ta); in lpc32xx_parse_dt()
623 of_property_read_u32(np, "nxp,rd-high", &ncfg->rd_high); in lpc32xx_parse_dt()
624 of_property_read_u32(np, "nxp,rd-low", &ncfg->rd_low); in lpc32xx_parse_dt()
625 of_property_read_u32(np, "nxp,wr-high", &ncfg->wr_high); in lpc32xx_parse_dt()
626 of_property_read_u32(np, "nxp,wr-low", &ncfg->wr_low); in lpc32xx_parse_dt()
Dlpc32xx_slc.c735 of_property_read_u32(np, "nxp,wdr-clks", &ncfg->wdr_clks); in lpc32xx_parse_dt()
736 of_property_read_u32(np, "nxp,wwidth", &ncfg->wwidth); in lpc32xx_parse_dt()
737 of_property_read_u32(np, "nxp,whold", &ncfg->whold); in lpc32xx_parse_dt()
738 of_property_read_u32(np, "nxp,wsetup", &ncfg->wsetup); in lpc32xx_parse_dt()
739 of_property_read_u32(np, "nxp,rdr-clks", &ncfg->rdr_clks); in lpc32xx_parse_dt()
740 of_property_read_u32(np, "nxp,rwidth", &ncfg->rwidth); in lpc32xx_parse_dt()
741 of_property_read_u32(np, "nxp,rhold", &ncfg->rhold); in lpc32xx_parse_dt()
742 of_property_read_u32(np, "nxp,rsetup", &ncfg->rsetup); in lpc32xx_parse_dt()
Ddavinci_nand.c571 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
577 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
580 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
583 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
597 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
602 if (0 < prop || !of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
Dgpio.c113 if (!of_property_read_u32(dev->of_node, "bank-width", &val)) { in gpio_nand_get_config_of()
128 if (!of_property_read_u32(dev->of_node, "chip-delay", &val)) in gpio_nand_get_config_of()
Ddenali_dt.c81 if (!of_property_read_u32(ofdev->dev.of_node, in denali_dt_probe()
/linux-4.4.14/drivers/iio/frequency/
Dadf4350.c395 of_property_read_u32(np, "adi,channel-spacing", &tmp); in adf4350_parse_dt()
399 of_property_read_u32(np, "adi,power-up-frequency", &tmp); in adf4350_parse_dt()
403 of_property_read_u32(np, "adi,reference-div-factor", &tmp); in adf4350_parse_dt()
429 of_property_read_u32(np, "adi,charge-pump-current", &tmp); in adf4350_parse_dt()
433 of_property_read_u32(np, "adi,muxout-select", &tmp); in adf4350_parse_dt()
457 of_property_read_u32(np, "adi,12bit-clk-divider", &tmp); in adf4350_parse_dt()
461 of_property_read_u32(np, "adi,clk-divider-mode", &tmp); in adf4350_parse_dt()
477 of_property_read_u32(np, "adi,output-power", &tmp); in adf4350_parse_dt()
481 of_property_read_u32(np, "adi,aux-output-power", &tmp); in adf4350_parse_dt()
/linux-4.4.14/arch/arm/mm/
Dcache-uniphier.c385 if (of_property_read_u32(np, "next-level-cache", &phandle)) in uniphier_cache_get_next_level_node()
405 if (of_property_read_u32(np, "cache-level", &level)) { in __uniphier_cache_init()
425 if (of_property_read_u32(np, "cache-line-size", &data->line_size) || in __uniphier_cache_init()
433 if (of_property_read_u32(np, "cache-sets", &data->nsets) || in __uniphier_cache_init()
441 if (of_property_read_u32(np, "cache-size", &cache_size) || in __uniphier_cache_init()
519 if (!of_property_read_u32(np, "cache-level", &cache_level) && in uniphier_cache_init()
Dcache-l2x0.c960 of_property_read_u32(np, "cache-size", &cache_size); in l2x0_cache_size_of_parse()
961 of_property_read_u32(np, "cache-sets", &sets); in l2x0_cache_size_of_parse()
962 of_property_read_u32(np, "cache-block-size", &block_size); in l2x0_cache_size_of_parse()
963 of_property_read_u32(np, "cache-line-size", &line_size); in l2x0_cache_size_of_parse()
1042 of_property_read_u32(np, "arm,tag-latency", &tag); in l2x0_of_parse()
1057 of_property_read_u32(np, "arm,dirty-latency", &dirty); in l2x0_of_parse()
1181 ret = of_property_read_u32(np, "arm,double-linefill", &val); in l2c310_of_parse()
1191 ret = of_property_read_u32(np, "arm,double-linefill-incr", &val); in l2c310_of_parse()
1201 ret = of_property_read_u32(np, "arm,double-linefill-wrap", &val); in l2c310_of_parse()
1211 ret = of_property_read_u32(np, "arm,prefetch-drop", &val); in l2c310_of_parse()
[all …]
/linux-4.4.14/drivers/dma/dw/
Dplatform.c116 if (of_property_read_u32(np, "dma-channels", &pdata->nr_channels)) in dw_dma_parse_dt()
122 if (!of_property_read_u32(np, "chan_allocation_order", &tmp)) in dw_dma_parse_dt()
125 if (!of_property_read_u32(np, "chan_priority", &tmp)) in dw_dma_parse_dt()
128 if (!of_property_read_u32(np, "block_size", &tmp)) in dw_dma_parse_dt()
131 if (!of_property_read_u32(np, "dma-masters", &tmp)) { in dw_dma_parse_dt()
/linux-4.4.14/arch/arm/firmware/
Dtrusted_foundations.c90 err = of_property_read_u32(node, "tlm,version-major", in of_register_trusted_foundations()
94 err = of_property_read_u32(node, "tlm,version-minor", in of_register_trusted_foundations()
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-mxs.c83 if (of_property_read_u32(np, "reg", &reg)) in mxs_dt_node_to_map()
86 ret = of_property_read_u32(np, "fsl,drive-strength", &val); in mxs_dt_node_to_map()
89 ret = of_property_read_u32(np, "fsl,voltage", &val); in mxs_dt_node_to_map()
92 ret = of_property_read_u32(np, "fsl,pull-up", &val); in mxs_dt_node_to_map()
362 if (of_property_read_u32(np, "reg", &val)) in mxs_pinctrl_parse_group()
421 if (of_property_read_u32(child, "reg", &val)) in mxs_pinctrl_probe_dt()
445 if (of_property_read_u32(child, "reg", &val)) in mxs_pinctrl_probe_dt()
485 if (of_property_read_u32(child, "reg", &val)) { in mxs_pinctrl_probe_dt()
/linux-4.4.14/drivers/soc/qcom/
Dqcom_gsbi.c171 if (of_property_read_u32(node, "cell-index", &gsbi_num)) { in gsbi_probe()
181 if (of_property_read_u32(node, "qcom,mode", &gsbi->mode)) { in gsbi_probe()
187 of_property_read_u32(node, "qcom,crci", &gsbi->crci); in gsbi_probe()
/linux-4.4.14/drivers/clk/
Dclk-xgene.c479 if (of_property_read_u32(np, "csr-offset", &parameters.reg_csr_offset)) in xgene_devclk_init()
481 if (of_property_read_u32(np, "csr-mask", &parameters.reg_csr_mask)) in xgene_devclk_init()
483 if (of_property_read_u32(np, "enable-offset", in xgene_devclk_init()
486 if (of_property_read_u32(np, "enable-mask", &parameters.reg_clk_mask)) in xgene_devclk_init()
488 if (of_property_read_u32(np, "divider-offset", in xgene_devclk_init()
491 if (of_property_read_u32(np, "divider-width", in xgene_devclk_init()
494 if (of_property_read_u32(np, "divider-shift", in xgene_devclk_init()
Dclk-fixed-rate.c120 if (of_property_read_u32(node, "clock-frequency", &rate)) in of_fixed_clk_setup()
123 of_property_read_u32(node, "clock-accuracy", &accuracy); in of_fixed_clk_setup()
Dclk-fixed-factor.c116 if (of_property_read_u32(node, "clock-div", &div)) { in of_fixed_factor_clk_setup()
122 if (of_property_read_u32(node, "clock-mult", &mult)) { in of_fixed_factor_clk_setup()
Dclk-vt8500.c252 rc = of_property_read_u32(node, "enable-reg", &en_reg); in vtwm_device_clk_init()
255 rc = of_property_read_u32(node, "enable-bit", &dev_clk->en_bit); in vtwm_device_clk_init()
264 rc = of_property_read_u32(node, "divisor-reg", &div_reg); in vtwm_device_clk_init()
273 of_property_read_u32(node, "divisor-mask", &dev_clk->div_mask); in vtwm_device_clk_init()
663 rc = of_property_read_u32(node, "reg", &reg); in vtwm_pll_clk_init()
Dclk-si570.c427 err = of_property_read_u32(client->dev.of_node, in si570_probe()
447 err = of_property_read_u32(client->dev.of_node, "factory-fout", in si570_probe()
478 if (!of_property_read_u32(client->dev.of_node, "clock-frequency", in si570_probe()
Dclk-pwm.c79 if (of_property_read_u32(node, "clock-frequency", &clk_pwm->fixed_rate)) in clk_pwm_probe()
/linux-4.4.14/drivers/soc/tegra/
Dpmc.c637 if (of_property_read_u32(np, "nvidia,suspend-mode", &value)) { in tegra_pmc_parse_dt()
660 if (of_property_read_u32(np, "nvidia,cpu-pwr-good-time", &value)) in tegra_pmc_parse_dt()
665 if (of_property_read_u32(np, "nvidia,cpu-pwr-off-time", &value)) in tegra_pmc_parse_dt()
677 if (of_property_read_u32(np, "nvidia,core-pwr-off-time", &value)) in tegra_pmc_parse_dt()
747 if (of_property_read_u32(np, "nvidia,i2c-controller-id", &ctrl_id)) { in tegra_pmc_init_tsense_reset()
752 if (of_property_read_u32(np, "nvidia,bus-addr", &pmu_addr)) { in tegra_pmc_init_tsense_reset()
757 if (of_property_read_u32(np, "nvidia,reg-addr", &reg_addr)) { in tegra_pmc_init_tsense_reset()
762 if (of_property_read_u32(np, "nvidia,reg-data", &reg_data)) { in tegra_pmc_init_tsense_reset()
767 if (of_property_read_u32(np, "nvidia,pinmux-id", &pinmux)) in tegra_pmc_init_tsense_reset()
/linux-4.4.14/drivers/net/phy/
Ddp83867.c116 ret = of_property_read_u32(of_node, "ti,rx-internal-delay", in dp83867_of_init()
121 ret = of_property_read_u32(of_node, "ti,tx-internal-delay", in dp83867_of_init()
126 return of_property_read_u32(of_node, "ti,fifo-depth", in dp83867_of_init()
Dmicrel.c303 if (!of_property_read_u32(of_node, field1, &val1)) in ksz9021_load_values_from_of()
306 if (!of_property_read_u32(of_node, field2, &val2)) in ksz9021_load_values_from_of()
309 if (!of_property_read_u32(of_node, field3, &val3)) in ksz9021_load_values_from_of()
312 if (!of_property_read_u32(of_node, field4, &val4)) in ksz9021_load_values_from_of()
419 if (!of_property_read_u32(of_node, field[i], val + i)) in ksz9031_of_load_skew_values()
589 ret = of_property_read_u32(np, "micrel,led-mode", in kszphy_probe()
/linux-4.4.14/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c186 if (of_property_read_u32(np, "slew-delay-us", &arb->slew_delay_us)) in i2c_arbitrator_probe()
188 if (of_property_read_u32(np, "wait-retry-us", &arb->wait_retry_us)) in i2c_arbitrator_probe()
190 if (of_property_read_u32(np, "wait-free-us", &arb->wait_free_us)) in i2c_arbitrator_probe()
Di2c-mux-reg.c144 of_property_read_u32(child, "reg", values + i); in i2c_mux_reg_probe_dt()
149 if (!of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_reg_probe_dt()
Di2c-mux-gpio.c97 of_property_read_u32(child, "reg", values + i); in i2c_mux_gpio_probe_dt()
102 if (of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_gpio_probe_dt()
/linux-4.4.14/drivers/gpu/drm/panel/
Dpanel-samsung-ld9040.c305 of_property_read_u32(np, "power-on-delay", &ctx->power_on_delay); in ld9040_parse_dt()
306 of_property_read_u32(np, "reset-delay", &ctx->reset_delay); in ld9040_parse_dt()
307 of_property_read_u32(np, "panel-width-mm", &ctx->width_mm); in ld9040_parse_dt()
308 of_property_read_u32(np, "panel-height-mm", &ctx->height_mm); in ld9040_parse_dt()
Dpanel-samsung-s6e8aa0.c964 of_property_read_u32(np, "power-on-delay", &ctx->power_on_delay); in s6e8aa0_parse_dt()
965 of_property_read_u32(np, "reset-delay", &ctx->reset_delay); in s6e8aa0_parse_dt()
966 of_property_read_u32(np, "init-delay", &ctx->init_delay); in s6e8aa0_parse_dt()
967 of_property_read_u32(np, "panel-width-mm", &ctx->width_mm); in s6e8aa0_parse_dt()
968 of_property_read_u32(np, "panel-height-mm", &ctx->height_mm); in s6e8aa0_parse_dt()
/linux-4.4.14/drivers/firmware/
Dpsci.c402 if (!of_property_read_u32(np, "cpu_suspend", &id)) { in psci_0_1_init()
407 if (!of_property_read_u32(np, "cpu_off", &id)) { in psci_0_1_init()
412 if (!of_property_read_u32(np, "cpu_on", &id)) { in psci_0_1_init()
417 if (!of_property_read_u32(np, "migrate", &id)) { in psci_0_1_init()
/linux-4.4.14/drivers/dma/
Dti-dma-crossbar.c152 if (of_property_read_u32(dma_node, "dma-requests", in ti_am335x_xbar_probe()
161 if (of_property_read_u32(node, "dma-requests", &xbar->xbar_events)) { in ti_am335x_xbar_probe()
316 if (of_property_read_u32(dma_node, "dma-requests", in ti_dra7_xbar_probe()
325 if (of_property_read_u32(node, "dma-requests", &xbar->xbar_requests)) { in ti_dra7_xbar_probe()
332 if (!of_property_read_u32(node, "ti,dma-safe-map", &safe_val)) in ti_dra7_xbar_probe()
Ddma-axi-dmac.c504 ret = of_property_read_u32(of_chan, "reg", &val); in axi_dmac_parse_chan_dt()
512 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); in axi_dmac_parse_chan_dt()
519 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); in axi_dmac_parse_chan_dt()
526 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); in axi_dmac_parse_chan_dt()
531 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); in axi_dmac_parse_chan_dt()
536 ret = of_property_read_u32(of_chan, "adi,length-width", &val); in axi_dmac_parse_chan_dt()
Dlpc18xx-dmamux.c130 ret = of_property_read_u32(np, "dma-requests", in lpc18xx_dmamux_probe()
143 ret = of_property_read_u32(dma_np, "dma-requests", in lpc18xx_dmamux_probe()
/linux-4.4.14/drivers/i2c/busses/
Di2c-designware-platdrv.c167 of_property_read_u32(pdev->dev.of_node, in dw_i2c_plat_probe()
170 of_property_read_u32(pdev->dev.of_node, in dw_i2c_plat_probe()
173 of_property_read_u32(pdev->dev.of_node, in dw_i2c_plat_probe()
177 of_property_read_u32(pdev->dev.of_node, "clock-frequency", in dw_i2c_plat_probe()
Di2c-ocores.c346 if (of_property_read_u32(np, "reg-shift", &i2c->reg_shift)) { in ocores_i2c_of_probe()
348 if (!of_property_read_u32(np, "regstep", &val)) { in ocores_i2c_of_probe()
360 clock_frequency_present = !of_property_read_u32(np, "clock-frequency", in ocores_i2c_of_probe()
380 if (of_property_read_u32(np, "opencores,ip-clock-frequency", in ocores_i2c_of_probe()
397 of_property_read_u32(pdev->dev.of_node, "reg-io-width", in ocores_i2c_of_probe()
Di2c-gpio.c114 of_property_read_u32(np, "i2c-gpio,delay-us", &pdata->udelay); in of_i2c_gpio_get_props()
116 if (!of_property_read_u32(np, "i2c-gpio,timeout-ms", &reg)) in of_i2c_gpio_get_props()
Di2c-efm32.c374 ret = of_property_read_u32(np, "energymicro,location", &location); in efm32_i2c_probe()
378 ret = of_property_read_u32(np, "efm32,location", &location); in efm32_i2c_probe()
391 ret = of_property_read_u32(np, "clock-frequency", &frequency); in efm32_i2c_probe()
Di2c-sun6i-p2wi.c197 of_property_read_u32(np, "clock-frequency", &clk_freq); in p2wi_probe()
224 ret = of_property_read_u32(childnp, "reg", &slave_addr); in p2wi_probe()
Di2c-rk3x.c882 if (of_property_read_u32(pdev->dev.of_node, "clock-frequency", in rk3x_i2c_probe()
900 if (of_property_read_u32(pdev->dev.of_node, "i2c-scl-rising-time-ns", in rk3x_i2c_probe()
907 if (of_property_read_u32(pdev->dev.of_node, "i2c-scl-falling-time-ns", in rk3x_i2c_probe()
910 if (of_property_read_u32(pdev->dev.of_node, "i2c-sda-falling-time-ns", in rk3x_i2c_probe()
/linux-4.4.14/drivers/irqchip/
Dirq-crossbar.c214 of_property_read_u32(node, "ti,max-crossbar-sources", in crossbar_of_init()
222 of_property_read_u32(node, "ti,max-irqs", &max); in crossbar_of_init()
278 of_property_read_u32(node, "ti,reg-size", &size); in crossbar_of_init()
309 of_property_read_u32(node, "ti,irqs-safe-map", &cb->safe_map); in crossbar_of_init()
Dirq-versatile-fpga.c200 if (of_property_read_u32(node, "clear-mask", &clear_mask)) in fpga_irq_of_init()
203 if (of_property_read_u32(node, "valid-mask", &valid_mask)) in fpga_irq_of_init()
Dirq-moxart.c91 ret = of_property_read_u32(node, "interrupt-mask", in moxart_of_intc_init()
Dirq-mmp.c348 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", &nr_irqs); in mmp_init_bases()
434 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", in mmp2_mux_of_init()
470 if (!of_property_read_u32(node, "mrvl,clr-mfp-irq", in mmp2_mux_of_init()
Dirq-gic-v2m.c327 if (!of_property_read_u32(node, "arm,msi-base-spi", &v2m->spi_start) && in gicv2m_init_one()
328 !of_property_read_u32(node, "arm,msi-num-spis", &v2m->nr_spis)) { in gicv2m_init_one()
/linux-4.4.14/drivers/watchdog/
Dof_xilinx_wdt.c168 rc = of_property_read_u32(pdev->dev.of_node, "clock-frequency", &pfreq); in xwdt_probe()
173 rc = of_property_read_u32(pdev->dev.of_node, "xlnx,wdt-interval", in xwdt_probe()
179 rc = of_property_read_u32(pdev->dev.of_node, "xlnx,wdt-enable-once", in xwdt_probe()
/linux-4.4.14/drivers/pinctrl/spear/
Dpinctrl-plgpio.c458 if (!of_property_read_u32(np, "st-plgpio,ngpio", &val)) { in plgpio_probe_dt()
465 if (!of_property_read_u32(np, "st-plgpio,enb-reg", &val)) in plgpio_probe_dt()
470 if (!of_property_read_u32(np, "st-plgpio,wdata-reg", &val)) { in plgpio_probe_dt()
477 if (!of_property_read_u32(np, "st-plgpio,dir-reg", &val)) { in plgpio_probe_dt()
484 if (!of_property_read_u32(np, "st-plgpio,ie-reg", &val)) { in plgpio_probe_dt()
491 if (!of_property_read_u32(np, "st-plgpio,rdata-reg", &val)) { in plgpio_probe_dt()
498 if (!of_property_read_u32(np, "st-plgpio,mis-reg", &val)) { in plgpio_probe_dt()
505 if (!of_property_read_u32(np, "st-plgpio,eit-reg", &val)) in plgpio_probe_dt()
/linux-4.4.14/drivers/power/
Dcharger-manager.c1508 of_property_read_u32(np, "cm-poll-mode", &poll_mode); in of_cm_parse_desc()
1511 of_property_read_u32(np, "cm-poll-interval", in of_cm_parse_desc()
1514 of_property_read_u32(np, "cm-fullbatt-vchkdrop-ms", in of_cm_parse_desc()
1516 of_property_read_u32(np, "cm-fullbatt-vchkdrop-volt", in of_cm_parse_desc()
1518 of_property_read_u32(np, "cm-fullbatt-voltage", &desc->fullbatt_uV); in of_cm_parse_desc()
1519 of_property_read_u32(np, "cm-fullbatt-soc", &desc->fullbatt_soc); in of_cm_parse_desc()
1520 of_property_read_u32(np, "cm-fullbatt-capacity", in of_cm_parse_desc()
1523 of_property_read_u32(np, "cm-battery-stat", &battery_stat); in of_cm_parse_desc()
1527 of_property_read_u32(np, "cm-num-chargers", &num_chgs); in of_cm_parse_desc()
1546 of_property_read_u32(np, "cm-battery-cold", &desc->temp_min); in of_cm_parse_desc()
[all …]
Dmax8925_power.c482 of_property_read_u32(np, "topoff-threshold", &topoff_threshold); in max8925_power_dt_init()
483 of_property_read_u32(np, "batt-detect", &batt_detect); in max8925_power_dt_init()
484 of_property_read_u32(np, "fast-charge", &fast_charge); in max8925_power_dt_init()
485 of_property_read_u32(np, "no-insert-detect", &no_insert_detect); in max8925_power_dt_init()
486 of_property_read_u32(np, "no-temp-support", &no_temp_support); in max8925_power_dt_init()
Dmax77693_charger.c647 if (of_property_read_u32(np, "maxim,constant-microvolt", in max77693_dt_init()
651 if (of_property_read_u32(np, "maxim,min-system-microvolt", in max77693_dt_init()
655 if (of_property_read_u32(np, "maxim,thermal-regulation-celsius", in max77693_dt_init()
659 if (of_property_read_u32(np, "maxim,battery-overcurrent-microamp", in max77693_dt_init()
663 if (of_property_read_u32(np, "maxim,charge-input-threshold-microvolt", in max77693_dt_init()
Dmax14577_charger.c482 ret = of_property_read_u32(np, "maxim,constant-uvolt", in max14577_charger_dt_init()
489 ret = of_property_read_u32(np, "maxim,fast-charge-uamp", in max14577_charger_dt_init()
496 ret = of_property_read_u32(np, "maxim,eoc-uamp", &pdata->eoc_uamp); in max14577_charger_dt_init()
502 ret = of_property_read_u32(np, "maxim,ovp-uvolt", &pdata->ovp_uvolt); in max14577_charger_dt_init()
Dbq24735-charger.c230 ret = of_property_read_u32(np, "ti,charge-current", &val); in bq24735_parse_dt_data()
234 ret = of_property_read_u32(np, "ti,charge-voltage", &val); in bq24735_parse_dt_data()
238 ret = of_property_read_u32(np, "ti,input-current", &val); in bq24735_parse_dt_data()
/linux-4.4.14/drivers/pci/host/
Dpcie-iproc-platform.c60 ret = of_property_read_u32(np, "brcm,pcie-ob-axi-offset", in iproc_pcie_pltfm_probe()
69 ret = of_property_read_u32(np, "brcm,pcie-ob-window-size", in iproc_pcie_pltfm_probe()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_lvdscon.c107 of_property_read_u32(np, "width-mm", &lvdscon->panel.width_mm); in rcar_du_lvds_connector_init()
108 of_property_read_u32(np, "height-mm", &lvdscon->panel.height_mm); in rcar_du_lvds_connector_init()
/linux-4.4.14/drivers/clk/socfpga/
Dclk-periph.c73 of_property_read_u32(node, "reg", &reg); in __socfpga_periph_init()
90 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in __socfpga_periph_init()
Dclk-periph-a10.c83 of_property_read_u32(node, "reg", &reg); in __socfpga_periph_init()
100 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in __socfpga_periph_init()
Dclk-pll.c95 of_property_read_u32(node, "reg", &reg); in __socfpga_pll_init()
Dclk-pll-a10.c90 of_property_read_u32(node, "reg", &reg); in __socfpga_pll_init()
/linux-4.4.14/drivers/clocksource/
Ddw_apb_timer_of.c57 if (of_property_read_u32(np, "clock-freq", rate) && in timer_get_base_and_rate()
58 of_property_read_u32(np, "clock-frequency", rate)) in timer_get_base_and_rate()
Dqcom-timer.c246 if (of_property_read_u32(np, "cpu-offset", &percpu_offset)) in msm_dt_timer_init()
260 if (of_property_read_u32(np, "clock-frequency", &freq)) { in msm_dt_timer_init()
Darmv7m_systick.c37 ret = of_property_read_u32(np, "clock-frequency", &rate); in system_timer_of_register()
Dclksrc_st_lpc.c100 ret = of_property_read_u32(np, "st,lpc-mode", &mode); in st_clksrc_of_register()
Dbcm2835_timer.c94 if (of_property_read_u32(node, "clock-frequency", &freq)) in bcm2835_timer_init()
/linux-4.4.14/drivers/video/backlight/
Dtps65217_bl.c202 if (!of_property_read_u32(node, "isel", &val)) { in tps65217_bl_parse_dt()
215 if (!of_property_read_u32(node, "fdim", &val)) { in tps65217_bl_parse_dt()
241 if (!of_property_read_u32(node, "default-brightness", &val)) { in tps65217_bl_parse_dt()
Dpm8941-wled.c324 rc = of_property_read_u32(dev->of_node, "reg", &val); in pm8941_wled_configure()
337 rc = of_property_read_u32(dev->of_node, u32_opts[i].name, &val); in pm8941_wled_configure()
403 of_property_read_u32(pdev->dev.of_node, "default-brightness", &val); in pm8941_wled_probe()
D88pm860x_bl.c178 of_property_read_u32(np, "marvell,88pm860x-iset", in pm860x_backlight_dt_init()
181 of_property_read_u32(np, "marvell,88pm860x-pwm", in pm860x_backlight_dt_init()
Dsky81452-backlight.c218 ret = of_property_read_u32(np, in sky81452_bl_parse_dt()
224 ret = of_property_read_u32(np, "skyworks,current-limit-mA", in sky81452_bl_parse_dt()
/linux-4.4.14/drivers/hwmon/
Dibmpowernv.c140 if (!of_property_read_u32(np, "ibm,pir", &id)) { in make_sensor_label()
161 if (!of_property_read_u32(np, "ibm,chip-id", &id)) in make_sensor_label()
383 if (of_property_read_u32(np, "sensor-id", &sensor_id) && in create_device_attrs()
384 of_property_read_u32(np, "sensor-data", &sensor_id)) { in create_device_attrs()
Dads1015.c192 if (of_property_read_u32(node, "reg", &pval)) { in ads1015_get_channels_config_of()
206 if (!of_property_read_u32(node, "ti,gain", &pval)) { in ads1015_get_channels_config_of()
215 if (!of_property_read_u32(node, "ti,datarate", &pval)) { in ads1015_get_channels_config_of()
/linux-4.4.14/drivers/thermal/samsung/
Dexynos_tmu.c1139 ret = of_property_read_u32(np, "samsung,tmu_gain", &value); in exynos_of_sensor_conf()
1141 of_property_read_u32(np, "samsung,tmu_reference_voltage", &value); in exynos_of_sensor_conf()
1143 of_property_read_u32(np, "samsung,tmu_noise_cancel_mode", &value); in exynos_of_sensor_conf()
1146 of_property_read_u32(np, "samsung,tmu_efuse_value", in exynos_of_sensor_conf()
1148 of_property_read_u32(np, "samsung,tmu_min_efuse_value", in exynos_of_sensor_conf()
1150 of_property_read_u32(np, "samsung,tmu_max_efuse_value", in exynos_of_sensor_conf()
1153 of_property_read_u32(np, "samsung,tmu_first_point_trim", &value); in exynos_of_sensor_conf()
1155 of_property_read_u32(np, "samsung,tmu_second_point_trim", &value); in exynos_of_sensor_conf()
1157 of_property_read_u32(np, "samsung,tmu_default_temp_offset", &value); in exynos_of_sensor_conf()
1160 of_property_read_u32(np, "samsung,tmu_cal_type", &pdata->cal_type); in exynos_of_sensor_conf()
[all …]
/linux-4.4.14/drivers/leds/
Dleds-syscon.c97 if (of_property_read_u32(np, "offset", &sled->offset)) in syscon_led_probe()
99 if (of_property_read_u32(np, "mask", &sled->mask)) in syscon_led_probe()
Dleds-ktd2692.c331 ret = of_property_read_u32(child_node, "led-max-microamp", in ktd2692_parse_dt()
338 ret = of_property_read_u32(child_node, "flash-max-microamp", in ktd2692_parse_dt()
345 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in ktd2692_parse_dt()
Dleds-bcm6358.c187 of_property_read_u32(np, "brcm,clk-div", &clk_div); in bcm6358_leds_probe()
208 if (of_property_read_u32(child, "reg", &reg)) in bcm6358_leds_probe()
Dleds-max77693.c644 of_property_read_u32(node, "maxim,boost-mode", &cfg->boost_mode); in max77693_led_parse_dt()
645 of_property_read_u32(node, "maxim,boost-mvout", &cfg->boost_vout); in max77693_led_parse_dt()
646 of_property_read_u32(node, "maxim,mvsys-min", &cfg->low_vsys); in max77693_led_parse_dt()
695 ret = of_property_read_u32(child_node, "led-max-microamp", in max77693_led_parse_dt()
702 ret = of_property_read_u32(child_node, "flash-max-microamp", in max77693_led_parse_dt()
710 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in max77693_led_parse_dt()
Dleds-aat1290.c284 ret = of_property_read_u32(child_node, "led-max-microamp", in aat1290_led_parse_dt()
294 ret = of_property_read_u32(child_node, "flash-max-microamp", in aat1290_led_parse_dt()
302 ret = of_property_read_u32(child_node, "flash-max-timeout-us", in aat1290_led_parse_dt()
Dleds-netxbig.c457 ret = of_property_read_u32(child, "mode-addr", in netxbig_leds_get_of_pdata()
462 ret = of_property_read_u32(child, "bright-addr", in netxbig_leds_get_of_pdata()
467 ret = of_property_read_u32(child, "max-brightness", in netxbig_leds_get_of_pdata()
/linux-4.4.14/drivers/usb/musb/
Domap2430.c573 of_property_read_u32(np, "mode", (u32 *)&pdata->mode); in omap2430_probe()
574 of_property_read_u32(np, "interface-type", in omap2430_probe()
576 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe()
577 of_property_read_u32(np, "ram-bits", (u32 *)&config->ram_bits); in omap2430_probe()
578 of_property_read_u32(np, "power", (u32 *)&pdata->power); in omap2430_probe()
580 ret = of_property_read_u32(np, "multipoint", &val); in omap2430_probe()
/linux-4.4.14/drivers/video/fbdev/
Dssd1307fb.c563 if (of_property_read_u32(node, "solomon,width", &par->width)) in ssd1307fb_probe()
566 if (of_property_read_u32(node, "solomon,height", &par->height)) in ssd1307fb_probe()
569 if (of_property_read_u32(node, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe()
572 if (of_property_read_u32(node, "solomon,com-offset", &par->com_offset)) in ssd1307fb_probe()
575 if (of_property_read_u32(node, "solomon,prechargep1", &par->prechargep1)) in ssd1307fb_probe()
578 if (of_property_read_u32(node, "solomon,prechargep2", &par->prechargep2)) in ssd1307fb_probe()
Dsimplefb.c106 ret = of_property_read_u32(np, "width", &params->width); in simplefb_parse_dt()
112 ret = of_property_read_u32(np, "height", &params->height); in simplefb_parse_dt()
118 ret = of_property_read_u32(np, "stride", &params->stride); in simplefb_parse_dt()
Dimxfb.c674 of_property_read_u32(np, "fsl,lpccr", &fbi->pwmr); in imxfb_init_fbinfo()
676 of_property_read_u32(np, "fsl,lscr1", &fbi->lscr1); in imxfb_init_fbinfo()
678 of_property_read_u32(np, "fsl,dmacr", &fbi->dmacr); in imxfb_init_fbinfo()
702 ret = of_property_read_u32(np, "bits-per-pixel", &bpp); in imxfb_of_read_mode()
703 ret |= of_property_read_u32(np, "fsl,pcr", &pcr); in imxfb_of_read_mode()
/linux-4.4.14/drivers/thermal/
Dof-thermal.c590 ret = of_property_read_u32(np, "contribution", &prop); in thermal_of_populate_bind_params()
688 ret = of_property_read_u32(np, "temperature", &prop); in thermal_of_populate_trip()
695 ret = of_property_read_u32(np, "hysteresis", &prop); in thermal_of_populate_trip()
746 ret = of_property_read_u32(np, "polling-delay-passive", &prop); in thermal_of_build_thermal_zone()
753 ret = of_property_read_u32(np, "polling-delay", &prop); in thermal_of_build_thermal_zone()
915 if (!of_property_read_u32(child, "sustainable-power", &prop)) in of_parse_thermal_zones()
Ddb8500_thermal.c328 if (of_property_read_u32(np, "num-trips", &tmp_data)) in db8500_thermal_parse_dt()
338 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
359 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
/linux-4.4.14/drivers/input/keyboard/
Dsun4i-lradc-keys.c186 error = of_property_read_u32(pp, "channel", &channel); in sun4i_lradc_load_dt_keymap()
192 error = of_property_read_u32(pp, "voltage", &map->voltage); in sun4i_lradc_load_dt_keymap()
198 error = of_property_read_u32(pp, "linux,code", &map->keycode); in sun4i_lradc_load_dt_keymap()
Dsamsung-keypad.c266 of_property_read_u32(np, "samsung,keypad-num-rows", &num_rows); in samsung_keypad_parse_dt()
267 of_property_read_u32(np, "samsung,keypad-num-columns", &num_cols); in samsung_keypad_parse_dt()
293 of_property_read_u32(key_np, "keypad,row", &row); in samsung_keypad_parse_dt()
294 of_property_read_u32(key_np, "keypad,column", &col); in samsung_keypad_parse_dt()
295 of_property_read_u32(key_np, "linux,code", &key_code); in samsung_keypad_parse_dt()
Dtc3589x-keypad.c338 of_property_read_u32(np, "keypad,num-columns", &cols); in tc3589x_keypad_of_probe()
339 of_property_read_u32(np, "keypad,num-rows", &rows); in tc3589x_keypad_of_probe()
362 of_property_read_u32(np, "debounce-delay-ms", &debounce_ms); in tc3589x_keypad_of_probe()
Dbcm-keypad.c263 of_property_read_u32(np, "status-debounce-filter-period", &dt_val); in bcm_kp_matrix_key_parse_dt()
277 of_property_read_u32(np, "col-debounce-filter-period", &dt_val); in bcm_kp_matrix_key_parse_dt()
396 error = of_property_read_u32(pdev->dev.of_node, in bcm_kp_probe()
Dnspire-keypad.c185 error = of_property_read_u32(of_node, "scan-interval", in nspire_keypad_probe()
192 error = of_property_read_u32(of_node, "row-delay", in nspire_keypad_probe()
Dpxa27x_keypad.c163 error = of_property_read_u32(np, "marvell,direct-key-count", in pxa27x_keypad_direct_key_parse_dt()
173 error = of_property_read_u32(np, "marvell,direct-key-mask", in pxa27x_keypad_direct_key_parse_dt()
224 relkey_ret = of_property_read_u32(np, relkeyname, &code); in pxa27x_keypad_rotary_parse_dt()
316 error = of_property_read_u32(np, "marvell,debounce-interval", in pxa27x_keypad_build_keycode_from_dt()
Dlpc32xx-keys.c159 of_property_read_u32(np, "nxp,debounce-delay-ms", &kscandat->deb_clks); in lpc32xx_parse_dt()
160 of_property_read_u32(np, "nxp,scan-delay-ms", &kscandat->scan_delay); in lpc32xx_parse_dt()
Dspear-keyboard.c163 if (of_property_read_u32(np, "suspended_rate", &suspended_rate)) in spear_kbd_parse_dt()
166 error = of_property_read_u32(np, "st,mode", &val); in spear_kbd_parse_dt()
Dstmpe-keypad.c345 of_property_read_u32(np, "debounce-interval", &keypad->debounce_ms); in stmpe_keypad_probe()
346 of_property_read_u32(np, "st,scan-count", &keypad->scan_count); in stmpe_keypad_probe()
Dpmic8xxx-keypad.c409 if (of_property_read_u32(of_node, "scan-delay", &scan_delay_ms)) in pmic8xxx_kpd_init()
418 if (of_property_read_u32(of_node, "row-hold", &row_hold_ns)) in pmic8xxx_kpd_init()
428 if (of_property_read_u32(of_node, "debounce", &debounce_ms)) in pmic8xxx_kpd_init()
/linux-4.4.14/arch/microblaze/kernel/
Dintc.c147 ret = of_property_read_u32(intc, "xlnx,num-intr-inputs", &nr_irq); in xilinx_intc_of_init()
153 ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &intr_mask); in xilinx_intc_of_init()
Dtimer.c275 of_property_read_u32(timer, "xlnx,one-timer-only", &timer_num); in xilinx_timer_init()
287 of_property_read_u32(timer, "clock-frequency", in xilinx_timer_init()
/linux-4.4.14/drivers/input/
Dmatrix-keymap.c62 of_property_read_u32(np, "keypad,num-rows", rows); in matrix_keypad_parse_of_params()
63 of_property_read_u32(np, "keypad,num-columns", cols); in matrix_keypad_parse_of_params()
/linux-4.4.14/sound/soc/fsl/
Deukrea-tlv320.c118 ret = of_property_read_u32(np, "fsl,mux-int-port", &int_port); in eukrea_tlv320_probe()
124 ret = of_property_read_u32(np, "fsl,mux-ext-port", &ext_port); in eukrea_tlv320_probe()
Dfsl-asoc-card.c294 ret = of_property_read_u32(np, "mux-int-port", &int_port); in fsl_asoc_card_audmux_init()
299 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in fsl_asoc_card_audmux_init()
601 ret = of_property_read_u32(cpu_np, "cell-index", &idx); in fsl_asoc_card_probe()
630 ret = of_property_read_u32(asrc_np, "fsl,asrc-rate", in fsl_asoc_card_probe()
638 ret = of_property_read_u32(asrc_np, "fsl,asrc-width", &width); in fsl_asoc_card_probe()
Dimx-es8328.c88 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_es8328_probe()
99 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_es8328_probe()
Dimx-sgtl5000.c68 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_sgtl5000_probe()
73 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_sgtl5000_probe()
Dimx-wm8962.c165 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_wm8962_probe()
170 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_wm8962_probe()
/linux-4.4.14/drivers/clk/at91/
Dclk-slow.c173 of_property_read_u32(np, "atmel,startup-time-usec", &startup); in of_at91sam9x5_clk_slow_osc_setup()
282 of_property_read_u32(np, "clock-frequency", &frequency); in of_at91sam9x5_clk_slow_rc_osc_setup()
283 of_property_read_u32(np, "clock-accuracy", &accuracy); in of_at91sam9x5_clk_slow_rc_osc_setup()
284 of_property_read_u32(np, "atmel,startup-time-usec", &startup); in of_at91sam9x5_clk_slow_rc_osc_setup()
/linux-4.4.14/drivers/media/i2c/
Dadp1653.c441 if (of_property_read_u32(child, "flash-timeout-us", in adp1653_of_init()
445 if (of_property_read_u32(child, "flash-max-microamp", in adp1653_of_init()
451 if (of_property_read_u32(child, "led-max-microamp", in adp1653_of_init()
462 if (of_property_read_u32(child, "led-max-microamp", in adp1653_of_init()
/linux-4.4.14/arch/c6x/platforms/
Dplldata.c437 err = of_property_read_u32(node, "clock-frequency", &val); in c64x_setup_clocks()
445 err = of_property_read_u32(node, "ti,c64x+pll-bypass-delay", &val); in c64x_setup_clocks()
450 err = of_property_read_u32(node, "ti,c64x+pll-reset-delay", &val); in c64x_setup_clocks()
455 err = of_property_read_u32(node, "ti,c64x+pll-lock-delay", &val); in c64x_setup_clocks()
Dtimer64.c186 err = of_property_read_u32(np, "ti,core-mask", &val); in timer64_init()
220 err = of_property_read_u32(np, "ti,dscr-dev-enable", &val); in timer64_init()
/linux-4.4.14/drivers/mmc/core/
Dhost.c171 if (of_property_read_u32(np, "bus-width", &bus_width) < 0) { in mmc_of_parse()
193 of_property_read_u32(np, "max-frequency", &host->f_max); in mmc_of_parse()
293 host->dsr_req = !of_property_read_u32(np, "dsr", &host->dsr); in mmc_of_parse()
/linux-4.4.14/arch/xtensa/platforms/xtfpga/
Dsetup.c92 if (!of_property_read_u32(node, "clock-frequency", &freq) && freq != 0) in update_clock_frequency()
177 if (!of_property_read_u32(cpu, "clock-frequency", &freq)) in platform_calibrate_ccount()
/linux-4.4.14/drivers/staging/iio/adc/
Dspear_adc.c317 if (of_property_read_u32(np, "sampling-frequency", in spear_adc_probe()
328 of_property_read_u32(np, "average-samples", &st->avg_samples); in spear_adc_probe()
334 of_property_read_u32(np, "vref-external", &st->vref_external); in spear_adc_probe()
/linux-4.4.14/drivers/misc/lis3lv02d/
Dlis3lv02d.c977 if (!of_property_read_u32(np, "st,click-threshold-x", &val)) in lis3lv02d_init_dt()
979 if (!of_property_read_u32(np, "st,click-threshold-y", &val)) in lis3lv02d_init_dt()
981 if (!of_property_read_u32(np, "st,click-threshold-z", &val)) in lis3lv02d_init_dt()
984 if (!of_property_read_u32(np, "st,click-time-limit", &val)) in lis3lv02d_init_dt()
986 if (!of_property_read_u32(np, "st,click-latency", &val)) in lis3lv02d_init_dt()
988 if (!of_property_read_u32(np, "st,click-window", &val)) in lis3lv02d_init_dt()
1018 if (!of_property_read_u32(np, "st,wu-duration-1", &val)) in lis3lv02d_init_dt()
1020 if (!of_property_read_u32(np, "st,wu-duration-2", &val)) in lis3lv02d_init_dt()
1053 if (!of_property_read_u32(np, "st,highpass-cutoff-hz", &val)) { in lis3lv02d_init_dt()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dof.c42 if (of_property_read_u32(np, "brcm,drive-strength", &val) == 0) in brcmf_of_probe()
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_platform.c56 of_property_read_u32(np, "samsung,pbl", &dma_cfg->pbl); in sxgbe_probe_config_dt()
57 if (of_property_read_u32(np, "samsung,burst-map", &dma_cfg->burst_map) == 0) in sxgbe_probe_config_dt()
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-vip.c113 ret = of_property_read_u32(node, "xlnx,video-format", &vf_code); in xvip_of_get_format()
117 ret = of_property_read_u32(node, "xlnx,video-width", &width); in xvip_of_get_format()
/linux-4.4.14/drivers/mtd/devices/
Dpowernv_flash.c179 rc = of_property_read_u32(dev->of_node, "ibm,flash-block-size", in powernv_flash_set_driver_info()
229 ret = of_property_read_u32(dev->of_node, "ibm,opal-id", &(data->id)); in powernv_flash_probe()
/linux-4.4.14/arch/arm/mach-shmobile/
Dtimer.c53 if (!of_property_read_u32(np, "clock-frequency", &freq)) in shmobile_init_delay()
/linux-4.4.14/drivers/clk/h8300/
Dclk-div.c40 of_property_read_u32(node, "renesas,width", &width); in h8300_div_clk_setup()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-pxav2.c145 of_property_read_u32(np, "bus-width", &bus_width); in pxav2_get_mmc_pdata()
149 of_property_read_u32(np, "mrvl,clk-delay-cycles", &clk_delay_cycles); in pxav2_get_mmc_pdata()
Dsdhci-pltfm.c80 (of_property_read_u32(np, "bus-width", &bus_width) == 0 && in sdhci_get_of_property()
102 of_property_read_u32(np, "clock-frequency", &pltfm_host->clock); in sdhci_get_of_property()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-a10-hosc.c34 if (of_property_read_u32(node, "clock-frequency", &rate)) in sun4i_osc_clk_setup()
/linux-4.4.14/arch/arm/mach-axxia/
Dplatsmp.c72 if (of_property_read_u32(np, "cpu-release-addr", &release_phys)) in axxia_smp_prepare_cpus()
/linux-4.4.14/drivers/cpufreq/
Dpowernv-cpufreq.c88 if (of_property_read_u32(power_mgt, "ibm,pstate-min", &pstate_min)) { in init_powernv_pstates()
93 if (of_property_read_u32(power_mgt, "ibm,pstate-max", &pstate_max)) { in init_powernv_pstates()
98 if (of_property_read_u32(power_mgt, "ibm,pstate-nominal", in init_powernv_pstates()
Darm_big_little_dt.c74 of_property_read_u32(np, "clock-latency", &transition_latency); in dt_get_transition_latency()
/linux-4.4.14/drivers/mfd/
Datmel-flexcom.c52 err = of_property_read_u32(np, "atmel,flexcom-mode", &opmode); in atmel_flexcom_probe()
Dsmsc-ece1099.c58 of_property_read_u32(i2c->dev.of_node, "clock", &smsc->clk); in smsc_i2c_probe()
Dti_am335x_tscadc.c157 of_property_read_u32(node, "ti,wires", &tsc_wires); in ti_tscadc_probe()
158 of_property_read_u32(node, "ti,coordiante-readouts", &readouts); in ti_tscadc_probe()
Dpalmas.c401 ret = of_property_read_u32(node, "ti,mux-pad1", &prop); in palmas_dt_to_pdata()
407 ret = of_property_read_u32(node, "ti,mux-pad2", &prop); in palmas_dt_to_pdata()
414 ret = of_property_read_u32(node, "ti,power-ctrl", &prop); in palmas_dt_to_pdata()
/linux-4.4.14/arch/arm/mach-socfpga/
Dsocfpga.c41 if (of_property_read_u32(np, "cpu1-start-addr", in socfpga_sysmgr_init()
/linux-4.4.14/drivers/ata/
Dahci_platform.c54 of_property_read_u32(dev->of_node, in ahci_probe()
/linux-4.4.14/drivers/uio/
Duio_fsl_elbc_gpcm.c260 ret = of_property_read_u32(node, "reg", &priv->bank); in get_of_data()
267 ret = of_property_read_u32(node, "elbc-gpcm-br", reg_br); in get_of_data()
274 ret = of_property_read_u32(node, "elbc-gpcm-or", reg_or); in get_of_data()
/linux-4.4.14/drivers/clk/tegra/
Dclk-emc.c379 err = of_property_read_u32(node, "clock-frequency", &tmp); in load_one_timing_from_dt()
387 err = of_property_read_u32(node, "nvidia,parent-clock-frequency", &tmp); in load_one_timing_from_dt()
492 err = of_property_read_u32(node, "nvidia,ram-code", in tegra_clk_register_emc()
/linux-4.4.14/arch/microblaze/include/asm/
Dcpuinfo.h103 of_property_read_u32(cpu, n, &val); in fcpu()
/linux-4.4.14/arch/arm/mach-sti/
Dplatsmp.c126 if (of_property_read_u32(np, "cpu-release-addr", in sti_smp_prepare_cpus()
/linux-4.4.14/arch/arm/mach-prima2/
Dpm.c111 if (of_property_read_u32(np, "reg", &sirfsoc_pwrc_base)) in sirfsoc_of_pwrc_init()
/linux-4.4.14/drivers/gpu/drm/msm/adreno/
Dadreno_device.c176 ret = of_property_read_u32(node, "qcom,chipid", &val); in adreno_bind()
192 ret = of_property_read_u32(pwrlvl, "qcom,gpu-freq", &val); in adreno_bind()
/linux-4.4.14/drivers/char/ipmi/
Dipmi_powernv.c234 rc = of_property_read_u32(dev->of_node, "ibm,ipmi-interface-id", in ipmi_powernv_probe()
242 rc = of_property_read_u32(dev->of_node, "interrupts", &prop); in ipmi_powernv_probe()
/linux-4.4.14/drivers/iio/adc/
Dat91_adc.c829 ret = of_property_read_u32(node, "atmel,adc-ts-wires", &prop); in at91_adc_probe_dt_ts()
848 of_property_read_u32(node, "atmel,adc-ts-pressure-threshold", &prop); in at91_adc_probe_dt_ts()
875 if (of_property_read_u32(node, "atmel,adc-channels-used", &prop)) { in at91_adc_probe_dt()
884 if (of_property_read_u32(node, "atmel,adc-startup-time", &prop)) { in at91_adc_probe_dt()
892 of_property_read_u32(node, "atmel,adc-sample-hold-time", &prop); in at91_adc_probe_dt()
895 if (of_property_read_u32(node, "atmel,adc-vref", &prop)) { in at91_adc_probe_dt()
929 if (of_property_read_u32(trig_node, "trigger-value", &prop)) { in at91_adc_probe_dt()
Dqcom-spmi-vadc.c739 ret = of_property_read_u32(node, "reg", &chan); in vadc_get_dt_channel_data()
753 ret = of_property_read_u32(node, "qcom,decimation", &value); in vadc_get_dt_channel_data()
779 ret = of_property_read_u32(node, "qcom,hw-settle-time", &value); in vadc_get_dt_channel_data()
792 ret = of_property_read_u32(node, "qcom,avg-samples", &value); in vadc_get_dt_channel_data()
943 ret = of_property_read_u32(node, "reg", &reg); in vadc_probe()
/linux-4.4.14/arch/mips/bmips/
Dsetup.c133 if (of_property_read_u32(np, "mips-hpt-frequency", &freq) < 0) in plat_time_init()
/linux-4.4.14/drivers/spi/
Dspi-efm32.c297 ret = of_property_read_u32(np, "energymicro,location", &location); in efm32_spi_probe_dt()
301 ret = of_property_read_u32(np, "efm32,location", &location); in efm32_spi_probe_dt()
305 ret = of_property_read_u32(np, "location", &location); in efm32_spi_probe_dt()
Dspi-fsl-dspi.c469 of_property_read_u32(spi->dev.of_node, "fsl,spi-cs-sck-delay", in dspi_setup()
472 of_property_read_u32(spi->dev.of_node, "fsl,spi-sck-cs-delay", in dspi_setup()
671 ret = of_property_read_u32(np, "spi-num-chipselects", &cs_num); in dspi_probe()
678 ret = of_property_read_u32(np, "bus-num", &bus_num); in dspi_probe()
/linux-4.4.14/drivers/usb/host/
Dohci-pxa27x.c382 if (!of_property_read_u32(np, "marvell,power-on-delay", &tmp)) in ohci_pxa_of_init()
384 if (!of_property_read_u32(np, "marvell,port-mode", &tmp)) in ohci_pxa_of_init()
386 if (!of_property_read_u32(np, "marvell,power-budget", &tmp)) in ohci_pxa_of_init()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_dp_core.c1156 if (of_property_read_u32(dp_node, "samsung,color-space", in exynos_dp_dt_parse_pdata()
1162 if (of_property_read_u32(dp_node, "samsung,dynamic-range", in exynos_dp_dt_parse_pdata()
1168 if (of_property_read_u32(dp_node, "samsung,ycbcr-coeff", in exynos_dp_dt_parse_pdata()
1174 if (of_property_read_u32(dp_node, "samsung,color-depth", in exynos_dp_dt_parse_pdata()
1180 if (of_property_read_u32(dp_node, "samsung,link-rate", in exynos_dp_dt_parse_pdata()
1186 if (of_property_read_u32(dp_node, "samsung,lane-count", in exynos_dp_dt_parse_pdata()
/linux-4.4.14/arch/arm/mach-bcm/
Dkona_smp.c101 if (of_property_read_u32(node, OF_SECONDARY_BOOT, &secondary_boot)) { in bcm_smp_prepare_cpus()
/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_drv.c450 of_property_read_u32(np, "renesas,#rpf", &pdata->rpf_count); in vsp1_parse_dt()
451 of_property_read_u32(np, "renesas,#uds", &pdata->uds_count); in vsp1_parse_dt()
452 of_property_read_u32(np, "renesas,#wpf", &pdata->wpf_count); in vsp1_parse_dt()
/linux-4.4.14/arch/mips/cavium-octeon/
Dflash_setup.c77 r = of_property_read_u32(np, "reg", &cs); in octeon_flash_probe()
/linux-4.4.14/drivers/net/ethernet/xilinx/
Dll_temac_mdio.c69 if (of_property_read_u32(np, "clock-frequency", &bus_hz) == 0) { in temac_mdio_setup()
/linux-4.4.14/drivers/usb/misc/
Dusb3503.c192 if (!of_property_read_u32(np, "refclk-frequency", &rate)) { in usb3503_probe()
261 of_property_read_u32(np, "initial-mode", &mode); in usb3503_probe()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dsdio.c249 of_property_read_u32(np, "ref-clock-frequency", in wlcore_probe_of()
251 of_property_read_u32(np, "tcxo-clock-frequency", in wlcore_probe_of()
/linux-4.4.14/drivers/usb/common/
Dcommon.c159 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { in of_usb_update_otg_caps()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss-of.c120 r = of_property_read_u32(port, "reg", &reg); in dss_of_port_get_port_number()
/linux-4.4.14/drivers/phy/
Dphy-rockchip-usb.c116 if (of_property_read_u32(child, "reg", &reg_offset)) { in rockchip_usb_phy_probe()

1234