Lines Matching refs:gpio_cs_count
56 int gpio_cs_count; member
76 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()
331 for (i = 0; i < hw->gpio_cs_count; i++) in tiny_spi_remove()