Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-imx.c601 func->num_groups = of_get_child_count(np); in imx_pinctrl_parse_functions()
657 nfuncs = of_get_child_count(np); in imx_pinctrl_probe_dt()
671 info->ngroups = of_get_child_count(np); in imx_pinctrl_probe_dt()
675 info->ngroups += of_get_child_count(child); in imx_pinctrl_probe_dt()
Dpinctrl-imx1-core.c527 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions()
565 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt()
/linux-4.4.14/sound/soc/sh/rcar/
Dctu.c89 nr = of_get_child_count(node); in rsnd_of_parse_ctu()
Dmix.c122 nr = of_get_child_count(node); in rsnd_of_parse_mix()
Ddvc.c305 nr = of_get_child_count(node); in rsnd_of_parse_dvc()
Drsrc-card.c355 num = of_get_child_count(node); in rsrc_card_parse_of()
Dssi.c707 nr = of_get_child_count(node); in rsnd_of_parse_ssi()
Dsrc.c1007 nr = of_get_child_count(src_node); in rsnd_of_parse_src()
Dcore.c747 nr = of_get_child_count(dai_node); in rsnd_of_parse_dai()
/linux-4.4.14/drivers/phy/
Dphy-bcm-cygnus-pcie.c133 if (of_get_child_count(node) == 0) { in cygnus_pcie_phy_probe()
Dphy-brcmstb-sata.c145 if (of_get_child_count(dn) == 0) in brcm_sata_phy_probe()
Dphy-berlin-sata.c217 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
Dphy-rcar-gen2.c271 drv->num_channels = of_get_child_count(dev->of_node); in rcar_gen2_phy_probe()
Dphy-miphy365x.c546 miphy_dev->nphys = of_get_child_count(np); in miphy365x_probe()
Dphy-mt65xx-usb3.c424 u3phy->nphys = of_get_child_count(np); in mt65xx_u3phy_probe()
Dphy-miphy28lp.c1206 miphy_dev->nphys = of_get_child_count(np); in miphy28lp_probe()
/linux-4.4.14/drivers/clk/at91/
Dclk-system.c160 num = of_get_child_count(np); in of_at91_clk_sys_setup()
Dclk-programmable.c246 num = of_get_child_count(np); in of_at91_clk_prog_setup()
Dclk-generated.c282 num = of_get_child_count(np); in of_sama5d2_clk_generated_setup()
Dclk-peripheral.c372 num = of_get_child_count(np); in of_at91_clk_periph_setup()
/linux-4.4.14/sound/soc/qcom/
Dapq8016_sbc.c82 num_links = of_get_child_count(node); in apq8016_sbc_parse_of()
/linux-4.4.14/drivers/video/
Dof_display_timing.c176 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
/linux-4.4.14/drivers/regulator/
Dmc13xxx-regulator-core.c156 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
Dmax8998.c672 pdata->num_regulators = of_get_child_count(regulators_np); in max8998_pmic_dt_parse_pdata()
Dlp872x.c867 if (of_get_child_count(np) == 0) in lp872x_populate_pdata_from_dt()
Ds5m8767.c554 pdata->num_regulators = of_get_child_count(regulators_np); in s5m8767_pmic_dt_parse_pdata()
Dmax8997.c933 pdata->num_regulators = of_get_child_count(regulators_np); in max8997_pmic_dt_parse_pdata()
/linux-4.4.14/drivers/leds/
Dleds-pwm.c181 count = of_get_child_count(pdev->dev.of_node); in led_pwm_probe()
Dleds-tlc591xx.c230 count = of_get_child_count(np); in tlc591xx_probe()
Dleds-mc13783.c147 pdata->num_leds = of_get_child_count(parent); in mc13xxx_led_probe_dt()
Dleds-ns2.c268 num_leds = of_get_child_count(np); in ns2_leds_get_of_pdata()
Dleds-pca963x.c282 count = of_get_child_count(np); in pca963x_dt_init()
Dleds-netxbig.c441 num_leds = of_get_child_count(np); in netxbig_leds_get_of_pdata()
Dleds-lp55xx-common.c559 num_channels = of_get_child_count(np); in lp55xx_of_populate_pdata()
Dleds-tca6507.c694 count = of_get_child_count(np); in tca6507_led_dt_init()
/linux-4.4.14/drivers/thermal/
Dof-thermal.c781 tz->ntrips = of_get_child_count(child); in thermal_of_build_thermal_zone()
807 tz->num_tbps = of_get_child_count(child); in thermal_of_build_thermal_zone()
/linux-4.4.14/drivers/input/keyboard/
Dsun4i-lradc-keys.c169 lradc->chan0_map_count = of_get_child_count(np); in sun4i_lradc_load_dt_keymap()
Dcap11xx.c267 int cnt = of_get_child_count(node); in cap11xx_init_leds()
Dsamsung-keypad.c282 key_count = of_get_child_count(np); in samsung_keypad_parse_dt()
Dgpio_keys.c616 nbuttons = of_get_child_count(node); in gpio_keys_get_devtree_pdata()
/linux-4.4.14/drivers/i2c/muxes/
Di2c-mux-reg.c114 mux->data.n_values = of_get_child_count(np); in i2c_mux_reg_probe_dt()
Di2c-mux-gpio.c86 mux->data.n_values = of_get_child_count(np); in i2c_mux_gpio_probe_dt()
/linux-4.4.14/drivers/i2c/busses/
Di2c-sun6i-p2wi.c205 if (of_get_child_count(np) > 1) { in p2wi_probe()
/linux-4.4.14/drivers/pinctrl/samsung/
Dpinctrl-samsung.c278 if (!of_get_child_count(np_config)) in samsung_dt_node_to_map()
721 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
753 if (!of_get_child_count(cfg_np)) { in samsung_pinctrl_create_functions()
Dpinctrl-exynos5440.c668 grp_cnt = of_get_child_count(dev_np); in exynos5440_pinctrl_parse_dt()
/linux-4.4.14/drivers/memory/tegra/
Dmc.c175 int child_count = of_get_child_count(node); in load_timings()
Dtegra124-emc.c956 int child_count = of_get_child_count(node); in tegra_emc_load_timings_from_dt()
/linux-4.4.14/drivers/net/ethernet/ti/
Ddavinci_mdio.c385 if (dev->of_node && of_get_child_count(dev->of_node)) { in davinci_mdio_probe()
/linux-4.4.14/drivers/clk/tegra/
Dclk-emc.c439 int child_count = of_get_child_count(node); in load_timings_from_dt()
/linux-4.4.14/drivers/video/backlight/
Dlp855x_bl.c363 rom_length = of_get_child_count(node); in lp855x_parse_dt()
/linux-4.4.14/drivers/ata/
Dlibahci_platform.c395 hpriv->nports = child_nodes = of_get_child_count(dev->of_node); in ahci_platform_get_resources()
/linux-4.4.14/drivers/devfreq/event/
Dexynos-ppmu.c380 count = of_get_child_count(events_np); in of_get_devfreq_events()
/linux-4.4.14/drivers/power/
Dlp8727_charger.c525 if (of_get_child_count(np) == 0) in lp8727_parse_dt()
Dcharger-manager.c1558 desc->num_charger_regulators = of_get_child_count(np); in of_cm_parse_desc()
1579 chg_regs->num_cables = of_get_child_count(child); in of_cm_parse_desc()
/linux-4.4.14/sound/soc/generic/
Dsimple-card.c542 num_links = of_get_child_count(np); in asoc_simple_card_probe()
/linux-4.4.14/drivers/gpio/
Dgpio-dwapb.c468 nports = of_get_child_count(node); in dwapb_gpio_get_pdata_of()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-tb10x.c775 of_get_child_count(of_node) in tb10x_pinctrl_probe()
Dpinctrl-st.c1096 info->ngroups += of_get_child_count(child); in st_pctl_dt_child_count()
1300 func->ngroups = of_get_child_count(np); in st_pctl_parse_functions()
Dpinctrl-at91.c1009 info->ngroups += of_get_child_count(child); in at91_pinctrl_child_count()
1111 func->ngroups = of_get_child_count(np); in at91_pinctrl_parse_functions()
Dpinctrl-rockchip.c1162 info->ngroups += of_get_child_count(child); in rockchip_pinctrl_child_count()
1248 func->ngroups = of_get_child_count(np); in rockchip_pinctrl_parse_functions()
/linux-4.4.14/include/linux/
Dof.h910 static inline int of_get_child_count(const struct device_node *np) in of_get_child_count() function
/linux-4.4.14/drivers/mtd/spi-nor/
Dfsl-quadspi.c944 q->nor_num = of_get_child_count(dev->of_node); in fsl_qspi_probe()
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c746 fei->tsin_count = of_get_child_count(np); in c8sectpfe_probe()
/linux-4.4.14/drivers/iio/adc/
Dat91_adc.c908 st->trigger_number = of_get_child_count(node); in at91_adc_probe_dt()
/linux-4.4.14/drivers/mtd/nand/
Dsunxi_nand.c1386 int nchips = of_get_child_count(np); in sunxi_nand_chips_init()
/linux-4.4.14/drivers/video/fbdev/
Datmel_lcdfb.c1130 for (i = 0; i < of_get_child_count(timings_np); i++) { in atmel_lcdfb_of_init()