Home
last modified time | relevance | path

Searched refs:of_get_child_count (Results 1 – 25 of 86) sorted by relevance

1234

/linux/drivers/clk/at91/
A Ddt-compat.c133 num = of_get_child_count(np); in of_sama5d2_clk_generated_setup()
442 num = of_get_child_count(np); in of_at91_clk_periph_setup()
707 num = of_get_child_count(np); in of_at91_clk_prog_setup()
826 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
/linux/sound/soc/meson/
A Dmeson-card-utils.c150 num_codecs = of_get_child_count(node); in meson_card_set_be_link()
220 num = of_get_child_count(node); in meson_card_add_links()
/linux/drivers/pinctrl/freescale/
A Dpinctrl-imx.c661 func->num_group_names = of_get_child_count(np); in imx_pinctrl_parse_functions()
737 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt()
760 pctl->num_groups = of_get_child_count(np); in imx_pinctrl_probe_dt()
764 pctl->num_groups += of_get_child_count(child); in imx_pinctrl_probe_dt()
A Dpinctrl-imx1-core.c521 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions()
559 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt()
/linux/drivers/i2c/muxes/
A Di2c-mux-gpmux.c97 children = of_get_child_count(np); in i2c_mux_probe()
A Di2c-mux-reg.c105 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
/linux/arch/powerpc/platforms/powernv/
A Dopal-psr.c135 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()
A Dopal-sensor-groups.c171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
A Dopal-powercap.c153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
/linux/drivers/phy/broadcom/
A Dphy-bcm-cygnus-pcie.c132 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
/linux/drivers/mtd/nand/raw/
A Doxnas_nand.c103 count = of_get_child_count(np); in oxnas_nand_probe()
/linux/scripts/coccinelle/tests/
A Dunsigned_lesser_than_zero.cocci40 …64|gameport_time|get_write_extents|nla_len|ntoh24|of_flat_dt_match|of_get_child_count|uart_circ_ch…
/linux/drivers/video/
A Dof_display_timing.c180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/linux/drivers/pinctrl/sprd/
A Dpinctrl-sprd.c920 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups()
923 cnt = of_get_child_count(child); in sprd_pinctrl_get_groups()
973 if (of_get_child_count(child) > 0) { in sprd_pinctrl_parse_dt()
/linux/drivers/regulator/
A Dmc13xxx-regulator-core.c152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
/linux/drivers/bus/
A Dtegra-gmi.c106 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
/linux/sound/soc/sh/rcar/
A Dctu.c330 nr = of_get_child_count(node); in rsnd_ctu_probe()
A Dmix.c302 nr = of_get_child_count(node); in rsnd_mix_probe()
A Ddvc.c338 nr = of_get_child_count(node); in rsnd_dvc_probe()
/linux/drivers/phy/marvell/
A Dphy-berlin-sata.c214 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
/linux/drivers/thermal/
A Dthermal_of.c907 tz->ntrips = of_get_child_count(child); in thermal_of_build_thermal_zone()
933 tz->num_tbps = of_get_child_count(child); in thermal_of_build_thermal_zone()
/linux/drivers/input/keyboard/
A Dsun4i-lradc-keys.c181 lradc->chan0_map_count = of_get_child_count(np); in sun4i_lradc_load_dt_keymap()
/linux/drivers/i2c/busses/
A Di2c-sun6i-p2wi.c204 if (of_get_child_count(np) > 1) { in p2wi_probe()
/linux/drivers/pinctrl/samsung/
A Dpinctrl-samsung.c264 if (!of_get_child_count(np_config)) in samsung_dt_node_to_map()
756 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
786 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
/linux/drivers/irqchip/
A Dirq-mvebu-icu.c370 if (!of_get_child_count(pdev->dev.of_node)) in mvebu_icu_probe()

Completed in 30 milliseconds

1234