Lines Matching refs:REG_L2PROT
597 int l2 = m->mdmreg[REG_L2PROT];
805 int l2 = m->mdmreg[REG_L2PROT];
894 int l2 = m->mdmreg[REG_L2PROT];
2103 dev->usage[idx] |= isdn_calc_usage(si1, info->emu.mdmreg[REG_L2PROT]);
2239 if (info->emu.mdmreg[REG_L2PROT] == ISDN_PROTO_L2_MODEM) {
2568 switch (m->mdmreg[REG_L2PROT]) {
2606 switch (m->mdmreg[REG_L2PROT]) {
2804 switch (m->mdmreg[REG_L2PROT]) {
2882 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_X75I;
2887 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_V11096;
2892 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_V11019;
2897 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_V11038;
2959 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_X75I;
2966 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_X75I;
2986 case REG_L2PROT:
2998 switch (m->mdmreg[REG_L2PROT]) {
3096 l2 = m->mdmreg[REG_L2PROT];
3163 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_X75I;
3176 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_FAX;
3187 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_FAX;
3196 m->mdmreg[REG_L2PROT] = ISDN_PROTO_L2_X75I;
3617 isdn_tty_modem_result((m->mdmreg[REG_L2PROT] == ISDN_PROTO_L2_MODEM) ? RESULT_CONNECT:RESULT_CONNECT64000, info);
3675 (m->mdmreg[REG_L2PROT] == ISDN_PROTO_L2_MODEM))