Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/power/reset/
Dkeystone-reset.c101 ret = of_property_read_u32_index(np, "ti,syscon-pll", 1, &rspll_offset); in rsctrl_probe()
107 ret = of_property_read_u32_index(np, "ti,syscon-dev", 1, &rsmux_offset); in rsctrl_probe()
132 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()
/linux-4.4.14/drivers/phy/
Dphy-stih407-usb.c129 ret = of_property_read_u32_index(np, "st,syscfg", PHYPARAM_REG, in stih407_usb2_picophy_probe()
136 ret = of_property_read_u32_index(np, "st,syscfg", PHYCTRL_REG, in stih407_usb2_picophy_probe()
Dphy-ti-pipe3.c378 if (of_property_read_u32_index(node, in ti_pipe3_probe()
Dphy-miphy365x.c593 ret = of_property_read_u32_index(np, "st,syscfg", port, in miphy365x_probe()
Dphy-miphy28lp.c1187 if (!of_property_read_u32_index(np, "st,syscfg", i, &ctrlreg)) in miphy28lp_of_probe()
/linux-4.4.14/drivers/hwspinlock/
Dqcom_hwspinlock.c104 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, &base); in qcom_hwspinlock_probe()
110 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, &stride); in qcom_hwspinlock_probe()
/linux-4.4.14/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.c195 of_property_read_u32_index(np, "gpios-states", in of_get_gpio_regulator_config()
219 of_property_read_u32_index(np, "states", i * 2, in of_get_gpio_regulator_config()
221 of_property_read_u32_index(np, "states", i * 2 + 1, in of_get_gpio_regulator_config()
/linux-4.4.14/drivers/leds/
Dleds-netxbig.c425 of_property_read_u32_index(np, "timers", 3 * i, in netxbig_leds_get_of_pdata()
429 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
432 of_property_read_u32_index(np, "timers", in netxbig_leds_get_of_pdata()
499 of_property_read_u32_index(child, in netxbig_leds_get_of_pdata()
501 of_property_read_u32_index(child, in netxbig_leds_get_of_pdata()
Dleds-ns2.c313 of_property_read_u32_index(child, in ns2_leds_get_of_pdata()
316 of_property_read_u32_index(child, in ns2_leds_get_of_pdata()
319 of_property_read_u32_index(child, in ns2_leds_get_of_pdata()
Dleds-bcm6328.c217 of_property_read_u32_index(nc, "brcm,link-signal-sources", i, in bcm6328_hwled()
244 of_property_read_u32_index(nc, "brcm,activity-signal-sources", in bcm6328_hwled()
/linux-4.4.14/drivers/irqchip/
Dirq-st.c135 of_property_read_u32_index(np, "st,irq-device", i, &device); in st_irq_syscfg_enable()
141 of_property_read_u32_index(np, "st,fiq-device", i, &device); in st_irq_syscfg_enable()
Dirq-crossbar.c243 of_property_read_u32_index(node, in crossbar_of_init()
261 of_property_read_u32_index(node, in crossbar_of_init()
Dirq-keystone.c158 ret = of_property_read_u32_index(np, "ti,syscon-dev", 1, in keystone_irq_probe()
Dirq-mips-gic.c888 while (!of_property_read_u32_index(node, "mti,reserved-cpu-vectors", in gic_of_init()
/linux-4.4.14/drivers/clk/at91/
Dclk-pll.c439 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
444 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
453 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
462 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
Dpmc.c51 ret = of_property_read_u32_index(np, propname, 0, &min); in of_at91_get_clk_range()
55 ret = of_property_read_u32_index(np, propname, 1, &max); in of_at91_get_clk_range()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c107 ret = of_property_read_u32_index(np, "altr,sysmgr-syscon", 1, &reg_offset); in socfpga_dwmac_parse_data()
113 ret = of_property_read_u32_index(np, "altr,sysmgr-syscon", 2, &reg_shift); in socfpga_dwmac_parse_data()
Ddwmac-sti.c286 err = of_property_read_u32_index(np, "st,syscon", 1, &dwmac->ctrl_reg); in sti_dwmac_parse_data()
/linux-4.4.14/drivers/gpio/
Dgpio-syscon.c216 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
223 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
Dgpiolib-of.c163 ret = of_property_read_u32_index(np, "gpios", i, in of_parse_own_gpio()
/linux-4.4.14/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()
/linux-4.4.14/drivers/watchdog/
Dat91sam9_wdt.c280 if (!of_property_read_u32_index(np, "atmel,max-heartbeat-sec", 0, in of_at91wdt_init()
285 if (!of_property_read_u32_index(np, "atmel,min-heartbeat-sec", in of_at91wdt_init()
/linux-4.4.14/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c362 err = of_property_read_u32_index(np, "wm,pins", i, &pin); in wmt_pctl_dt_node_to_map()
373 err = of_property_read_u32_index(np, "wm,function", in wmt_pctl_dt_node_to_map()
385 err = of_property_read_u32_index(np, "wm,pull", in wmt_pctl_dt_node_to_map()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-simple-gates.c52 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()
/linux-4.4.14/drivers/net/can/c_can/
Dc_can_platform.c346 if (of_property_read_u32_index(np, "syscon-raminit", 1, in c_can_plat_probe()
353 if (of_property_read_u32_index(np, "syscon-raminit", 2, in c_can_plat_probe()
/linux-4.4.14/drivers/mfd/
Dqcom_rpm.c517 ret = of_property_read_u32_index(pdev->dev.of_node, "qcom,ipc", 1, in qcom_rpm_probe()
524 ret = of_property_read_u32_index(pdev->dev.of_node, "qcom,ipc", 2, in qcom_rpm_probe()
/linux-4.4.14/drivers/clk/ti/
Ddivider.c444 of_property_read_u32_index(node, "ti,dividers", i, &val); in ti_clk_get_div_table()
462 of_property_read_u32_index(node, "ti,dividers", i, &val); in ti_clk_get_div_table()
Dclk.c190 if (of_property_read_u32_index(node, "reg", index, &val)) { in ti_clk_get_reg_addr()
Dfapll.c615 if (of_property_read_u32_index(node, "clock-indices", i, in ti_fapll_setup()
/linux-4.4.14/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c760 err = of_property_read_u32_index(np, "brcm,pins", i, &pin); in bcm2835_pctl_dt_node_to_map()
771 err = of_property_read_u32_index(np, "brcm,function", in bcm2835_pctl_dt_node_to_map()
781 err = of_property_read_u32_index(np, "brcm,pull", in bcm2835_pctl_dt_node_to_map()
/linux-4.4.14/arch/mips/ath79/
Dirq.c330 of_property_read_u32_index( in ar79_cpu_intc_of_init()
/linux-4.4.14/sound/soc/fsl/
Dimx-audmux.c281 for (i = 0; (ret = of_property_read_u32_index(child, in imx_audmux_parse_dt_defaults()
/linux-4.4.14/drivers/clk/shmobile/
Dclk-mstp.c212 ret = of_property_read_u32_index(np, idxname, i, &clkidx); in cpg_mstp_clocks_init()
/linux-4.4.14/drivers/clk/
Dclk-scpi.c244 if (of_property_read_u32_index(np, "clock-indices", in scpi_clk_add()
/linux-4.4.14/include/linux/
Dof.h281 extern int of_property_read_u32_index(const struct device_node *np,
509 static inline int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() function
/linux-4.4.14/drivers/soc/qcom/
Dsmd.c1269 ret = of_property_read_u32_index(node, key, 1, &edge->ipc_offset); in qcom_smd_parse_edge()
1275 ret = of_property_read_u32_index(node, key, 2, &edge->ipc_bit); in qcom_smd_parse_edge()
/linux-4.4.14/drivers/dma/
Dimx-sdma.c1498 ret = of_property_read_u32_index(np, propname, i, &reg); in sdma_event_remap()
1505 ret = of_property_read_u32_index(np, propname, i + 1, &shift); in sdma_event_remap()
1512 ret = of_property_read_u32_index(np, propname, i + 2, &val); in sdma_event_remap()
Ddma-jz4780.c794 of_property_read_u32_index(dev->of_node, "ingenic,reserved-channels", in jz4780_dma_probe()
/linux-4.4.14/arch/mips/cavium-octeon/
Docteon-irq.c1553 r = of_property_read_u32_index(gpio_node, "interrupts", 0, &v); in octeon_irq_init_gpio()
1562 r = of_property_read_u32_index(gpio_node, "interrupts", 0, &v0); in octeon_irq_init_gpio()
1567 r = of_property_read_u32_index(gpio_node, "interrupts", 1, &v1); in octeon_irq_init_gpio()
/linux-4.4.14/drivers/hsi/
Dhsi.c285 err = of_property_read_u32_index(client, "hsi-channel-ids", i, in hsi_add_client_from_dt()
/linux-4.4.14/drivers/mtd/nand/
Dsunxi_nand.c1265 ret = of_property_read_u32_index(np, "reg", i, &tmp); in sunxi_nand_chip_init()
1286 if (!of_property_read_u32_index(np, "allwinner,rb", i, &tmp) && in sunxi_nand_chip_init()
/linux-4.4.14/drivers/of/
Dbase.c1155 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() function
1168 EXPORT_SYMBOL_GPL(of_property_read_u32_index);
/linux-4.4.14/drivers/spi/
Dspi-mt65xx.c539 of_property_read_u32_index(pdev->dev.of_node, in mtk_spi_probe()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss.c1048 if (of_property_read_u32_index(np, "syscon-pll-ctrl", 1, in dss_video_pll_probe()
Ddispc.c4012 if (of_property_read_u32_index(np, "syscon-pol", 1, in dispc_bind()
/linux-4.4.14/drivers/usb/gadget/udc/
Dgr_udc.c2066 if (of_property_read_u32_index(np, "epobufsizes", i, &bufsize)) in gr_udc_init()
2074 if (of_property_read_u32_index(np, "epibufsizes", i, &bufsize)) in gr_udc_init()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-at91-pio4.c522 ret = of_property_read_u32_index(np, "pinmux", i, &pinfunc); in atmel_pctl_dt_subnode_to_map()
/linux-4.4.14/drivers/iommu/
Domap-iommu.c906 if (of_property_read_u32_index(np, "ti,syscon-mmuconfig", 1, in omap_iommu_dra7_get_dsp_system_cfg()
/linux-4.4.14/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c534 err = of_property_read_u32_index(node, "pinmux", in mtk_pctrl_dt_subnode_to_map()
/linux-4.4.14/drivers/media/platform/omap3isp/
Disp.c2339 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, in isp_probe()