Lines Matching refs:MAX_MODEM_BUF
14 #define MAX_MODEM_BUF 256 macro
15 #define WAKEUP_CHARS (MAX_MODEM_BUF/2)
268 if (len > MAX_MODEM_BUF - cs->hw.elsa.transcnt) in write_modem()
269 len = MAX_MODEM_BUF - cs->hw.elsa.transcnt; in write_modem()
271 fp &= (MAX_MODEM_BUF -1); in write_modem()
273 if (count > MAX_MODEM_BUF - fp) { in write_modem()
274 count = MAX_MODEM_BUF - fp; in write_modem()
330 if (cs->hw.elsa.rcvcnt >= MAX_MODEM_BUF) in receive_chars()
380 if (cs->hw.elsa.transp >= MAX_MODEM_BUF) in transmit_chars()
469 if (len > (MAX_MODEM_BUF - cs->hw.elsa.transcnt)) { in modem_write_cmd()
474 fp &= (MAX_MODEM_BUF -1); in modem_write_cmd()
476 if (count > MAX_MODEM_BUF - fp) { in modem_write_cmd()
477 count = MAX_MODEM_BUF - fp; in modem_write_cmd()
652 if (!(cs->hw.elsa.rcvbuf = kmalloc(MAX_MODEM_BUF, in init_modem()
658 if (!(cs->hw.elsa.transbuf = kmalloc(MAX_MODEM_BUF, in init_modem()