Searched refs:gpio_cs_count (Results 1 – 3 of 3) sorted by relevance
53 int gpio_cs_count; member73 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()[all …]
88 int gpio_cs_count; member99 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel()436 ms->gpio_cs_count = of_gpio_count(op->dev.of_node); in mpc52xx_spi_probe()437 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_probe()438 master->num_chipselect = ms->gpio_cs_count; in mpc52xx_spi_probe()439 ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, in mpc52xx_spi_probe()447 for (i = 0; i < ms->gpio_cs_count; i++) { in mpc52xx_spi_probe()525 for (i = 0; i < ms->gpio_cs_count; i++) in mpc52xx_spi_remove()
17 unsigned int gpio_cs_count; member