Searched refs:gpio_cs_count (Results 1 – 3 of 3) sorted by relevance
56 int gpio_cs_count; member76 if (hw->gpio_cs_count > 0) { in tiny_spi_chipselect()214 hw->gpio_cs_count = of_gpio_count(np); in tiny_spi_of_probe()215 if (hw->gpio_cs_count > 0) { in tiny_spi_of_probe()217 hw->gpio_cs_count, sizeof(unsigned int), in tiny_spi_of_probe()222 for (i = 0; i < hw->gpio_cs_count; i++) { in tiny_spi_of_probe()287 hw->gpio_cs_count = platp->gpio_cs_count; in tiny_spi_probe()289 if (platp->gpio_cs_count && !platp->gpio_cs) { in tiny_spi_probe()300 for (i = 0; i < hw->gpio_cs_count; i++) { in tiny_spi_probe()306 hw->bitbang.master->num_chipselect = max(1, hw->gpio_cs_count); in tiny_spi_probe()[all …]
89 int gpio_cs_count; member100 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel()437 ms->gpio_cs_count = of_gpio_count(op->dev.of_node); in mpc52xx_spi_probe()438 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_probe()439 master->num_chipselect = ms->gpio_cs_count; in mpc52xx_spi_probe()440 ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, in mpc52xx_spi_probe()448 for (i = 0; i < ms->gpio_cs_count; i++) { in mpc52xx_spi_probe()526 for (i = 0; i < ms->gpio_cs_count; i++) in mpc52xx_spi_remove()
17 unsigned int gpio_cs_count; member