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()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()[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(ms->gpio_cs_count * sizeof(unsigned int), in mpc52xx_spi_probe()447 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()
16 unsigned int gpio_cs_count; member