Home
last modified time | relevance | path

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

1234

/Linux-v5.10/sound/soc/meson/
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-v5.10/drivers/clk/at91/
Ddt-compat.c131 num = of_get_child_count(np); in of_sama5d2_clk_generated_setup()
433 num = of_get_child_count(np); in of_at91_clk_periph_setup()
698 num = of_get_child_count(np); in of_at91_clk_prog_setup()
817 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
/Linux-v5.10/drivers/pinctrl/freescale/
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()
Dpinctrl-imx1-core.c522 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions()
560 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt()
/Linux-v5.10/drivers/i2c/muxes/
Di2c-mux-gpmux.c97 children = of_get_child_count(np); in i2c_mux_probe()
Di2c-mux-gpio.c78 mux->data.n_values = of_get_child_count(np); in i2c_mux_gpio_probe_dt()
Di2c-mux-reg.c105 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-psr.c135 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()
Dopal-powercap.c153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
Dopal-sensor-groups.c171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
/Linux-v5.10/sound/soc/qcom/
Dcommon.c47 num_links = of_get_child_count(dev->of_node); in qcom_snd_parse_of()
/Linux-v5.10/drivers/phy/broadcom/
Dphy-bcm-cygnus-pcie.c133 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
/Linux-v5.10/drivers/misc/
Datmel_tclib.c114 if (of_get_child_count(pdev->dev.of_node)) in tc_probe()
/Linux-v5.10/scripts/coccinelle/tests/
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-v5.10/drivers/mtd/nand/raw/
Doxnas_nand.c105 count = of_get_child_count(np); in oxnas_nand_probe()
/Linux-v5.10/drivers/video/
Dof_display_timing.c179 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/Linux-v5.10/drivers/regulator/
Dmc13xxx-regulator-core.c152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
/Linux-v5.10/drivers/pinctrl/sprd/
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-v5.10/drivers/memory/tegra/
Dtegra20-emc.c344 child_count = of_get_child_count(node); in tegra_emc_load_timings_from_dt()
661 if (of_get_child_count(pdev->dev.of_node) == 0) { in tegra_emc_probe()
/Linux-v5.10/drivers/bus/
Dtegra-gmi.c106 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
/Linux-v5.10/drivers/phy/marvell/
Dphy-berlin-sata.c214 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
/Linux-v5.10/sound/soc/sh/rcar/
Dctu.c314 nr = of_get_child_count(node); in rsnd_ctu_probe()
Dmix.c288 nr = of_get_child_count(node); in rsnd_mix_probe()
/Linux-v5.10/drivers/i2c/busses/
Di2c-sun6i-p2wi.c204 if (of_get_child_count(np) > 1) { in p2wi_probe()
/Linux-v5.10/drivers/input/keyboard/
Dsun4i-lradc-keys.c181 lradc->chan0_map_count = of_get_child_count(np); in sun4i_lradc_load_dt_keymap()

1234