Searched refs:CARD_MINOR_BITS (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/wan/
H A Dcosa.c183 * The lowest CARD_MINOR_BITS bits means the channel on the single card,
186 #define CARD_MINOR_BITS 4 /* How many bits in minor number are reserved macro
189 * The following depends on CARD_MINOR_BITS. Unfortunately, the "MODULE_STRING"
193 /* #define MAX_CARDS (1 << (8-CARD_MINOR_BITS)) */
943 if ((n=iminor(file_inode(file))>>CARD_MINOR_BITS) cosa_open()
951 & ((1<<CARD_MINOR_BITS)-1)) >= cosa->nchannels) { cosa_open()

Completed in 61 milliseconds