Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/power/reset/
Dkeystone-reset.c98 ret = of_property_read_u32_index(np, "ti,syscon-pll", 1, &rspll_offset); in rsctrl_probe()
104 ret = of_property_read_u32_index(np, "ti,syscon-dev", 1, &rsmux_offset); in rsctrl_probe()
129 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/irqchip/
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-mst-intc.c170 if (of_property_read_u32_index(dn, "mstar,irqs-map-range", 0, &irq_start) || in mst_intc_of_init()
171 of_property_read_u32_index(dn, "mstar,irqs-map-range", 1, &irq_end)) in mst_intc_of_init()
Dqcom-pdc.c378 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
383 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
388 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
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.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-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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/mach-bcm/
Dplatsmp-brcmstb.c269 rc = of_property_read_u32_index(np, name, CPU0_PWR_ZONE_CTRL_REG, in setup_hifcpubiuctrl_regs()
278 rc = of_property_read_u32_index(np, name, CPU_RESET_CONFIG_REG, in setup_hifcpubiuctrl_regs()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/power/supply/
Dpower_supply_core.c648 of_property_read_u32_index(battery_np, "ambient-celsius", in power_supply_get_battery_info()
650 of_property_read_u32_index(battery_np, "ambient-celsius", in power_supply_get_battery_info()
652 of_property_read_u32_index(battery_np, "alert-celsius", in power_supply_get_battery_info()
654 of_property_read_u32_index(battery_np, "alert-celsius", in power_supply_get_battery_info()
656 of_property_read_u32_index(battery_np, "operating-range-celsius", in power_supply_get_battery_info()
658 of_property_read_u32_index(battery_np, "operating-range-celsius", in power_supply_get_battery_info()
/kernel/linux/linux-5.10/drivers/soc/aspeed/
Daspeed-lpc-snoop.c283 rc = of_property_read_u32_index(dev->of_node, "snoop-ports", 0, &port); in aspeed_lpc_snoop_probe()
311 if (of_property_read_u32_index(dev->of_node, "snoop-ports", in aspeed_lpc_snoop_probe()

123456