Searched refs:of_get_child_count (Results 1 – 25 of 88) sorted by relevance
1234
148 num_codecs = of_get_child_count(node); in meson_card_set_be_link()218 num = of_get_child_count(node); in meson_card_add_links()
142 num = of_get_child_count(np); in of_sama5d2_clk_generated_setup()471 num = of_get_child_count(np); in of_at91_clk_periph_setup()744 num = of_get_child_count(np); in of_at91_clk_prog_setup()871 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
662 func->num_group_names = of_get_child_count(np); in imx_pinctrl_parse_functions()742 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt()765 pctl->num_groups = of_get_child_count(np); in imx_pinctrl_probe_dt()769 pctl->num_groups += of_get_child_count(child); in imx_pinctrl_probe_dt()
521 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()
97 children = of_get_child_count(np); in i2c_mux_probe()
105 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
135 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()
171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
122 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
40 …64|gameport_time|get_write_extents|nla_len|ntoh24|of_flat_dt_match|of_get_child_count|uart_circ_ch…
103 count = of_get_child_count(np); in oxnas_nand_probe()
174 parts = kcalloc(of_get_child_count(ofpart_node), sizeof(*parts), in scpart_parse()
180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
920 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()
238 if (of_get_child_count(dev->of_node) > 0) in qcom_icc_rpmh_probe()
214 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
109 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
334 nr = of_get_child_count(node); in rsnd_ctu_probe()
306 nr = of_get_child_count(node); in rsnd_mix_probe()
342 nr = of_get_child_count(node); in rsnd_dvc_probe()
204 if (of_get_child_count(np) > 1) { in p2wi_probe()
370 if (!of_get_child_count(pdev->dev.of_node)) in mvebu_icu_probe()
212 lradc->chan0_map_count = of_get_child_count(np); in sun4i_lradc_load_dt_keymap()