Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/drivers/soc/fsl/qe/
H A 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()
/OK3568_Linux_fs/kernel/drivers/power/reset/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/mux/
H A 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()
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A 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()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A 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()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/phy/st/
H A 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()
/OK3568_Linux_fs/kernel/drivers/hwspinlock/
H A 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()
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dqcom-pdc.c404 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
409 ret = of_property_read_u32_index(np, "qcom,pdc-ranges", in pdc_setup_pin_mapping()
414 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-crossbar.c240 of_property_read_u32_index(node, in crossbar_of_init()
258 of_property_read_u32_index(node, in crossbar_of_init()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A 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()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_opp_select.c203 of_property_read_u32_index(np, porp_name, 3 * i, in rockchip_get_sel_table()
205 of_property_read_u32_index(np, porp_name, 3 * i + 1, in rockchip_get_sel_table()
207 of_property_read_u32_index(np, porp_name, 3 * i + 2, in rockchip_get_sel_table()
245 of_property_read_u32_index(np, porp_name, 2 * i, in rockchip_get_bin_sel_table()
247 of_property_read_u32_index(np, porp_name, 2 * i + 1, in rockchip_get_bin_sel_table()
1290 of_property_read_u32_index(np, porp_name, 2 * i, in rockchip_get_volt_rm_table()
1292 of_property_read_u32_index(np, porp_name, 2 * i + 1, in rockchip_get_volt_rm_table()
1445 of_property_read_u32_index(np, "rockchip,max-volt", 0, &max_volt); in rockchip_adjust_opp_by_irdrop()
1446 of_property_read_u32_index(np, "rockchip,evb-irdrop", 0, &evb_irdrop); in rockchip_adjust_opp_by_irdrop()
1518 if (of_property_read_u32_index(np, "mbist-vmin", index-1, &vmin)) in rockchip_adjust_opp_by_mbist_vmin()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm/mach-bcm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/devfreq/
H A Drockchip_bus.c81 ret = of_property_read_u32_index(child, "bus-id", 0, in rockchip_bus_smc_config()
86 ret = of_property_read_u32_index(child, "cfg-val", 0, in rockchip_bus_smc_config()
98 ret = of_property_read_u32_index(child, "enable-msk", 0, in rockchip_bus_smc_config()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dpower_supply_core.c730 of_property_read_u32_index(battery_np, "ambient-celsius", in power_supply_get_battery_info()
732 of_property_read_u32_index(battery_np, "ambient-celsius", in power_supply_get_battery_info()
734 of_property_read_u32_index(battery_np, "alert-celsius", in power_supply_get_battery_info()
736 of_property_read_u32_index(battery_np, "alert-celsius", in power_supply_get_battery_info()
738 of_property_read_u32_index(battery_np, "operating-range-celsius", in power_supply_get_battery_info()
740 of_property_read_u32_index(battery_np, "operating-range-celsius", in power_supply_get_battery_info()

123456