Lines Matching refs:mval
3128 isdn_tty_check_ats(int mreg, int mval, modem_info * info, atemu * m) in isdn_tty_check_ats() argument
3133 if (mval > ISDN_PROTO_L2_MAX) in isdn_tty_check_ats()
3137 if ((mval * 16) > ISDN_SERIAL_XMIT_MAX) in isdn_tty_check_ats()
3140 if ((m->mdmreg[REG_SI1] & 1) && (mval > VBUFX)) in isdn_tty_check_ats()
3143 info->xmit_size = mval * 16; in isdn_tty_check_ats()
3169 int mval; in isdn_tty_cmd_ATS() local
3178 mval = isdn_getnum(p); in isdn_tty_cmd_ATS()
3179 if (mval < 0 || mval > 255) in isdn_tty_cmd_ATS()
3181 if (isdn_tty_check_ats(mreg, mval, info, m)) in isdn_tty_cmd_ATS()
3183 m->mdmreg[mreg] = mval; in isdn_tty_cmd_ATS()
3198 mval = m->mdmreg[mreg] | (1 << bitpos); in isdn_tty_cmd_ATS()
3200 mval = m->mdmreg[mreg] & ~(1 << bitpos); in isdn_tty_cmd_ATS()
3201 if (isdn_tty_check_ats(mreg, mval, info, m)) in isdn_tty_cmd_ATS()
3203 m->mdmreg[mreg] = mval; in isdn_tty_cmd_ATS()