Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/pinctrl/freescale/
Dpinctrl-imx.c555 func->num_group_names = of_get_child_count(np); in imx_pinctrl_parse_functions()
624 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt()
647 pctl->num_groups = of_get_child_count(np); in imx_pinctrl_probe_dt()
651 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-v4.19/sound/soc/qcom/
Dcommon.c33 num_links = of_get_child_count(dev->of_node); in qcom_snd_parse_of()
Dapq8016_sbc.c147 num_links = of_get_child_count(node); in apq8016_sbc_parse_of()
/Linux-v4.19/drivers/i2c/muxes/
Di2c-mux-gpmux.c104 children = of_get_child_count(np); in i2c_mux_probe()
Di2c-mux-reg.c109 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
/Linux-v4.19/drivers/clk/at91/
Dclk-system.c137 num = of_get_child_count(np); in of_at91rm9200_clk_sys_setup()
Dclk-programmable.c251 num = of_get_child_count(np); in of_at91_clk_prog_setup()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-psr.c139 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()
Dopal-powercap.c157 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
Dopal-sensor-groups.c175 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
/Linux-v4.19/drivers/phy/broadcom/
Dphy-bcm-cygnus-pcie.c133 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
/Linux-v4.19/scripts/coccinelle/tests/
Dunsigned_lesser_than_zero.cocci39 …64|gameport_time|get_write_extents|nla_len|ntoh24|of_flat_dt_match|of_get_child_count|uart_circ_ch…
/Linux-v4.19/drivers/mtd/nand/raw/
Doxnas_nand.c111 count = of_get_child_count(np); in oxnas_nand_probe()
/Linux-v4.19/drivers/video/
Dof_display_timing.c177 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/Linux-v4.19/drivers/leds/
Dleds-pwm.c172 count = of_get_child_count(pdev->dev.of_node); in led_pwm_probe()
Dleds-tlc591xx.c213 count = of_get_child_count(np); in tlc591xx_probe()
Dleds-sc27xx-bltc.c161 count = of_get_child_count(np); in sc27xx_led_probe()
/Linux-v4.19/drivers/regulator/
Dmc13xxx-regulator-core.c152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
/Linux-v4.19/drivers/pinctrl/sprd/
Dpinctrl-sprd.c908 group_cnt = of_get_child_count(np); in sprd_pinctrl_get_groups()
911 cnt = of_get_child_count(child); in sprd_pinctrl_get_groups()
959 if (of_get_child_count(child) > 0) { in sprd_pinctrl_parse_dt()
/Linux-v4.19/drivers/bus/
Dtegra-gmi.c106 if (of_get_child_count(gmi->dev->of_node) > 1) in tegra_gmi_parse_dt()
/Linux-v4.19/drivers/input/keyboard/
Dsun4i-lradc-keys.c169 lradc->chan0_map_count = of_get_child_count(np); in sun4i_lradc_load_dt_keymap()
/Linux-v4.19/sound/soc/meson/
Daxg-card.c454 num_codecs = of_get_child_count(node); in axg_card_set_be_link()
554 num = of_get_child_count(node); in axg_card_add_links()
/Linux-v4.19/drivers/phy/marvell/
Dphy-berlin-sata.c213 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
/Linux-v4.19/drivers/phy/renesas/
Dphy-rcar-gen2.c272 drv->num_channels = of_get_child_count(dev->of_node); in rcar_gen2_phy_probe()

1234