Home
last modified time | relevance | path

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

/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-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-turris-omnia.c476 count = of_get_available_child_count(np); in omnia_leds_probe()
/linux/drivers/input/keyboard/
H A Dmtk-pmic-keys.c359 keycount = of_get_available_child_count(node); in mtk_pmic_keys_probe()
/linux/drivers/net/dsa/lantiq/
H A Dlantiq_gswip.c277 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/mailbox/
H A Domap-mailbox.c475 info_count = of_get_available_child_count(node); in omap_mbox_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/drivers/remoteproc/
H A Dxlnx_r5_remoteproc.c1332 core_count = of_get_available_child_count(dev_node); in zynqmp_r5_cluster_init()
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c905 if (of_get_available_child_count(port) != 1) in sun4i_tcon_find_engine_traverse()
/linux/drivers/spi/
H A Dspi-nxp-fspi.c1235 if (of_get_available_child_count(f->dev->of_node) == 1) in nxp_fspi_get_name()
/linux/include/linux/
H A Dof.h1543 static inline int of_get_available_child_count(const struct device_node *np) in of_get_available_child_count() function
/linux/drivers/pci/controller/
H A Dpci-mvebu.c1470 num = of_get_available_child_count(np); in mvebu_pcie_probe()
/linux/drivers/phy/cadence/
H A Dphy-cadence-torrent.c2936 subnodes = of_get_available_child_count(dev->of_node); in cdns_torrent_phy_probe()