Lines Matching refs:gpio_cs_count
56 int gpio_cs_count; member
76 if (hw->gpio_cs_count > 0) { in tiny_spi_chipselect()
215 hw->gpio_cs_count = of_gpio_count(np); in tiny_spi_of_probe()
216 if (hw->gpio_cs_count > 0) { in tiny_spi_of_probe()
218 hw->gpio_cs_count * sizeof(unsigned int), in tiny_spi_of_probe()
223 for (i = 0; i < hw->gpio_cs_count; i++) { in tiny_spi_of_probe()
291 hw->gpio_cs_count = platp->gpio_cs_count; in tiny_spi_probe()
293 if (platp->gpio_cs_count && !platp->gpio_cs) { in tiny_spi_probe()
304 for (i = 0; i < hw->gpio_cs_count; i++) { in tiny_spi_probe()
310 hw->bitbang.master->num_chipselect = max(1, hw->gpio_cs_count); in tiny_spi_probe()
335 for (i = 0; i < hw->gpio_cs_count; i++) in tiny_spi_remove()