/linux/drivers/memory/ |
H A D | of_memory.c | 38 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); in of_get_min_tck() 39 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); in of_get_min_tck() 40 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); in of_get_min_tck() 41 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); in of_get_min_tck() 42 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); in of_get_min_tck() 43 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); in of_get_min_tck() 44 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck() 45 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); in of_get_min_tck() 46 ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); in of_get_min_tck() 47 ret |= of_property_read_u32(n in of_get_min_tck() [all...] |
H A D | ti-aemif.c | 306 if (of_property_read_u32(np, "ti,cs-chipselect", &cs)) { in of_aemif_parse_abus_config() 328 if (!of_property_read_u32(np, "ti,cs-min-turnaround-ns", &val)) in of_aemif_parse_abus_config() 331 if (!of_property_read_u32(np, "ti,cs-read-hold-ns", &val)) in of_aemif_parse_abus_config() 334 if (!of_property_read_u32(np, "ti,cs-read-strobe-ns", &val)) in of_aemif_parse_abus_config() 337 if (!of_property_read_u32(np, "ti,cs-read-setup-ns", &val)) in of_aemif_parse_abus_config() 340 if (!of_property_read_u32(np, "ti,cs-write-hold-ns", &val)) in of_aemif_parse_abus_config() 343 if (!of_property_read_u32(np, "ti,cs-write-strobe-ns", &val)) in of_aemif_parse_abus_config() 346 if (!of_property_read_u32(np, "ti,cs-write-setup-ns", &val)) in of_aemif_parse_abus_config() 349 if (!of_property_read_u32(np, "ti,cs-bus-width", &val)) in of_aemif_parse_abus_config()
|
H A D | omap-gpmc.c | 2019 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt() 2020 of_property_read_u32(np, "gpmc,mux-add-data", &p->mux_add_data); in gpmc_read_settings_dt() 2022 if (!of_property_read_u32(np, "gpmc,burst-length", &p->burst_len)) { in gpmc_read_settings_dt() 2034 if (!of_property_read_u32(np, "gpmc,wait-pin", &p->wait_pin)) { in gpmc_read_settings_dt() 2040 if (!of_property_read_u32(np, "ti,wait-pin-polarity", in gpmc_read_settings_dt() 2071 of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); in gpmc_read_timings_dt() 2074 of_property_read_u32(np, "gpmc,cs-on-ns", &gpmc_t->cs_on); in gpmc_read_timings_dt() 2075 of_property_read_u32(np, "gpmc,cs-rd-off-ns", &gpmc_t->cs_rd_off); in gpmc_read_timings_dt() 2076 of_property_read_u32(np, "gpmc,cs-wr-off-ns", &gpmc_t->cs_wr_off); in gpmc_read_timings_dt() 2079 of_property_read_u32(n in gpmc_read_timings_dt() [all...] |
H A D | jz4780-nemc.c | 190 if (!of_property_read_u32(node, "ingenic,nemc-bus-width", &val)) { in jz4780_nemc_configure_bank() 206 if (of_property_read_u32(node, "ingenic,nemc-tAS", &val) == 0) { in jz4780_nemc_configure_bank() 218 if (of_property_read_u32(node, "ingenic,nemc-tAH", &val) == 0) { in jz4780_nemc_configure_bank() 230 if (of_property_read_u32(node, "ingenic,nemc-tBP", &val) == 0) { in jz4780_nemc_configure_bank() 242 if (of_property_read_u32(node, "ingenic,nemc-tAW", &val) == 0) { in jz4780_nemc_configure_bank() 254 if (of_property_read_u32(node, "ingenic,nemc-tSTRV", &val) == 0) { in jz4780_nemc_configure_bank()
|
/linux/drivers/regulator/ |
H A D | of_regulator.c | 68 found = !of_property_read_u32(np, prop, &pval); in of_get_regulator_prot_limits() 99 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints() 102 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) in of_get_regulation_constraints() 113 if (!of_property_read_u32(np, "regulator-microvolt-offset", &pval)) in of_get_regulation_constraints() 115 if (!of_property_read_u32(np, "regulator-min-microamp", &pval)) in of_get_regulation_constraints() 117 if (!of_property_read_u32(np, "regulator-max-microamp", &pval)) in of_get_regulation_constraints() 120 if (!of_property_read_u32(np, "regulator-input-current-limit-microamp", in of_get_regulation_constraints() 128 if (!of_property_read_u32(np, "regulator-power-budget-milliwatt", &pval)) in of_get_regulation_constraints() 146 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); in of_get_regulation_constraints() 154 ret = of_property_read_u32(n in of_get_regulation_constraints() [all...] |
H A D | anatop-regulator.c | 203 ret = of_property_read_u32(np, "anatop-reg-offset", &control_reg); in anatop_regulator_probe() 208 ret = of_property_read_u32(np, "anatop-vol-bit-width", &vol_bit_width); in anatop_regulator_probe() 213 ret = of_property_read_u32(np, "anatop-vol-bit-shift", &vol_bit_shift); in anatop_regulator_probe() 218 ret = of_property_read_u32(np, "anatop-min-bit-val", &min_bit_val); in anatop_regulator_probe() 223 ret = of_property_read_u32(np, "anatop-min-voltage", &min_voltage); in anatop_regulator_probe() 228 ret = of_property_read_u32(np, "anatop-max-voltage", &max_voltage); in anatop_regulator_probe() 235 of_property_read_u32(np, "anatop-delay-reg-offset", in anatop_regulator_probe() 237 of_property_read_u32(np, "anatop-delay-bit-width", in anatop_regulator_probe() 239 of_property_read_u32(np, "anatop-delay-bit-shift", in anatop_regulator_probe() 294 if (!of_property_read_u32(n in anatop_regulator_probe() [all...] |
/linux/arch/powerpc/sysdev/ |
H A D | fsl_soc.c | 73 of_property_read_u32(soc, "clock-frequency", &sysfreq); in fsl_get_sys_freq() 75 of_property_read_u32(soc, "bus-frequency", &sysfreq); in fsl_get_sys_freq() 94 of_property_read_u32(node, "clock-frequency", &brgfreq); in get_brgfreq() 107 of_property_read_u32(node, "brg-frequency", &brgfreq); in get_brgfreq() 109 if (!of_property_read_u32(node, "bus-frequency", in get_brgfreq() 130 of_property_read_u32(node, "current-speed", &fs_baudrate); in get_baudrate()
|
/linux/drivers/devfreq/ |
H A D | rk3399_dmc.c | 303 ret |= of_property_read_u32(np, "rockchip,pd-idle-ns", in rk3399_dmcfreq_of_props() 305 ret |= of_property_read_u32(np, "rockchip,sr-idle-ns", in rk3399_dmcfreq_of_props() 307 ret |= of_property_read_u32(np, "rockchip,sr-mc-gate-idle-ns", in rk3399_dmcfreq_of_props() 309 ret |= of_property_read_u32(np, "rockchip,srpd-lite-idle-ns", in rk3399_dmcfreq_of_props() 311 ret |= of_property_read_u32(np, "rockchip,standby-idle-ns", in rk3399_dmcfreq_of_props() 313 ret |= of_property_read_u32(np, "rockchip,ddr3_odt_dis_freq", in rk3399_dmcfreq_of_props() 315 ret |= of_property_read_u32(np, "rockchip,lpddr3_odt_dis_freq", in rk3399_dmcfreq_of_props() 317 ret |= of_property_read_u32(np, "rockchip,lpddr4_odt_dis_freq", in rk3399_dmcfreq_of_props() 320 ret |= of_property_read_u32(np, "rockchip,pd-idle-dis-freq-hz", in rk3399_dmcfreq_of_props() 322 ret |= of_property_read_u32(n in rk3399_dmcfreq_of_props() [all...] |
/linux/drivers/dma/dw/ |
H A D | of.c | 57 if (of_property_read_u32(np, "dma-masters", &nr_masters)) in dw_dma_parse_dt() 62 if (of_property_read_u32(np, "dma-channels", &nr_channels)) in dw_dma_parse_dt() 74 of_property_read_u32(np, "chan_allocation_order", &pdata->chan_allocation_order); in dw_dma_parse_dt() 75 of_property_read_u32(np, "chan_priority", &pdata->chan_priority); in dw_dma_parse_dt() 77 of_property_read_u32(np, "block_size", &pdata->block_size); in dw_dma_parse_dt() 94 of_property_read_u32(np, "snps,dma-protection-control", &pdata->protctl); in dw_dma_parse_dt()
|
/linux/drivers/input/touchscreen/ |
H A D | stmpe-ts.c | 266 if (!of_property_read_u32(np, "st,sample-time", &val)) in stmpe_ts_get_platform_info() 268 if (!of_property_read_u32(np, "st,mod-12b", &val)) in stmpe_ts_get_platform_info() 270 if (!of_property_read_u32(np, "st,ref-sel", &val)) in stmpe_ts_get_platform_info() 272 if (!of_property_read_u32(np, "st,adc-freq", &val)) in stmpe_ts_get_platform_info() 274 if (!of_property_read_u32(np, "st,ave-ctrl", &val)) in stmpe_ts_get_platform_info() 276 if (!of_property_read_u32(np, "st,touch-det-delay", &val)) in stmpe_ts_get_platform_info() 278 if (!of_property_read_u32(np, "st,settling", &val)) in stmpe_ts_get_platform_info() 280 if (!of_property_read_u32(np, "st,fraction-z", &val)) in stmpe_ts_get_platform_info() 282 if (!of_property_read_u32(np, "st,i-drive", &val)) in stmpe_ts_get_platform_info()
|
H A D | 88pm860x-ts.c | 134 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-prebias", &n)) in pm860x_touch_dt_init() 136 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-slot-cycle", &n)) in pm860x_touch_dt_init() 138 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-off-scale", &n)) in pm860x_touch_dt_init() 140 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-sw-cal", &n)) in pm860x_touch_dt_init() 148 if (!of_property_read_u32(np, "marvell,88pm860x-tsi-prebias", &data)) { in pm860x_touch_dt_init() 155 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init() 157 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init() 164 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init()
|
H A D | bcm_iproc_tsc.c | 346 if (of_property_read_u32(np, "scanning_period", &val) >= 0) { in iproc_get_tsc_config() 355 if (of_property_read_u32(np, "debounce_timeout", &val) >= 0) { in iproc_get_tsc_config() 364 if (of_property_read_u32(np, "settling_timeout", &val) >= 0) { in iproc_get_tsc_config() 373 if (of_property_read_u32(np, "touch_timeout", &val) >= 0) { in iproc_get_tsc_config() 382 if (of_property_read_u32(np, "average_data", &val) >= 0) { in iproc_get_tsc_config() 390 if (of_property_read_u32(np, "fifo_threshold", &val) >= 0) { in iproc_get_tsc_config() 400 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config() 401 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config() 403 of_property_read_u32(np, "touchscreen-fuzz-x", in iproc_get_tsc_config() 405 of_property_read_u32(n in iproc_get_tsc_config() [all...] |
/linux/drivers/bus/ |
H A D | tegra-gmi.c | 150 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt() 170 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt() 175 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt() 180 if (!of_property_read_u32(child, "nvidia,snor-adv-width", &property)) in tegra_gmi_parse_dt() 185 if (!of_property_read_u32(child, "nvidia,snor-ce-width", &property)) in tegra_gmi_parse_dt() 190 if (!of_property_read_u32(child, "nvidia,snor-we-width", &property)) in tegra_gmi_parse_dt() 195 if (!of_property_read_u32(child, "nvidia,snor-oe-width", &property)) in tegra_gmi_parse_dt() 200 if (!of_property_read_u32(child, "nvidia,snor-wait-width", &property)) in tegra_gmi_parse_dt()
|
/linux/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_panel.c | 279 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias); in of_get_panel_info() 280 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt); in of_get_panel_info() 281 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz); in of_get_panel_info() 282 ret |= of_property_read_u32(info_np, "bpp", &info->bpp); in of_get_panel_info() 283 ret |= of_property_read_u32(info_np, "fdd", &info->fdd); in of_get_panel_info() 284 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge); in of_get_panel_info() 285 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl); in of_get_panel_info() 286 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order); in of_get_panel_info() 287 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th); in of_get_panel_info()
|
/linux/drivers/video/ |
H A D | of_display_timing.c | 39 ret = of_property_read_u32(np, name, &result->typ); in parse_timing_property() 76 if (!of_property_read_u32(np, "vsync-active", &val)) in of_parse_display_timing() 79 if (!of_property_read_u32(np, "hsync-active", &val)) in of_parse_display_timing() 82 if (!of_property_read_u32(np, "de-active", &val)) in of_parse_display_timing() 85 if (!of_property_read_u32(np, "pixelclk-active", &val)) in of_parse_display_timing() 89 if (!of_property_read_u32(np, "syncclk-active", &val)) in of_parse_display_timing()
|
/linux/drivers/power/reset/ |
H A D | gpio-restart.c | 76 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); in gpio_restart_probe() 85 of_property_read_u32(pdev->dev.of_node, "active-delay", in gpio_restart_probe() 87 of_property_read_u32(pdev->dev.of_node, "inactive-delay", in gpio_restart_probe() 89 of_property_read_u32(pdev->dev.of_node, "wait-delay", in gpio_restart_probe()
|
H A D | syscon-reboot.c | 91 if (of_property_read_u32(pdev->dev.of_node, "offset", in syscon_reboot_probe() 93 of_property_read_u32(pdev->dev.of_node, "reg", in syscon_reboot_probe() 97 value_err = of_property_read_u32(pdev->dev.of_node, "value", in syscon_reboot_probe() 99 mask_err = of_property_read_u32(pdev->dev.of_node, "mask", in syscon_reboot_probe()
|
H A D | syscon-poweroff.c | 59 if (of_property_read_u32(dev->of_node, "offset", &data->offset)) { in syscon_poweroff_probe() 64 value_err = of_property_read_u32(dev->of_node, "value", &data->value); in syscon_poweroff_probe() 65 mask_err = of_property_read_u32(dev->of_node, "mask", &data->mask); in syscon_poweroff_probe()
|
/linux/drivers/gpio/ |
H A D | gpio-spear-spics.c | 122 if (of_property_read_u32(np, "st-spics,peripcfg-reg", in spics_gpio_probe() 125 if (of_property_read_u32(np, "st-spics,sw-enable-bit", in spics_gpio_probe() 128 if (of_property_read_u32(np, "st-spics,cs-value-bit", in spics_gpio_probe() 131 if (of_property_read_u32(np, "st-spics,cs-enable-mask", in spics_gpio_probe() 134 if (of_property_read_u32(np, "st-spics,cs-enable-shift", in spics_gpio_probe()
|
H A D | gpio-stp-xway.c | 258 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in xway_stp_probe() 262 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,groups", &groups)) in xway_stp_probe() 269 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,dsl", &dsl)) in xway_stp_probe() 278 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy1", &phy)) in xway_stp_probe() 280 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe() 286 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy3", &phy)) in xway_stp_probe() 291 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy4", &phy)) in xway_stp_probe()
|
/linux/drivers/cpuidle/ |
H A D | dt_idle_states.c | 40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node() 45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node() 53 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node() 67 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
|
/linux/drivers/video/backlight/ |
H A D | arcxcnn_bl.c | 187 ret = of_property_read_u32(node, "default-brightness", &prog_val); in arcxcnn_parse_dt() 191 ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); in arcxcnn_parse_dt() 195 ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); in arcxcnn_parse_dt() 199 ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); in arcxcnn_parse_dt() 203 ret = of_property_read_u32(node, "arc,comp-config", &prog_val); in arcxcnn_parse_dt() 207 ret = of_property_read_u32(node, "arc,filter-config", &prog_val); in arcxcnn_parse_dt() 211 ret = of_property_read_u32(node, "arc,trim-config", &prog_val); in arcxcnn_parse_dt()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-imc.c | 60 if (of_property_read_u32(node, "cb_offset", &cb_offset)) in export_imc_mode_and_cmd() 156 ret = of_property_read_u32(parent, "size", &pmu_ptr->counter_mem_size); in imc_pmu_create() 160 if (!of_property_read_u32(parent, "offset", &offset)) { in imc_pmu_create() 224 if (of_property_read_u32(node, "type", &type)) in get_max_nest_dev() 254 if (of_property_read_u32(imc_dev, "type", &type)) { in opal_imc_counters_probe()
|
/linux/sound/soc/codecs/ |
H A D | max98504.c | 322 if (!of_property_read_u32(node, "maxim,brownout-threshold", in max98504_i2c_probe() 326 of_property_read_u32(node, "maxim,brownout-attenuation", in max98504_i2c_probe() 328 of_property_read_u32(node, "maxim,brownout-attack-hold-ms", in max98504_i2c_probe() 330 of_property_read_u32(node, "maxim,brownout-timed-hold-ms", in max98504_i2c_probe() 332 of_property_read_u32(node, "maxim,brownout-release-rate-ms", in max98504_i2c_probe()
|
/linux/drivers/input/misc/ |
H A D | twl6040-vibra.c | 254 of_property_read_u32(twl6040_core_node, "ti,vibldrv-res", in twl6040_vibra_probe() 256 of_property_read_u32(twl6040_core_node, "ti,vibrdrv-res", in twl6040_vibra_probe() 258 of_property_read_u32(twl6040_core_node, "ti,viblmotor-res", in twl6040_vibra_probe() 260 of_property_read_u32(twl6040_core_node, "ti,vibrmotor-res", in twl6040_vibra_probe() 262 of_property_read_u32(twl6040_core_node, "ti,vddvibl-uV", &vddvibl_uV); in twl6040_vibra_probe() 263 of_property_read_u32(twl6040_core_node, "ti,vddvibr-uV", &vddvibr_uV); in twl6040_vibra_probe()
|