/linux-4.4.14/drivers/memory/ |
H A D | of_memory.c | 40 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); of_get_min_tck() 41 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); of_get_min_tck() 42 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); of_get_min_tck() 43 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); of_get_min_tck() 44 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); of_get_min_tck() 45 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); of_get_min_tck() 46 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); of_get_min_tck() 47 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); of_get_min_tck() 48 ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); of_get_min_tck() 49 ret |= of_property_read_u32(np, "tCKESR-min-tck", &min->tCKESR); of_get_min_tck() 50 ret |= of_property_read_u32(np, "tFAW-min-tck", &min->tFAW); of_get_min_tck() 70 ret = of_property_read_u32(np, "max-freq", &tim->max_freq); of_do_get_timings() 71 ret |= of_property_read_u32(np, "min-freq", &tim->min_freq); of_do_get_timings() 72 ret |= of_property_read_u32(np, "tRPab", &tim->tRPab); of_do_get_timings() 73 ret |= of_property_read_u32(np, "tRCD", &tim->tRCD); of_do_get_timings() 74 ret |= of_property_read_u32(np, "tWR", &tim->tWR); of_do_get_timings() 75 ret |= of_property_read_u32(np, "tRAS-min", &tim->tRAS_min); of_do_get_timings() 76 ret |= of_property_read_u32(np, "tRRD", &tim->tRRD); of_do_get_timings() 77 ret |= of_property_read_u32(np, "tWTR", &tim->tWTR); of_do_get_timings() 78 ret |= of_property_read_u32(np, "tXP", &tim->tXP); of_do_get_timings() 79 ret |= of_property_read_u32(np, "tRTP", &tim->tRTP); of_do_get_timings() 80 ret |= of_property_read_u32(np, "tCKESR", &tim->tCKESR); of_do_get_timings() 81 ret |= of_property_read_u32(np, "tDQSCK-max", &tim->tDQSCK_max); of_do_get_timings() 82 ret |= of_property_read_u32(np, "tFAW", &tim->tFAW); of_do_get_timings() 83 ret |= of_property_read_u32(np, "tZQCS", &tim->tZQCS); of_do_get_timings() 84 ret |= of_property_read_u32(np, "tZQCL", &tim->tZQCL); of_do_get_timings() 85 ret |= of_property_read_u32(np, "tZQinit", &tim->tZQinit); of_do_get_timings() 86 ret |= of_property_read_u32(np, "tRAS-max-ns", &tim->tRAS_max_ns); of_do_get_timings() 87 ret |= of_property_read_u32(np, "tDQSCK-max-derated", of_do_get_timings()
|
H A D | jz4780-nemc.c | 186 if (!of_property_read_u32(node, "ingenic,nemc-bus-width", &val)) { jz4780_nemc_configure_bank() 202 if (of_property_read_u32(node, "ingenic,nemc-tAS", &val) == 0) { jz4780_nemc_configure_bank() 214 if (of_property_read_u32(node, "ingenic,nemc-tAH", &val) == 0) { jz4780_nemc_configure_bank() 226 if (of_property_read_u32(node, "ingenic,nemc-tBP", &val) == 0) { jz4780_nemc_configure_bank() 238 if (of_property_read_u32(node, "ingenic,nemc-tAW", &val) == 0) { jz4780_nemc_configure_bank() 250 if (of_property_read_u32(node, "ingenic,nemc-tSTRV", &val) == 0) { jz4780_nemc_configure_bank()
|
H A D | ti-aemif.c | 271 if (of_property_read_u32(np, "ti,cs-chipselect", &cs)) { of_aemif_parse_abus_config() 293 if (!of_property_read_u32(np, "ti,cs-min-turnaround-ns", &val)) of_aemif_parse_abus_config() 296 if (!of_property_read_u32(np, "ti,cs-read-hold-ns", &val)) of_aemif_parse_abus_config() 299 if (!of_property_read_u32(np, "ti,cs-read-strobe-ns", &val)) of_aemif_parse_abus_config() 302 if (!of_property_read_u32(np, "ti,cs-read-setup-ns", &val)) of_aemif_parse_abus_config() 305 if (!of_property_read_u32(np, "ti,cs-write-hold-ns", &val)) of_aemif_parse_abus_config() 308 if (!of_property_read_u32(np, "ti,cs-write-strobe-ns", &val)) of_aemif_parse_abus_config() 311 if (!of_property_read_u32(np, "ti,cs-write-setup-ns", &val)) of_aemif_parse_abus_config() 314 if (!of_property_read_u32(np, "ti,cs-bus-width", &val)) of_aemif_parse_abus_config()
|
H A D | omap-gpmc.c | 1680 of_property_read_u32(np, "gpmc,device-width", &p->device_width); gpmc_read_settings_dt() 1681 of_property_read_u32(np, "gpmc,mux-add-data", &p->mux_add_data); gpmc_read_settings_dt() 1683 if (!of_property_read_u32(np, "gpmc,burst-length", &p->burst_len)) { gpmc_read_settings_dt() 1692 if (!of_property_read_u32(np, "gpmc,wait-pin", &p->wait_pin)) { gpmc_read_settings_dt() 1714 of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); gpmc_read_timings_dt() 1717 of_property_read_u32(np, "gpmc,cs-on-ns", &gpmc_t->cs_on); gpmc_read_timings_dt() 1718 of_property_read_u32(np, "gpmc,cs-rd-off-ns", &gpmc_t->cs_rd_off); gpmc_read_timings_dt() 1719 of_property_read_u32(np, "gpmc,cs-wr-off-ns", &gpmc_t->cs_wr_off); gpmc_read_timings_dt() 1722 of_property_read_u32(np, "gpmc,adv-on-ns", &gpmc_t->adv_on); gpmc_read_timings_dt() 1723 of_property_read_u32(np, "gpmc,adv-rd-off-ns", &gpmc_t->adv_rd_off); gpmc_read_timings_dt() 1724 of_property_read_u32(np, "gpmc,adv-wr-off-ns", &gpmc_t->adv_wr_off); gpmc_read_timings_dt() 1727 of_property_read_u32(np, "gpmc,we-on-ns", &gpmc_t->we_on); gpmc_read_timings_dt() 1728 of_property_read_u32(np, "gpmc,we-off-ns", &gpmc_t->we_off); gpmc_read_timings_dt() 1731 of_property_read_u32(np, "gpmc,oe-on-ns", &gpmc_t->oe_on); gpmc_read_timings_dt() 1732 of_property_read_u32(np, "gpmc,oe-off-ns", &gpmc_t->oe_off); gpmc_read_timings_dt() 1735 of_property_read_u32(np, "gpmc,page-burst-access-ns", gpmc_read_timings_dt() 1737 of_property_read_u32(np, "gpmc,access-ns", &gpmc_t->access); gpmc_read_timings_dt() 1738 of_property_read_u32(np, "gpmc,rd-cycle-ns", &gpmc_t->rd_cycle); gpmc_read_timings_dt() 1739 of_property_read_u32(np, "gpmc,wr-cycle-ns", &gpmc_t->wr_cycle); gpmc_read_timings_dt() 1740 of_property_read_u32(np, "gpmc,bus-turnaround-ns", gpmc_read_timings_dt() 1742 of_property_read_u32(np, "gpmc,cycle2cycle-delay-ns", gpmc_read_timings_dt() 1744 of_property_read_u32(np, "gpmc,wait-monitoring-ns", gpmc_read_timings_dt() 1746 of_property_read_u32(np, "gpmc,clk-activation-ns", gpmc_read_timings_dt() 1750 of_property_read_u32(np, "gpmc,wr-access-ns", &gpmc_t->wr_access); gpmc_read_timings_dt() 1751 of_property_read_u32(np, "gpmc,wr-data-mux-bus-ns", gpmc_read_timings_dt() 1786 if (of_property_read_u32(child, "reg", &val) < 0) { gpmc_probe_nand_child() 1875 if (of_property_read_u32(child, "reg", &val) < 0) { gpmc_probe_onenand_child() 1890 if (!of_property_read_u32(child, "dma-channel", &val)) gpmc_probe_onenand_child() 1924 if (of_property_read_u32(child, "reg", &cs) < 0) { gpmc_probe_generic_child() 1986 ret = of_property_read_u32(child, "bank-width", &gpmc_s.device_width); gpmc_probe_generic_child() 2046 ret = of_property_read_u32(pdev->dev.of_node, "gpmc,num-cs", gpmc_probe_dt() 2060 ret = of_property_read_u32(pdev->dev.of_node, "gpmc,num-waitpins", gpmc_probe_dt()
|
H A D | mvebu-devbus.c | 106 err = of_property_read_u32(node, name, &time_ps); get_timing_param_ps() 127 err = of_property_read_u32(node, "devbus,bus-width", &r->bus_width); devbus_get_timing_params() 179 err = of_property_read_u32(node, "devbus,sync-enable", devbus_get_timing_params()
|
H A D | pl172.c | 67 if (!of_property_read_u32(np, name, &val)) { pl172_timing_prop() 93 if (!of_property_read_u32(np, "mpmc,memory-width", &cfg)) { pl172_setup_static() 179 if (!of_property_read_u32(np, "mpmc,cs", &cs)) { pl172_parse_cs_config()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
H A D | v4l2-of.c | 65 if (!of_property_read_u32(node, "clock-lanes", &v)) { v4l2_of_parse_csi_bus() 88 if (!of_property_read_u32(node, "hsync-active", &v)) v4l2_of_parse_parallel_bus() 92 if (!of_property_read_u32(node, "vsync-active", &v)) v4l2_of_parse_parallel_bus() 96 if (!of_property_read_u32(node, "field-even-active", &v)) v4l2_of_parse_parallel_bus() 104 if (!of_property_read_u32(node, "pclk-sample", &v)) v4l2_of_parse_parallel_bus() 108 if (!of_property_read_u32(node, "data-active", &v)) v4l2_of_parse_parallel_bus() 117 if (!of_property_read_u32(node, "bus-width", &v)) v4l2_of_parse_parallel_bus() 120 if (!of_property_read_u32(node, "data-shift", &v)) v4l2_of_parse_parallel_bus() 123 if (!of_property_read_u32(node, "sync-on-green-active", &v)) v4l2_of_parse_parallel_bus() 281 of_property_read_u32(np, "reg", &link->local_port); v4l2_of_parse_link() 294 of_property_read_u32(np, "reg", &link->remote_port); v4l2_of_parse_link()
|
/linux-4.4.14/drivers/regulator/ |
H A D | of_regulator.c | 54 if (!of_property_read_u32(np, "regulator-microvolt-offset", &pval)) of_get_regulation_constraints() 56 if (!of_property_read_u32(np, "regulator-min-microamp", &pval)) of_get_regulation_constraints() 58 if (!of_property_read_u32(np, "regulator-max-microamp", &pval)) of_get_regulation_constraints() 61 if (!of_property_read_u32(np, "regulator-input-current-limit-microamp", of_get_regulation_constraints() 82 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval); of_get_regulation_constraints() 90 ret = of_property_read_u32(np, "regulator-enable-ramp-delay", &pval); of_get_regulation_constraints() 97 if (!of_property_read_u32(np, "regulator-initial-mode", &pval)) { of_get_regulation_constraints() 110 if (!of_property_read_u32(np, "regulator-system-load", &pval)) of_get_regulation_constraints() 135 if (!of_property_read_u32(suspend_np, "regulator-mode", of_get_regulation_constraints() 157 if (!of_property_read_u32(suspend_np, of_get_regulation_constraints()
|
H A D | anatop-regulator.c | 214 ret = of_property_read_u32(np, "anatop-reg-offset", anatop_regulator_probe() 220 ret = of_property_read_u32(np, "anatop-vol-bit-width", anatop_regulator_probe() 226 ret = of_property_read_u32(np, "anatop-vol-bit-shift", anatop_regulator_probe() 232 ret = of_property_read_u32(np, "anatop-min-bit-val", anatop_regulator_probe() 238 ret = of_property_read_u32(np, "anatop-min-voltage", anatop_regulator_probe() 244 ret = of_property_read_u32(np, "anatop-max-voltage", anatop_regulator_probe() 252 of_property_read_u32(np, "anatop-delay-reg-offset", anatop_regulator_probe() 254 of_property_read_u32(np, "anatop-delay-bit-width", anatop_regulator_probe() 256 of_property_read_u32(np, "anatop-delay-bit-shift", anatop_regulator_probe()
|
H A D | max8952.c | 153 if (of_property_read_u32(np, "max8952,default-mode", &pd->default_mode)) max8952_parse_dt() 171 if (of_property_read_u32(np, "max8952,sync-freq", &pd->sync_freq)) max8952_parse_dt() 174 if (of_property_read_u32(np, "max8952,ramp-speed", &pd->ramp_speed)) max8952_parse_dt()
|
/linux-4.4.14/drivers/power/reset/ |
H A D | gpio-restart.c | 86 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); gpio_restart_probe() 95 of_property_read_u32(pdev->dev.of_node, "active-delay", gpio_restart_probe() 97 of_property_read_u32(pdev->dev.of_node, "inactive-delay", gpio_restart_probe() 99 of_property_read_u32(pdev->dev.of_node, "wait-delay", gpio_restart_probe()
|
H A D | syscon-poweroff.c | 53 if (of_property_read_u32(pdev->dev.of_node, "offset", &offset)) { syscon_poweroff_probe() 58 if (of_property_read_u32(pdev->dev.of_node, "mask", &mask)) { syscon_poweroff_probe()
|
H A D | syscon-reboot.c | 64 if (of_property_read_u32(pdev->dev.of_node, "offset", &ctx->offset)) syscon_reboot_probe() 67 if (of_property_read_u32(pdev->dev.of_node, "mask", &ctx->mask)) syscon_reboot_probe()
|
H A D | hisi-reboot.c | 54 if (of_property_read_u32(np, "reboot-offset", &reboot_offset) < 0) { hisi_reboot_probe()
|
H A D | xgene-reboot.c | 77 if (of_property_read_u32(dev->of_node, "mask", &ctx->mask)) xgene_reboot_probe()
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | 88pm860x-ts.c | 136 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-prebias", &n)) pm860x_touch_dt_init() 138 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-slot-cycle", &n)) pm860x_touch_dt_init() 140 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-off-scale", &n)) pm860x_touch_dt_init() 142 if (!of_property_read_u32(np, "marvell,88pm860x-gpadc-sw-cal", &n)) pm860x_touch_dt_init() 150 if (!of_property_read_u32(np, "marvell,88pm860x-tsi-prebias", &data)) { pm860x_touch_dt_init() 157 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) pm860x_touch_dt_init() 159 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) pm860x_touch_dt_init() 166 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); pm860x_touch_dt_init()
|
H A D | stmpe-ts.c | 274 if (!of_property_read_u32(np, "st,sample-time", &val)) stmpe_ts_get_platform_info() 276 if (!of_property_read_u32(np, "st,mod-12b", &val)) stmpe_ts_get_platform_info() 278 if (!of_property_read_u32(np, "st,ref-sel", &val)) stmpe_ts_get_platform_info() 280 if (!of_property_read_u32(np, "st,adc-freq", &val)) stmpe_ts_get_platform_info() 282 if (!of_property_read_u32(np, "st,ave-ctrl", &val)) stmpe_ts_get_platform_info() 284 if (!of_property_read_u32(np, "st,touch-det-delay", &val)) stmpe_ts_get_platform_info() 286 if (!of_property_read_u32(np, "st,settling", &val)) stmpe_ts_get_platform_info() 288 if (!of_property_read_u32(np, "st,fraction-z", &val)) stmpe_ts_get_platform_info() 290 if (!of_property_read_u32(np, "st,i-drive", &val)) stmpe_ts_get_platform_info()
|
H A D | bcm_iproc_tsc.c | 343 if (of_property_read_u32(np, "scanning_period", &val) >= 0) { iproc_get_tsc_config() 352 if (of_property_read_u32(np, "debounce_timeout", &val) >= 0) { iproc_get_tsc_config() 361 if (of_property_read_u32(np, "settling_timeout", &val) >= 0) { iproc_get_tsc_config() 370 if (of_property_read_u32(np, "touch_timeout", &val) >= 0) { iproc_get_tsc_config() 379 if (of_property_read_u32(np, "average_data", &val) >= 0) { iproc_get_tsc_config() 387 if (of_property_read_u32(np, "fifo_threshold", &val) >= 0) { iproc_get_tsc_config() 397 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); iproc_get_tsc_config() 398 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); iproc_get_tsc_config() 400 of_property_read_u32(np, "touchscreen-fuzz-x", iproc_get_tsc_config() 402 of_property_read_u32(np, "touchscreen-fuzz-y", iproc_get_tsc_config()
|
H A D | chipone_icn8318.c | 226 if (of_property_read_u32(np, "touchscreen-size-x", &data->max_x) || icn8318_probe() 227 of_property_read_u32(np, "touchscreen-size-y", &data->max_y)) { icn8318_probe() 233 of_property_read_u32(np, "touchscreen-fuzz-x", &fuzz_x); icn8318_probe() 234 of_property_read_u32(np, "touchscreen-fuzz-y", &fuzz_y); icn8318_probe()
|
H A D | tsc2007.c | 301 if (!of_property_read_u32(np, "ti,max-rt", &val32)) tsc2007_probe_dt() 306 if (!of_property_read_u32(np, "ti,fuzzx", &val32)) tsc2007_probe_dt() 309 if (!of_property_read_u32(np, "ti,fuzzy", &val32)) tsc2007_probe_dt() 312 if (!of_property_read_u32(np, "ti,fuzzz", &val32)) tsc2007_probe_dt() 320 if (!of_property_read_u32(np, "ti,x-plate-ohms", &val32)) { tsc2007_probe_dt()
|
H A D | ti_am335x_tsc.c | 346 err = of_property_read_u32(node, "ti,wires", &ts_dev->wires); titsc_parse_dt() 358 err = of_property_read_u32(node, "ti,x-plate-resistance", titsc_parse_dt() 367 err = of_property_read_u32(node, "ti,coordinate-readouts", titsc_parse_dt() 371 err = of_property_read_u32(node, "ti,coordiante-readouts", titsc_parse_dt() 384 err = of_property_read_u32(node, "ti,charge-delay", titsc_parse_dt()
|
H A D | mms114.c | 394 if (of_property_read_u32(np, "x-size", &pdata->x_size)) { mms114_parse_dt() 399 if (of_property_read_u32(np, "y-size", &pdata->y_size)) { mms114_parse_dt() 404 of_property_read_u32(np, "contact-threshold", mms114_parse_dt() 406 of_property_read_u32(np, "moving-threshold", mms114_parse_dt()
|
/linux-4.4.14/drivers/clk/ti/ |
H A D | fixed-factor.c | 44 if (of_property_read_u32(node, "ti,clock-div", &div)) { of_ti_fixed_factor_clk_setup() 49 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { of_ti_fixed_factor_clk_setup()
|
H A D | apll.c | 362 if (of_property_read_u32(node, "ti,clock-frequency", &val)) { of_omap2_apll_setup() 368 if (of_property_read_u32(node, "ti,bit-shift", &val)) { of_omap2_apll_setup() 377 if (of_property_read_u32(node, "ti,idlest-shift", &val)) { of_omap2_apll_setup()
|
H A D | clk-dra7-atl.c | 270 ret = of_property_read_u32(cfg_node, "bws", of_dra7_atl_clk_probe() 272 ret |= of_property_read_u32(cfg_node, "aws", of_dra7_atl_clk_probe()
|
H A D | gate.c | 231 if (!of_property_read_u32(node, "ti,bit-shift", &val)) _of_ti_gate_clk_setup() 270 of_property_read_u32(node, "ti,bit-shift", &val); _of_ti_composite_gate_clk_setup()
|
H A D | mux.c | 206 of_property_read_u32(node, "ti,bit-shift", &shift); of_mux_clk_setup() 278 if (!of_property_read_u32(node, "ti,bit-shift", &val)) of_ti_composite_mux_clk_setup()
|
H A D | divider.c | 484 if (of_property_read_u32(node, "ti,min-div", &min_div)) _get_divider_width() 487 if (of_property_read_u32(node, "ti,max-div", &max_div)) { _get_divider_width() 527 if (!of_property_read_u32(node, "ti,bit-shift", &val)) ti_clk_divider_populate()
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-spear-spics.c | 140 if (of_property_read_u32(np, "st-spics,peripcfg-reg", spics_gpio_probe() 143 if (of_property_read_u32(np, "st-spics,sw-enable-bit", spics_gpio_probe() 146 if (of_property_read_u32(np, "st-spics,cs-value-bit", spics_gpio_probe() 149 if (of_property_read_u32(np, "st-spics,cs-enable-mask", spics_gpio_probe() 152 if (of_property_read_u32(np, "st-spics,cs-enable-shift", spics_gpio_probe()
|
H A D | gpio-xilinx.c | 268 of_property_read_u32(np, "xlnx,dout-default", &chip->gpio_state[0]); xgpio_probe() 271 if (of_property_read_u32(np, "xlnx,tri-default", &chip->gpio_dir[0])) xgpio_probe() 278 if (of_property_read_u32(np, "xlnx,gpio-width", &chip->gpio_width[0])) xgpio_probe() 283 if (of_property_read_u32(np, "xlnx,is-dual", &is_dual)) xgpio_probe() 288 of_property_read_u32(np, "xlnx,dout-default-2", xgpio_probe() 292 if (of_property_read_u32(np, "xlnx,tri-default-2", xgpio_probe() 300 if (of_property_read_u32(np, "xlnx,gpio2-width", xgpio_probe()
|
H A D | gpio-stp-xway.c | 226 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,shadow", &shadow)) xway_stp_probe() 230 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,groups", &groups)) xway_stp_probe() 237 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,dsl", &dsl)) xway_stp_probe() 244 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy1", &phy)) xway_stp_probe() 246 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) xway_stp_probe()
|
H A D | gpio-twl4030.c | 463 of_property_read_u32(dev->of_node, "ti,debounce", of_gpio_twl4030() 465 of_property_read_u32(dev->of_node, "ti,mmc-cd", of_gpio_twl4030() 467 of_property_read_u32(dev->of_node, "ti,pullups", of_gpio_twl4030() 469 of_property_read_u32(dev->of_node, "ti,pulldowns", of_gpio_twl4030()
|
H A D | gpio-altera.c | 275 if (of_property_read_u32(node, "altr,ngpio", ®)) altera_gpio_probe() 308 if (of_property_read_u32(node, "altr,interrupt-type", ®)) { altera_gpio_probe()
|
/linux-4.4.14/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_panel.c | 324 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias); of_get_panel_info() 325 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt); of_get_panel_info() 326 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz); of_get_panel_info() 327 ret |= of_property_read_u32(info_np, "bpp", &info->bpp); of_get_panel_info() 328 ret |= of_property_read_u32(info_np, "fdd", &info->fdd); of_get_panel_info() 329 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge); of_get_panel_info() 330 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl); of_get_panel_info() 331 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order); of_get_panel_info() 332 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th); of_get_panel_info()
|
H A D | tilcdc_drv.c | 213 if (of_property_read_u32(node, "max-bandwidth", &priv->max_bandwidth)) tilcdc_load() 218 if (of_property_read_u32(node, "ti,max-width", &priv->max_width)) tilcdc_load() 223 if (of_property_read_u32(node, "ti,max-pixelclock", tilcdc_load()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 122 if (of_property_read_u32(np, "max-speed", &plat->max_speed)) stmmac_probe_config_dt() 146 if (of_property_read_u32(np, "snps,phy-addr", &plat->phy_addr) == 0) stmmac_probe_config_dt() 157 of_property_read_u32(np, "tx-fifo-depth", &plat->tx_fifo_size); stmmac_probe_config_dt() 159 of_property_read_u32(np, "rx-fifo-depth", &plat->rx_fifo_size); stmmac_probe_config_dt() 190 of_property_read_u32(np, "max-frame-size", &plat->maxmtu); stmmac_probe_config_dt() 191 of_property_read_u32(np, "snps,multicast-filter-bins", stmmac_probe_config_dt() 193 of_property_read_u32(np, "snps,perfect-filter-entries", stmmac_probe_config_dt() 218 of_property_read_u32(np, "snps,pbl", &dma_cfg->pbl); stmmac_probe_config_dt() 223 of_property_read_u32(np, "snps,burst_len", &dma_cfg->burst_len); stmmac_probe_config_dt()
|
/linux-4.4.14/drivers/misc/ |
H A D | qcom-coincell.c | 109 rc = of_property_read_u32(node, "reg", &chgr.base_addr); qcom_coincell_probe() 116 rc = of_property_read_u32(node, "qcom,rset-ohms", &rset); qcom_coincell_probe() 123 rc = of_property_read_u32(node, "qcom,vset-millivolts", &vset); qcom_coincell_probe()
|
H A D | bmp085.c | 405 if (!of_property_read_u32(np, "chip-id", &prop)) bmp085_get_of_properties() 408 if (!of_property_read_u32(np, "temp-measurement-period", &prop)) bmp085_get_of_properties() 411 if (!of_property_read_u32(np, "default-oversampling", &prop)) bmp085_get_of_properties()
|
/linux-4.4.14/drivers/of/ |
H A D | of_mtd.c | 64 ret = of_property_read_u32(np, "nand-ecc-step-size", &val); of_get_nand_ecc_step_size() 81 ret = of_property_read_u32(np, "nand-ecc-strength", &val); of_get_nand_ecc_strength() 96 if (of_property_read_u32(np, "nand-bus-width", &val)) of_get_nand_bus_width()
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | orion_nand.c | 106 if (!of_property_read_u32(pdev->dev.of_node, "cle", &val)) orion_nand_probe() 110 if (!of_property_read_u32(pdev->dev.of_node, "ale", &val)) orion_nand_probe() 114 if (!of_property_read_u32(pdev->dev.of_node, orion_nand_probe() 119 if (!of_property_read_u32(pdev->dev.of_node, orion_nand_probe()
|
H A D | lpc32xx_mlc.c | 620 of_property_read_u32(np, "nxp,tcea-delay", &ncfg->tcea_delay); lpc32xx_parse_dt() 621 of_property_read_u32(np, "nxp,busy-delay", &ncfg->busy_delay); lpc32xx_parse_dt() 622 of_property_read_u32(np, "nxp,nand-ta", &ncfg->nand_ta); lpc32xx_parse_dt() 623 of_property_read_u32(np, "nxp,rd-high", &ncfg->rd_high); lpc32xx_parse_dt() 624 of_property_read_u32(np, "nxp,rd-low", &ncfg->rd_low); lpc32xx_parse_dt() 625 of_property_read_u32(np, "nxp,wr-high", &ncfg->wr_high); lpc32xx_parse_dt() 626 of_property_read_u32(np, "nxp,wr-low", &ncfg->wr_low); lpc32xx_parse_dt()
|
H A D | denali_dt.c | 81 if (!of_property_read_u32(ofdev->dev.of_node, denali_dt_probe()
|
H A D | gpio.c | 113 if (!of_property_read_u32(dev->of_node, "bank-width", &val)) { gpio_nand_get_config_of() 128 if (!of_property_read_u32(dev->of_node, "chip-delay", &val)) gpio_nand_get_config_of()
|
H A D | lpc32xx_slc.c | 735 of_property_read_u32(np, "nxp,wdr-clks", &ncfg->wdr_clks); lpc32xx_parse_dt() 736 of_property_read_u32(np, "nxp,wwidth", &ncfg->wwidth); lpc32xx_parse_dt() 737 of_property_read_u32(np, "nxp,whold", &ncfg->whold); lpc32xx_parse_dt() 738 of_property_read_u32(np, "nxp,wsetup", &ncfg->wsetup); lpc32xx_parse_dt() 739 of_property_read_u32(np, "nxp,rdr-clks", &ncfg->rdr_clks); lpc32xx_parse_dt() 740 of_property_read_u32(np, "nxp,rwidth", &ncfg->rwidth); lpc32xx_parse_dt() 741 of_property_read_u32(np, "nxp,rhold", &ncfg->rhold); lpc32xx_parse_dt() 742 of_property_read_u32(np, "nxp,rsetup", &ncfg->rsetup); lpc32xx_parse_dt()
|
/linux-4.4.14/drivers/clk/h8300/ |
H A D | clk-div.c | 40 of_property_read_u32(node, "renesas,width", &width); h8300_div_clk_setup()
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_lvdscon.c | 107 of_property_read_u32(np, "width-mm", &lvdscon->panel.width_mm); rcar_du_lvds_connector_init() 108 of_property_read_u32(np, "height-mm", &lvdscon->panel.height_mm); rcar_du_lvds_connector_init()
|
/linux-4.4.14/drivers/clk/socfpga/ |
H A D | clk-periph.c | 73 of_property_read_u32(node, "reg", ®); __socfpga_periph_init() 90 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); __socfpga_periph_init()
|
H A D | clk-periph-a10.c | 83 of_property_read_u32(node, "reg", ®); __socfpga_periph_init() 100 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); __socfpga_periph_init()
|
H A D | clk-pll-a10.c | 90 of_property_read_u32(node, "reg", ®); __socfpga_pll_init()
|
H A D | clk-pll.c | 95 of_property_read_u32(node, "reg", ®); __socfpga_pll_init()
|
/linux-4.4.14/arch/arm/firmware/ |
H A D | trusted_foundations.c | 90 err = of_property_read_u32(node, "tlm,version-major", of_register_trusted_foundations() 94 err = of_property_read_u32(node, "tlm,version-minor", of_register_trusted_foundations()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | of_serial.c | 71 if (of_property_read_u32(np, "clock-frequency", &clk)) { of_platform_serial_setup() 88 if (of_property_read_u32(np, "current-speed", &spd) == 0) of_platform_serial_setup() 102 if (of_property_read_u32(np, "reg-offset", &prop) == 0) of_platform_serial_setup() 106 if (of_property_read_u32(np, "reg-shift", &prop) == 0) of_platform_serial_setup() 110 if (of_property_read_u32(np, "fifo-size", &prop) == 0) of_platform_serial_setup() 120 if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { of_platform_serial_setup()
|
/linux-4.4.14/drivers/iio/frequency/ |
H A D | adf4350.c | 395 of_property_read_u32(np, "adi,channel-spacing", &tmp); adf4350_parse_dt() 399 of_property_read_u32(np, "adi,power-up-frequency", &tmp); adf4350_parse_dt() 403 of_property_read_u32(np, "adi,reference-div-factor", &tmp); adf4350_parse_dt() 429 of_property_read_u32(np, "adi,charge-pump-current", &tmp); adf4350_parse_dt() 433 of_property_read_u32(np, "adi,muxout-select", &tmp); adf4350_parse_dt() 457 of_property_read_u32(np, "adi,12bit-clk-divider", &tmp); adf4350_parse_dt() 461 of_property_read_u32(np, "adi,clk-divider-mode", &tmp); adf4350_parse_dt() 477 of_property_read_u32(np, "adi,output-power", &tmp); adf4350_parse_dt() 481 of_property_read_u32(np, "adi,aux-output-power", &tmp); adf4350_parse_dt()
|
/linux-4.4.14/drivers/net/can/sja1000/ |
H A D | sja1000_platform.c | 104 err = of_property_read_u32(of, "reg-io-width", &prop); sp_populate_of() 123 err = of_property_read_u32(of, "nxp,external-clock-frequency", &prop); sp_populate_of() 129 err = of_property_read_u32(of, "nxp,tx-output-mode", &prop); sp_populate_of() 135 err = of_property_read_u32(of, "nxp,tx-output-config", &prop); sp_populate_of() 141 err = of_property_read_u32(of, "nxp,clock-out-frequency", &prop); sp_populate_of()
|
/linux-4.4.14/drivers/dma/dw/ |
H A D | platform.c | 116 if (of_property_read_u32(np, "dma-channels", &pdata->nr_channels)) dw_dma_parse_dt() 122 if (!of_property_read_u32(np, "chan_allocation_order", &tmp)) dw_dma_parse_dt() 125 if (!of_property_read_u32(np, "chan_priority", &tmp)) dw_dma_parse_dt() 128 if (!of_property_read_u32(np, "block_size", &tmp)) dw_dma_parse_dt() 131 if (!of_property_read_u32(np, "dma-masters", &tmp)) { dw_dma_parse_dt()
|
/linux-4.4.14/drivers/clk/keystone/ |
H A D | pll.c | 176 if (of_property_read_u32(node, "fixed-postdiv", &pll_data->postdiv)) { _of_pll_clk_init() 273 if (of_property_read_u32(node, "bit-shift", &shift)) { of_pll_div_clk_init() 278 if (of_property_read_u32(node, "bit-mask", &mask)) { of_pll_div_clk_init() 317 if (of_property_read_u32(node, "bit-shift", &shift)) { of_pll_mux_clk_init() 322 if (of_property_read_u32(node, "bit-mask", &mask)) { of_pll_mux_clk_init()
|
/linux-4.4.14/drivers/video/ |
H A D | of_display_timing.c | 41 ret = of_property_read_u32(np, name, &result->typ); parse_timing_property() 78 if (!of_property_read_u32(np, "vsync-active", &val)) of_parse_display_timing() 81 if (!of_property_read_u32(np, "hsync-active", &val)) of_parse_display_timing() 84 if (!of_property_read_u32(np, "de-active", &val)) of_parse_display_timing() 87 if (!of_property_read_u32(np, "pixelclk-active", &val)) of_parse_display_timing()
|
/linux-4.4.14/drivers/net/phy/ |
H A D | dp83867.c | 116 ret = of_property_read_u32(of_node, "ti,rx-internal-delay", dp83867_of_init() 121 ret = of_property_read_u32(of_node, "ti,tx-internal-delay", dp83867_of_init() 126 return of_property_read_u32(of_node, "ti,fifo-depth", dp83867_of_init()
|
H A D | micrel.c | 303 if (!of_property_read_u32(of_node, field1, &val1)) ksz9021_load_values_from_of() 306 if (!of_property_read_u32(of_node, field2, &val2)) ksz9021_load_values_from_of() 309 if (!of_property_read_u32(of_node, field3, &val3)) ksz9021_load_values_from_of() 312 if (!of_property_read_u32(of_node, field4, &val4)) ksz9021_load_values_from_of() 419 if (!of_property_read_u32(of_node, field[i], val + i)) ksz9031_of_load_skew_values() 589 ret = of_property_read_u32(np, "micrel,led-mode", kszphy_probe()
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | da7219-aad.c | 558 if (of_property_read_u32(aad_np, "dlg,micbias-pulse-lvl", da7219_aad_of_to_pdata() 565 if (of_property_read_u32(aad_np, "dlg,micbias-pulse-time", da7219_aad_of_to_pdata() 569 if (of_property_read_u32(aad_np, "dlg,btn-cfg", &of_val32) >= 0) da7219_aad_of_to_pdata() 574 if (of_property_read_u32(aad_np, "dlg,mic-det-thr", &of_val32) >= 0) da7219_aad_of_to_pdata() 580 if (of_property_read_u32(aad_np, "dlg,jack-ins-deb", &of_val32) >= 0) da7219_aad_of_to_pdata() 592 if (of_property_read_u32(aad_np, "dlg,jack-rem-deb", &of_val32) >= 0) da7219_aad_of_to_pdata() 598 if (of_property_read_u32(aad_np, "dlg,a-d-btn-thr", &of_val32) >= 0) da7219_aad_of_to_pdata() 603 if (of_property_read_u32(aad_np, "dlg,d-b-btn-thr", &of_val32) >= 0) da7219_aad_of_to_pdata() 608 if (of_property_read_u32(aad_np, "dlg,b-c-btn-thr", &of_val32) >= 0) da7219_aad_of_to_pdata() 613 if (of_property_read_u32(aad_np, "dlg,c-mic-btn-thr", &of_val32) >= 0) da7219_aad_of_to_pdata() 618 if (of_property_read_u32(aad_np, "dlg,btn-avg", &of_val32) >= 0) da7219_aad_of_to_pdata() 623 if (of_property_read_u32(aad_np, "dlg,adc-1bit-rpt", &of_val32) >= 0) da7219_aad_of_to_pdata()
|
H A D | cs35l32.c | 274 if (of_property_read_u32(np, "cirrus,sdout-share", &val) >= 0) cs35l32_handle_of_data() 277 of_property_read_u32(np, "cirrus,boost-manager", &val); cs35l32_handle_of_data() 291 of_property_read_u32(np, "cirrus,sdout-datacfg", &val); cs35l32_handle_of_data() 305 of_property_read_u32(np, "cirrus,battery-threshold", &val); cs35l32_handle_of_data() 319 of_property_read_u32(np, "cirrus,battery-recovery", &val); cs35l32_handle_of_data()
|
/linux-4.4.14/drivers/watchdog/ |
H A D | of_xilinx_wdt.c | 168 rc = of_property_read_u32(pdev->dev.of_node, "clock-frequency", &pfreq); xwdt_probe() 173 rc = of_property_read_u32(pdev->dev.of_node, "xlnx,wdt-interval", xwdt_probe() 179 rc = of_property_read_u32(pdev->dev.of_node, "xlnx,wdt-enable-once", xwdt_probe()
|
/linux-4.4.14/drivers/input/misc/ |
H A D | twl6040-vibra.c | 283 of_property_read_u32(twl6040_core_node, "ti,vibldrv-res", twl6040_vibra_probe() 285 of_property_read_u32(twl6040_core_node, "ti,vibrdrv-res", twl6040_vibra_probe() 287 of_property_read_u32(twl6040_core_node, "ti,viblmotor-res", twl6040_vibra_probe() 289 of_property_read_u32(twl6040_core_node, "ti,vibrmotor-res", twl6040_vibra_probe() 291 of_property_read_u32(twl6040_core_node, "ti,vddvibl-uV", &vddvibl_uV); twl6040_vibra_probe() 292 of_property_read_u32(twl6040_core_node, "ti,vddvibr-uV", &vddvibr_uV); twl6040_vibra_probe()
|
H A D | regulator-haptic.c | 131 error = of_property_read_u32(node, "max-microvolt", &haptic->max_volt); regulator_haptic_parse_dt() 137 error = of_property_read_u32(node, "min-microvolt", &haptic->min_volt); regulator_haptic_parse_dt()
|
H A D | rotary_encoder.c | 219 of_property_read_u32(np, "rotary-encoder,steps", &pdata->steps); rotary_encoder_parse_dt() 220 of_property_read_u32(np, "linux,axis", &pdata->axis); rotary_encoder_parse_dt() 232 error = of_property_read_u32(np, "rotary-encoder,steps-per-period", rotary_encoder_parse_dt()
|
H A D | drv260x.c | 479 error = of_property_read_u32(np, "mode", &haptics->mode); drv260x_parse_dt() 485 error = of_property_read_u32(np, "library-sel", &haptics->library); drv260x_parse_dt() 492 error = of_property_read_u32(np, "vib-rated-mv", &voltage); drv260x_parse_dt() 497 error = of_property_read_u32(np, "vib-overdrive-mv", &voltage); drv260x_parse_dt()
|
H A D | palmas-pwrbutton.c | 130 error = of_property_read_u32(np, "ti,palmas-long-press-seconds", &val); palmas_pwron_params_ofinit() 140 error = of_property_read_u32(np, palmas_pwron_params_ofinit()
|
H A D | pm8941-pwrkey.c | 163 if (of_property_read_u32(pdev->dev.of_node, "debounce", &req_delay)) pm8941_pwrkey_probe() 191 error = of_property_read_u32(pdev->dev.of_node, "reg", pm8941_pwrkey_probe()
|
H A D | sirfsoc-onkey.c | 125 error = of_property_read_u32(np, "reg", &pwrcdrv->pwrc_base); sirfsoc_pwrc_probe()
|
/linux-4.4.14/drivers/pci/host/ |
H A D | pcie-iproc-platform.c | 60 ret = of_property_read_u32(np, "brcm,pcie-ob-axi-offset", iproc_pcie_pltfm_probe() 69 ret = of_property_read_u32(np, "brcm,pcie-ob-window-size", iproc_pcie_pltfm_probe()
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
H A D | pinctrl-mxs.c | 83 if (of_property_read_u32(np, "reg", ®)) mxs_dt_node_to_map() 86 ret = of_property_read_u32(np, "fsl,drive-strength", &val); mxs_dt_node_to_map() 89 ret = of_property_read_u32(np, "fsl,voltage", &val); mxs_dt_node_to_map() 92 ret = of_property_read_u32(np, "fsl,pull-up", &val); mxs_dt_node_to_map() 362 if (of_property_read_u32(np, "reg", &val)) mxs_pinctrl_parse_group() 421 if (of_property_read_u32(child, "reg", &val)) for_each_child_of_node() 445 if (of_property_read_u32(child, "reg", &val)) for_each_child_of_node() 485 if (of_property_read_u32(child, "reg", &val)) { for_each_child_of_node()
|
/linux-4.4.14/drivers/clocksource/ |
H A D | dw_apb_timer_of.c | 57 if (of_property_read_u32(np, "clock-freq", rate) && timer_get_base_and_rate() 58 of_property_read_u32(np, "clock-frequency", rate)) timer_get_base_and_rate()
|
H A D | armv7m_systick.c | 37 ret = of_property_read_u32(np, "clock-frequency", &rate); system_timer_of_register()
|
H A D | bcm2835_timer.c | 94 if (of_property_read_u32(node, "clock-frequency", &freq)) bcm2835_timer_init()
|
H A D | clksrc_st_lpc.c | 100 ret = of_property_read_u32(np, "st,lpc-mode", &mode); st_clksrc_of_register()
|
H A D | qcom-timer.c | 246 if (of_property_read_u32(np, "cpu-offset", &percpu_offset)) msm_dt_timer_init() 260 if (of_property_read_u32(np, "clock-frequency", &freq)) { msm_dt_timer_init()
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-fixed-factor.c | 116 if (of_property_read_u32(node, "clock-div", &div)) { of_fixed_factor_clk_setup() 122 if (of_property_read_u32(node, "clock-mult", &mult)) { of_fixed_factor_clk_setup()
|
H A D | clk-fixed-rate.c | 120 if (of_property_read_u32(node, "clock-frequency", &rate)) of_fixed_clk_setup() 123 of_property_read_u32(node, "clock-accuracy", &accuracy); of_fixed_clk_setup()
|
H A D | clk-xgene.c | 479 if (of_property_read_u32(np, "csr-offset", ¶meters.reg_csr_offset)) xgene_devclk_init() 481 if (of_property_read_u32(np, "csr-mask", ¶meters.reg_csr_mask)) xgene_devclk_init() 483 if (of_property_read_u32(np, "enable-offset", xgene_devclk_init() 486 if (of_property_read_u32(np, "enable-mask", ¶meters.reg_clk_mask)) xgene_devclk_init() 488 if (of_property_read_u32(np, "divider-offset", xgene_devclk_init() 491 if (of_property_read_u32(np, "divider-width", xgene_devclk_init() 494 if (of_property_read_u32(np, "divider-shift", xgene_devclk_init()
|
H A D | clk-pwm.c | 79 if (of_property_read_u32(node, "clock-frequency", &clk_pwm->fixed_rate)) clk_pwm_probe()
|
H A D | clk-vt8500.c | 252 rc = of_property_read_u32(node, "enable-reg", &en_reg); vtwm_device_clk_init() 255 rc = of_property_read_u32(node, "enable-bit", &dev_clk->en_bit); vtwm_device_clk_init() 264 rc = of_property_read_u32(node, "divisor-reg", &div_reg); vtwm_device_clk_init() 273 of_property_read_u32(node, "divisor-mask", &dev_clk->div_mask); vtwm_device_clk_init() 663 rc = of_property_read_u32(node, "reg", ®); vtwm_pll_clk_init()
|
H A D | clk-si570.c | 427 err = of_property_read_u32(client->dev.of_node, si570_probe() 447 err = of_property_read_u32(client->dev.of_node, "factory-fout", si570_probe() 478 if (!of_property_read_u32(client->dev.of_node, "clock-frequency", si570_probe()
|
/linux-4.4.14/drivers/irqchip/ |
H A D | irq-crossbar.c | 214 of_property_read_u32(node, "ti,max-crossbar-sources", crossbar_of_init() 222 of_property_read_u32(node, "ti,max-irqs", &max); crossbar_of_init() 278 of_property_read_u32(node, "ti,reg-size", &size); crossbar_of_init() 309 of_property_read_u32(node, "ti,irqs-safe-map", &cb->safe_map); crossbar_of_init()
|
H A D | irq-versatile-fpga.c | 200 if (of_property_read_u32(node, "clear-mask", &clear_mask)) fpga_irq_of_init() 203 if (of_property_read_u32(node, "valid-mask", &valid_mask)) fpga_irq_of_init()
|
H A D | irq-moxart.c | 91 ret = of_property_read_u32(node, "interrupt-mask", moxart_of_intc_init()
|
H A D | irq-mmp.c | 348 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", &nr_irqs); mmp_init_bases() 434 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", mmp2_mux_of_init() 470 if (!of_property_read_u32(node, "mrvl,clr-mfp-irq", mmp2_mux_of_init()
|
H A D | irq-gic-v2m.c | 327 if (!of_property_read_u32(node, "arm,msi-base-spi", &v2m->spi_start) && gicv2m_init_one() 328 !of_property_read_u32(node, "arm,msi-num-spis", &v2m->nr_spis)) { gicv2m_init_one()
|
H A D | irq-orion.c | 148 of_property_read_u32(np, "marvell,#interrupts", &nrirqs); orion_bridge_irq_init()
|
H A D | irq-st.c | 149 of_property_read_u32(np, "st,invert-ext", &invert); st_irq_syscfg_enable()
|
H A D | exynos-combiner.c | 266 if (of_property_read_u32(np, "samsung,combiner-nr", &max_nr)) { combiner_of_init()
|
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-designware-platdrv.c | 167 of_property_read_u32(pdev->dev.of_node, dw_i2c_plat_probe() 170 of_property_read_u32(pdev->dev.of_node, dw_i2c_plat_probe() 173 of_property_read_u32(pdev->dev.of_node, dw_i2c_plat_probe() 177 of_property_read_u32(pdev->dev.of_node, "clock-frequency", dw_i2c_plat_probe()
|
H A D | i2c-ocores.c | 346 if (of_property_read_u32(np, "reg-shift", &i2c->reg_shift)) { ocores_i2c_of_probe() 348 if (!of_property_read_u32(np, "regstep", &val)) { ocores_i2c_of_probe() 360 clock_frequency_present = !of_property_read_u32(np, "clock-frequency", ocores_i2c_of_probe() 380 if (of_property_read_u32(np, "opencores,ip-clock-frequency", ocores_i2c_of_probe() 397 of_property_read_u32(pdev->dev.of_node, "reg-io-width", ocores_i2c_of_probe()
|
H A D | i2c-efm32.c | 374 ret = of_property_read_u32(np, "energymicro,location", &location); efm32_i2c_probe() 378 ret = of_property_read_u32(np, "efm32,location", &location); efm32_i2c_probe() 391 ret = of_property_read_u32(np, "clock-frequency", &frequency); efm32_i2c_probe()
|
H A D | i2c-gpio.c | 114 of_property_read_u32(np, "i2c-gpio,delay-us", &pdata->udelay); of_i2c_gpio_get_props() 116 if (!of_property_read_u32(np, "i2c-gpio,timeout-ms", ®)) of_i2c_gpio_get_props()
|
H A D | i2c-sun6i-p2wi.c | 197 of_property_read_u32(np, "clock-frequency", &clk_freq); p2wi_probe() 224 ret = of_property_read_u32(childnp, "reg", &slave_addr); p2wi_probe()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | of.c | 42 if (of_property_read_u32(np, "brcm,drive-strength", &val) == 0) brcmf_of_probe()
|
/linux-4.4.14/drivers/cpuidle/ |
H A D | dt_idle_states.c | 42 err = of_property_read_u32(state_node, "wakeup-latency-us", init_state_node() 47 err = of_property_read_u32(state_node, "entry-latency-us", init_state_node() 55 err = of_property_read_u32(state_node, "exit-latency-us", init_state_node() 69 err = of_property_read_u32(state_node, "min-residency-us", init_state_node()
|
/linux-4.4.14/drivers/clk/sunxi/ |
H A D | clk-a10-hosc.c | 34 if (of_property_read_u32(node, "clock-frequency", &rate)) sun4i_osc_clk_setup()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
H A D | cpuinfo.h | 103 of_property_read_u32(cpu, n, &val); fcpu()
|
/linux-4.4.14/arch/arm/mach-shmobile/ |
H A D | timer.c | 53 if (!of_property_read_u32(np, "clock-frequency", &freq)) for_each_child_of_node()
|
/linux-4.4.14/arch/arm/mach-axxia/ |
H A D | platsmp.c | 72 if (of_property_read_u32(np, "cpu-release-addr", &release_phys)) for_each_possible_cpu()
|
/linux-4.4.14/drivers/dma/ |
H A D | ti-dma-crossbar.c | 152 if (of_property_read_u32(dma_node, "dma-requests", ti_am335x_xbar_probe() 161 if (of_property_read_u32(node, "dma-requests", &xbar->xbar_events)) { ti_am335x_xbar_probe() 316 if (of_property_read_u32(dma_node, "dma-requests", ti_dra7_xbar_probe() 325 if (of_property_read_u32(node, "dma-requests", &xbar->xbar_requests)) { ti_dra7_xbar_probe() 332 if (!of_property_read_u32(node, "ti,dma-safe-map", &safe_val)) ti_dra7_xbar_probe()
|
H A D | lpc18xx-dmamux.c | 130 ret = of_property_read_u32(np, "dma-requests", lpc18xx_dmamux_probe() 143 ret = of_property_read_u32(dma_np, "dma-requests", lpc18xx_dmamux_probe()
|
H A D | dma-axi-dmac.c | 504 ret = of_property_read_u32(of_chan, "reg", &val); axi_dmac_parse_chan_dt() 512 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); axi_dmac_parse_chan_dt() 519 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); axi_dmac_parse_chan_dt() 526 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); axi_dmac_parse_chan_dt() 531 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); axi_dmac_parse_chan_dt() 536 ret = of_property_read_u32(of_chan, "adi,length-width", &val); axi_dmac_parse_chan_dt()
|
/linux-4.4.14/drivers/soc/tegra/ |
H A D | pmc.c | 637 if (of_property_read_u32(np, "nvidia,suspend-mode", &value)) { tegra_pmc_parse_dt() 660 if (of_property_read_u32(np, "nvidia,cpu-pwr-good-time", &value)) tegra_pmc_parse_dt() 665 if (of_property_read_u32(np, "nvidia,cpu-pwr-off-time", &value)) tegra_pmc_parse_dt() 677 if (of_property_read_u32(np, "nvidia,core-pwr-off-time", &value)) tegra_pmc_parse_dt() 747 if (of_property_read_u32(np, "nvidia,i2c-controller-id", &ctrl_id)) { tegra_pmc_init_tsense_reset() 752 if (of_property_read_u32(np, "nvidia,bus-addr", &pmu_addr)) { tegra_pmc_init_tsense_reset() 757 if (of_property_read_u32(np, "nvidia,reg-addr", ®_addr)) { tegra_pmc_init_tsense_reset() 762 if (of_property_read_u32(np, "nvidia,reg-data", ®_data)) { tegra_pmc_init_tsense_reset() 767 if (of_property_read_u32(np, "nvidia,pinmux-id", &pinmux)) tegra_pmc_init_tsense_reset()
|
/linux-4.4.14/arch/arm/mm/ |
H A D | cache-uniphier.c | 385 if (of_property_read_u32(np, "next-level-cache", &phandle)) uniphier_cache_get_next_level_node() 405 if (of_property_read_u32(np, "cache-level", &level)) { __uniphier_cache_init() 425 if (of_property_read_u32(np, "cache-line-size", &data->line_size) || __uniphier_cache_init() 433 if (of_property_read_u32(np, "cache-sets", &data->nsets) || __uniphier_cache_init() 441 if (of_property_read_u32(np, "cache-size", &cache_size) || __uniphier_cache_init() 519 if (!of_property_read_u32(np, "cache-level", &cache_level) && uniphier_cache_init()
|
H A D | cache-l2x0.c | 960 of_property_read_u32(np, "cache-size", &cache_size); l2x0_cache_size_of_parse() 961 of_property_read_u32(np, "cache-sets", &sets); l2x0_cache_size_of_parse() 962 of_property_read_u32(np, "cache-block-size", &block_size); l2x0_cache_size_of_parse() 963 of_property_read_u32(np, "cache-line-size", &line_size); l2x0_cache_size_of_parse() 1042 of_property_read_u32(np, "arm,tag-latency", &tag); l2x0_of_parse() 1057 of_property_read_u32(np, "arm,dirty-latency", &dirty); l2x0_of_parse() 1181 ret = of_property_read_u32(np, "arm,double-linefill", &val); l2c310_of_parse() 1191 ret = of_property_read_u32(np, "arm,double-linefill-incr", &val); l2c310_of_parse() 1201 ret = of_property_read_u32(np, "arm,double-linefill-wrap", &val); l2c310_of_parse() 1211 ret = of_property_read_u32(np, "arm,prefetch-drop", &val); l2c310_of_parse() 1221 ret = of_property_read_u32(np, "arm,prefetch-offset", &val); l2c310_of_parse() 1229 ret = of_property_read_u32(np, "prefetch-data", &val); l2c310_of_parse() 1239 ret = of_property_read_u32(np, "prefetch-instr", &val); l2c310_of_parse() 1444 of_property_read_u32(np, "cache-id-part", aurora_of_parse() 1739 if (of_property_read_u32(np, "cache-level", &cache_level)) l2x0_of_init()
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-bcm6358.c | 187 of_property_read_u32(np, "brcm,clk-div", &clk_div); bcm6358_leds_probe() 208 if (of_property_read_u32(child, "reg", ®)) for_each_available_child_of_node()
|
H A D | leds-syscon.c | 97 if (of_property_read_u32(np, "offset", &sled->offset)) syscon_led_probe() 99 if (of_property_read_u32(np, "mask", &sled->mask)) syscon_led_probe()
|
H A D | leds-ktd2692.c | 331 ret = of_property_read_u32(child_node, "led-max-microamp", ktd2692_parse_dt() 338 ret = of_property_read_u32(child_node, "flash-max-microamp", ktd2692_parse_dt() 345 ret = of_property_read_u32(child_node, "flash-max-timeout-us", ktd2692_parse_dt()
|
H A D | leds-aat1290.c | 284 ret = of_property_read_u32(child_node, "led-max-microamp", aat1290_led_parse_dt() 294 ret = of_property_read_u32(child_node, "flash-max-microamp", aat1290_led_parse_dt() 302 ret = of_property_read_u32(child_node, "flash-max-timeout-us", aat1290_led_parse_dt()
|
H A D | leds-netxbig.c | 457 ret = of_property_read_u32(child, "mode-addr", for_each_child_of_node() 462 ret = of_property_read_u32(child, "bright-addr", for_each_child_of_node() 467 ret = of_property_read_u32(child, "max-brightness", for_each_child_of_node()
|
H A D | leds-pwm.c | 158 of_property_read_u32(child, "max-brightness", led_pwm_create_of()
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_platform.c | 56 of_property_read_u32(np, "samsung,pbl", &dma_cfg->pbl); sxgbe_probe_config_dt() 57 if (of_property_read_u32(np, "samsung,burst-map", &dma_cfg->burst_map) == 0) sxgbe_probe_config_dt()
|
/linux-4.4.14/drivers/pinctrl/spear/ |
H A D | pinctrl-plgpio.c | 458 if (!of_property_read_u32(np, "st-plgpio,ngpio", &val)) { plgpio_probe_dt() 465 if (!of_property_read_u32(np, "st-plgpio,enb-reg", &val)) plgpio_probe_dt() 470 if (!of_property_read_u32(np, "st-plgpio,wdata-reg", &val)) { plgpio_probe_dt() 477 if (!of_property_read_u32(np, "st-plgpio,dir-reg", &val)) { plgpio_probe_dt() 484 if (!of_property_read_u32(np, "st-plgpio,ie-reg", &val)) { plgpio_probe_dt() 491 if (!of_property_read_u32(np, "st-plgpio,rdata-reg", &val)) { plgpio_probe_dt() 498 if (!of_property_read_u32(np, "st-plgpio,mis-reg", &val)) { plgpio_probe_dt() 505 if (!of_property_read_u32(np, "st-plgpio,eit-reg", &val)) plgpio_probe_dt()
|
/linux-4.4.14/arch/c6x/platforms/ |
H A D | timer64.c | 186 err = of_property_read_u32(np, "ti,core-mask", &val); timer64_init() 220 err = of_property_read_u32(np, "ti,dscr-dev-enable", &val); timer64_init()
|
H A D | plldata.c | 437 err = of_property_read_u32(node, "clock-frequency", &val); c64x_setup_clocks() 445 err = of_property_read_u32(node, "ti,c64x+pll-bypass-delay", &val); c64x_setup_clocks() 450 err = of_property_read_u32(node, "ti,c64x+pll-reset-delay", &val); c64x_setup_clocks() 455 err = of_property_read_u32(node, "ti,c64x+pll-lock-delay", &val); c64x_setup_clocks()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | intc.c | 147 ret = of_property_read_u32(intc, "xlnx,num-intr-inputs", &nr_irq); xilinx_intc_of_init() 153 ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &intr_mask); xilinx_intc_of_init()
|
H A D | timer.c | 275 of_property_read_u32(timer, "xlnx,one-timer-only", &timer_num); xilinx_timer_init() 287 of_property_read_u32(timer, "clock-frequency", xilinx_timer_init()
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | eukrea-tlv320.c | 118 ret = of_property_read_u32(np, "fsl,mux-int-port", &int_port); eukrea_tlv320_probe() 124 ret = of_property_read_u32(np, "fsl,mux-ext-port", &ext_port); eukrea_tlv320_probe()
|
H A D | imx-es8328.c | 88 ret = of_property_read_u32(np, "mux-int-port", &int_port); imx_es8328_probe() 99 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); imx_es8328_probe()
|
H A D | imx-sgtl5000.c | 68 ret = of_property_read_u32(np, "mux-int-port", &int_port); imx_sgtl5000_probe() 73 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); imx_sgtl5000_probe()
|
H A D | imx-wm8962.c | 165 ret = of_property_read_u32(np, "mux-int-port", &int_port); imx_wm8962_probe() 170 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); imx_wm8962_probe()
|
H A D | fsl-asoc-card.c | 294 ret = of_property_read_u32(np, "mux-int-port", &int_port); fsl_asoc_card_audmux_init() 299 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); fsl_asoc_card_audmux_init() 601 ret = of_property_read_u32(cpu_np, "cell-index", &idx); fsl_asoc_card_probe() 630 ret = of_property_read_u32(asrc_np, "fsl,asrc-rate", fsl_asoc_card_probe() 638 ret = of_property_read_u32(asrc_np, "fsl,asrc-width", &width); fsl_asoc_card_probe()
|
/linux-4.4.14/drivers/mfd/ |
H A D | smsc-ece1099.c | 58 of_property_read_u32(i2c->dev.of_node, "clock", &smsc->clk); smsc_i2c_probe()
|
H A D | atmel-flexcom.c | 52 err = of_property_read_u32(np, "atmel,flexcom-mode", &opmode); atmel_flexcom_probe()
|
H A D | ti_am335x_tscadc.c | 157 of_property_read_u32(node, "ti,wires", &tsc_wires); ti_tscadc_probe() 158 of_property_read_u32(node, "ti,coordiante-readouts", &readouts); ti_tscadc_probe()
|
H A D | palmas.c | 401 ret = of_property_read_u32(node, "ti,mux-pad1", &prop); palmas_dt_to_pdata() 407 ret = of_property_read_u32(node, "ti,mux-pad2", &prop); palmas_dt_to_pdata() 414 ret = of_property_read_u32(node, "ti,power-ctrl", &prop); palmas_dt_to_pdata()
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | adp1653.c | 441 if (of_property_read_u32(child, "flash-timeout-us", adp1653_of_init() 445 if (of_property_read_u32(child, "flash-max-microamp", adp1653_of_init() 451 if (of_property_read_u32(child, "led-max-microamp", adp1653_of_init() 462 if (of_property_read_u32(child, "led-max-microamp", adp1653_of_init()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | arm_big_little_dt.c | 74 of_property_read_u32(np, "clock-latency", &transition_latency); dt_get_transition_latency()
|
H A D | powernv-cpufreq.c | 88 if (of_property_read_u32(power_mgt, "ibm,pstate-min", &pstate_min)) { init_powernv_pstates() 93 if (of_property_read_u32(power_mgt, "ibm,pstate-max", &pstate_max)) { init_powernv_pstates() 98 if (of_property_read_u32(power_mgt, "ibm,pstate-nominal", init_powernv_pstates()
|
/linux-4.4.14/drivers/ata/ |
H A D | ahci_platform.c | 54 of_property_read_u32(dev->of_node, ahci_probe()
|
/linux-4.4.14/drivers/clk/at91/ |
H A D | clk-slow.c | 173 of_property_read_u32(np, "atmel,startup-time-usec", &startup); of_at91sam9x5_clk_slow_osc_setup() 282 of_property_read_u32(np, "clock-frequency", &frequency); of_at91sam9x5_clk_slow_rc_osc_setup() 283 of_property_read_u32(np, "clock-accuracy", &accuracy); of_at91sam9x5_clk_slow_rc_osc_setup() 284 of_property_read_u32(np, "atmel,startup-time-usec", &startup); of_at91sam9x5_clk_slow_rc_osc_setup()
|
/linux-4.4.14/arch/arm/mach-prima2/ |
H A D | pm.c | 111 if (of_property_read_u32(np, "reg", &sirfsoc_pwrc_base)) sirfsoc_of_pwrc_init()
|
/linux-4.4.14/arch/arm/mach-socfpga/ |
H A D | socfpga.c | 41 if (of_property_read_u32(np, "cpu1-start-addr", socfpga_sysmgr_init()
|
/linux-4.4.14/drivers/firmware/ |
H A D | psci.c | 402 if (!of_property_read_u32(np, "cpu_suspend", &id)) { psci_0_1_init() 407 if (!of_property_read_u32(np, "cpu_off", &id)) { psci_0_1_init() 412 if (!of_property_read_u32(np, "cpu_on", &id)) { psci_0_1_init() 417 if (!of_property_read_u32(np, "migrate", &id)) { psci_0_1_init()
|
/linux-4.4.14/drivers/soc/qcom/ |
H A D | qcom_gsbi.c | 171 if (of_property_read_u32(node, "cell-index", &gsbi_num)) { gsbi_probe() 181 if (of_property_read_u32(node, "qcom,mode", &gsbi->mode)) { gsbi_probe() 187 of_property_read_u32(node, "qcom,crci", &gsbi->crci); gsbi_probe()
|
/linux-4.4.14/drivers/staging/iio/adc/ |
H A D | spear_adc.c | 317 if (of_property_read_u32(np, "sampling-frequency", spear_adc_probe() 328 of_property_read_u32(np, "average-samples", &st->avg_samples); spear_adc_probe() 334 of_property_read_u32(np, "vref-external", &st->vref_external); spear_adc_probe()
|
/linux-4.4.14/drivers/video/backlight/ |
H A D | pm8941-wled.c | 324 rc = of_property_read_u32(dev->of_node, "reg", &val); pm8941_wled_configure() 337 rc = of_property_read_u32(dev->of_node, u32_opts[i].name, &val); pm8941_wled_configure() 403 of_property_read_u32(pdev->dev.of_node, "default-brightness", &val); pm8941_wled_probe()
|
H A D | tps65217_bl.c | 202 if (!of_property_read_u32(node, "isel", &val)) { tps65217_bl_parse_dt() 215 if (!of_property_read_u32(node, "fdim", &val)) { tps65217_bl_parse_dt() 241 if (!of_property_read_u32(node, "default-brightness", &val)) { tps65217_bl_parse_dt()
|
H A D | 88pm860x_bl.c | 178 of_property_read_u32(np, "marvell,88pm860x-iset", for_each_child_of_node() 181 of_property_read_u32(np, "marvell,88pm860x-pwm", for_each_child_of_node()
|
H A D | sky81452-backlight.c | 218 ret = of_property_read_u32(np, sky81452_bl_parse_dt() 224 ret = of_property_read_u32(np, "skyworks,current-limit-mA", sky81452_bl_parse_dt()
|
H A D | max8925_bl.c | 125 if (!of_property_read_u32(np, "maxim,max8925-dual-string", &val)) max8925_backlight_dt_init()
|
/linux-4.4.14/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 186 if (of_property_read_u32(np, "slew-delay-us", &arb->slew_delay_us)) i2c_arbitrator_probe() 188 if (of_property_read_u32(np, "wait-retry-us", &arb->wait_retry_us)) i2c_arbitrator_probe() 190 if (of_property_read_u32(np, "wait-free-us", &arb->wait_free_us)) i2c_arbitrator_probe()
|
H A D | i2c-mux-gpio.c | 97 of_property_read_u32(child, "reg", values + i); for_each_child_of_node() 102 if (of_property_read_u32(np, "idle-state", &mux->data.idle))
|
H A D | i2c-mux-reg.c | 144 of_property_read_u32(child, "reg", values + i); for_each_child_of_node() 149 if (!of_property_read_u32(np, "idle-state", &mux->data.idle))
|
/linux-4.4.14/drivers/hwmon/ |
H A D | ads1015.c | 192 if (of_property_read_u32(node, "reg", &pval)) { ads1015_get_channels_config_of() 206 if (!of_property_read_u32(node, "ti,gain", &pval)) { ads1015_get_channels_config_of() 215 if (!of_property_read_u32(node, "ti,datarate", &pval)) { ads1015_get_channels_config_of()
|
H A D | ibmpowernv.c | 140 if (!of_property_read_u32(np, "ibm,pir", &id)) { make_sensor_label() 161 if (!of_property_read_u32(np, "ibm,chip-id", &id)) make_sensor_label() 383 if (of_property_read_u32(np, "sensor-id", &sensor_id) && for_each_child_of_node() 384 of_property_read_u32(np, "sensor-data", &sensor_id)) { for_each_child_of_node()
|
/linux-4.4.14/drivers/input/keyboard/ |
H A D | sun4i-lradc-keys.c | 186 error = of_property_read_u32(pp, "channel", &channel); for_each_child_of_node() 192 error = of_property_read_u32(pp, "voltage", &map->voltage); for_each_child_of_node() 198 error = of_property_read_u32(pp, "linux,code", &map->keycode); for_each_child_of_node()
|
H A D | samsung-keypad.c | 266 of_property_read_u32(np, "samsung,keypad-num-rows", &num_rows); samsung_keypad_parse_dt() 267 of_property_read_u32(np, "samsung,keypad-num-columns", &num_cols); samsung_keypad_parse_dt() 293 of_property_read_u32(key_np, "keypad,row", &row); for_each_child_of_node() 294 of_property_read_u32(key_np, "keypad,column", &col); for_each_child_of_node() 295 of_property_read_u32(key_np, "linux,code", &key_code); for_each_child_of_node()
|
H A D | bcm-keypad.c | 263 of_property_read_u32(np, "status-debounce-filter-period", &dt_val); bcm_kp_matrix_key_parse_dt() 277 of_property_read_u32(np, "col-debounce-filter-period", &dt_val); bcm_kp_matrix_key_parse_dt() 396 error = of_property_read_u32(pdev->dev.of_node, bcm_kp_probe()
|
H A D | lpc32xx-keys.c | 159 of_property_read_u32(np, "nxp,debounce-delay-ms", &kscandat->deb_clks); lpc32xx_parse_dt() 160 of_property_read_u32(np, "nxp,scan-delay-ms", &kscandat->scan_delay); lpc32xx_parse_dt()
|
H A D | nspire-keypad.c | 185 error = of_property_read_u32(of_node, "scan-interval", nspire_keypad_probe() 192 error = of_property_read_u32(of_node, "row-delay", nspire_keypad_probe()
|
H A D | spear-keyboard.c | 163 if (of_property_read_u32(np, "suspended_rate", &suspended_rate)) spear_kbd_parse_dt() 166 error = of_property_read_u32(np, "st,mode", &val); spear_kbd_parse_dt()
|
H A D | tc3589x-keypad.c | 338 of_property_read_u32(np, "keypad,num-columns", &cols); tc3589x_keypad_of_probe() 339 of_property_read_u32(np, "keypad,num-rows", &rows); tc3589x_keypad_of_probe() 362 of_property_read_u32(np, "debounce-delay-ms", &debounce_ms); tc3589x_keypad_of_probe()
|
H A D | clps711x-keypad.c | 128 err = of_property_read_u32(np, "poll-interval", &poll_interval); clps711x_keypad_probe()
|
H A D | pxa27x_keypad.c | 163 error = of_property_read_u32(np, "marvell,direct-key-count", pxa27x_keypad_direct_key_parse_dt() 173 error = of_property_read_u32(np, "marvell,direct-key-mask", pxa27x_keypad_direct_key_parse_dt() 224 relkey_ret = of_property_read_u32(np, relkeyname, &code); pxa27x_keypad_rotary_parse_dt() 316 error = of_property_read_u32(np, "marvell,debounce-interval", pxa27x_keypad_build_keycode_from_dt()
|
H A D | snvs_pwrkey.c | 119 if (of_property_read_u32(np, "linux,keycode", &pdata->keycode)) { imx_snvs_pwrkey_probe()
|
/linux-4.4.14/drivers/power/ |
H A D | bq24735-charger.c | 230 ret = of_property_read_u32(np, "ti,charge-current", &val); bq24735_parse_dt_data() 234 ret = of_property_read_u32(np, "ti,charge-voltage", &val); bq24735_parse_dt_data() 238 ret = of_property_read_u32(np, "ti,input-current", &val); bq24735_parse_dt_data()
|
H A D | max77693_charger.c | 647 if (of_property_read_u32(np, "maxim,constant-microvolt", max77693_dt_init() 651 if (of_property_read_u32(np, "maxim,min-system-microvolt", max77693_dt_init() 655 if (of_property_read_u32(np, "maxim,thermal-regulation-celsius", max77693_dt_init() 659 if (of_property_read_u32(np, "maxim,battery-overcurrent-microamp", max77693_dt_init() 663 if (of_property_read_u32(np, "maxim,charge-input-threshold-microvolt", max77693_dt_init()
|
H A D | max8925_power.c | 482 of_property_read_u32(np, "topoff-threshold", &topoff_threshold); max8925_power_dt_init() 483 of_property_read_u32(np, "batt-detect", &batt_detect); max8925_power_dt_init() 484 of_property_read_u32(np, "fast-charge", &fast_charge); max8925_power_dt_init() 485 of_property_read_u32(np, "no-insert-detect", &no_insert_detect); max8925_power_dt_init() 486 of_property_read_u32(np, "no-temp-support", &no_temp_support); max8925_power_dt_init()
|
H A D | charger-manager.c | 1508 of_property_read_u32(np, "cm-poll-mode", &poll_mode); of_cm_parse_desc() 1511 of_property_read_u32(np, "cm-poll-interval", of_cm_parse_desc() 1514 of_property_read_u32(np, "cm-fullbatt-vchkdrop-ms", of_cm_parse_desc() 1516 of_property_read_u32(np, "cm-fullbatt-vchkdrop-volt", of_cm_parse_desc() 1518 of_property_read_u32(np, "cm-fullbatt-voltage", &desc->fullbatt_uV); of_cm_parse_desc() 1519 of_property_read_u32(np, "cm-fullbatt-soc", &desc->fullbatt_soc); of_cm_parse_desc() 1520 of_property_read_u32(np, "cm-fullbatt-capacity", of_cm_parse_desc() 1523 of_property_read_u32(np, "cm-battery-stat", &battery_stat); of_cm_parse_desc() 1527 of_property_read_u32(np, "cm-num-chargers", &num_chgs); of_cm_parse_desc() 1546 of_property_read_u32(np, "cm-battery-cold", &desc->temp_min); of_cm_parse_desc() 1549 of_property_read_u32(np, "cm-battery-hot", &desc->temp_max); of_cm_parse_desc() 1550 of_property_read_u32(np, "cm-battery-temp-diff", &desc->temp_diff); of_cm_parse_desc() 1552 of_property_read_u32(np, "cm-charging-max", of_cm_parse_desc() 1554 of_property_read_u32(np, "cm-discharging-max", of_cm_parse_desc() 1597 of_property_read_u32(_child, for_each_child_of_node() 1600 of_property_read_u32(_child, for_each_child_of_node()
|
H A D | max14577_charger.c | 482 ret = of_property_read_u32(np, "maxim,constant-uvolt", max14577_charger_dt_init() 489 ret = of_property_read_u32(np, "maxim,fast-charge-uamp", max14577_charger_dt_init() 496 ret = of_property_read_u32(np, "maxim,eoc-uamp", &pdata->eoc_uamp); max14577_charger_dt_init() 502 ret = of_property_read_u32(np, "maxim,ovp-uvolt", &pdata->ovp_uvolt); max14577_charger_dt_init()
|
/linux-4.4.14/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | 1139 ret = of_property_read_u32(np, "samsung,tmu_gain", &value); exynos_of_sensor_conf() 1141 of_property_read_u32(np, "samsung,tmu_reference_voltage", &value); exynos_of_sensor_conf() 1143 of_property_read_u32(np, "samsung,tmu_noise_cancel_mode", &value); exynos_of_sensor_conf() 1146 of_property_read_u32(np, "samsung,tmu_efuse_value", exynos_of_sensor_conf() 1148 of_property_read_u32(np, "samsung,tmu_min_efuse_value", exynos_of_sensor_conf() 1150 of_property_read_u32(np, "samsung,tmu_max_efuse_value", exynos_of_sensor_conf() 1153 of_property_read_u32(np, "samsung,tmu_first_point_trim", &value); exynos_of_sensor_conf() 1155 of_property_read_u32(np, "samsung,tmu_second_point_trim", &value); exynos_of_sensor_conf() 1157 of_property_read_u32(np, "samsung,tmu_default_temp_offset", &value); exynos_of_sensor_conf() 1160 of_property_read_u32(np, "samsung,tmu_cal_type", &pdata->cal_type); exynos_of_sensor_conf() 1161 of_property_read_u32(np, "samsung,tmu_cal_mode", &pdata->cal_mode); exynos_of_sensor_conf()
|
/linux-4.4.14/drivers/usb/musb/ |
H A D | omap2430.c | 573 of_property_read_u32(np, "mode", (u32 *)&pdata->mode); omap2430_probe() 574 of_property_read_u32(np, "interface-type", omap2430_probe() 576 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); omap2430_probe() 577 of_property_read_u32(np, "ram-bits", (u32 *)&config->ram_bits); omap2430_probe() 578 of_property_read_u32(np, "power", (u32 *)&pdata->power); omap2430_probe() 580 ret = of_property_read_u32(np, "multipoint", &val); omap2430_probe()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | ssd1307fb.c | 563 if (of_property_read_u32(node, "solomon,width", &par->width)) ssd1307fb_probe() 566 if (of_property_read_u32(node, "solomon,height", &par->height)) ssd1307fb_probe() 569 if (of_property_read_u32(node, "solomon,page-offset", &par->page_offset)) ssd1307fb_probe() 572 if (of_property_read_u32(node, "solomon,com-offset", &par->com_offset)) ssd1307fb_probe() 575 if (of_property_read_u32(node, "solomon,prechargep1", &par->prechargep1)) ssd1307fb_probe() 578 if (of_property_read_u32(node, "solomon,prechargep2", &par->prechargep2)) ssd1307fb_probe()
|
H A D | simplefb.c | 106 ret = of_property_read_u32(np, "width", ¶ms->width); simplefb_parse_dt() 112 ret = of_property_read_u32(np, "height", ¶ms->height); simplefb_parse_dt() 118 ret = of_property_read_u32(np, "stride", ¶ms->stride); simplefb_parse_dt()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-efm32.c | 297 ret = of_property_read_u32(np, "energymicro,location", &location); efm32_spi_probe_dt() 301 ret = of_property_read_u32(np, "efm32,location", &location); efm32_spi_probe_dt() 305 ret = of_property_read_u32(np, "location", &location); efm32_spi_probe_dt()
|
H A D | spi-fsl-lib.c | 145 ret = of_property_read_u32(np, "clock-frequency", &pdata->sysclk); of_mpc8xxx_spi_probe()
|
H A D | spi-oc-tiny.c | 228 if (!of_property_read_u32(np, "clock-frequency", &val)) tiny_spi_of_probe() 230 if (!of_property_read_u32(np, "baud-width", &val)) tiny_spi_of_probe()
|
H A D | spi-fsl-dspi.c | 469 of_property_read_u32(spi->dev.of_node, "fsl,spi-cs-sck-delay", dspi_setup() 472 of_property_read_u32(spi->dev.of_node, "fsl,spi-sck-cs-delay", dspi_setup() 671 ret = of_property_read_u32(np, "spi-num-chipselects", &cs_num); dspi_probe() 678 ret = of_property_read_u32(np, "bus-num", &bus_num); dspi_probe()
|
/linux-4.4.14/drivers/mmc/core/ |
H A D | host.c | 171 if (of_property_read_u32(np, "bus-width", &bus_width) < 0) { mmc_of_parse() 193 of_property_read_u32(np, "max-frequency", &host->f_max); mmc_of_parse() 293 host->dsr_req = !of_property_read_u32(np, "dsr", &host->dsr); mmc_of_parse()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
H A D | vsp1_drv.c | 450 of_property_read_u32(np, "renesas,#rpf", &pdata->rpf_count); vsp1_parse_dt() 451 of_property_read_u32(np, "renesas,#uds", &pdata->uds_count); vsp1_parse_dt() 452 of_property_read_u32(np, "renesas,#wpf", &pdata->wpf_count); vsp1_parse_dt()
|
/linux-4.4.14/drivers/reset/ |
H A D | reset-socfpga.c | 125 if (of_property_read_u32(np, "altr,modrst-offset", &data->modrst_offset)) { socfpga_reset_probe()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
H A D | dss-of.c | 120 r = of_property_read_u32(port, "reg", ®); dss_of_port_get_port_number()
|
/linux-4.4.14/drivers/gpu/drm/panel/ |
H A D | panel-samsung-ld9040.c | 305 of_property_read_u32(np, "power-on-delay", &ctx->power_on_delay); ld9040_parse_dt() 306 of_property_read_u32(np, "reset-delay", &ctx->reset_delay); ld9040_parse_dt() 307 of_property_read_u32(np, "panel-width-mm", &ctx->width_mm); ld9040_parse_dt() 308 of_property_read_u32(np, "panel-height-mm", &ctx->height_mm); ld9040_parse_dt()
|
/linux-4.4.14/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.c | 977 if (!of_property_read_u32(np, "st,click-threshold-x", &val)) lis3lv02d_init_dt() 979 if (!of_property_read_u32(np, "st,click-threshold-y", &val)) lis3lv02d_init_dt() 981 if (!of_property_read_u32(np, "st,click-threshold-z", &val)) lis3lv02d_init_dt() 984 if (!of_property_read_u32(np, "st,click-time-limit", &val)) lis3lv02d_init_dt() 986 if (!of_property_read_u32(np, "st,click-latency", &val)) lis3lv02d_init_dt() 988 if (!of_property_read_u32(np, "st,click-window", &val)) lis3lv02d_init_dt() 1018 if (!of_property_read_u32(np, "st,wu-duration-1", &val)) lis3lv02d_init_dt() 1020 if (!of_property_read_u32(np, "st,wu-duration-2", &val)) lis3lv02d_init_dt() 1053 if (!of_property_read_u32(np, "st,highpass-cutoff-hz", &val)) { lis3lv02d_init_dt()
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_mdio.c | 69 if (of_property_read_u32(np, "clock-frequency", &bus_hz) == 0) { temac_mdio_setup()
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
H A D | flash_setup.c | 77 r = of_property_read_u32(np, "reg", &cs); octeon_flash_probe()
|
/linux-4.4.14/arch/arm/mach-sti/ |
H A D | platsmp.c | 126 if (of_property_read_u32(np, "cpu-release-addr", for_each_possible_cpu()
|
/linux-4.4.14/arch/arm/mach-hisi/ |
H A D | platsmp.c | 76 if (of_property_read_u32(np, "smp-offset", &offset) < 0) { hi3xxx_smp_prepare_cpus()
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | sdhci-pltfm.c | 80 (of_property_read_u32(np, "bus-width", &bus_width) == 0 && sdhci_get_of_property() 102 of_property_read_u32(np, "clock-frequency", &pltfm_host->clock); sdhci_get_of_property()
|
H A D | sdhci-pxav2.c | 145 of_property_read_u32(np, "bus-width", &bus_width); pxav2_get_mmc_pdata() 149 of_property_read_u32(np, "mrvl,clk-delay-cycles", &clk_delay_cycles); pxav2_get_mmc_pdata()
|
/linux-4.4.14/drivers/mtd/devices/ |
H A D | powernv_flash.c | 179 rc = of_property_read_u32(dev->of_node, "ibm,flash-block-size", powernv_flash_set_driver_info() 229 ret = of_property_read_u32(dev->of_node, "ibm,opal-id", &(data->id)); powernv_flash_probe()
|
/linux-4.4.14/drivers/input/ |
H A D | matrix-keymap.c | 62 of_property_read_u32(np, "keypad,num-rows", rows); matrix_keypad_parse_of_params() 63 of_property_read_u32(np, "keypad,num-columns", cols); matrix_keypad_parse_of_params()
|
/linux-4.4.14/drivers/gpu/drm/msm/adreno/ |
H A D | adreno_device.c | 176 ret = of_property_read_u32(node, "qcom,chipid", &val); adreno_bind() 192 ret = of_property_read_u32(pwrlvl, "qcom,gpu-freq", &val); for_each_child_of_node()
|
/linux-4.4.14/arch/xtensa/platforms/xtfpga/ |
H A D | setup.c | 92 if (!of_property_read_u32(node, "clock-frequency", &freq) && freq != 0) update_clock_frequency() 177 if (!of_property_read_u32(cpu, "clock-frequency", &freq)) platform_calibrate_ccount()
|
/linux-4.4.14/drivers/char/ipmi/ |
H A D | ipmi_powernv.c | 234 rc = of_property_read_u32(dev->of_node, "ibm,ipmi-interface-id", ipmi_powernv_probe() 242 rc = of_property_read_u32(dev->of_node, "interrupts", &prop); ipmi_powernv_probe()
|
/linux-4.4.14/drivers/iio/adc/ |
H A D | qcom-spmi-vadc.c | 739 ret = of_property_read_u32(node, "reg", &chan); vadc_get_dt_channel_data() 753 ret = of_property_read_u32(node, "qcom,decimation", &value); vadc_get_dt_channel_data() 779 ret = of_property_read_u32(node, "qcom,hw-settle-time", &value); vadc_get_dt_channel_data() 792 ret = of_property_read_u32(node, "qcom,avg-samples", &value); vadc_get_dt_channel_data() 943 ret = of_property_read_u32(node, "reg", ®); vadc_probe()
|
H A D | at91_adc.c | 829 ret = of_property_read_u32(node, "atmel,adc-ts-wires", &prop); at91_adc_probe_dt_ts() 848 of_property_read_u32(node, "atmel,adc-ts-pressure-threshold", &prop); at91_adc_probe_dt_ts() 875 if (of_property_read_u32(node, "atmel,adc-channels-used", &prop)) { at91_adc_probe_dt() 884 if (of_property_read_u32(node, "atmel,adc-startup-time", &prop)) { at91_adc_probe_dt() 892 of_property_read_u32(node, "atmel,adc-sample-hold-time", &prop); at91_adc_probe_dt() 895 if (of_property_read_u32(node, "atmel,adc-vref", &prop)) { at91_adc_probe_dt() 929 if (of_property_read_u32(trig_node, "trigger-value", &prop)) { for_each_child_of_node()
|
/linux-4.4.14/drivers/usb/host/ |
H A D | ohci-pxa27x.c | 382 if (!of_property_read_u32(np, "marvell,power-on-delay", &tmp)) ohci_pxa_of_init() 384 if (!of_property_read_u32(np, "marvell,port-mode", &tmp)) ohci_pxa_of_init() 386 if (!of_property_read_u32(np, "marvell,power-budget", &tmp)) ohci_pxa_of_init()
|
/linux-4.4.14/drivers/thermal/ |
H A D | db8500_thermal.c | 328 if (of_property_read_u32(np, "num-trips", &tmp_data)) db8500_thermal_parse_dt() 338 if (of_property_read_u32(np, prop_name, &tmp_data)) db8500_thermal_parse_dt() 359 if (of_property_read_u32(np, prop_name, &tmp_data)) db8500_thermal_parse_dt()
|
H A D | spear_thermal.c | 110 if (!np || !of_property_read_u32(np, "st,thermal-flags", &val)) { spear_thermal_probe()
|
/linux-4.4.14/drivers/uio/ |
H A D | uio_fsl_elbc_gpcm.c | 260 ret = of_property_read_u32(node, "reg", &priv->bank); get_of_data() 267 ret = of_property_read_u32(node, "elbc-gpcm-br", reg_br); get_of_data() 274 ret = of_property_read_u32(node, "elbc-gpcm-or", reg_or); get_of_data()
|
/linux-4.4.14/drivers/clk/tegra/ |
H A D | clk-emc.c | 379 err = of_property_read_u32(node, "clock-frequency", &tmp); load_one_timing_from_dt() 387 err = of_property_read_u32(node, "nvidia,parent-clock-frequency", &tmp); load_one_timing_from_dt() 492 err = of_property_read_u32(node, "nvidia,ram-code", for_each_child_of_node()
|
/linux-4.4.14/sound/soc/generic/ |
H A D | simple-card.c | 269 } else if (!of_property_read_u32(np, "system-clock-frequency", &val)) { asoc_simple_card_sub_parse_of() 363 if (!of_property_read_u32(node, "mclk-fs", &val)) asoc_simple_card_dai_link_of() 470 ret = of_property_read_u32(node, "simple-audio-card,mclk-fs", &val); asoc_simple_card_parse_of()
|
/linux-4.4.14/drivers/usb/common/ |
H A D | common.c | 159 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { of_usb_update_otg_caps()
|
/linux-4.4.14/drivers/pwm/ |
H A D | pwm-mxs.c | 155 ret = of_property_read_u32(np, "fsl,pwm-number", &mxs->chip.npwm); mxs_pwm_probe()
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-ds1390.c | 96 if (of_property_read_u32(spi->dev.of_node, "trickle-resistor-ohms", ds1390_trickle_of_init()
|
/linux-4.4.14/drivers/input/serio/ |
H A D | apbps2.c | 167 if (of_property_read_u32(ofdev->dev.of_node, "freq", &freq_hz)) { apbps2_of_probe()
|