Home
last modified time | relevance | path

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

123

/linux/drivers/clk/sunxi/
H A Dclk-sun8i-bus-gates.c51 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
H A Dclk-simple-gates.c41 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
/linux/drivers/firmware/imx/
H A Dsm-misc.c66 num = of_property_count_u32_elems(np, "nxp,ctrl-ids"); in scmi_imx_misc_ctrl_probe()
/linux/drivers/cpufreq/
H A Dspear-cpufreq.c187 cnt = of_property_count_u32_elems(np, "cpufreq_tbl"); in spear_cpufreq_probe()
/linux/drivers/mux/
H A Dmmio.c73 ret = of_property_count_u32_elems(np, "mux-reg-masks"); in mux_mmio_probe()
/linux/drivers/clk/
H A Dclk-conf.c90 count = of_property_count_u32_elems(node, "assigned-clock-rates"); in __set_clk_rates()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.c693 ret = of_property_count_u32_elems(np, vsps_prop_name); in rcar_du_vsps_init()
697 ret = of_property_count_u32_elems(np, vsps_prop_name); in rcar_du_vsps_init()
764 cells = of_property_count_u32_elems(np, "renesas,cmms"); in rcar_du_cmm_init()
/linux/drivers/gpu/host1x/
H A Dcontext.c33 err = of_property_count_u32_elems(node, "iommu-map"); in host1x_memory_context_list_init()
/linux/drivers/mtd/nand/raw/
H A Ddenali_dt.c88 nsels = of_property_count_u32_elems(chip_np, "reg"); in denali_dt_chip_init()
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzn1.c744 if (of_property_count_u32_elems(np, RZN1_PINS_PROP) > 0) in rzn1_pinctrl_count_function_groups()
748 if (of_property_count_u32_elems(child, RZN1_PINS_PROP) > 0) in rzn1_pinctrl_count_function_groups()
782 if (of_property_count_u32_elems(np, RZN1_PINS_PROP) > 0) { in rzn1_pinctrl_parse_functions()
/linux/arch/powerpc/platforms/powernv/
H A Dopal-irqchip.c210 rc = of_property_count_u32_elems(opal_node, "opal-interrupts"); in opal_event_init()
H A Dopal-imc.c90 nr_chips = of_property_count_u32_elems(node, "chip-id"); in imc_get_mem_addr_nest()
/linux/drivers/input/misc/
H A Datmel_captouch.c214 capdev->num_btn = of_property_count_u32_elems(node, "linux,keymap"); in atmel_captouch_probe()
/linux/arch/powerpc/sysdev/xics/
H A Dics-native.c202 count = of_property_count_u32_elems(np, "interrupt-ranges"); in ics_native_add_one()
/linux/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()
/linux/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7100.c495 int npinmux = of_property_count_u32_elems(child, "pinmux"); in starfive_dt_node_to_map()
496 int npins = of_property_count_u32_elems(child, "pins"); in starfive_dt_node_to_map()
539 if ((npins = of_property_count_u32_elems(child, "pinmux")) > 0) { in starfive_dt_node_to_map()
566 } else if ((npins = of_property_count_u32_elems(child, "pins")) > 0) { in starfive_dt_node_to_map()
/linux/drivers/irqchip/
H A Dirq-econet-en751221.c197 num_shadows = of_property_count_u32_elems(node, field); in get_shadow_interrupts()
H A Dirq-mvebu-gicp.c194 ret = of_property_count_u32_elems(node, "marvell,spi-ranges"); in mvebu_gicp_probe()
/linux/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi-dt.c52 num_elems = of_property_count_u32_elems(node, "allwinner,pinmux"); in sunxi_pinctrl_dt_read_pinmux()
/linux/drivers/pwm/
H A Dpwm-lp3943.c236 num_outputs = of_property_count_u32_elems(node, name[i]); in lp3943_pwm_parse_dt()
/linux/drivers/video/backlight/
H A Dlm3509_bl.c136 num_sources = of_property_count_u32_elems(node, "led-sources"); in lm3509_parse_led_sources()
H A Dsky81452-backlight.c206 ret = of_property_count_u32_elems(np, "led-sources"); in sky81452_bl_parse_dt()
/linux/drivers/gpu/drm/
H A Ddrm_of.c515 ret = of_property_count_u32_elems(endpoint, "data-lanes"); in drm_of_get_data_lanes_count()
/linux/drivers/clk/imx/
H A Dclk-imx8qxp-lpcg.c197 count = of_property_count_u32_elems(np, "clock-indices"); in imx_lpcg_parse_clks_from_dt()
/linux/drivers/soc/qcom/
H A Drmtfs_mem.c239 num_vmids = of_property_count_u32_elems(node, "qcom,vmid"); in qcom_rmtfs_mem_probe()

123