Home
last modified time | relevance | path

Searched refs:of_property_count_u32_elems (Results 1 – 25 of 48) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-st.c119 channels = of_property_count_u32_elems(np, "st,irq-device"); in st_irq_syscfg_enable()
125 channels = of_property_count_u32_elems(np, "st,fiq-device"); in st_irq_syscfg_enable()
H A Dirq-mvebu-gicp.c187 ret = of_property_count_u32_elems(node, "marvell,spi-ranges"); in mvebu_gicp_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rcar-du/
H A Drcar_du_kms.c613 ret = of_property_count_u32_elems(np, vsps_prop_name); in rcar_du_vsps_init()
617 ret = of_property_count_u32_elems(np, vsps_prop_name); in rcar_du_vsps_init()
686 cells = of_property_count_u32_elems(np, "renesas,cmms"); in rcar_du_cmm_init()
/OK3568_Linux_fs/kernel/drivers/clk/sunxi/
H A Dclk-sun8i-bus-gates.c53 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
H A Dclk-simple-gates.c43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
/OK3568_Linux_fs/kernel/drivers/of/
H A Dof_numa.c91 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1()
/OK3568_Linux_fs/kernel/drivers/mux/
H A Dmmio.c57 ret = of_property_count_u32_elems(np, "mux-reg-masks"); in mux_mmio_probe()
/OK3568_Linux_fs/kernel/drivers/pinctrl/renesas/
H A Dpinctrl-rzn1.c742 if (of_property_count_u32_elems(np, RZN1_PINS_PROP) > 0) in rzn1_pinctrl_count_function_groups()
746 if (of_property_count_u32_elems(child, RZN1_PINS_PROP) > 0) in rzn1_pinctrl_count_function_groups()
781 if (of_property_count_u32_elems(np, RZN1_PINS_PROP) > 0) { in rzn1_pinctrl_parse_functions()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dpwm-fan.c246 ret = of_property_count_u32_elems(np, "cooling-levels"); in pwm_fan_of_get_cooling_data()
303 count = of_property_count_u32_elems(np, porp_name); in pwm_fan_get_thermal_trips()
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-netxbig.c461 ret = of_property_count_u32_elems(np, "timers"); in netxbig_leds_get_of_pdata()
542 ret = of_property_count_u32_elems(child, "mode-val"); in netxbig_leds_get_of_pdata()
/OK3568_Linux_fs/kernel/drivers/opp/
H A Dof.c446 count = of_property_count_u32_elems(np, "opp-supported-hw"); in _opp_is_supported()
527 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
567 icount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multi_dais.c462 mp_count = of_property_count_u32_elems(np, "capture,channel-mapping"); in rockchip_mdais_probe()
465 mp_count = of_property_count_u32_elems(np, "playback,channel-mapping"); in rockchip_mdais_probe()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Datmel_captouch.c215 capdev->num_btn = of_property_count_u32_elems(node, "linux,keymap"); in atmel_captouch_probe()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Dopal-irqchip.c212 rc = of_property_count_u32_elems(opal_node, "opal-interrupts"); in opal_event_init()
H A Dopal-imc.c91 nr_chips = of_property_count_u32_elems(node, "chip-id"); in imc_get_mem_addr_nest()
/OK3568_Linux_fs/kernel/drivers/video/backlight/
H A Dled_bl.c134 num_levels = of_property_count_u32_elems(node, "brightness-levels"); in led_bl_parse_levels()
H A Dsky81452-backlight.c208 ret = of_property_count_u32_elems(np, "led-sources"); in sky81452_bl_parse_dt()
H A Darcxcnn_bl.c218 ret = of_property_count_u32_elems(node, "led-sources"); in arcxcnn_parse_dt()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Ddenali_dt.c89 nsels = of_property_count_u32_elems(chip_np, "reg"); in denali_dt_chip_init()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-of.c127 size = of_property_count_u32_elems(np, "gpio-reserved-ranges"); in of_gpio_need_valid_mask()
908 len = of_property_count_u32_elems(np, "gpio-reserved-ranges"); in of_gpiochip_init_valid_mask()
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dqoriq_thermal.c178 len = of_property_count_u32_elems(np, "fsl,tmu-range"); in qoriq_tmu_calibration()
/OK3568_Linux_fs/kernel/drivers/counter/
H A Dmicrochip-tcb-capture.c341 priv->num_channels = of_property_count_u32_elems(np, "reg"); in mchp_tc_probe()
/OK3568_Linux_fs/kernel/arch/mips/lantiq/
H A Dirq.c390 exin_avail = of_property_count_u32_elems(eiu_node, in icu_of_init()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dgpio-regulator.c190 proplen = of_property_count_u32_elems(np, "states"); in of_get_gpio_regulator_config()
/OK3568_Linux_fs/kernel/drivers/staging/hikey9xx/
H A Dhi6421v600-regulator.c282 rdesc->n_voltages = of_property_count_u32_elems(np, "voltage-table"); in hi6421_spmi_dt_parse()

12