/openbmc/linux/sound/soc/meson/ |
H A D | meson-card-utils.c | 143 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()
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 598 func->num_group_names = of_get_child_count(np); in imx_pinctrl_parse_functions() 678 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt() 701 pctl->num_groups = of_get_child_count(np); in imx_pinctrl_probe_dt() 705 pctl->num_groups += of_get_child_count(child); in imx_pinctrl_probe_dt()
|
H A D | pinctrl-imx1-core.c | 524 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions() 562 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt()
|
/openbmc/linux/drivers/clk/at91/ |
H A D | dt-compat.c | 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() 755 num = of_get_child_count(np); in of_at91_clk_prog_setup() 882 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
|
/openbmc/linux/drivers/i2c/muxes/ |
H A D | i2c-mux-gpmux.c | 97 children = of_get_child_count(np); in i2c_mux_probe()
|
H A D | i2c-mux-reg.c | 105 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-psr.c | 135 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()
|
H A D | opal-sensor-groups.c | 171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
|
H A D | opal-powercap.c | 153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-cygnus-pcie.c | 122 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
|
/openbmc/linux/scripts/coccinelle/tests/ |
H A D | unsigned_lesser_than_zero.cocci | 40 …64|gameport_time|get_write_extents|nla_len|ntoh24|of_flat_dt_match|of_get_child_count|uart_circ_ch…
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | scpart.c | 174 parts = kcalloc(of_get_child_count(ofpart_node), sizeof(*parts), in scpart_parse()
|
/openbmc/linux/drivers/video/ |
H A D | of_display_timing.c | 180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
|
/openbmc/linux/drivers/regulator/ |
H A D | mc13xxx-regulator-core.c | 152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
|
/openbmc/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 922 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups() 925 cnt = of_get_child_count(child); in sprd_pinctrl_get_groups() 975 if (of_get_child_count(child) > 0) { in sprd_pinctrl_parse_dt()
|
/openbmc/linux/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32cc.c | 800 func->ngroups = of_get_child_count(np); in s32_pinctrl_parse_functions() 877 nfuncs = of_get_child_count(np); in s32_pinctrl_probe_dt() 891 info->ngroups += of_get_child_count(child); in s32_pinctrl_probe_dt()
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | icc-rpmh.c | 239 if (of_get_child_count(dev->of_node) > 0) { in qcom_icc_rpmh_probe()
|
/openbmc/linux/drivers/phy/marvell/ |
H A D | phy-berlin-sata.c | 215 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
|
/openbmc/linux/drivers/bus/ |
H A D | tegra-gmi.c | 111 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-sun6i-p2wi.c | 209 if (of_get_child_count(np) > 1) { in p2wi_probe()
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | ctu.c | 334 nr = of_get_child_count(node); in rsnd_ctu_probe()
|
H A D | mix.c | 306 nr = of_get_child_count(node); in rsnd_mix_probe()
|
H A D | dvc.c | 342 nr = of_get_child_count(node); in rsnd_dvc_probe()
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.c | 264 if (!of_get_child_count(np_config)) in samsung_dt_node_to_map() 756 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions() 786 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-mvebu-icu.c | 370 if (!of_get_child_count(pdev->dev.of_node)) in mvebu_icu_probe()
|