Home
last modified time | relevance | path

Searched refs:of_get_available_child_count (Results 1 – 25 of 36) sorted by relevance

12

/linux/arch/mips/bmips/
H A Dsetup.c224 if (of_get_available_child_count(np) <= 1) in device_tree_init()
/linux/drivers/mfd/
H A Dtps6105x.c102 if (of_get_available_child_count(np) > 1) { in tps6105x_parse_dt()
/linux/drivers/leds/
H A Dleds-tlc591xx.c163 count = of_get_available_child_count(np); in tlc591xx_probe()
H A Dleds-max77705.c179 int num_channels = of_get_available_child_count(to_of_node(np)); in max77705_add_led()
H A Dleds-mc13783.c136 pdata->num_leds = of_get_available_child_count(parent); in mc13xxx_led_probe_dt()
H A Dleds-an30259a.c206 count = of_get_available_child_count(np); in an30259a_dt_init()
H A Dleds-sc27xx-bltc.c284 count = of_get_available_child_count(np); in sc27xx_led_probe()
H A Dleds-aw2013.c270 count = of_get_available_child_count(np); in aw2013_probe_dt()
H A Dleds-is31fl32xx.c579 count = of_get_available_child_count(dev_of_node(dev)); in is31fl32xx_probe()
H A Dleds-turris-omnia.c476 count = of_get_available_child_count(np); in omnia_leds_probe()
H A Dleds-netxbig.c512 num_leds = of_get_available_child_count(np); in netxbig_leds_get_of_pdata()
/linux/sound/soc/qcom/
H A Dcommon.c75 num_links = of_get_available_child_count(dev->of_node); in qcom_snd_parse_of()
/linux/drivers/input/keyboard/
H A Dmtk-pmic-keys.c359 keycount = of_get_available_child_count(node); in mtk_pmic_keys_probe()
/linux/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pxl2dpi.c238 ep_cnt = of_get_available_child_count(port); in imx8qxp_pxl2dpi_get_available_ep_from_port()
/linux/drivers/net/dsa/lantiq/
H A Dlantiq_gswip.c271 priv->num_gphy_fw = of_get_available_child_count(gphy_fw_list_np); in gswip_gphy_fw_list()
/linux/drivers/misc/
H A Dsram.c193 nblocks = (np) ? of_get_available_child_count(np) + 1 : 1; in sram_reserve_regions()
/linux/drivers/spi/
H A Dspi-fsi.c562 ctlr->num_chipselect = of_get_available_child_count(np) ?: 1; in fsi_spi_probe()
H A Dspi-fsl-qspi.c848 if (of_get_available_child_count(q->dev->of_node) == 1) in fsl_qspi_get_name()
/linux/drivers/leds/rgb/
H A Dleds-lp5812.c547 num_channels = of_get_available_child_count(np); in lp5812_of_probe()
/linux/drivers/mailbox/
H A Domap-mailbox.c474 info_count = of_get_available_child_count(node); in omap_mbox_probe()
H A Dzynqmp-ipi-mailbox.c914 num_mboxes = of_get_available_child_count(np); in zynqmp_ipi_probe()
/linux/drivers/virtio/
H A Dvirtio.c475 count = of_get_available_child_count(pnode); in virtio_device_of_init()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie-msm8996.c765 num = of_get_available_child_count(dev->of_node); in qmp_pcie_msm8996_probe()
/linux/sound/soc/fsl/
H A Dfsl_qmc_audio.c918 qmc_audio->num_dais = of_get_available_child_count(np); in qmc_audio_probe()
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-adc-tm5.c945 adc_tm->nchannels = of_get_available_child_count(node); in adc_tm5_get_dt_data()

12