Searched refs:of_property_count_u32_elems (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/drivers/irqchip/ |
D | irq-st.c | 122 channels = of_property_count_u32_elems(np, "st,irq-device"); in st_irq_syscfg_enable() 128 channels = of_property_count_u32_elems(np, "st,fiq-device"); in st_irq_syscfg_enable()
|
/linux-4.4.14/drivers/clk/sunxi/ |
D | clk-simple-gates.c | 51 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
|
/linux-4.4.14/drivers/regulator/ |
D | gpio-regulator.c | 179 proplen = of_property_count_u32_elems(np, "gpios-states"); in of_get_gpio_regulator_config() 205 proplen = of_property_count_u32_elems(np, "states"); in of_get_gpio_regulator_config()
|
D | ti-abb-regulator.c | 522 num_entries = of_property_count_u32_elems(dev->of_node, pname); in ti_abb_init_table()
|
/linux-4.4.14/drivers/cpuidle/ |
D | cpuidle-powernv.c | 183 dt_idle_states = of_property_count_u32_elems(power_mgt, "ibm,cpu-idle-state-flags"); in powernv_add_idle_states()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | idle.c | 253 dt_idle_states = of_property_count_u32_elems(power_mgt, in pnv_init_idle_states()
|
/linux-4.4.14/drivers/leds/ |
D | leds-netxbig.c | 413 ret = of_property_count_u32_elems(np, "timers"); in netxbig_leds_get_of_pdata() 484 ret = of_property_count_u32_elems(child, "mode-val"); in netxbig_leds_get_of_pdata()
|
D | leds-ns2.c | 298 ret = of_property_count_u32_elems(child, "modes-map"); in ns2_leds_get_of_pdata()
|
/linux-4.4.14/drivers/hwmon/ |
D | pwm-fan.c | 182 ret = of_property_count_u32_elems(np, "cooling-levels"); in pwm_fan_of_get_cooling_data()
|
/linux-4.4.14/drivers/video/backlight/ |
D | sky81452-backlight.c | 198 ret = of_property_count_u32_elems(np, "led-sources"); in sky81452_bl_parse_dt()
|
/linux-4.4.14/arch/powerpc/platforms/512x/ |
D | mpc512x_lpbfifo.c | 403 proplen = of_property_count_u32_elems(lb_node, "ranges"); in get_cs_ranges()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-brcmstb.c | 277 of_property_count_u32_elems(np, "brcm,gpio-bank-widths"); in brcmstb_gpio_sanity_check_banks()
|
/linux-4.4.14/drivers/base/power/opp/ |
D | core.c | 789 count = of_property_count_u32_elems(opp->np, "opp-microvolt"); in opp_parse_supplies()
|
/linux-4.4.14/drivers/spi/ |
D | spi-mt65xx.c | 521 mdata->pad_num = of_property_count_u32_elems( in mtk_spi_probe()
|
/linux-4.4.14/include/linux/ |
D | of.h | 740 static inline int of_property_count_u32_elems(const struct device_node *np, in of_property_count_u32_elems() function
|