Lines Matching refs:NUM_DLCI
222 #define NUM_DLCI 64 macro
306 struct gsm_dlci *dlci[NUM_DLCI];
651 base = index * NUM_DLCI; /* first minor for this index */ in gsm_register_devices()
652 for (i = 1; i < NUM_DLCI; i++) { in gsm_register_devices()
687 base = index * NUM_DLCI; /* first minor for this index */ in gsm_unregister_devices()
688 for (i = 1; i < NUM_DLCI; i++) { in gsm_unregister_devices()
1376 for (sent = false, i = 1; i < NUM_DLCI; i++) { in gsm_dlci_data_sweep()
1696 if (addr == 0 || addr >= NUM_DLCI || gsm->dlci[addr] == NULL) in gsm_control_modem()
1747 if (addr == 0 || addr >= NUM_DLCI || !gsm->dlci[addr]) { in gsm_control_negotiation()
1818 if (addr == 0 || addr >= NUM_DLCI || gsm->dlci[addr] == NULL) in gsm_control_rls()
2768 if (address >= NUM_DLCI) in gsm_queue()
3153 for (i = NUM_DLCI - 1; i >= 0; i--) in gsm_cleanup_mux()
3255 return gsm->num * NUM_DLCI; in mux_num_to_base()
3260 return line / NUM_DLCI; in mux_line_to_num()
3555 for (i = 0; i < NUM_DLCI; i++) in gsmld_write_task()
3856 if (dc.channel == 0 || dc.channel >= NUM_DLCI) in gsmld_ioctl()
3858 addr = array_index_nospec(dc.channel, NUM_DLCI); in gsmld_ioctl()
3872 if (dc.channel == 0 || dc.channel >= NUM_DLCI) in gsmld_ioctl()
3874 addr = array_index_nospec(dc.channel, NUM_DLCI); in gsmld_ioctl()
4484 if (dc.channel >= NUM_DLCI) in gsmtty_ioctl()