Lines Matching refs:NUM_DLCI
222 #define NUM_DLCI 64
304 struct gsm_dlci *dlci[NUM_DLCI];
649 base = index * NUM_DLCI; /* first minor for this index */
650 for (i = 1; i < NUM_DLCI; i++) {
685 base = index * NUM_DLCI; /* first minor for this index */
686 for (i = 1; i < NUM_DLCI; i++) {
1374 for (sent = false, i = 1; i < NUM_DLCI; i++) {
1694 if (addr == 0 || addr >= NUM_DLCI || gsm->dlci[addr] == NULL)
1745 if (addr == 0 || addr >= NUM_DLCI || !gsm->dlci[addr]) {
1816 if (addr == 0 || addr >= NUM_DLCI || gsm->dlci[addr] == NULL)
2766 if (address >= NUM_DLCI)
3099 for (i = NUM_DLCI - 1; i >= 0; i--)
3199 return gsm->num * NUM_DLCI;
3204 return line / NUM_DLCI;
3499 for (i = 0; i < NUM_DLCI; i++)
3800 if (dc.channel == 0 || dc.channel >= NUM_DLCI)
3802 addr = array_index_nospec(dc.channel, NUM_DLCI);
3816 if (dc.channel == 0 || dc.channel >= NUM_DLCI)
3818 addr = array_index_nospec(dc.channel, NUM_DLCI);
4428 if (dc.channel >= NUM_DLCI)