Searched refs:of_property_count_u32_elems (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/irqchip/
H A Dirq-st.c122 channels = of_property_count_u32_elems(np, "st,irq-device"); st_irq_syscfg_enable()
128 channels = of_property_count_u32_elems(np, "st,fiq-device"); st_irq_syscfg_enable()
/linux-4.4.14/drivers/cpuidle/
H A Dcpuidle-powernv.c183 dt_idle_states = of_property_count_u32_elems(power_mgt, "ibm,cpu-idle-state-flags"); powernv_add_idle_states()
/linux-4.4.14/drivers/clk/sunxi/
H A Dclk-simple-gates.c51 number = of_property_count_u32_elems(node, "clock-indices"); sunxi_simple_gates_setup()
/linux-4.4.14/drivers/regulator/
H A Dgpio-regulator.c179 proplen = of_property_count_u32_elems(np, "gpios-states"); of_get_gpio_regulator_config()
205 proplen = of_property_count_u32_elems(np, "states"); of_get_gpio_regulator_config()
H A Dti-abb-regulator.c522 num_entries = of_property_count_u32_elems(dev->of_node, pname); ti_abb_init_table()
/linux-4.4.14/drivers/leds/
H A Dleds-netxbig.c413 ret = of_property_count_u32_elems(np, "timers"); netxbig_leds_get_of_pdata()
484 ret = of_property_count_u32_elems(child, "mode-val"); for_each_child_of_node()
H A Dleds-ns2.c298 ret = of_property_count_u32_elems(child, "modes-map"); for_each_child_of_node()
/linux-4.4.14/drivers/video/backlight/
H A Dsky81452-backlight.c198 ret = of_property_count_u32_elems(np, "led-sources"); sky81452_bl_parse_dt()
/linux-4.4.14/drivers/hwmon/
H A Dpwm-fan.c182 ret = of_property_count_u32_elems(np, "cooling-levels"); pwm_fan_of_get_cooling_data()
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Didle.c253 dt_idle_states = of_property_count_u32_elems(power_mgt, pnv_init_idle_states()
/linux-4.4.14/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c403 proplen = of_property_count_u32_elems(lb_node, "ranges"); get_cs_ranges()
/linux-4.4.14/drivers/gpio/
H A Dgpio-brcmstb.c277 of_property_count_u32_elems(np, "brcm,gpio-bank-widths"); brcmstb_gpio_sanity_check_banks()
/linux-4.4.14/include/linux/
H A Dof.h730 * of_property_count_u32_elems - Count the number of u32 elements in a property
740 static inline int of_property_count_u32_elems(const struct device_node *np, of_property_count_u32_elems() function
/linux-4.4.14/drivers/spi/
H A Dspi-mt65xx.c521 mdata->pad_num = of_property_count_u32_elems( mtk_spi_probe()
/linux-4.4.14/drivers/base/power/opp/
H A Dcore.c789 count = of_property_count_u32_elems(opp->np, "opp-microvolt"); opp_parse_supplies()

Completed in 564 milliseconds