Searched refs:CIRC_SPACE (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/include/linux/ |
D | circ_buf.h | 16 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) macro
|
/linux-2.4.37.9/drivers/char/ |
D | sn_serial.c | 735 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()
|
D | serial_amba.c | 839 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()
|
D | serial_txx927.c | 963 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()
|
D | amiserial.c | 895 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()
|
D | au1x00-serial.c | 1160 if (CIRC_SPACE(info->xmit.head, 1275 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
|
D | serial.c | 1845 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/ |
D | simserial.c | 228 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/ |
D | sab82532.c | 1069 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/ |
D | serial.c | 3923 return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
|