/Linux-v4.19/drivers/memory/ |
D | of_memory.c | 41 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); in of_get_min_tck() 42 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); in of_get_min_tck() 43 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); in of_get_min_tck() 44 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); in of_get_min_tck() 45 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); in of_get_min_tck() 46 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); in of_get_min_tck() 47 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck() 48 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); in of_get_min_tck() 49 ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); in of_get_min_tck() 50 ret |= of_property_read_u32(np, "tCKESR-min-tck", &min->tCKESR); in of_get_min_tck() [all …]
|
D | ti-aemif.c | 272 if (of_property_read_u32(np, "ti,cs-chipselect", &cs)) { in of_aemif_parse_abus_config() 294 if (!of_property_read_u32(np, "ti,cs-min-turnaround-ns", &val)) in of_aemif_parse_abus_config() 297 if (!of_property_read_u32(np, "ti,cs-read-hold-ns", &val)) in of_aemif_parse_abus_config() 300 if (!of_property_read_u32(np, "ti,cs-read-strobe-ns", &val)) in of_aemif_parse_abus_config() 303 if (!of_property_read_u32(np, "ti,cs-read-setup-ns", &val)) in of_aemif_parse_abus_config() 306 if (!of_property_read_u32(np, "ti,cs-write-hold-ns", &val)) in of_aemif_parse_abus_config() 309 if (!of_property_read_u32(np, "ti,cs-write-strobe-ns", &val)) in of_aemif_parse_abus_config() 312 if (!of_property_read_u32(np, "ti,cs-write-setup-ns", &val)) in of_aemif_parse_abus_config() 315 if (!of_property_read_u32(np, "ti,cs-bus-width", &val)) in of_aemif_parse_abus_config()
|
D | omap-gpmc.c | 1925 of_property_read_u32(np, "gpmc,device-width", &p->device_width); in gpmc_read_settings_dt() 1926 of_property_read_u32(np, "gpmc,mux-add-data", &p->mux_add_data); in gpmc_read_settings_dt() 1928 if (!of_property_read_u32(np, "gpmc,burst-length", &p->burst_len)) { in gpmc_read_settings_dt() 1937 if (!of_property_read_u32(np, "gpmc,wait-pin", &p->wait_pin)) { in gpmc_read_settings_dt() 1959 of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); in gpmc_read_timings_dt() 1962 of_property_read_u32(np, "gpmc,cs-on-ns", &gpmc_t->cs_on); in gpmc_read_timings_dt() 1963 of_property_read_u32(np, "gpmc,cs-rd-off-ns", &gpmc_t->cs_rd_off); in gpmc_read_timings_dt() 1964 of_property_read_u32(np, "gpmc,cs-wr-off-ns", &gpmc_t->cs_wr_off); in gpmc_read_timings_dt() 1967 of_property_read_u32(np, "gpmc,adv-on-ns", &gpmc_t->adv_on); in gpmc_read_timings_dt() 1968 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()
|
/Linux-v4.19/drivers/devfreq/ |
D | rk3399_dmc.c | 231 ret = of_property_read_u32(np, "rockchip,ddr3_speed_bin", in of_get_ddr_timings() 233 ret |= of_property_read_u32(np, "rockchip,pd_idle", in of_get_ddr_timings() 235 ret |= of_property_read_u32(np, "rockchip,sr_idle", in of_get_ddr_timings() 237 ret |= of_property_read_u32(np, "rockchip,sr_mc_gate_idle", in of_get_ddr_timings() 239 ret |= of_property_read_u32(np, "rockchip,srpd_lite_idle", in of_get_ddr_timings() 241 ret |= of_property_read_u32(np, "rockchip,standby_idle", in of_get_ddr_timings() 243 ret |= of_property_read_u32(np, "rockchip,auto_pd_dis_freq", in of_get_ddr_timings() 245 ret |= of_property_read_u32(np, "rockchip,dram_dll_dis_freq", in of_get_ddr_timings() 247 ret |= of_property_read_u32(np, "rockchip,phy_dll_dis_freq", in of_get_ddr_timings() 249 ret |= of_property_read_u32(np, "rockchip,ddr3_odt_dis_freq", in of_get_ddr_timings() [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | of_regulator.c | 40 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints() 43 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) in of_get_regulation_constraints() 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() 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-settling-time-us", &pval); in of_get_regulation_constraints() 94 ret = of_property_read_u32(np, "regulator-settling-time-up-us", &pval); in of_get_regulation_constraints() 103 ret = of_property_read_u32(np, "regulator-settling-time-down-us", in of_get_regulation_constraints() [all …]
|
D | anatop-regulator.c | 205 ret = of_property_read_u32(np, "anatop-reg-offset", in anatop_regulator_probe() 211 ret = of_property_read_u32(np, "anatop-vol-bit-width", in anatop_regulator_probe() 217 ret = of_property_read_u32(np, "anatop-vol-bit-shift", in anatop_regulator_probe() 223 ret = of_property_read_u32(np, "anatop-min-bit-val", in anatop_regulator_probe() 229 ret = of_property_read_u32(np, "anatop-min-voltage", in anatop_regulator_probe() 235 ret = of_property_read_u32(np, "anatop-max-voltage", in anatop_regulator_probe() 243 of_property_read_u32(np, "anatop-delay-reg-offset", in anatop_regulator_probe() 245 of_property_read_u32(np, "anatop-delay-bit-width", in anatop_regulator_probe() 247 of_property_read_u32(np, "anatop-delay-bit-shift", in anatop_regulator_probe() 303 if (!of_property_read_u32(np, "anatop-enable-bit", in anatop_regulator_probe()
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_platform.c | 122 if (of_property_read_u32(np, "snps,wr_osr_lmt", &axi->axi_wr_osr_lmt)) in stmmac_axi_setup() 124 if (of_property_read_u32(np, "snps,rd_osr_lmt", &axi->axi_rd_osr_lmt)) in stmmac_axi_setup() 170 if (of_property_read_u32(rx_node, "snps,rx-queues-to-use", in stmmac_mtl_setup() 193 if (of_property_read_u32(q_node, "snps,map-to-dma-channel", in stmmac_mtl_setup() 198 if (of_property_read_u32(q_node, "snps,priority", in stmmac_mtl_setup() 229 if (of_property_read_u32(tx_node, "snps,tx-queues-to-use", in stmmac_mtl_setup() 251 if (of_property_read_u32(q_node, "snps,weight", in stmmac_mtl_setup() 262 if (of_property_read_u32(q_node, "snps,send_slope", in stmmac_mtl_setup() 265 if (of_property_read_u32(q_node, "snps,idle_slope", in stmmac_mtl_setup() 268 if (of_property_read_u32(q_node, "snps,high_credit", in stmmac_mtl_setup() [all …]
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | fsl_soc.c | 92 of_property_read_u32(soc, "clock-frequency", &sysfreq); in fsl_get_sys_freq() 94 of_property_read_u32(soc, "bus-frequency", &sysfreq); in fsl_get_sys_freq() 113 of_property_read_u32(node, "clock-frequency", &brgfreq); in get_brgfreq() 126 of_property_read_u32(node, "brg-frequency", &brgfreq); in get_brgfreq() 128 if (!of_property_read_u32(node, "bus-frequency", in get_brgfreq() 149 of_property_read_u32(node, "current-speed", &fs_baudrate); in get_baudrate()
|
/Linux-v4.19/drivers/bus/ |
D | tegra-gmi.c | 145 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt() 165 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt() 170 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt() 175 if (!of_property_read_u32(child, "nvidia,snor-adv-width", &property)) in tegra_gmi_parse_dt() 180 if (!of_property_read_u32(child, "nvidia,snor-ce-width", &property)) in tegra_gmi_parse_dt() 185 if (!of_property_read_u32(child, "nvidia,snor-we-width", &property)) in tegra_gmi_parse_dt() 190 if (!of_property_read_u32(child, "nvidia,snor-oe-width", &property)) in tegra_gmi_parse_dt() 195 if (!of_property_read_u32(child, "nvidia,snor-wait-width", &property)) in tegra_gmi_parse_dt()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | stmpe-ts.c | 305 if (!of_property_read_u32(np, "st,sample-time", &val)) in stmpe_ts_get_platform_info() 307 if (!of_property_read_u32(np, "st,mod-12b", &val)) in stmpe_ts_get_platform_info() 309 if (!of_property_read_u32(np, "st,ref-sel", &val)) in stmpe_ts_get_platform_info() 311 if (!of_property_read_u32(np, "st,adc-freq", &val)) in stmpe_ts_get_platform_info() 313 if (!of_property_read_u32(np, "st,ave-ctrl", &val)) in stmpe_ts_get_platform_info() 315 if (!of_property_read_u32(np, "st,touch-det-delay", &val)) in stmpe_ts_get_platform_info() 317 if (!of_property_read_u32(np, "st,settling", &val)) in stmpe_ts_get_platform_info() 319 if (!of_property_read_u32(np, "st,fraction-z", &val)) in stmpe_ts_get_platform_info() 321 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 | 353 if (of_property_read_u32(np, "scanning_period", &val) >= 0) { in iproc_get_tsc_config() 362 if (of_property_read_u32(np, "debounce_timeout", &val) >= 0) { in iproc_get_tsc_config() 371 if (of_property_read_u32(np, "settling_timeout", &val) >= 0) { in iproc_get_tsc_config() 380 if (of_property_read_u32(np, "touch_timeout", &val) >= 0) { in iproc_get_tsc_config() 389 if (of_property_read_u32(np, "average_data", &val) >= 0) { in iproc_get_tsc_config() 397 if (of_property_read_u32(np, "fifo_threshold", &val) >= 0) { in iproc_get_tsc_config() 407 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config() 408 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config() 410 of_property_read_u32(np, "touchscreen-fuzz-x", in iproc_get_tsc_config() 412 of_property_read_u32(np, "touchscreen-fuzz-y", in iproc_get_tsc_config()
|
/Linux-v4.19/drivers/video/ |
D | of_display_timing.c | 40 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-v4.19/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 295 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias); in of_get_panel_info() 296 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt); in of_get_panel_info() 297 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz); in of_get_panel_info() 298 ret |= of_property_read_u32(info_np, "bpp", &info->bpp); in of_get_panel_info() 299 ret |= of_property_read_u32(info_np, "fdd", &info->fdd); in of_get_panel_info() 300 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge); in of_get_panel_info() 301 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl); in of_get_panel_info() 302 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order); in of_get_panel_info() 303 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th); in of_get_panel_info()
|
/Linux-v4.19/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 | 55 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { in syscon_poweroff_probe() 60 value_err = of_property_read_u32(pdev->dev.of_node, "value", &value); in syscon_poweroff_probe() 61 mask_err = of_property_read_u32(pdev->dev.of_node, "mask", &mask); in syscon_poweroff_probe()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-spear-spics.c | 137 if (of_property_read_u32(np, "st-spics,peripcfg-reg", in spics_gpio_probe() 140 if (of_property_read_u32(np, "st-spics,sw-enable-bit", in spics_gpio_probe() 143 if (of_property_read_u32(np, "st-spics,cs-value-bit", in spics_gpio_probe() 146 if (of_property_read_u32(np, "st-spics,cs-enable-mask", in spics_gpio_probe() 149 if (of_property_read_u32(np, "st-spics,cs-enable-shift", in spics_gpio_probe()
|
D | gpio-xilinx.c | 311 of_property_read_u32(np, "xlnx,dout-default", &chip->gpio_state[0]); in xgpio_probe() 314 if (of_property_read_u32(np, "xlnx,tri-default", &chip->gpio_dir[0])) in xgpio_probe() 321 if (of_property_read_u32(np, "xlnx,gpio-width", &chip->gpio_width[0])) in xgpio_probe() 326 if (of_property_read_u32(np, "xlnx,is-dual", &is_dual)) in xgpio_probe() 331 of_property_read_u32(np, "xlnx,dout-default-2", in xgpio_probe() 335 if (of_property_read_u32(np, "xlnx,tri-default-2", in xgpio_probe() 343 if (of_property_read_u32(np, "xlnx,gpio2-width", in xgpio_probe()
|
D | gpio-stp-xway.c | 238 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in xway_stp_probe() 242 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,groups", &groups)) in xway_stp_probe() 249 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,dsl", &dsl)) in xway_stp_probe() 256 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy1", &phy)) in xway_stp_probe() 258 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe()
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_of.c | 68 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup() 86 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup() 107 if (of_property_read_u32(np, "reg-offset", &prop) == 0) in of_platform_serial_setup() 111 if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { in of_platform_serial_setup() 134 if (of_property_read_u32(np, "reg-shift", &prop) == 0) in of_platform_serial_setup() 138 if (of_property_read_u32(np, "fifo-size", &prop) == 0) in of_platform_serial_setup() 231 if ((of_property_read_u32(ofdev->dev.of_node, "tx-threshold", in of_platform_serial_probe()
|
/Linux-v4.19/drivers/cpuidle/ |
D | dt_idle_states.c | 48 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node() 53 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node() 61 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node() 75 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
|
/Linux-v4.19/drivers/video/backlight/ |
D | arcxcnn_bl.c | 201 ret = of_property_read_u32(node, "default-brightness", &prog_val); in arcxcnn_parse_dt() 205 ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); in arcxcnn_parse_dt() 209 ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); in arcxcnn_parse_dt() 213 ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); in arcxcnn_parse_dt() 217 ret = of_property_read_u32(node, "arc,comp-config", &prog_val); in arcxcnn_parse_dt() 221 ret = of_property_read_u32(node, "arc,filter-config", &prog_val); in arcxcnn_parse_dt() 225 ret = of_property_read_u32(node, "arc,trim-config", &prog_val); in arcxcnn_parse_dt()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | opal-imc.c | 73 if (of_property_read_u32(node, "cb_offset", &cb_offset)) in export_imc_mode_and_cmd() 172 ret = of_property_read_u32(parent, "size", &pmu_ptr->counter_mem_size); in imc_pmu_create() 178 if (!of_property_read_u32(parent, "offset", &offset)) { in imc_pmu_create() 244 if (of_property_read_u32(node, "type", &type)) in get_max_nest_dev() 272 if (of_property_read_u32(imc_dev, "type", &type)) { in opal_imc_counters_probe()
|
/Linux-v4.19/drivers/clk/keystone/ |
D | pll.c | 176 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() 280 if (of_property_read_u32(node, "bit-mask", &mask)) { in of_pll_div_clk_init() 322 if (of_property_read_u32(node, "bit-shift", &shift)) { in of_pll_mux_clk_init() 327 if (of_property_read_u32(node, "bit-mask", &mask)) { in of_pll_mux_clk_init()
|