Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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()
/linux-6.6.21/drivers/power/reset/
Dkeystone-reset.c100 ret = of_property_read_u32_index(np, "ti,syscon-pll", 1, &rspll_offset); in rsctrl_probe()
106 ret = of_property_read_u32_index(np, "ti,syscon-dev", 1, &rsmux_offset); in rsctrl_probe()
131 ret = of_property_read_u32_index(np, "ti,wdt-list", i, &val); in rsctrl_probe()
Dbrcmstb-reboot.c111 rc = of_property_read_u32_index(np, "syscon", RESET_SOURCE_ENABLE_REG, in brcmstb_reboot_probe()
118 rc = of_property_read_u32_index(np, "syscon", SW_MASTER_RESET_REG, in brcmstb_reboot_probe()
/linux-6.6.21/drivers/soc/fsl/qe/
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-6.6.21/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()
/linux-6.6.21/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()
173 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_set_opp_info()
/linux-6.6.21/drivers/regulator/
Dti-abb-regulator.c548 of_property_read_u32_index(dev->of_node, pname, i * num_values, in ti_abb_init_table()
550 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
552 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
554 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
556 of_property_read_u32_index(dev->of_node, pname, in ti_abb_init_table()
558 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()
/linux-6.6.21/drivers/mmc/host/
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-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/irqchip/
Dqcom-pdc.c287 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
292 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
297 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
Dirq-st.c117 of_property_read_u32_index(np, "st,irq-device", i, &device); in st_irq_syscfg_enable()
123 of_property_read_u32_index(np, "st,fiq-device", i, &device); in st_irq_syscfg_enable()
Dirq-ath79-cpu.c69 of_property_read_u32_index( in ar79_cpu_intc_of_init()
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-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-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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/hwspinlock/
Dqcom_hwspinlock.c142 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, base); in qcom_hwspinlock_probe_syscon()
148 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon()
/linux-6.6.21/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()
/linux-6.6.21/arch/arm/mach-bcm/
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-6.6.21/arch/powerpc/platforms/pseries/
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-6.6.21/drivers/gpio/
Dgpio-syscon.c224 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
231 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
/linux-6.6.21/drivers/clk/mediatek/
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()

1234567