Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/mips/bmips/
H A Dsetup.c211 if (np && of_get_available_child_count(np) <= 1) in device_tree_init()
/openbmc/linux/drivers/leds/
H A Dleds-spi-byte.c90 if (of_get_available_child_count(dev_of_node(dev)) != 1) { in spi_byte_probe()
H A Dleds-tlc591xx.c163 count = of_get_available_child_count(np); in tlc591xx_probe()
H A Dleds-turris-omnia.c233 count = of_get_available_child_count(np); in omnia_leds_probe()
H A Dleds-mc13783.c134 pdata->num_leds = of_get_available_child_count(parent); in mc13xxx_led_probe_dt()
H A Dleds-is31fl32xx.c434 count = of_get_available_child_count(dev_of_node(dev)); in is31fl32xx_probe()
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-netxbig.c497 num_leds = of_get_available_child_count(np); in netxbig_leds_get_of_pdata()
H A Dleds-lp55xx-common.c669 num_channels = of_get_available_child_count(np); in lp55xx_of_populate_pdata()
/openbmc/linux/drivers/mfd/
H A Dtps6105x.c102 if (of_get_available_child_count(np) > 1) { in tps6105x_parse_dt()
/openbmc/linux/sound/soc/qcom/
H A Dcommon.c65 num_links = of_get_available_child_count(dev->of_node); in qcom_snd_parse_of()
/openbmc/linux/drivers/input/keyboard/
H A Dmtk-pmic-keys.c339 keycount = of_get_available_child_count(node); in mtk_pmic_keys_probe()
/openbmc/linux/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pxl2dpi.c237 ep_cnt = of_get_available_child_count(port); in imx8qxp_pxl2dpi_get_available_ep_from_port()
/openbmc/linux/drivers/misc/
H A Dsram.c191 nblocks = (np) ? of_get_available_child_count(np) + 1 : 1; in sram_reserve_regions()
/openbmc/linux/drivers/virtio/
H A Dvirtio.c376 count = of_get_available_child_count(pnode); in virtio_device_of_init()
/openbmc/linux/drivers/spi/
H A Dspi-fsi.c552 ctlr->num_chipselect = of_get_available_child_count(np) ?: 1; in fsi_spi_probe()
H A Dspi-fsl-qspi.c820 if (of_get_available_child_count(q->dev->of_node) == 1) in fsl_qspi_get_name()
/openbmc/linux/drivers/mailbox/
H A Dzynqmp-ipi-mailbox.c635 num_mboxes = of_get_available_child_count(np); in zynqmp_ipi_probe()
H A Domap-mailbox.c719 info_count = of_get_available_child_count(node); in omap_mbox_probe()
/openbmc/linux/sound/soc/fsl/
H A Dfsl_qmc_audio.c680 qmc_audio->num_dais = of_get_available_child_count(np); in qmc_audio_probe()
/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie-msm8996.c822 num = of_get_available_child_count(dev->of_node); in qmp_pcie_msm8996_probe()
/openbmc/linux/drivers/remoteproc/
H A Dxlnx_r5_remoteproc.c1042 core_count = of_get_available_child_count(dev_node); in zynqmp_r5_cluster_init()
/openbmc/linux/drivers/thermal/qcom/
H A Dqcom-spmi-adc-tm5.c949 adc_tm->nchannels = of_get_available_child_count(node); in adc_tm5_get_dt_data()

12