Home
last modified time | relevance | path

Searched refs:of_property_read_u32_index (Results 1 – 25 of 70) sorted by relevance

123

/drivers/power/reset/
Dkeystone-reset.c101 ret = of_property_read_u32_index(np, "ti,syscon-pll", 1, &rspll_offset); in rsctrl_probe()
107 ret = of_property_read_u32_index(np, "ti,syscon-dev", 1, &rsmux_offset); in rsctrl_probe()
132 ret = of_property_read_u32_index(np, "ti,wdt-list", i, &val); in rsctrl_probe()
Dbrcmstb-reboot.c121 rc = of_property_read_u32_index(np, "syscon", RESET_SOURCE_ENABLE_REG, in brcmstb_reboot_probe()
128 rc = of_property_read_u32_index(np, "syscon", SW_MASTER_RESET_REG, in brcmstb_reboot_probe()
/drivers/clk/at91/
Dpmc.c28 ret = of_property_read_u32_index(np, propname, 0, &min); in of_at91_get_clk_range()
32 ret = of_property_read_u32_index(np, propname, 1, &max); in of_at91_get_clk_range()
Dclk-pll.c420 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
425 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
434 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
443 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
/drivers/soc/fsl/qe/
Dqe_tdm.c78 ret = of_property_read_u32_index(np, "fsl,tx-timeslot-mask", 0, &val); in ucc_of_parse_tdm()
85 ret = of_property_read_u32_index(np, "fsl,rx-timeslot-mask", 0, &val); in ucc_of_parse_tdm()
93 ret = of_property_read_u32_index(np, "fsl,tdm-id", 0, &val); in ucc_of_parse_tdm()
118 ret = of_property_read_u32_index(np, "fsl,siram-entry-id", 0, &val); in ucc_of_parse_tdm()
/drivers/cpufreq/
Dsti-cpufreq.c65 ret = of_property_read_u32_index(np, "st,syscfg", in sti_cpufreq_fetch_major()
91 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor()
170 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_set_opp_info()
/drivers/regulator/
Dti-abb-regulator.c556 of_property_read_u32_index(dev->of_node, pname, i * num_values, in ti_abb_init_table()
558 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
560 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
562 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
564 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
566 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
Dgpio-regulator.c197 of_property_read_u32_index(np, "gpios-states", in of_get_gpio_regulator_config()
221 of_property_read_u32_index(np, "states", i * 2, in of_get_gpio_regulator_config()
223 of_property_read_u32_index(np, "states", i * 2 + 1, in of_get_gpio_regulator_config()
/drivers/leds/
Dleds-netxbig.c425 of_property_read_u32_index(np, "timers", 3 * i, in netxbig_leds_get_of_pdata()
429 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
432 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
499 of_property_read_u32_index(child, in netxbig_leds_get_of_pdata()
501 of_property_read_u32_index(child, in netxbig_leds_get_of_pdata()
Dleds-ns2.c308 of_property_read_u32_index(child, in ns2_leds_get_of_pdata()
311 of_property_read_u32_index(child, in ns2_leds_get_of_pdata()
314 of_property_read_u32_index(child, in ns2_leds_get_of_pdata()
Dleds-bcm6328.c235 of_property_read_u32_index(nc, "brcm,link-signal-sources", i, in bcm6328_hwled()
262 of_property_read_u32_index(nc, "brcm,activity-signal-sources", in bcm6328_hwled()
/drivers/phy/
Dphy-stih407-usb.c129 ret = of_property_read_u32_index(np, "st,syscfg", PHYPARAM_REG, in stih407_usb2_picophy_probe()
136 ret = of_property_read_u32_index(np, "st,syscfg", PHYCTRL_REG, in stih407_usb2_picophy_probe()
Dphy-ti-pipe3.c453 if (of_property_read_u32_index(node, in ti_pipe3_get_sysctrl()
485 if (of_property_read_u32_index(node, in ti_pipe3_get_sysctrl()
503 if (of_property_read_u32_index(node, in ti_pipe3_get_sysctrl()
/drivers/hwspinlock/
Dqcom_hwspinlock.c105 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, &base); in qcom_hwspinlock_probe()
111 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, &stride); in qcom_hwspinlock_probe()
/drivers/irqchip/
Dirq-st.c135 of_property_read_u32_index(np, "st,irq-device", i, &device); in st_irq_syscfg_enable()
141 of_property_read_u32_index(np, "st,fiq-device", i, &device); in st_irq_syscfg_enable()
Dirq-ath79-cpu.c72 of_property_read_u32_index( in ar79_cpu_intc_of_init()
Dirq-crossbar.c244 of_property_read_u32_index(node, in crossbar_of_init()
262 of_property_read_u32_index(node, in crossbar_of_init()
/drivers/input/touchscreen/
Dts4800-ts.c128 error = of_property_read_u32_index(np, "syscon", 1, &reg); in ts4800_parse_dt()
136 error = of_property_read_u32_index(np, "syscon", 2, &bit); in ts4800_parse_dt()
/drivers/gpio/
Dgpio-syscon.c211 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
218 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c122 ret = of_property_read_u32_index(np, "altr,sysmgr-syscon", 1, &reg_offset); in socfpga_dwmac_parse_data()
128 ret = of_property_read_u32_index(np, "altr,sysmgr-syscon", 2, &reg_shift); in socfpga_dwmac_parse_data()
/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c362 err = of_property_read_u32_index(np, "wm,pins", i, &pin); in wmt_pctl_dt_node_to_map()
373 err = of_property_read_u32_index(np, "wm,function", in wmt_pctl_dt_node_to_map()
385 err = of_property_read_u32_index(np, "wm,pull", in wmt_pctl_dt_node_to_map()
/drivers/watchdog/
Dat91sam9_wdt.c280 if (!of_property_read_u32_index(np, "atmel,max-heartbeat-sec", 0, in of_at91wdt_init()
285 if (!of_property_read_u32_index(np, "atmel,min-heartbeat-sec", in of_at91wdt_init()
/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c62 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
/drivers/net/can/c_can/
Dc_can_platform.c345 if (of_property_read_u32_index(np, "syscon-raminit", 1, in c_can_plat_probe()
352 if (of_property_read_u32_index(np, "syscon-raminit", 2, in c_can_plat_probe()
/drivers/soc/qcom/
Dsmsm.c368 ret = of_property_read_u32_index(node, key, 1, &host->ipc_offset); in smsm_parse_ipc()
374 ret = of_property_read_u32_index(node, key, 2, &host->ipc_bit); in smsm_parse_ipc()

123