/linux-6.3-rc2/drivers/memory/ |
A D | of_memory.c | 71 ret |= of_property_read_u32(np, "tRCD", &tim->tRCD); in of_do_get_timings() 72 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_do_get_timings() 74 ret |= of_property_read_u32(np, "tRRD", &tim->tRRD); in of_do_get_timings() 75 ret |= of_property_read_u32(np, "tWTR", &tim->tWTR); in of_do_get_timings() 76 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings() 77 ret |= of_property_read_u32(np, "tRTP", &tim->tRTP); in of_do_get_timings() 80 ret |= of_property_read_u32(np, "tFAW", &tim->tFAW); in of_do_get_timings() 85 ret |= of_property_read_u32(np, "tDQSCK-max-derated", in of_do_get_timings() 226 ret |= of_property_read_u32(np, "tRC", &tim->tRC); in of_lpddr3_do_get_timings() 229 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_lpddr3_do_get_timings() [all …]
|
A D | ti-aemif.c | 269 if (of_property_read_u32(np, "ti,cs-chipselect", &cs)) { in of_aemif_parse_abus_config() 291 if (!of_property_read_u32(np, "ti,cs-min-turnaround-ns", &val)) in of_aemif_parse_abus_config() 294 if (!of_property_read_u32(np, "ti,cs-read-hold-ns", &val)) in of_aemif_parse_abus_config() 297 if (!of_property_read_u32(np, "ti,cs-read-strobe-ns", &val)) in of_aemif_parse_abus_config() 300 if (!of_property_read_u32(np, "ti,cs-read-setup-ns", &val)) in of_aemif_parse_abus_config() 303 if (!of_property_read_u32(np, "ti,cs-write-hold-ns", &val)) in of_aemif_parse_abus_config() 306 if (!of_property_read_u32(np, "ti,cs-write-strobe-ns", &val)) in of_aemif_parse_abus_config() 309 if (!of_property_read_u32(np, "ti,cs-write-setup-ns", &val)) in of_aemif_parse_abus_config() 312 if (!of_property_read_u32(np, "ti,cs-bus-width", &val)) in of_aemif_parse_abus_config()
|
A D | omap-gpmc.c | 2105 of_property_read_u32(np, "gpmc,adv-aad-mux-on-ns", in gpmc_read_timings_dt() 2119 of_property_read_u32(np, "gpmc,oe-aad-mux-on-ns", in gpmc_read_timings_dt() 2121 of_property_read_u32(np, "gpmc,oe-aad-mux-off-ns", in gpmc_read_timings_dt() 2125 of_property_read_u32(np, "gpmc,page-burst-access-ns", in gpmc_read_timings_dt() 2130 of_property_read_u32(np, "gpmc,bus-turnaround-ns", in gpmc_read_timings_dt() 2132 of_property_read_u32(np, "gpmc,cycle2cycle-delay-ns", in gpmc_read_timings_dt() 2134 of_property_read_u32(np, "gpmc,wait-monitoring-ns", in gpmc_read_timings_dt() 2136 of_property_read_u32(np, "gpmc,clk-activation-ns", in gpmc_read_timings_dt() 2141 of_property_read_u32(np, "gpmc,wr-data-mux-bus-ns", in gpmc_read_timings_dt() 2179 if (of_property_read_u32(child, "reg", &cs) < 0) { in gpmc_probe_generic_child() [all …]
|
A D | jz4780-nemc.c | 191 if (!of_property_read_u32(node, "ingenic,nemc-bus-width", &val)) { in jz4780_nemc_configure_bank() 207 if (of_property_read_u32(node, "ingenic,nemc-tAS", &val) == 0) { in jz4780_nemc_configure_bank() 219 if (of_property_read_u32(node, "ingenic,nemc-tAH", &val) == 0) { in jz4780_nemc_configure_bank() 231 if (of_property_read_u32(node, "ingenic,nemc-tBP", &val) == 0) { in jz4780_nemc_configure_bank() 243 if (of_property_read_u32(node, "ingenic,nemc-tAW", &val) == 0) { in jz4780_nemc_configure_bank() 255 if (of_property_read_u32(node, "ingenic,nemc-tSTRV", &val) == 0) { in jz4780_nemc_configure_bank()
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | cacheinfo.c | 97 if (!of_property_read_u32(node, "cache-size", &size) && in fill_cacheinfo() 98 !of_property_read_u32(node, "cache-block-size", &line_size) && in fill_cacheinfo() 99 !of_property_read_u32(node, "cache-sets", &sets)) { in fill_cacheinfo() 103 if (!of_property_read_u32(node, "i-cache-size", &size) && in fill_cacheinfo() 104 !of_property_read_u32(node, "i-cache-sets", &sets) && in fill_cacheinfo() 105 !of_property_read_u32(node, "i-cache-block-size", &line_size)) { in fill_cacheinfo() 109 if (!of_property_read_u32(node, "d-cache-size", &size) && in fill_cacheinfo() 110 !of_property_read_u32(node, "d-cache-sets", &sets) && in fill_cacheinfo() 111 !of_property_read_u32(node, "d-cache-block-size", &line_size)) { in fill_cacheinfo() 135 if (of_property_read_u32(np, "cache-level", &level)) in populate_cache_leaves()
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_platform.c | 165 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,priority", in stmmac_mtl_setup() 244 if (of_property_read_u32(q_node, "snps,weight", in stmmac_mtl_setup() 255 if (of_property_read_u32(q_node, "snps,send_slope", in stmmac_mtl_setup() 258 if (of_property_read_u32(q_node, "snps,idle_slope", in stmmac_mtl_setup() 261 if (of_property_read_u32(q_node, "snps,high_credit", in stmmac_mtl_setup() 264 if (of_property_read_u32(q_node, "snps,low_credit", in stmmac_mtl_setup() 271 if (of_property_read_u32(q_node, "snps,priority", in stmmac_mtl_setup() 448 of_property_read_u32(np, "clk_csr", &plat->clk_csr); in stmmac_probe_config_dt() 499 of_property_read_u32(np, "snps,multicast-filter-bins", in stmmac_probe_config_dt() [all …]
|
/linux-6.3-rc2/drivers/regulator/ |
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() 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() 141 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); in of_get_regulation_constraints() 240 if (!of_property_read_u32(np, "regulator-max-step-microvolt", in of_get_regulation_constraints() 274 if (!of_property_read_u32(suspend_np, "regulator-mode", in of_get_regulation_constraints() 296 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints() 300 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints() [all …]
|
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(np, "anatop-enable-bit", in anatop_regulator_probe()
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | fsl_soc.c | 87 of_property_read_u32(soc, "clock-frequency", &sysfreq); in fsl_get_sys_freq() 89 of_property_read_u32(soc, "bus-frequency", &sysfreq); in fsl_get_sys_freq() 108 of_property_read_u32(node, "clock-frequency", &brgfreq); in get_brgfreq() 121 of_property_read_u32(node, "brg-frequency", &brgfreq); in get_brgfreq() 123 if (!of_property_read_u32(node, "bus-frequency", in get_brgfreq() 144 of_property_read_u32(node, "current-speed", &fs_baudrate); in get_baudrate()
|
/linux-6.3-rc2/drivers/devfreq/ |
A D | rk3399_dmc.c | 302 ret |= of_property_read_u32(np, "rockchip,pd-idle-ns", in rk3399_dmcfreq_of_props() 304 ret |= of_property_read_u32(np, "rockchip,sr-idle-ns", in rk3399_dmcfreq_of_props() 306 ret |= of_property_read_u32(np, "rockchip,sr-mc-gate-idle-ns", in rk3399_dmcfreq_of_props() 308 ret |= of_property_read_u32(np, "rockchip,srpd-lite-idle-ns", in rk3399_dmcfreq_of_props() 310 ret |= of_property_read_u32(np, "rockchip,standby-idle-ns", in rk3399_dmcfreq_of_props() 312 ret |= of_property_read_u32(np, "rockchip,ddr3_odt_dis_freq", in rk3399_dmcfreq_of_props() 314 ret |= of_property_read_u32(np, "rockchip,lpddr3_odt_dis_freq", in rk3399_dmcfreq_of_props() 316 ret |= of_property_read_u32(np, "rockchip,lpddr4_odt_dis_freq", in rk3399_dmcfreq_of_props() 319 ret |= of_property_read_u32(np, "rockchip,pd-idle-dis-freq-hz", in rk3399_dmcfreq_of_props() 321 ret |= of_property_read_u32(np, "rockchip,sr-idle-dis-freq-hz", in rk3399_dmcfreq_of_props() [all …]
|
/linux-6.3-rc2/drivers/dma/dw/ |
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-6.3-rc2/drivers/input/touchscreen/ |
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()
|
A D | 88pm860x-ts.c | 133 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-prebias", &n)) in pm860x_touch_dt_init() 135 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-slot-cycle", &n)) in pm860x_touch_dt_init() 137 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-off-scale", &n)) in pm860x_touch_dt_init() 139 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-sw-cal", &n)) in pm860x_touch_dt_init() 147 if (!of_property_read_u32(np, "marvell,88pm860x-tsi-prebias", &data)) { in pm860x_touch_dt_init() 154 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init() 156 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init() 163 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init()
|
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(np, "touchscreen-fuzz-y", in iproc_get_tsc_config()
|
/linux-6.3-rc2/drivers/bus/ |
A D | tegra-gmi.c | 148 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt() 168 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt() 173 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt() 178 if (!of_property_read_u32(child, "nvidia,snor-adv-width", &property)) in tegra_gmi_parse_dt() 183 if (!of_property_read_u32(child, "nvidia,snor-ce-width", &property)) in tegra_gmi_parse_dt() 188 if (!of_property_read_u32(child, "nvidia,snor-we-width", &property)) in tegra_gmi_parse_dt() 193 if (!of_property_read_u32(child, "nvidia,snor-oe-width", &property)) in tegra_gmi_parse_dt() 198 if (!of_property_read_u32(child, "nvidia,snor-wait-width", &property)) in tegra_gmi_parse_dt()
|
/linux-6.3-rc2/drivers/gpu/drm/tilcdc/ |
A D | tilcdc_panel.c | 280 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias); in of_get_panel_info() 281 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt); in of_get_panel_info() 282 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz); in of_get_panel_info() 283 ret |= of_property_read_u32(info_np, "bpp", &info->bpp); in of_get_panel_info() 284 ret |= of_property_read_u32(info_np, "fdd", &info->fdd); in of_get_panel_info() 285 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge); in of_get_panel_info() 286 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl); in of_get_panel_info() 287 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order); in of_get_panel_info() 288 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th); in of_get_panel_info()
|
/linux-6.3-rc2/drivers/video/ |
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-6.3-rc2/drivers/tty/serial/8250/ |
A D | 8250_of.c | 46 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup() 65 if (of_property_read_u32(np, "current-speed", &spd) == 0) in of_platform_serial_setup() 86 if (of_property_read_u32(np, "reg-offset", &prop) == 0) { in of_platform_serial_setup() 99 if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { in of_platform_serial_setup() 126 if (of_property_read_u32(np, "reg-shift", &prop) == 0) in of_platform_serial_setup() 130 if (of_property_read_u32(np, "fifo-size", &prop) == 0) in of_platform_serial_setup() 229 if ((of_property_read_u32(ofdev->dev.of_node, "tx-threshold", in of_platform_serial_probe() 237 if (of_property_read_u32(ofdev->dev.of_node, in of_platform_serial_probe()
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-spear-spics.c | 131 if (of_property_read_u32(np, "st-spics,peripcfg-reg", in spics_gpio_probe() 134 if (of_property_read_u32(np, "st-spics,sw-enable-bit", in spics_gpio_probe() 137 if (of_property_read_u32(np, "st-spics,cs-value-bit", in spics_gpio_probe() 140 if (of_property_read_u32(np, "st-spics,cs-enable-mask", in spics_gpio_probe() 143 if (of_property_read_u32(np, "st-spics,cs-enable-shift", in spics_gpio_probe()
|
A D | gpio-stp-xway.c | 257 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) in xway_stp_probe() 261 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,groups", &groups)) in xway_stp_probe() 268 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,dsl", &dsl)) in xway_stp_probe() 277 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy1", &phy)) in xway_stp_probe() 279 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe() 285 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy3", &phy)) in xway_stp_probe() 290 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy4", &phy)) in xway_stp_probe()
|
/linux-6.3-rc2/drivers/power/reset/ |
A D | gpio-restart.c | 80 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); in gpio_restart_probe() 89 of_property_read_u32(pdev->dev.of_node, "active-delay", in gpio_restart_probe() 91 of_property_read_u32(pdev->dev.of_node, "inactive-delay", in gpio_restart_probe() 93 of_property_read_u32(pdev->dev.of_node, "wait-delay", in gpio_restart_probe()
|
A D | syscon-poweroff.c | 44 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { in syscon_poweroff_probe() 49 value_err = of_property_read_u32(pdev->dev.of_node, "value", &value); in syscon_poweroff_probe() 50 mask_err = of_property_read_u32(pdev->dev.of_node, "mask", &mask); in syscon_poweroff_probe()
|
/linux-6.3-rc2/drivers/cpuidle/ |
A D | dt_idle_states.c | 41 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node() 46 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node() 54 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node() 68 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
|
/linux-6.3-rc2/drivers/video/backlight/ |
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-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | opal-imc.c | 61 if (of_property_read_u32(node, "cb_offset", &cb_offset)) in export_imc_mode_and_cmd() 157 ret = of_property_read_u32(parent, "size", &pmu_ptr->counter_mem_size); in imc_pmu_create() 161 if (!of_property_read_u32(parent, "offset", &offset)) { in imc_pmu_create() 225 if (of_property_read_u32(node, "type", &type)) in get_max_nest_dev() 255 if (of_property_read_u32(imc_dev, "type", &type)) { in opal_imc_counters_probe()
|