Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/bmips/
Dsetup.c200 if (np && of_get_available_child_count(np) <= 1) in device_tree_init()
/Linux-v4.19/drivers/input/keyboard/
Dmtk-pmic-keys.c280 keycount = of_get_available_child_count(node); in mtk_pmic_keys_probe()
/Linux-v4.19/drivers/misc/
Dsram.c187 nblocks = (np) ? of_get_available_child_count(np) + 1 : 1; in sram_reserve_regions()
/Linux-v4.19/net/dsa/
Dlegacy.c443 pd->nr_chips = of_get_available_child_count(np); in dsa_of_probe()
/Linux-v4.19/drivers/iio/adc/
Dqcom-spmi-vadc.c752 vadc->nchannels = of_get_available_child_count(node); in vadc_get_dt_data()
Dqcom-pm8xxx-xoadc.c833 adc->nchans = of_get_available_child_count(np); in pm8xxx_xoadc_parse_channels()
/Linux-v4.19/drivers/mailbox/
Domap-mailbox.c725 info_count = of_get_available_child_count(node); in omap_mbox_probe()
/Linux-v4.19/include/linux/
Dof.h1235 static inline int of_get_available_child_count(const struct device_node *np) in of_get_available_child_count() function
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c789 if (of_get_available_child_count(port) != 1) in sun4i_tcon_find_engine_traverse()
/Linux-v4.19/drivers/pci/controller/
Dpci-mvebu.c1256 num = of_get_available_child_count(np); in mvebu_pcie_probe()
/Linux-v4.19/drivers/bus/
Dti-sysc.c1752 if (!of_get_available_child_count(ddata->dev->of_node)) in sysc_probe()
/Linux-v4.19/drivers/phy/qualcomm/
Dphy-qcom-qmp.c1593 num = of_get_available_child_count(dev->of_node); in qcom_qmp_phy_probe()