Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-mpc52xx.c92 int gpio_cs_count; member
103 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel()
443 ms->gpio_cs_count = gpiod_count(&op->dev, NULL); in mpc52xx_spi_probe()
444 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_probe()
445 master->num_chipselect = ms->gpio_cs_count; in mpc52xx_spi_probe()
446 ms->gpio_cs = kmalloc_array(ms->gpio_cs_count, in mpc52xx_spi_probe()
454 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()