Searched refs:of_gpio_count (Results 1 – 13 of 13) sorted by relevance
37 gpio_count = of_gpio_count(pdev->dev.of_node); in vmmc_probe()
116 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() function
89 if (of_gpio_count(halt_node) != 1) in gpio_halt_probe()
163 num_gpios = of_gpio_count(node); in a21_wdt_probe()
230 if (of_gpio_count(dnode) != 3) in cbus_i2c_probe()
91 if (of_gpio_count(np) < 2) in of_i2c_gpio_get_pins()
91 gpio_count = of_gpio_count(np); in nokia_modem_gpio_probe()
214 hw->gpio_cs_count = of_gpio_count(np); in tiny_spi_of_probe()
410 num_gpios = of_gpio_count(np); in spi_ppc4xx_of_probe()
437 ms->gpio_cs_count = of_gpio_count(op->dev.of_node); in mpc52xx_spi_probe()
720 ngpios = of_gpio_count(np); in of_fsl_spi_get_chipselects()
167 ret = of_gpio_count(np); in of_get_gpio_regulator_config()
473 pdata->num_ctrl = of_gpio_count(node); in gpio_fan_get_of_pdata()