Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/clk/at91/
H A 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()
/OK3568_Linux_fs/kernel/sound/soc/meson/
H 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()
/OK3568_Linux_fs/kernel/drivers/pinctrl/freescale/
H 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()
H 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()
/OK3568_Linux_fs/kernel/drivers/i2c/muxes/
H A Di2c-mux-gpmux.c97 children = of_get_child_count(np); in i2c_mux_probe()
H A Di2c-mux-gpio.c78 mux->data.n_values = of_get_child_count(np); in i2c_mux_gpio_probe_dt()
H A Di2c-mux-reg.c105 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_gpio.c102 gpiod->num = of_get_child_count(gpiod_node); in gpio_parse_dt()
/OK3568_Linux_fs/kernel/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-powercap.c153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
H A Dopal-sensor-groups.c171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
/OK3568_Linux_fs/kernel/sound/soc/qcom/
H A Dcommon.c47 num_links = of_get_child_count(dev->of_node); in qcom_snd_parse_of()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Datmel_tclib.c114 if (of_get_child_count(pdev->dev.of_node)) in tc_probe()
/OK3568_Linux_fs/kernel/drivers/phy/broadcom/
H A Dphy-bcm-cygnus-pcie.c133 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/rockchip/
H A Drockchip_ion.c96 pdata->nr = of_get_child_count(node); in rk_ion_of()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Doxnas_nand.c105 count = of_get_child_count(np); in oxnas_nand_probe()
/OK3568_Linux_fs/kernel/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…
/OK3568_Linux_fs/kernel/drivers/video/
H A Dof_display_timing.c179 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/OK3568_Linux_fs/kernel/drivers/pinctrl/sprd/
H 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()
/OK3568_Linux_fs/kernel/drivers/memory/tegra/
H A 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()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmc13xxx-regulator-core.c152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
/OK3568_Linux_fs/kernel/drivers/bus/
H A Dtegra-gmi.c106 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
/OK3568_Linux_fs/kernel/drivers/thermal/
H 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()
/OK3568_Linux_fs/kernel/drivers/phy/marvell/
H A Dphy-berlin-sata.c214 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
/OK3568_Linux_fs/kernel/sound/soc/sh/rcar/
H A Dctu.c318 nr = of_get_child_count(node); in rsnd_ctu_probe()

1234