Home
last modified time | relevance | path

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

12

/linux/sound/soc/meson/
H A Dmeson-card-utils.c140 num_codecs = of_get_child_count(node); in meson_card_set_be_link()
199 num = of_get_child_count(node); in meson_card_add_links()
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx.c596 func->ngroups = of_get_child_count(np); in imx_pinctrl_parse_functions()
673 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt()
682 pctl->num_groups = of_get_child_count(np); in imx_pinctrl_probe_dt()
686 pctl->num_groups += of_get_child_count(child); in imx_pinctrl_probe_dt()
H A Dpinctrl-imx1-core.c522 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions()
579 ngroups = of_get_child_count(np); in imx1_pinctrl_parse_dt()
583 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt()
/linux/drivers/i2c/muxes/
H A Di2c-mux-mule.c55 ndev = of_get_child_count(mux_dev->of_node); in mule_i2c_mux_probe()
/linux/drivers/clk/at91/
H A Ddt-compat.c143 num = of_get_child_count(np); in of_sama5d2_clk_generated_setup()
472 num = of_get_child_count(np); in of_at91_clk_periph_setup()
757 num = of_get_child_count(np); in of_at91_clk_prog_setup()
884 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
/linux/drivers/phy/broadcom/
H A Dphy-bcm-cygnus-pcie.c121 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
/linux/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/drivers/video/
H A Dof_display_timing.c180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/linux/drivers/mtd/parsers/
H A Dscpart.c174 parts = kzalloc_objs(*parts, of_get_child_count(ofpart_node)); in scpart_parse()
/linux/drivers/regulator/
H A Dmc13xxx-regulator-core.c152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
/linux/drivers/pinctrl/nxp/
H A Dpinctrl-s32cc.c822 func->ngroups = of_get_child_count(np); in s32_pinctrl_parse_functions()
895 nfuncs = of_get_child_count(np); in s32_pinctrl_probe_dt()
908 info->ngroups += of_get_child_count(child); in s32_pinctrl_probe_dt()
/linux/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c171 sgs = kzalloc_objs(*sgs, of_get_child_count(sg)); in opal_sensor_groups_init()
/linux/drivers/pinctrl/
H A Dpinctrl-k230.c524 func->ngroups = of_get_child_count(np); in k230_pinctrl_parse_functions()
555 info->ngroups += of_get_child_count(child); in k230_pinctrl_child_count()
/linux/drivers/phy/marvell/
H A Dphy-berlin-sata.c215 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
/linux/sound/soc/renesas/rcar/
H A Dctu.c327 nr = of_get_child_count(node); in rsnd_ctu_probe()
H A Dmix.c299 nr = of_get_child_count(node); in rsnd_mix_probe()
H A Ddvc.c335 nr = of_get_child_count(node); in rsnd_dvc_probe()
/linux/drivers/i2c/busses/
H A Di2c-sun6i-p2wi.c205 if (of_get_child_count(np) > 1) in p2wi_probe()
/linux/drivers/irqchip/
H A Dirq-mvebu-icu.c330 if (!of_get_child_count(pdev->dev.of_node)) in mvebu_icu_probe()
/linux/drivers/input/keyboard/
H A Dsun4i-lradc-keys.c212 lradc->chan0_map_count = of_get_child_count(np); in sun4i_lradc_load_dt_keymap()
/linux/drivers/interconnect/qcom/
H A Dicc-rpmh.c348 if (of_get_child_count(dev->of_node) > 0) { in qcom_icc_rpmh_probe()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_drm.c137 config->layers_count = of_get_child_count(layers_node); in logicvc_drm_config_parse()
/linux/drivers/phy/renesas/
H A Dphy-rcar-gen2.c374 drv->num_channels = of_get_child_count(dev->of_node); in rcar_gen2_phy_probe()
/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c262 if (!of_get_child_count(np_config)) in samsung_dt_node_to_map()
828 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
856 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
/linux/drivers/thermal/
H A Dthermal_of.c106 count = of_get_child_count(trips); in thermal_of_trips_init()

12