Searched refs:N_SPI_MINORS (Results 1 – 1 of 1) sorted by relevance
44 #define N_SPI_MINORS 32 /* ... up to 256 */ macro46 static DECLARE_BITMAP(minors, N_SPI_MINORS);48 static_assert(N_SPI_MINORS > 0 && N_SPI_MINORS <= 256);801 minor = find_first_zero_bit(minors, N_SPI_MINORS); in spidev_probe()802 if (minor < N_SPI_MINORS) { in spidev_probe()