Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspidev.c44 #define N_SPI_MINORS 32 /* ... up to 256 */ macro
46 static DECLARE_BITMAP(minors, N_SPI_MINORS);
48 static_assert(N_SPI_MINORS > 0 && N_SPI_MINORS <= 256);
806 minor = find_first_zero_bit(minors, N_SPI_MINORS); in spidev_probe()
807 if (minor < N_SPI_MINORS) { in spidev_probe()