Lines Matching refs:gpio_cs_count
53 int gpio_cs_count; member
73 if (hw->gpio_cs_count > 0) { in tiny_spi_chipselect()
211 hw->gpio_cs_count = of_gpio_count(np); in tiny_spi_of_probe()
212 if (hw->gpio_cs_count > 0) { in tiny_spi_of_probe()
214 hw->gpio_cs_count, sizeof(unsigned int), in tiny_spi_of_probe()
219 for (i = 0; i < hw->gpio_cs_count; i++) { in tiny_spi_of_probe()
282 hw->gpio_cs_count = platp->gpio_cs_count; in tiny_spi_probe()
284 if (platp->gpio_cs_count && !platp->gpio_cs) { in tiny_spi_probe()
295 for (i = 0; i < hw->gpio_cs_count; i++) { in tiny_spi_probe()
301 hw->bitbang.master->num_chipselect = max(1, hw->gpio_cs_count); in tiny_spi_probe()
326 for (i = 0; i < hw->gpio_cs_count; i++) in tiny_spi_remove()