Home
last modified time | relevance | path

Searched refs:gpio_cs_count (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/spi/
Dspi-oc-tiny.c53 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()
[all …]
Dspi-mpc52xx.c88 int gpio_cs_count; member
99 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()
/Linux-v5.4/include/linux/spi/
Dspi_oc_tiny.h17 unsigned int gpio_cs_count; member