Home
last modified time | relevance | path

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

12345

/drivers/usb/misc/
Dbrcmstb-usb-pinmap.c154 res = of_property_read_u32_index(dn, "brcm,in-masks", index++, in parse_pins()
161 res = of_property_read_u32_index(dn, "brcm,in-masks", index++, in parse_pins()
186 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
193 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
200 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
207 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
/drivers/soc/fsl/qe/
Dqe_tdm.c70 ret = of_property_read_u32_index(np, "fsl,tx-timeslot-mask", 0, &val); in ucc_of_parse_tdm()
77 ret = of_property_read_u32_index(np, "fsl,rx-timeslot-mask", 0, &val); in ucc_of_parse_tdm()
85 ret = of_property_read_u32_index(np, "fsl,tdm-id", 0, &val); in ucc_of_parse_tdm()
110 ret = of_property_read_u32_index(np, "fsl,siram-entry-id", 0, &val); in ucc_of_parse_tdm()
/drivers/power/reset/
Dkeystone-reset.c99 ret = of_property_read_u32_index(np, "ti,syscon-pll", 1, &rspll_offset); in rsctrl_probe()
105 ret = of_property_read_u32_index(np, "ti,syscon-dev", 1, &rsmux_offset); in rsctrl_probe()
130 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/mux/
Dmmio.c81 ret = of_property_read_u32_index(np, "mux-reg-masks", in mux_mmio_probe()
84 ret = of_property_read_u32_index(np, "mux-reg-masks", in mux_mmio_probe()
113 of_property_read_u32_index(np, "idle-states", i, in mux_mmio_probe()
/drivers/cpufreq/
Dsti-cpufreq.c62 ret = of_property_read_u32_index(np, "st,syscfg", in sti_cpufreq_fetch_major()
88 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor()
169 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.c176 ret = of_property_read_u32_index(np, "gpios-states", i, in of_get_gpio_regulator_config()
204 of_property_read_u32_index(np, "states", i * 2, in of_get_gpio_regulator_config()
206 of_property_read_u32_index(np, "states", i * 2 + 1, in of_get_gpio_regulator_config()
/drivers/leds/
Dleds-netxbig.c478 of_property_read_u32_index(np, "timers", 3 * i, in netxbig_leds_get_of_pdata()
484 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
487 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
557 of_property_read_u32_index(child, in netxbig_leds_get_of_pdata()
559 of_property_read_u32_index(child, in netxbig_leds_get_of_pdata()
/drivers/phy/st/
Dphy-stih407-usb.c125 ret = of_property_read_u32_index(np, "st,syscfg", PHYPARAM_REG, in stih407_usb2_picophy_probe()
132 ret = of_property_read_u32_index(np, "st,syscfg", PHYCTRL_REG, in stih407_usb2_picophy_probe()
/drivers/hwspinlock/
Dqcom_hwspinlock.c89 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, base); in qcom_hwspinlock_probe_syscon()
95 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon()
/drivers/bus/
Dintel-ixp4xx-eb.c304 ret = of_property_read_u32_index(np, "reg", in ixp4xx_exp_setup_child()
308 ret = of_property_read_u32_index(np, "reg", in ixp4xx_exp_setup_child()
312 ret = of_property_read_u32_index(np, "reg", in ixp4xx_exp_setup_child()
/drivers/irqchip/
Dqcom-pdc.c335 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
340 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
345 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
Dirq-st.c132 of_property_read_u32_index(np, "st,irq-device", i, &device); in st_irq_syscfg_enable()
138 of_property_read_u32_index(np, "st,fiq-device", i, &device); in st_irq_syscfg_enable()
Dirq-mtk-cirq.c267 ret = of_property_read_u32_index(node, "mediatek,ext-irq-range", 0, in mtk_cirq_of_init()
272 ret = of_property_read_u32_index(node, "mediatek,ext-irq-range", 1, in mtk_cirq_of_init()
Dirq-mvebu-gicp.c202 of_property_read_u32_index(node, "marvell,spi-ranges", in mvebu_gicp_probe()
206 of_property_read_u32_index(node, "marvell,spi-ranges", in mvebu_gicp_probe()
Dirq-mst-intc.c258 if (of_property_read_u32_index(dn, "mstar,irqs-map-range", 0, &irq_start) || in mst_intc_of_init()
259 of_property_read_u32_index(dn, "mstar,irqs-map-range", 1, &irq_end)) in mst_intc_of_init()
Dirq-ath79-cpu.c69 of_property_read_u32_index( in ar79_cpu_intc_of_init()
Dirq-crossbar.c240 of_property_read_u32_index(node, in crossbar_of_init()
258 of_property_read_u32_index(node, in crossbar_of_init()
Dirq-gic-v3-mbi.c284 ret = of_property_read_u32_index(np, "mbi-ranges", n * 2, in mbi_init()
288 ret = of_property_read_u32_index(np, "mbi-ranges", n * 2 + 1, in mbi_init()
/drivers/input/touchscreen/
Dts4800-ts.c130 error = of_property_read_u32_index(np, "syscon", 1, &reg); in ts4800_parse_dt()
138 error = of_property_read_u32_index(np, "syscon", 2, &bit); in ts4800_parse_dt()
/drivers/gpio/
Dgpio-syscon.c235 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
242 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
/drivers/power/supply/
Dpower_supply_core.c752 of_property_read_u32_index(battery_np, "ambient-celsius", in power_supply_get_battery_info()
754 of_property_read_u32_index(battery_np, "ambient-celsius", in power_supply_get_battery_info()
756 of_property_read_u32_index(battery_np, "alert-celsius", in power_supply_get_battery_info()
758 of_property_read_u32_index(battery_np, "alert-celsius", in power_supply_get_battery_info()
760 of_property_read_u32_index(battery_np, "operating-range-celsius", in power_supply_get_battery_info()
762 of_property_read_u32_index(battery_np, "operating-range-celsius", in power_supply_get_battery_info()
/drivers/clk/at91/
Dpmc.c30 ret = of_property_read_u32_index(np, propname, 0, &min); in of_at91_get_clk_range()
34 ret = of_property_read_u32_index(np, propname, 1, &max); in of_at91_get_clk_range()
Ddt-compat.c550 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
555 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
564 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
573 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()

12345