Home
last modified time | relevance | path

Searched refs:SN_SAL_BUFFER_SIZE (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dsn_serial.c79 #define SN_SAL_BUFFER_SIZE (64 * (1 << 10)) macro
86 static char sn_xmit_buff_mem[SN_SAL_BUFFER_SIZE];
95 static char sn_tmp_buffer[SN_SAL_BUFFER_SIZE];
388 xmit_count = (head < tail) ? (SN_SAL_BUFFER_SIZE - tail) : (head - tail); in synch_flush_xmit()
398 tail &= SN_SAL_BUFFER_SIZE - 1; in synch_flush_xmit()
427 xmit_count = (head < tail) ? (SN_SAL_BUFFER_SIZE - tail) : (head - tail); in sn_poll_transmit_chars()
441 tail &= SN_SAL_BUFFER_SIZE - 1; in sn_poll_transmit_chars()
450 if (CIRC_CNT(xmit.cb_head, xmit.cb_tail, SN_SAL_BUFFER_SIZE) < WAKEUP_CHARS) in sn_poll_transmit_chars()
482 (SN_SAL_BUFFER_SIZE - tail) : (head - tail); in sn_intr_transmit_chars()
494 tail &= SN_SAL_BUFFER_SIZE - 1; in sn_intr_transmit_chars()
[all …]