Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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-miphy365x.c595 ret = of_property_read_u32_index(np, "st,syscfg", port, in miphy365x_probe()
Dphy-miphy28lp.c1192 if (!of_property_read_u32_index(np, "st,syscfg", i, &ctrlreg)) in miphy28lp_of_probe()
/linux-4.1.27/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.1.27/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.c238 of_property_read_u32_index(node, in crossbar_of_init()
256 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.c834 while (!of_property_read_u32_index(node, "mti,reserved-cpu-vectors", in gic_of_init()
/linux-4.1.27/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.c298 err = of_property_read_u32_index(np, "st,syscon", 1, &dwmac->ctrl_reg); in sti_dwmac_parse_data()
/linux-4.1.27/drivers/clk/at91/
Dclk-pll.c435 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
440 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
449 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
458 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.1.27/drivers/gpio/
Dgpio-syscon.c212 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
219 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
Dgpiolib-of.c164 ret = of_property_read_u32_index(np, "gpios", i, in of_get_gpio_hog()
/linux-4.1.27/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.1.27/drivers/watchdog/
Dat91sam9_wdt.c278 if (!of_property_read_u32_index(np, "atmel,max-heartbeat-sec", 0, in of_at91wdt_init()
283 if (!of_property_read_u32_index(np, "atmel,min-heartbeat-sec", in of_at91wdt_init()
/linux-4.1.27/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.1.27/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.1.27/drivers/mfd/
Dqcom_rpm.c516 ret = of_property_read_u32_index(pdev->dev.of_node, "qcom,ipc", 1, in qcom_rpm_probe()
523 ret = of_property_read_u32_index(pdev->dev.of_node, "qcom,ipc", 2, in qcom_rpm_probe()
/linux-4.1.27/drivers/clk/shmobile/
Dclk-mstp.c206 ret = of_property_read_u32_index(np, idxname, i, &clkidx); in cpg_mstp_clocks_init()
/linux-4.1.27/drivers/clk/ti/
Ddivider.c453 of_property_read_u32_index(node, "ti,dividers", i, &val); in ti_clk_get_div_table()
471 of_property_read_u32_index(node, "ti,dividers", i, &val); in ti_clk_get_div_table()
Dclk.c130 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.1.27/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c767 err = of_property_read_u32_index(np, "brcm,pins", i, &pin); in bcm2835_pctl_dt_node_to_map()
778 err = of_property_read_u32_index(np, "brcm,function", in bcm2835_pctl_dt_node_to_map()
788 err = of_property_read_u32_index(np, "brcm,pull", in bcm2835_pctl_dt_node_to_map()
/linux-4.1.27/sound/soc/fsl/
Dimx-audmux.c281 for (i = 0; (ret = of_property_read_u32_index(child, in imx_audmux_parse_dt_defaults()
/linux-4.1.27/include/linux/
Dof.h280 extern int of_property_read_u32_index(const struct device_node *np,
503 static inline int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() function
/linux-4.1.27/arch/mips/cavium-octeon/
Docteon-irq.c1549 r = of_property_read_u32_index(gpio_node, "interrupts", 0, &v); in octeon_irq_init_gpio()
1558 r = of_property_read_u32_index(gpio_node, "interrupts", 0, &v0); in octeon_irq_init_gpio()
1563 r = of_property_read_u32_index(gpio_node, "interrupts", 1, &v1); in octeon_irq_init_gpio()
/linux-4.1.27/drivers/hsi/
Dhsi.c275 err = of_property_read_u32_index(client, "hsi-channel-ids", i, in hsi_add_client_from_dt()
/linux-4.1.27/drivers/mtd/nand/
Dsunxi_nand.c1165 ret = of_property_read_u32_index(np, "reg", i, &tmp); in sunxi_nand_chip_init()
1186 if (!of_property_read_u32_index(np, "allwinner,rb", i, &tmp) && in sunxi_nand_chip_init()
/linux-4.1.27/drivers/of/
Dbase.c1158 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() function
1171 EXPORT_SYMBOL_GPL(of_property_read_u32_index);
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddss.c1092 if (of_property_read_u32_index(np, "syscon-pll-ctrl", 1, in omap_dsshw_probe()
Ddispc.c3926 if (of_property_read_u32_index(np, "syscon-pol", 1, in omap_dispchw_probe()
/linux-4.1.27/drivers/dma/
Ddma-jz4780.c768 of_property_read_u32_index(dev->of_node, "ingenic,reserved-channels", in jz4780_dma_probe()
/linux-4.1.27/drivers/usb/gadget/udc/
Dgr_udc.c2055 if (of_property_read_u32_index(np, "epobufsizes", i, &bufsize)) in gr_udc_init()
2063 if (of_property_read_u32_index(np, "epibufsizes", i, &bufsize)) in gr_udc_init()
/linux-4.1.27/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c433 err = of_property_read_u32_index(node, "pinmux", in mtk_pctrl_dt_subnode_to_map()
/linux-4.1.27/drivers/media/platform/omap3isp/
Disp.c2418 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 1, in isp_probe()
/linux-4.1.27/drivers/input/touchscreen/
Datmel_mxt_ts.c2401 ret = of_property_read_u32_index(client->dev.of_node, in mxt_parse_dt()