/linux-4.1.27/drivers/memory/ |
D | of_memory.c | 40 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 …]
|
D | ti-aemif.c | 271 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()
|
D | omap-gpmc.c | 1682 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt() 1683 of_property_read_u32(np, "gpmc,mux-add-data", &p->mux_add_data); in gpmc_read_settings_dt() 1685 if (!of_property_read_u32(np, "gpmc,burst-length", &p->burst_len)) { in gpmc_read_settings_dt() 1694 if (!of_property_read_u32(np, "gpmc,wait-pin", &p->wait_pin)) { in gpmc_read_settings_dt() 1716 of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); in gpmc_read_timings_dt() 1719 of_property_read_u32(np, "gpmc,cs-on-ns", &gpmc_t->cs_on); in gpmc_read_timings_dt() 1720 of_property_read_u32(np, "gpmc,cs-rd-off-ns", &gpmc_t->cs_rd_off); in gpmc_read_timings_dt() 1721 of_property_read_u32(np, "gpmc,cs-wr-off-ns", &gpmc_t->cs_wr_off); in gpmc_read_timings_dt() 1724 of_property_read_u32(np, "gpmc,adv-on-ns", &gpmc_t->adv_on); in gpmc_read_timings_dt() 1725 of_property_read_u32(np, "gpmc,adv-rd-off-ns", &gpmc_t->adv_rd_off); in gpmc_read_timings_dt() [all …]
|
D | jz4780-nemc.c | 186 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()
|
D | mvebu-devbus.c | 106 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.1.27/drivers/media/v4l2-core/ |
D | v4l2-of.c | 64 if (!of_property_read_u32(node, "clock-lanes", &v)) { in v4l2_of_parse_csi_bus() 87 if (!of_property_read_u32(node, "hsync-active", &v)) in v4l2_of_parse_parallel_bus() 91 if (!of_property_read_u32(node, "vsync-active", &v)) in v4l2_of_parse_parallel_bus() 95 if (!of_property_read_u32(node, "pclk-sample", &v)) in v4l2_of_parse_parallel_bus() 99 if (!of_property_read_u32(node, "field-even-active", &v)) in v4l2_of_parse_parallel_bus() 107 if (!of_property_read_u32(node, "data-active", &v)) in v4l2_of_parse_parallel_bus() 116 if (!of_property_read_u32(node, "bus-width", &v)) in v4l2_of_parse_parallel_bus() 119 if (!of_property_read_u32(node, "data-shift", &v)) in v4l2_of_parse_parallel_bus() 122 if (!of_property_read_u32(node, "sync-on-green-active", &v)) in v4l2_of_parse_parallel_bus() 193 of_property_read_u32(np, "reg", &link->local_port); in v4l2_of_parse_link() [all …]
|
/linux-4.1.27/drivers/regulator/ |
D | anatop-regulator.c | 212 ret = of_property_read_u32(np, "anatop-reg-offset", in anatop_regulator_probe() 218 ret = of_property_read_u32(np, "anatop-vol-bit-width", in anatop_regulator_probe() 224 ret = of_property_read_u32(np, "anatop-vol-bit-shift", in anatop_regulator_probe() 230 ret = of_property_read_u32(np, "anatop-min-bit-val", in anatop_regulator_probe() 236 ret = of_property_read_u32(np, "anatop-min-voltage", in anatop_regulator_probe() 242 ret = of_property_read_u32(np, "anatop-max-voltage", in anatop_regulator_probe() 250 of_property_read_u32(np, "anatop-delay-reg-offset", in anatop_regulator_probe() 252 of_property_read_u32(np, "anatop-delay-bit-width", in anatop_regulator_probe() 254 of_property_read_u32(np, "anatop-delay-bit-shift", in anatop_regulator_probe()
|
D | of_regulator.c | 54 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() 73 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); in of_get_regulation_constraints() 81 ret = of_property_read_u32(np, "regulator-enable-ramp-delay", &pval); in of_get_regulation_constraints() 85 if (!of_property_read_u32(np, "regulator-initial-mode", &pval)) { in of_get_regulation_constraints() 117 if (!of_property_read_u32(suspend_np, "regulator-mode", in of_get_regulation_constraints() 139 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
|
D | max8952.c | 153 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()
|
D | ti-abb-regulator.c | 427 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()
|
D | axp20x-regulator.c | 190 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq); in axp20x_regulator_parse_dt() 242 ret = of_property_read_u32(rdev->dev.of_node, in axp20x_regulator_probe()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_platform.c | 161 if (of_property_read_u32(np, "max-speed", &plat->max_speed)) in stmmac_probe_config_dt() 174 if (of_property_read_u32(np, "snps,phy-addr", &plat->phy_addr) == 0) in stmmac_probe_config_dt() 185 of_property_read_u32(np, "tx-fifo-depth", &plat->tx_fifo_size); in stmmac_probe_config_dt() 187 of_property_read_u32(np, "rx-fifo-depth", &plat->rx_fifo_size); in stmmac_probe_config_dt() 212 of_property_read_u32(np, "max-frame-size", &plat->maxmtu); in stmmac_probe_config_dt() 213 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt() 215 of_property_read_u32(np, "snps,perfect-filter-entries", in stmmac_probe_config_dt() 238 of_property_read_u32(np, "snps,pbl", &dma_cfg->pbl); in stmmac_probe_config_dt() 243 of_property_read_u32(np, "snps,burst_len", &dma_cfg->burst_len); in stmmac_probe_config_dt()
|
D | dwmac-rk.c | 351 ret = of_property_read_u32(dev->of_node, "tx_delay", &value); in rk_gmac_setup() 362 ret = of_property_read_u32(dev->of_node, "rx_delay", &value); in rk_gmac_setup()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | stmpe-ts.c | 291 if (!of_property_read_u32(np, "st,sample-time", &val)) in stmpe_ts_get_platform_info() 293 if (!of_property_read_u32(np, "st,mod-12b", &val)) in stmpe_ts_get_platform_info() 295 if (!of_property_read_u32(np, "st,ref-sel", &val)) in stmpe_ts_get_platform_info() 297 if (!of_property_read_u32(np, "st,adc-freq", &val)) in stmpe_ts_get_platform_info() 299 if (!of_property_read_u32(np, "st,ave-ctrl", &val)) in stmpe_ts_get_platform_info() 301 if (!of_property_read_u32(np, "st,touch-det-delay", &val)) in stmpe_ts_get_platform_info() 303 if (!of_property_read_u32(np, "st,settling", &val)) in stmpe_ts_get_platform_info() 305 if (!of_property_read_u32(np, "st,fraction-z", &val)) in stmpe_ts_get_platform_info() 307 if (!of_property_read_u32(np, "st,i-drive", &val)) in stmpe_ts_get_platform_info()
|
D | 88pm860x-ts.c | 136 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()
|
D | bcm_iproc_tsc.c | 343 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()
|
D | chipone_icn8318.c | 226 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()
|
D | tsc2007.c | 301 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()
|
D | ti_am335x_tsc.c | 346 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()
|
D | mms114.c | 394 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()
|
D | of_touchscreen.c | 22 of_property_read_u32(np, property, &val); in of_get_optional_u32()
|
D | sun4i-ts.c | 334 of_property_read_u32(np, "allwinner,tp-sensitive-adjust", in sun4i_ts_probe() 343 of_property_read_u32(np, "allwinner,filter-type", &filter_type); in sun4i_ts_probe()
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-xilinx.c | 266 of_property_read_u32(np, "xlnx,dout-default", &chip->gpio_state[0]); in xgpio_probe() 269 if (of_property_read_u32(np, "xlnx,tri-default", &chip->gpio_dir[0])) in xgpio_probe() 276 if (of_property_read_u32(np, "xlnx,gpio-width", &chip->gpio_width[0])) in xgpio_probe() 281 if (of_property_read_u32(np, "xlnx,is-dual", &is_dual)) in xgpio_probe() 286 of_property_read_u32(np, "xlnx,dout-default-2", in xgpio_probe() 290 if (of_property_read_u32(np, "xlnx,tri-default-2", in xgpio_probe() 298 if (of_property_read_u32(np, "xlnx,gpio2-width", in xgpio_probe()
|
D | gpio-spear-spics.c | 140 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()
|
D | gpio-twl4030.c | 463 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()
|
D | gpio-mm-lantiq.c | 122 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in ltq_mm_probe()
|
D | gpio-altera.c | 271 if (of_property_read_u32(node, "altr,ngpio", ®)) in altera_gpio_probe() 304 if (of_property_read_u32(node, "altr,interrupt-type", ®)) { in altera_gpio_probe()
|
/linux-4.1.27/drivers/power/reset/ |
D | gpio-restart.c | 86 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()
|
D | syscon-poweroff.c | 53 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()
|
D | syscon-reboot.c | 64 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()
|
D | hisi-reboot.c | 54 if (of_property_read_u32(np, "reboot-offset", &reboot_offset) < 0) { in hisi_reboot_probe()
|
D | xgene-reboot.c | 77 if (of_property_read_u32(dev->of_node, "mask", &ctx->mask)) in xgene_reboot_probe()
|
D | at91-poweroff.c | 103 if (!of_property_read_u32(np, "atmel,wakeup-counter", &tmp)) { in at91_poweroff_dt_set_wakeup_mode()
|
/linux-4.1.27/drivers/of/ |
D | of_mtd.c | 64 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()
|
D | of_mdio.c | 96 ret = of_property_read_u32(np, "reg", &addr); in of_mdio_parse_addr() 313 if (of_property_read_u32(fixed_link_node, "speed", &status.speed)) in of_phy_register_fixed_link()
|
/linux-4.1.27/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 324 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()
|
D | tilcdc_drv.c | 219 if (of_property_read_u32(node, "max-bandwidth", &priv->max_bandwidth)) in tilcdc_load() 224 if (of_property_read_u32(node, "ti,max-width", &priv->max_width)) in tilcdc_load() 229 if (of_property_read_u32(node, "ti,max-pixelclock", in tilcdc_load()
|
/linux-4.1.27/drivers/cpuidle/ |
D | dt_idle_states.c | 42 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.1.27/drivers/video/ |
D | of_display_timing.c | 41 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.1.27/drivers/tty/serial/ |
D | of_serial.c | 67 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup() 81 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup() 95 if (of_property_read_u32(np, "reg-offset", &prop) == 0) in of_platform_serial_setup() 99 if (of_property_read_u32(np, "reg-shift", &prop) == 0) in of_platform_serial_setup() 103 if (of_property_read_u32(np, "fifo-size", &prop) == 0) in of_platform_serial_setup() 113 if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { in of_platform_serial_setup()
|
/linux-4.1.27/drivers/net/can/sja1000/ |
D | sja1000_platform.c | 104 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.1.27/drivers/clk/keystone/ |
D | pll.c | 177 if (of_property_read_u32(node, "fixed-postdiv", &pll_data->postdiv)) { in _of_pll_clk_init() 274 if (of_property_read_u32(node, "bit-shift", &shift)) { in of_pll_div_clk_init() 279 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-4.1.27/drivers/input/misc/ |
D | twl6040-vibra.c | 283 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()
|
D | palmas-pwrbutton.c | 130 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()
|
D | regulator-haptic.c | 131 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()
|
D | drv260x.c | 479 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()
|
D | pm8941-pwrkey.c | 163 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()
|
D | rotary_encoder.c | 168 of_property_read_u32(np, "rotary-encoder,steps", &pdata->steps); in rotary_encoder_parse_dt() 169 of_property_read_u32(np, "linux,axis", &pdata->axis); in rotary_encoder_parse_dt()
|
/linux-4.1.27/drivers/iio/frequency/ |
D | adf4350.c | 396 of_property_read_u32(np, "adi,channel-spacing", &tmp); in adf4350_parse_dt() 400 of_property_read_u32(np, "adi,power-up-frequency", &tmp); in adf4350_parse_dt() 404 of_property_read_u32(np, "adi,reference-div-factor", &tmp); in adf4350_parse_dt() 430 of_property_read_u32(np, "adi,charge-pump-current", &tmp); in adf4350_parse_dt() 434 of_property_read_u32(np, "adi,muxout-select", &tmp); in adf4350_parse_dt() 458 of_property_read_u32(np, "adi,12bit-clk-divider", &tmp); in adf4350_parse_dt() 462 of_property_read_u32(np, "adi,clk-divider-mode", &tmp); in adf4350_parse_dt() 478 of_property_read_u32(np, "adi,output-power", &tmp); in adf4350_parse_dt() 482 of_property_read_u32(np, "adi,aux-output-power", &tmp); in adf4350_parse_dt()
|
/linux-4.1.27/drivers/clk/ti/ |
D | fixed-factor.c | 42 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup() 47 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { in of_ti_fixed_factor_clk_setup()
|
D | apll.c | 361 if (of_property_read_u32(node, "ti,clock-frequency", &val)) { in of_omap2_apll_setup() 367 if (of_property_read_u32(node, "ti,bit-shift", &val)) { in of_omap2_apll_setup() 376 if (of_property_read_u32(node, "ti,idlest-shift", &val)) { in of_omap2_apll_setup()
|
D | autoidle.c | 110 if (of_property_read_u32(node, "ti,autoidle-shift", &shift)) in of_ti_clk_autoidle_setup()
|
D | clk-dra7-atl.c | 269 ret = of_property_read_u32(cfg_node, "bws", in of_dra7_atl_clk_probe() 271 ret |= of_property_read_u32(cfg_node, "aws", in of_dra7_atl_clk_probe()
|
D | mux.c | 216 of_property_read_u32(node, "ti,bit-shift", &shift); in of_mux_clk_setup() 289 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in of_ti_composite_mux_clk_setup()
|
D | gate.c | 231 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()
|
D | divider.c | 493 if (of_property_read_u32(node, "ti,min-div", &min_div)) in _get_divider_width() 496 if (of_property_read_u32(node, "ti,max-div", &max_div)) { in _get_divider_width() 536 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in ti_clk_divider_populate()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | orion_nand.c | 106 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()
|
D | lpc32xx_mlc.c | 619 of_property_read_u32(np, "nxp,tcea-delay", &ncfg->tcea_delay); in lpc32xx_parse_dt() 620 of_property_read_u32(np, "nxp,busy-delay", &ncfg->busy_delay); in lpc32xx_parse_dt() 621 of_property_read_u32(np, "nxp,nand-ta", &ncfg->nand_ta); in lpc32xx_parse_dt() 622 of_property_read_u32(np, "nxp,rd-high", &ncfg->rd_high); in lpc32xx_parse_dt() 623 of_property_read_u32(np, "nxp,rd-low", &ncfg->rd_low); in lpc32xx_parse_dt() 624 of_property_read_u32(np, "nxp,wr-high", &ncfg->wr_high); in lpc32xx_parse_dt() 625 of_property_read_u32(np, "nxp,wr-low", &ncfg->wr_low); in lpc32xx_parse_dt()
|
D | lpc32xx_slc.c | 731 of_property_read_u32(np, "nxp,wdr-clks", &ncfg->wdr_clks); in lpc32xx_parse_dt() 732 of_property_read_u32(np, "nxp,wwidth", &ncfg->wwidth); in lpc32xx_parse_dt() 733 of_property_read_u32(np, "nxp,whold", &ncfg->whold); in lpc32xx_parse_dt() 734 of_property_read_u32(np, "nxp,wsetup", &ncfg->wsetup); in lpc32xx_parse_dt() 735 of_property_read_u32(np, "nxp,rdr-clks", &ncfg->rdr_clks); in lpc32xx_parse_dt() 736 of_property_read_u32(np, "nxp,rwidth", &ncfg->rwidth); in lpc32xx_parse_dt() 737 of_property_read_u32(np, "nxp,rhold", &ncfg->rhold); in lpc32xx_parse_dt() 738 of_property_read_u32(np, "nxp,rsetup", &ncfg->rsetup); in lpc32xx_parse_dt()
|
D | davinci_nand.c | 545 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata() 551 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata() 554 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata() 557 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata() 571 if (!of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata() 576 if (0 < prop || !of_property_read_u32(pdev->dev.of_node, in nand_davinci_get_pdata()
|
D | gpio.c | 113 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()
|
D | denali_dt.c | 81 if (!of_property_read_u32(ofdev->dev.of_node, in denali_dt_probe()
|
/linux-4.1.27/drivers/dma/dw/ |
D | platform.c | 116 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.1.27/arch/arm/firmware/ |
D | trusted_foundations.c | 90 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.1.27/arch/arm/kernel/ |
D | psci.c | 256 if (!of_property_read_u32(np, "cpu_suspend", &id)) { in psci_0_1_init() 261 if (!of_property_read_u32(np, "cpu_off", &id)) { in psci_0_1_init() 266 if (!of_property_read_u32(np, "cpu_on", &id)) { in psci_0_1_init() 271 if (!of_property_read_u32(np, "migrate", &id)) { in psci_0_1_init()
|
D | devtree.c | 101 if (of_property_read_u32(cpu, "reg", &hwid)) { in arm_dt_init_cpu_maps()
|
/linux-4.1.27/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 83 if (of_property_read_u32(np, "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.1.27/drivers/soc/qcom/ |
D | qcom_gsbi.c | 171 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.1.27/drivers/clk/ |
D | clk-xgene.c | 480 if (of_property_read_u32(np, "csr-offset", ¶meters.reg_csr_offset)) in xgene_devclk_init() 482 if (of_property_read_u32(np, "csr-mask", ¶meters.reg_csr_mask)) in xgene_devclk_init() 484 if (of_property_read_u32(np, "enable-offset", in xgene_devclk_init() 487 if (of_property_read_u32(np, "enable-mask", ¶meters.reg_clk_mask)) in xgene_devclk_init() 489 if (of_property_read_u32(np, "divider-offset", in xgene_devclk_init() 492 if (of_property_read_u32(np, "divider-width", in xgene_devclk_init() 495 if (of_property_read_u32(np, "divider-shift", in xgene_devclk_init()
|
D | clk-fixed-rate.c | 122 if (of_property_read_u32(node, "clock-frequency", &rate)) in of_fixed_clk_setup() 125 of_property_read_u32(node, "clock-accuracy", &accuracy); in of_fixed_clk_setup()
|
D | clk-fixed-factor.c | 113 if (of_property_read_u32(node, "clock-div", &div)) { in of_fixed_factor_clk_setup() 119 if (of_property_read_u32(node, "clock-mult", &mult)) { in of_fixed_factor_clk_setup()
|
D | clk-vt8500.c | 252 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", ®); in vtwm_pll_clk_init()
|
D | clk-si570.c | 426 err = of_property_read_u32(client->dev.of_node, in si570_probe() 446 err = of_property_read_u32(client->dev.of_node, "factory-fout", in si570_probe() 477 if (!of_property_read_u32(client->dev.of_node, "clock-frequency", in si570_probe()
|
D | clk-qoriq.c | 79 rc = of_property_read_u32(np, "reg", &offset); in core_mux_init() 263 if (of_property_read_u32(np, "clock-frequency", &rate)) { in sysclk_init()
|
D | clk-pwm.c | 79 if (of_property_read_u32(node, "clock-frequency", &clk_pwm->fixed_rate)) in clk_pwm_probe()
|
D | clk-si5351.c | 1171 if (of_property_read_u32(child, "reg", &num)) { in si5351_dt_parse() 1183 if (!of_property_read_u32(child, "silabs,multisynth-source", in si5351_dt_parse() 1202 if (!of_property_read_u32(child, "silabs,clock-source", &val)) { in si5351_dt_parse() 1234 if (!of_property_read_u32(child, "silabs,drive-strength", in si5351_dt_parse() 1251 if (!of_property_read_u32(child, "silabs,disable-state", in si5351_dt_parse() 1278 if (!of_property_read_u32(child, "clock-frequency", &val)) in si5351_dt_parse()
|
/linux-4.1.27/drivers/soc/tegra/ |
D | pmc.c | 633 if (of_property_read_u32(np, "nvidia,suspend-mode", &value)) { in tegra_pmc_parse_dt() 656 if (of_property_read_u32(np, "nvidia,cpu-pwr-good-time", &value)) in tegra_pmc_parse_dt() 661 if (of_property_read_u32(np, "nvidia,cpu-pwr-off-time", &value)) in tegra_pmc_parse_dt() 673 if (of_property_read_u32(np, "nvidia,core-pwr-off-time", &value)) in tegra_pmc_parse_dt() 743 if (of_property_read_u32(np, "nvidia,i2c-controller-id", &ctrl_id)) { in tegra_pmc_init_tsense_reset() 748 if (of_property_read_u32(np, "nvidia,bus-addr", &pmu_addr)) { in tegra_pmc_init_tsense_reset() 753 if (of_property_read_u32(np, "nvidia,reg-addr", ®_addr)) { in tegra_pmc_init_tsense_reset() 758 if (of_property_read_u32(np, "nvidia,reg-data", ®_data)) { in tegra_pmc_init_tsense_reset() 763 if (of_property_read_u32(np, "nvidia,pinmux-id", &pinmux)) in tegra_pmc_init_tsense_reset()
|
/linux-4.1.27/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 186 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()
|
D | i2c-mux-gpio.c | 96 of_property_read_u32(child, "reg", values + i); in i2c_mux_gpio_probe_dt() 101 if (of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_gpio_probe_dt()
|
/linux-4.1.27/drivers/gpu/drm/panel/ |
D | panel-ld9040.c | 305 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()
|
D | panel-s6e8aa0.c | 964 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.1.27/arch/arm64/kernel/ |
D | psci.c | 222 ret = of_property_read_u32(state_node, in cpu_psci_cpu_init_idle() 378 if (!of_property_read_u32(np, "cpu_suspend", &id)) { in psci_0_1_init() 383 if (!of_property_read_u32(np, "cpu_off", &id)) { in psci_0_1_init() 388 if (!of_property_read_u32(np, "cpu_on", &id)) { in psci_0_1_init() 393 if (!of_property_read_u32(np, "migrate", &id)) { in psci_0_1_init()
|
/linux-4.1.27/drivers/irqchip/ |
D | irq-crossbar.c | 209 of_property_read_u32(node, "ti,max-crossbar-sources", in crossbar_of_init() 217 of_property_read_u32(node, "ti,max-irqs", &max); in crossbar_of_init() 273 of_property_read_u32(node, "ti,reg-size", &size); in crossbar_of_init() 304 of_property_read_u32(node, "ti,irqs-safe-map", &cb->safe_map); in crossbar_of_init()
|
D | irq-versatile-fpga.c | 200 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()
|
D | irq-gic-v2m.c | 241 if (!of_property_read_u32(node, "arm,msi-base-spi", &v2m->spi_start) && in gicv2m_init_one() 242 !of_property_read_u32(node, "arm,msi-num-spis", &v2m->nr_spis)) { in gicv2m_init_one()
|
D | irq-moxart.c | 92 ret = of_property_read_u32(node, "interrupt-mask", in moxart_of_intc_init()
|
D | irq-mmp.c | 351 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", &nr_irqs); in mmp_init_bases() 437 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", in mmp2_mux_of_init() 473 if (!of_property_read_u32(node, "mrvl,clr-mfp-irq", in mmp2_mux_of_init()
|
D | irq-vic.c | 534 of_property_read_u32(node, "valid-mask", &interrupt_mask); in vic_of_init() 535 of_property_read_u32(node, "valid-wakeup-mask", &wakeup_mask); in vic_of_init()
|
/linux-4.1.27/drivers/watchdog/ |
D | of_xilinx_wdt.c | 168 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()
|
D | watchdog_core.c | 91 of_property_read_u32(dev->of_node, "timeout-sec", &t); in watchdog_init_timeout()
|
/linux-4.1.27/drivers/pinctrl/spear/ |
D | pinctrl-plgpio.c | 458 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.1.27/sound/soc/codecs/ |
D | cs35l32.c | 310 if (of_property_read_u32(np, "cirrus,sdout-share", &val) >= 0) in cs35l32_handle_of_data() 313 of_property_read_u32(np, "cirrus,boost-manager", &val); in cs35l32_handle_of_data() 327 of_property_read_u32(np, "cirrus,sdout-datacfg", &val); in cs35l32_handle_of_data() 341 of_property_read_u32(np, "cirrus,battery-threshold", &val); in cs35l32_handle_of_data() 355 of_property_read_u32(np, "cirrus,battery-recovery", &val); in cs35l32_handle_of_data()
|
D | cs42l56.c | 1212 if (of_property_read_u32(np, "cirrus,micbias-lvl", &val32) >= 0) in cs42l56_handle_of_data() 1215 if (of_property_read_u32(np, "cirrus,chgfreq-divisor", &val32) >= 0) in cs42l56_handle_of_data() 1218 if (of_property_read_u32(np, "cirrus,adaptive-pwr-cfg", &val32) >= 0) in cs42l56_handle_of_data() 1221 if (of_property_read_u32(np, "cirrus,hpf-left-freq", &val32) >= 0) in cs42l56_handle_of_data() 1224 if (of_property_read_u32(np, "cirrus,hpf-left-freq", &val32) >= 0) in cs42l56_handle_of_data()
|
/linux-4.1.27/drivers/power/ |
D | charger-manager.c | 1508 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 …]
|
D | max8925_power.c | 482 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()
|
D | max77693_charger.c | 646 if (of_property_read_u32(np, "maxim,constant-microvolt", in max77693_dt_init() 650 if (of_property_read_u32(np, "maxim,min-system-microvolt", in max77693_dt_init() 654 if (of_property_read_u32(np, "maxim,thermal-regulation-celsius", in max77693_dt_init() 658 if (of_property_read_u32(np, "maxim,battery-overcurrent-microamp", in max77693_dt_init() 662 if (of_property_read_u32(np, "maxim,charge-input-threshold-microvolt", in max77693_dt_init()
|
D | max14577_charger.c | 482 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()
|
D | bq24735-charger.c | 230 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()
|
D | bq2415x_charger.c | 1594 ret = of_property_read_u32(np, "ti,current-limit", in bq2415x_probe() 1598 ret = of_property_read_u32(np, "ti,weak-battery-voltage", in bq2415x_probe() 1602 ret = of_property_read_u32(np, "ti,battery-regulation-voltage", in bq2415x_probe() 1606 ret = of_property_read_u32(np, "ti,charge-current", in bq2415x_probe() 1610 ret = of_property_read_u32(np, "ti,termination-current", in bq2415x_probe() 1614 ret = of_property_read_u32(np, "ti,resistor-sense", in bq2415x_probe()
|
/linux-4.1.27/arch/arm/mm/ |
D | cache-l2x0.c | 942 of_property_read_u32(np, "cache-size", &cache_size); in l2x0_cache_size_of_parse() 943 of_property_read_u32(np, "cache-sets", &sets); in l2x0_cache_size_of_parse() 944 of_property_read_u32(np, "cache-block-size", &block_size); in l2x0_cache_size_of_parse() 945 of_property_read_u32(np, "cache-line-size", &line_size); in l2x0_cache_size_of_parse() 1024 of_property_read_u32(np, "arm,tag-latency", &tag); in l2x0_of_parse() 1039 of_property_read_u32(np, "arm,dirty-latency", &dirty); in l2x0_of_parse() 1154 ret = of_property_read_u32(np, "arm,double-linefill", &val); in l2c310_of_parse() 1164 ret = of_property_read_u32(np, "arm,double-linefill-incr", &val); in l2c310_of_parse() 1174 ret = of_property_read_u32(np, "arm,double-linefill-wrap", &val); in l2c310_of_parse() 1184 ret = of_property_read_u32(np, "arm,prefetch-drop", &val); in l2c310_of_parse() [all …]
|
D | cache-tauros2.c | 293 ret = of_property_read_u32(node, "marvell,tauros2-cache-features", &f); in tauros2_init()
|
/linux-4.1.27/drivers/clk/socfpga/ |
D | clk-periph.c | 65 of_property_read_u32(node, "reg", ®); in __socfpga_periph_init() 82 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in __socfpga_periph_init()
|
D | clk-pll.c | 97 of_property_read_u32(node, "reg", ®); in __socfpga_pll_init()
|
/linux-4.1.27/drivers/clocksource/ |
D | dw_apb_timer_of.c | 57 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()
|
D | qcom-timer.c | 259 if (of_property_read_u32(np, "cpu-offset", &percpu_offset)) in msm_dt_timer_init() 273 if (of_property_read_u32(np, "clock-frequency", &freq)) { in msm_dt_timer_init()
|
D | bcm_kona_timer.c | 188 } else if (!of_property_read_u32(node, "clock-frequency", &freq)) { in kona_timer_init()
|
D | mips-gic-timer.c | 163 } else if (of_property_read_u32(node, "clock-frequency", in gic_clocksource_of_init()
|
D | bcm2835_timer.c | 109 if (of_property_read_u32(node, "clock-frequency", &freq)) in bcm2835_timer_init()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_lvdscon.c | 107 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.1.27/drivers/i2c/busses/ |
D | i2c-designware-platdrv.c | 190 of_property_read_u32(pdev->dev.of_node, in dw_i2c_probe() 193 of_property_read_u32(pdev->dev.of_node, in dw_i2c_probe() 196 of_property_read_u32(pdev->dev.of_node, in dw_i2c_probe() 200 of_property_read_u32(pdev->dev.of_node, "clock-frequency", in dw_i2c_probe()
|
D | i2c-ocores.c | 326 if (of_property_read_u32(np, "reg-shift", &i2c->reg_shift)) { in ocores_i2c_of_probe() 328 if (!of_property_read_u32(np, "regstep", &val)) { in ocores_i2c_of_probe() 340 clock_frequency_present = !of_property_read_u32(np, "clock-frequency", in ocores_i2c_of_probe() 360 if (of_property_read_u32(np, "opencores,ip-clock-frequency", in ocores_i2c_of_probe() 377 of_property_read_u32(pdev->dev.of_node, "reg-io-width", in ocores_i2c_of_probe()
|
D | i2c-gpio.c | 114 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", ®)) in of_i2c_gpio_get_props()
|
D | i2c-efm32.c | 374 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()
|
D | i2c-sun6i-p2wi.c | 197 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()
|
D | i2c-rk3x.c | 881 if (of_property_read_u32(pdev->dev.of_node, "clock-frequency", in rk3x_i2c_probe() 899 if (of_property_read_u32(pdev->dev.of_node, "i2c-scl-rising-time-ns", in rk3x_i2c_probe() 906 if (of_property_read_u32(pdev->dev.of_node, "i2c-scl-falling-time-ns", in rk3x_i2c_probe() 909 if (of_property_read_u32(pdev->dev.of_node, "i2c-sda-falling-time-ns", in rk3x_i2c_probe()
|
/linux-4.1.27/drivers/spi/ |
D | spi-dw-mmio.c | 77 of_property_read_u32(pdev->dev.of_node, "reg-io-width", in dw_spi_mmio_probe() 83 of_property_read_u32(pdev->dev.of_node, "num-cs", &num_cs); in dw_spi_mmio_probe()
|
D | spi-fsl-dspi.c | 414 of_property_read_u32(spi->dev.of_node, "fsl,spi-cs-sck-delay", in dspi_setup() 417 of_property_read_u32(spi->dev.of_node, "fsl,spi-sck-cs-delay", in dspi_setup() 548 ret = of_property_read_u32(np, "spi-num-chipselects", &cs_num); in dspi_probe() 555 ret = of_property_read_u32(np, "bus-num", &bus_num); in dspi_probe()
|
D | spi-efm32.c | 297 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()
|
D | spi-pl022.c | 1856 of_property_read_u32(np, "pl022,interface", in pl022_setup() 1858 of_property_read_u32(np, "pl022,com-mode", in pl022_setup() 1860 of_property_read_u32(np, "pl022,rx-level-trig", in pl022_setup() 1862 of_property_read_u32(np, "pl022,tx-level-trig", in pl022_setup() 1864 of_property_read_u32(np, "pl022,ctrl-len", in pl022_setup() 1866 of_property_read_u32(np, "pl022,wait-state", in pl022_setup() 1868 of_property_read_u32(np, "pl022,duplex", in pl022_setup() 2085 of_property_read_u32(np, "num-cs", &tmp); in pl022_platform_data_dt_get() 2087 of_property_read_u32(np, "pl022,autosuspend-delay", in pl022_platform_data_dt_get()
|
D | spi-sh-msiof.c | 997 of_property_read_u32(np, "num-cs", &num_cs); in sh_msiof_spi_parse_dt() 998 of_property_read_u32(np, "renesas,tx-fifo-size", in sh_msiof_spi_parse_dt() 1000 of_property_read_u32(np, "renesas,rx-fifo-size", in sh_msiof_spi_parse_dt() 1002 of_property_read_u32(np, "renesas,dtdl", &info->dtdl); in sh_msiof_spi_parse_dt() 1003 of_property_read_u32(np, "renesas,syncdl", &info->syncdl); in sh_msiof_spi_parse_dt()
|
/linux-4.1.27/drivers/video/backlight/ |
D | tps65217_bl.c | 202 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()
|
D | 88pm860x_bl.c | 178 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()
|
D | sky81452-backlight.c | 218 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()
|
D | as3711_bl.c | 278 ret = of_property_read_u32(bl, "su1-max-uA", &pdata->su1_max_uA); in as3711_backlight_parse_dt() 291 ret = of_property_read_u32(bl, "su2-max-uA", &pdata->su2_max_uA); in as3711_backlight_parse_dt()
|
/linux-4.1.27/drivers/thermal/samsung/ |
D | exynos_tmu.c | 968 ret = of_property_read_u32(np, "samsung,tmu_gain", &value); in exynos_of_sensor_conf() 970 of_property_read_u32(np, "samsung,tmu_reference_voltage", &value); in exynos_of_sensor_conf() 972 of_property_read_u32(np, "samsung,tmu_noise_cancel_mode", &value); in exynos_of_sensor_conf() 975 of_property_read_u32(np, "samsung,tmu_efuse_value", in exynos_of_sensor_conf() 977 of_property_read_u32(np, "samsung,tmu_min_efuse_value", in exynos_of_sensor_conf() 979 of_property_read_u32(np, "samsung,tmu_max_efuse_value", in exynos_of_sensor_conf() 982 of_property_read_u32(np, "samsung,tmu_first_point_trim", &value); in exynos_of_sensor_conf() 984 of_property_read_u32(np, "samsung,tmu_second_point_trim", &value); in exynos_of_sensor_conf() 986 of_property_read_u32(np, "samsung,tmu_default_temp_offset", &value); in exynos_of_sensor_conf() 989 of_property_read_u32(np, "samsung,tmu_cal_type", &pdata->cal_type); in exynos_of_sensor_conf() [all …]
|
/linux-4.1.27/drivers/leds/ |
D | leds-syscon.c | 91 if (of_property_read_u32(child, "offset", &sled->offset)) in syscon_leds_spawn() 93 if (of_property_read_u32(child, "mask", &sled->mask)) in syscon_leds_spawn()
|
D | leds-pm8941-wled.c | 332 rc = of_property_read_u32(dev->of_node, "reg", &val); in pm8941_wled_configure() 348 rc = of_property_read_u32(dev->of_node, u32_opts[i].name, &val); in pm8941_wled_configure()
|
/linux-4.1.27/drivers/hwmon/ |
D | ibmpowernv.c | 140 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()
|
D | ads1015.c | 192 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()
|
D | ntc_thermistor.c | 265 if (of_property_read_u32(np, "pullup-uv", &pdata->pullup_uv)) in ntc_thermistor_parse_dt() 267 if (of_property_read_u32(np, "pullup-ohm", &pdata->pullup_ohm)) in ntc_thermistor_parse_dt() 269 if (of_property_read_u32(np, "pulldown-ohm", &pdata->pulldown_ohm)) in ntc_thermistor_parse_dt()
|
/linux-4.1.27/drivers/cpufreq/ |
D | powernv-cpufreq.c | 77 if (of_property_read_u32(power_mgt, "ibm,pstate-min", &pstate_min)) { in init_powernv_pstates() 82 if (of_property_read_u32(power_mgt, "ibm,pstate-max", &pstate_max)) { in init_powernv_pstates() 87 if (of_property_read_u32(power_mgt, "ibm,pstate-nominal", in init_powernv_pstates()
|
D | arm_big_little_dt.c | 74 of_property_read_u32(np, "clock-latency", &transition_latency); in dt_get_transition_latency()
|
D | cpufreq-dt.c | 231 of_property_read_u32(np, "voltage-tolerance", &priv->voltage_tolerance); in cpufreq_init() 233 if (of_property_read_u32(np, "clock-latency", &transition_latency)) in cpufreq_init()
|
/linux-4.1.27/drivers/usb/musb/ |
D | omap2430.c | 556 of_property_read_u32(np, "mode", (u32 *)&pdata->mode); in omap2430_probe() 557 of_property_read_u32(np, "interface-type", in omap2430_probe() 559 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe() 560 of_property_read_u32(np, "ram-bits", (u32 *)&config->ram_bits); in omap2430_probe() 561 of_property_read_u32(np, "power", (u32 *)&pdata->power); in omap2430_probe() 563 ret = of_property_read_u32(np, "multipoint", &val); in omap2430_probe()
|
/linux-4.1.27/drivers/net/phy/ |
D | micrel.c | 302 if (!of_property_read_u32(of_node, field1, &val1)) in ksz9021_load_values_from_of() 305 if (!of_property_read_u32(of_node, field2, &val2)) in ksz9021_load_values_from_of() 308 if (!of_property_read_u32(of_node, field3, &val3)) in ksz9021_load_values_from_of() 311 if (!of_property_read_u32(of_node, field4, &val4)) in ksz9021_load_values_from_of() 404 if (!of_property_read_u32(of_node, field[i], val + i)) in ksz9031_of_load_skew_values() 536 ret = of_property_read_u32(np, "micrel,led-mode", in kszphy_probe()
|
/linux-4.1.27/drivers/input/keyboard/ |
D | sun4i-lradc-keys.c | 186 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()
|
D | samsung-keypad.c | 266 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()
|
D | tc3589x-keypad.c | 337 of_property_read_u32(np, "keypad,num-columns", &cols); in tc3589x_keypad_of_probe() 338 of_property_read_u32(np, "keypad,num-rows", &rows); in tc3589x_keypad_of_probe() 358 of_property_read_u32(np, "debounce-delay-ms", &debounce_ms); in tc3589x_keypad_of_probe()
|
D | bcm-keypad.c | 263 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()
|
D | nspire-keypad.c | 185 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()
|
D | pxa27x_keypad.c | 163 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()
|
D | lpc32xx-keys.c | 159 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()
|
D | stmpe-keypad.c | 345 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()
|
D | spear-keyboard.c | 163 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()
|
D | pmic8xxx-keypad.c | 409 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.1.27/drivers/input/ |
D | matrix-keymap.c | 62 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.1.27/sound/soc/fsl/ |
D | eukrea-tlv320.c | 118 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()
|
D | imx-es8328.c | 88 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()
|
D | imx-sgtl5000.c | 68 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()
|
D | fsl-asoc-card.c | 283 ret = of_property_read_u32(np, "mux-int-port", &int_port); in fsl_asoc_card_audmux_init() 288 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in fsl_asoc_card_audmux_init() 539 ret = of_property_read_u32(asrc_np, "fsl,asrc-rate", in fsl_asoc_card_probe() 547 ret = of_property_read_u32(asrc_np, "fsl,asrc-width", &width); in fsl_asoc_card_probe()
|
D | imx-wm8962.c | 165 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.1.27/arch/microblaze/kernel/ |
D | intc.c | 148 ret = of_property_read_u32(intc, "xlnx,num-intr-inputs", &nr_irq); in xilinx_intc_of_init() 154 ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &intr_mask); in xilinx_intc_of_init()
|
D | timer.c | 283 of_property_read_u32(timer, "xlnx,one-timer-only", &timer_num); in xilinx_timer_init() 295 of_property_read_u32(timer, "clock-frequency", in xilinx_timer_init()
|
/linux-4.1.27/drivers/clk/at91/ |
D | clk-slow.c | 171 of_property_read_u32(np, "atmel,startup-time-usec", &startup); in of_at91sam9x5_clk_slow_osc_setup() 280 of_property_read_u32(np, "clock-frequency", &frequency); in of_at91sam9x5_clk_slow_rc_osc_setup() 281 of_property_read_u32(np, "clock-accuracy", &accuracy); in of_at91sam9x5_clk_slow_rc_osc_setup() 282 of_property_read_u32(np, "atmel,startup-time-usec", &startup); in of_at91sam9x5_clk_slow_rc_osc_setup()
|
/linux-4.1.27/arch/c6x/platforms/ |
D | plldata.c | 437 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()
|
D | timer64.c | 184 err = of_property_read_u32(np, "ti,core-mask", &val); in timer64_init() 218 err = of_property_read_u32(np, "ti,dscr-dev-enable", &val); in timer64_init()
|
/linux-4.1.27/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 90 if (!of_property_read_u32(node, "clock-frequency", &freq) && freq != 0) in update_clock_frequency() 175 if (!of_property_read_u32(cpu, "clock-frequency", &freq)) in platform_calibrate_ccount()
|
/linux-4.1.27/drivers/staging/iio/adc/ |
D | spear_adc.c | 317 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.1.27/drivers/thermal/ |
D | of-thermal.c | 585 ret = of_property_read_u32(np, "contribution", &prop); in thermal_of_populate_bind_params() 683 ret = of_property_read_u32(np, "temperature", &prop); in thermal_of_populate_trip() 690 ret = of_property_read_u32(np, "hysteresis", &prop); in thermal_of_populate_trip() 741 ret = of_property_read_u32(np, "polling-delay-passive", &prop); in thermal_of_build_thermal_zone() 748 ret = of_property_read_u32(np, "polling-delay", &prop); in thermal_of_build_thermal_zone()
|
D | db8500_thermal.c | 329 if (of_property_read_u32(np, "num-trips", &tmp_data)) in db8500_thermal_parse_dt() 339 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt() 360 if (of_property_read_u32(np, prop_name, &tmp_data)) in db8500_thermal_parse_dt()
|
D | rockchip_thermal.c | 393 if (of_property_read_u32(np, "rockchip,hw-tshut-temp", &shut_temp)) { in rockchip_configure_from_dt() 408 if (of_property_read_u32(np, "rockchip,hw-tshut-mode", &tshut_mode)) { in rockchip_configure_from_dt() 424 if (of_property_read_u32(np, "rockchip,hw-tshut-polarity", in rockchip_configure_from_dt()
|
/linux-4.1.27/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 977 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.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | of.c | 54 if (of_property_read_u32(np, "brcm,drive-strength", &val) == 0) in brcmf_of_probe()
|
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_platform.c | 56 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.1.27/drivers/media/platform/xilinx/ |
D | xilinx-vip.c | 113 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.1.27/drivers/mmc/host/ |
D | sdhci-pxav2.c | 145 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()
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
D | timer.c | 53 if (!of_property_read_u32(np, "clock-frequency", &freq)) in shmobile_init_delay()
|
/linux-4.1.27/drivers/clk/sunxi/ |
D | clk-a10-hosc.c | 34 if (of_property_read_u32(node, "clock-frequency", &rate)) in sun4i_osc_clk_setup()
|
/linux-4.1.27/drivers/ata/ |
D | ahci_platform.c | 52 of_property_read_u32(dev->of_node, in ahci_probe()
|
D | sata_highbank.c | 215 if (of_property_read_u32(np, "calxeda,pre-clocks", &pdata->pre_clocks)) in highbank_set_em_messages() 217 if (of_property_read_u32(np, "calxeda,post-clocks", in highbank_set_em_messages() 370 of_property_read_u32(phy_nodes[phy], "phydev", &tmp); in highbank_initialize_phys()
|
/linux-4.1.27/arch/arm/mach-axxia/ |
D | platsmp.c | 72 if (of_property_read_u32(np, "cpu-release-addr", &release_phys)) in axxia_smp_prepare_cpus()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | simplefb.c | 105 ret = of_property_read_u32(np, "width", ¶ms->width); in simplefb_parse_dt() 111 ret = of_property_read_u32(np, "height", ¶ms->height); in simplefb_parse_dt() 117 ret = of_property_read_u32(np, "stride", ¶ms->stride); in simplefb_parse_dt()
|
D | ssd1307fb.c | 481 if (of_property_read_u32(node, "solomon,width", &par->width)) in ssd1307fb_probe() 484 if (of_property_read_u32(node, "solomon,height", &par->height)) in ssd1307fb_probe() 487 if (of_property_read_u32(node, "solomon,page-offset", &par->page_offset)) in ssd1307fb_probe()
|
D | imxfb.c | 674 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()
|
D | clps711x-fb.c | 293 of_property_read_u32(disp, "ac-prescale", &cfb->ac_prescale); in clps711x_fb_probe() 296 ret = of_property_read_u32(disp, "bits-per-pixel", in clps711x_fb_probe()
|
/linux-4.1.27/drivers/mmc/core/ |
D | host.c | 327 if (of_property_read_u32(np, "bus-width", &bus_width) < 0) { in mmc_of_parse() 349 of_property_read_u32(np, "max-frequency", &host->f_max); in mmc_of_parse() 444 host->dsr_req = !of_property_read_u32(np, "dsr", &host->dsr); in mmc_of_parse()
|
/linux-4.1.27/drivers/misc/ |
D | bmp085.c | 405 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.1.27/drivers/uio/ |
D | uio_fsl_elbc_gpcm.c | 260 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.1.27/arch/microblaze/include/asm/ |
D | cpuinfo.h | 103 of_property_read_u32(cpu, n, &val); in fcpu()
|
/linux-4.1.27/arch/arm/mach-socfpga/ |
D | socfpga.c | 73 if (of_property_read_u32(np, "cpu1-start-addr", in socfpga_sysmgr_init()
|
/linux-4.1.27/arch/arm/mach-prima2/ |
D | pm.c | 110 if (of_property_read_u32(np, "reg", &sirfsoc_pwrc_base)) in sirfsoc_of_pwrc_init()
|
/linux-4.1.27/drivers/gpu/drm/msm/adreno/ |
D | adreno_device.c | 168 ret = of_property_read_u32(node, "qcom,chipid", &val); in adreno_bind() 184 ret = of_property_read_u32(pwrlvl, "qcom,gpu-freq", &val); in adreno_bind()
|
/linux-4.1.27/drivers/char/ipmi/ |
D | ipmi_powernv.c | 229 rc = of_property_read_u32(dev->of_node, "ibm,ipmi-interface-id", in ipmi_powernv_probe() 237 rc = of_property_read_u32(dev->of_node, "interrupts", &prop); in ipmi_powernv_probe()
|
/linux-4.1.27/drivers/iio/adc/ |
D | at91_adc.c | 829 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()
|
D | qcom-spmi-vadc.c | 739 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() 941 ret = of_property_read_u32(node, "reg", ®); in vadc_probe()
|
/linux-4.1.27/arch/mips/bmips/ |
D | setup.c | 133 if (of_property_read_u32(np, "mips-hpt-frequency", &freq) < 0) in plat_time_init()
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-pxa27x.c | 382 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.1.27/drivers/mfd/ |
D | smsc-ece1099.c | 58 of_property_read_u32(i2c->dev.of_node, "clock", &smsc->clk); in smsc_i2c_probe()
|
D | ti_am335x_tscadc.c | 157 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()
|
D | palmas.c | 401 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()
|
D | tps65910.c | 413 ret = of_property_read_u32(np, "ti,vmbch-threshold", &prop); in tps65910_parse_dt() 417 ret = of_property_read_u32(np, "ti,vmbch2-threshold", &prop); in tps65910_parse_dt()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_dp_core.c | 1162 if (of_property_read_u32(dp_node, "samsung,color-space", in exynos_dp_dt_parse_pdata() 1168 if (of_property_read_u32(dp_node, "samsung,dynamic-range", in exynos_dp_dt_parse_pdata() 1174 if (of_property_read_u32(dp_node, "samsung,ycbcr-coeff", in exynos_dp_dt_parse_pdata() 1180 if (of_property_read_u32(dp_node, "samsung,color-depth", in exynos_dp_dt_parse_pdata() 1186 if (of_property_read_u32(dp_node, "samsung,link-rate", in exynos_dp_dt_parse_pdata() 1192 if (of_property_read_u32(dp_node, "samsung,lane-count", in exynos_dp_dt_parse_pdata()
|
/linux-4.1.27/arch/arm/mach-bcm/ |
D | kona_smp.c | 101 if (of_property_read_u32(node, OF_SECONDARY_BOOT, &secondary_boot)) { in bcm_smp_prepare_cpus()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_drv.c | 443 of_property_read_u32(np, "renesas,#rpf", &pdata->rpf_count); in vsp1_parse_dt() 444 of_property_read_u32(np, "renesas,#uds", &pdata->uds_count); in vsp1_parse_dt() 445 of_property_read_u32(np, "renesas,#wpf", &pdata->wpf_count); in vsp1_parse_dt()
|
/linux-4.1.27/drivers/phy/ |
D | phy-rockchip-usb.c | 113 if (of_property_read_u32(child, "reg", ®_offset)) { in rockchip_usb_phy_probe()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | flash_setup.c | 77 r = of_property_read_u32(np, "reg", &cs); in octeon_flash_probe()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 249 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.1.27/drivers/usb/misc/ |
D | usb3503.c | 192 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.1.27/drivers/video/fbdev/omap2/dss/ |
D | dss-of.c | 118 r = of_property_read_u32(port, "reg", ®); in dss_of_port_get_port_number()
|
/linux-4.1.27/arch/arm/mach-hisi/ |
D | platsmp.c | 76 if (of_property_read_u32(np, "smp-offset", &offset) < 0) { in hi3xxx_smp_prepare_cpus()
|