Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Dcirc_buf.h16 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) macro
/linux-2.4.37.9/drivers/char/
Dsn_serial.c735 if (CIRC_SPACE(xmit.cb_head, xmit.cb_tail, SN_SAL_BUFFER_SIZE) != 0) { in sn_sal_put_char()
765 space = CIRC_SPACE(xmit.cb_head, xmit.cb_tail, SN_SAL_BUFFER_SIZE); in sn_sal_write_room()
Dserial_amba.c839 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, AMBA_XMIT_SIZE) != 0) { in ambauart_put_char()
936 return CIRC_SPACE(info->xmit.head, info->xmit.tail, AMBA_XMIT_SIZE); in ambauart_write_room()
Dserial_txx927.c963 if (CIRC_SPACE(info->xmit.head, in rs_put_char()
1081 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room()
Damiserial.c895 if (CIRC_SPACE(info->xmit.head, in rs_put_char()
1018 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room()
Dau1x00-serial.c1160 if (CIRC_SPACE(info->xmit.head,
1275 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
Dserial.c1845 if (CIRC_SPACE(info->xmit.head, in rs_put_char()
1965 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room()
/linux-2.4.37.9/arch/ia64/drivers/
Dsimserial.c228 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) { in rs_put_char()
371 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in rs_write_room()
/linux-2.4.37.9/drivers/sbus/char/
Dsab82532.c1069 if (!CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE)) { in sab82532_put_char()
1181 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in sab82532_write_room()
/linux-2.4.37.9/arch/cris/drivers/
Dserial.c3923 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);