Home
last modified time | relevance | path

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

1234

/linux-6.15/sound/soc/meson/
H A Dmeson-card-utils.c143 num_codecs = of_get_child_count(node); in meson_card_set_be_link()
204 num = of_get_child_count(node); in meson_card_add_links()
/linux-6.15/drivers/pinctrl/freescale/
H A Dpinctrl-imx.c596 func->func.ngroups = of_get_child_count(np); in imx_pinctrl_parse_functions()
665 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt()
688 pctl->num_groups = of_get_child_count(np); in imx_pinctrl_probe_dt()
692 pctl->num_groups += of_get_child_count(child); in imx_pinctrl_probe_dt()
H A Dpinctrl-imx1-core.c523 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions()
558 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt()
/linux-6.15/drivers/i2c/muxes/
H A Di2c-mux-mule.c56 ndev = of_get_child_count(mux_dev->of_node); in mule_i2c_mux_probe()
H A Di2c-mux-gpmux.c97 children = of_get_child_count(np); in i2c_mux_probe()
H A Di2c-mux-reg.c105 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
/linux-6.15/drivers/clk/at91/
H A Ddt-compat.c142 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()
756 num = of_get_child_count(np); in of_at91_clk_prog_setup()
883 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
/linux-6.15/drivers/phy/broadcom/
H A Dphy-bcm-cygnus-pcie.c121 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
/linux-6.15/arch/powerpc/platforms/powernv/
H A Dopal-psr.c135 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()
H A Dopal-sensor-groups.c171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
H A Dopal-powercap.c153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
/linux-6.15/scripts/coccinelle/tests/
H 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-6.15/drivers/mtd/parsers/
H A Dscpart.c174 parts = kcalloc(of_get_child_count(ofpart_node), sizeof(*parts), in scpart_parse()
/linux-6.15/drivers/video/
H A Dof_display_timing.c180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/linux-6.15/drivers/regulator/
H A Dmc13xxx-regulator-core.c152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
/linux-6.15/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c922 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups()
925 cnt = of_get_child_count(child); in sprd_pinctrl_get_groups()
972 if (of_get_child_count(child) > 0) { in sprd_pinctrl_parse_dt()
/linux-6.15/drivers/pinctrl/nxp/
H A Dpinctrl-s32cc.c813 func->ngroups = of_get_child_count(np); in s32_pinctrl_parse_functions()
887 nfuncs = of_get_child_count(np); in s32_pinctrl_probe_dt()
901 info->ngroups += of_get_child_count(child); in s32_pinctrl_probe_dt()
/linux-6.15/drivers/pinctrl/
H A Dpinctrl-k230.c519 func->ngroups = of_get_child_count(np); in k230_pinctrl_parse_functions()
550 info->ngroups += of_get_child_count(child); in k230_pinctrl_child_count()
/linux-6.15/sound/soc/renesas/rcar/
H A Dctu.c330 nr = of_get_child_count(node); in rsnd_ctu_probe()
H A Dmix.c302 nr = of_get_child_count(node); in rsnd_mix_probe()
H A Ddvc.c338 nr = of_get_child_count(node); in rsnd_dvc_probe()
/linux-6.15/drivers/bus/
H A Dtegra-gmi.c111 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
/linux-6.15/drivers/phy/marvell/
H A Dphy-berlin-sata.c215 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
/linux-6.15/drivers/i2c/busses/
H A Di2c-sun6i-p2wi.c209 if (of_get_child_count(np) > 1) { in p2wi_probe()
/linux-6.15/drivers/irqchip/
H A Dirq-mvebu-icu.c330 if (!of_get_child_count(pdev->dev.of_node)) in mvebu_icu_probe()

1234