Home
last modified time | relevance | path

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

123456

/linux/drivers/usb/misc/
H A 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()
/linux/drivers/soc/fsl/qe/
H A Dqe_tdm.c68 ret = of_property_read_u32_index(np, "fsl,tx-timeslot-mask", 0, &val); in ucc_of_parse_tdm()
75 ret = of_property_read_u32_index(np, "fsl,rx-timeslot-mask", 0, &val); in ucc_of_parse_tdm()
83 ret = of_property_read_u32_index(np, "fsl,tdm-id", 0, &val); in ucc_of_parse_tdm()
108 ret = of_property_read_u32_index(np, "fsl,siram-entry-id", 0, &val); in ucc_of_parse_tdm()
/linux/drivers/mux/
H A Dmmio.c97 ret = of_property_read_u32_index(np, "mux-reg-masks", in mux_mmio_probe()
100 ret = of_property_read_u32_index(np, "mux-reg-masks", in mux_mmio_probe()
129 of_property_read_u32_index(np, "idle-states", i, in mux_mmio_probe()
/linux/drivers/firmware/imx/
H A Dsm-misc.c74 ret = of_property_read_u32_index(np, "nxp,ctrl-ids", i, &src_id); in scmi_imx_misc_ctrl_probe()
80 ret = of_property_read_u32_index(np, "nxp,ctrl-ids", i + 1, &flags); in scmi_imx_misc_ctrl_probe()
/linux/drivers/mmc/host/
H A Ddw_mmc-pltfm.c87 of_property_read_u32_index(np, "altr,sysmgr-syscon", 1, &reg_offset); in dw_mci_socfpga_priv_init()
88 of_property_read_u32_index(np, "altr,sysmgr-syscon", 2, &reg_shift); in dw_mci_socfpga_priv_init()
/linux/drivers/regulator/
H A Dti-abb-regulator.c547 of_property_read_u32_index(dev->of_node, pname, i * num_values, in ti_abb_init_table()
549 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
551 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
553 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
555 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
557 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
H A 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()
/linux/drivers/clk/at91/
H A 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()
/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c65 ret = of_property_read_u32_index(np, "reg", 0, &base); in qcom_pmic_typec_probe()
75 ret = of_property_read_u32_index(np, "reg", 1, &base); in qcom_pmic_typec_probe()
/linux/drivers/leds/
H A 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()
/linux/drivers/bus/
H A 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()
/linux/drivers/irqchip/
H A Dqcom-pdc.c328 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
333 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
338 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
H A Dirq-ath79-cpu.c69 of_property_read_u32_index( in ar79_cpu_intc_of_init()
H A 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()
H A Dirq-mvebu-gicp.c209 of_property_read_u32_index(node, "marvell,spi-ranges", in mvebu_gicp_probe()
213 of_property_read_u32_index(node, "marvell,spi-ranges", in mvebu_gicp_probe()
H A Dirq-mtk-cirq.c321 ret = of_property_read_u32_index(node, "mediatek,ext-irq-range", 0, in mtk_cirq_of_init()
326 ret = of_property_read_u32_index(node, "mediatek,ext-irq-range", 1, in mtk_cirq_of_init()
H A Dirq-gic-v3-mbi.c239 ret = of_property_read_u32_index(np, "mbi-ranges", n * 2, in mbi_init()
243 ret = of_property_read_u32_index(np, "mbi-ranges", n * 2 + 1, in mbi_init()
H A Dirq-crossbar.c240 of_property_read_u32_index(node, in crossbar_of_init()
258 of_property_read_u32_index(node, in crossbar_of_init()
/linux/drivers/input/touchscreen/
H A Dts4800-ts.c129 error = of_property_read_u32_index(np, "syscon", 1, &reg); in ts4800_parse_dt()
137 error = of_property_read_u32_index(np, "syscon", 2, &bit); in ts4800_parse_dt()
/linux/drivers/hwspinlock/
H A Dqcom_hwspinlock.c166 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, base); in qcom_hwspinlock_probe_syscon()
172 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon()
/linux/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c84 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index()
90 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index()
/linux/drivers/gpio/
H A Dgpio-syscon.c230 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
237 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
/linux/arch/arm/mach-bcm/
H A Dplatsmp-brcmstb.c261 rc = of_property_read_u32_index(np, name, CPU0_PWR_ZONE_CTRL_REG, in setup_hifcpubiuctrl_regs()
270 rc = of_property_read_u32_index(np, name, CPU_RESET_CONFIG_REG, in setup_hifcpubiuctrl_regs()
/linux/drivers/clk/mediatek/
H A Dclk-pllfh.c92 of_property_read_u32_index(node, "clocks", offset + 1, &pll_id); in fhctl_parse_dt()
93 of_property_read_u32_index(node, in fhctl_parse_dt()
/linux/drivers/clk/sunxi/
H A Dclk-sun8i-bus-gates.c52 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()

123456