Searched refs:CIRC_CNT_TO_END (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/include/linux/ |
D | circ_buf.h | 25 #define CIRC_CNT_TO_END(head,tail,size) \ macro
|
/linux-3.4.99/drivers/input/joystick/iforce/ |
D | iforce-usb.c | 52 c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit.tail, XMIT_SIZE); in iforce_usb_xmit()
|
/linux-3.4.99/drivers/tty/serial/ |
D | sunhv.c | 65 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
|
D | pch_uart.c | 797 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in pop_tx() 958 UART_XMIT_SIZE), CIRC_CNT_TO_END(xmit->head, in dma_handle_tx()
|
D | mfd.c | 317 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in hsu_dma_tx()
|
D | atmel_serial.c | 693 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in atmel_tx_dma()
|
D | mpsc.c | 1137 i = min(i, (u32)CIRC_CNT_TO_END(xmit->head, xmit->tail, in mpsc_copy_tx_data()
|
D | sh-sci.c | 1451 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE)); in work_fn_tx()
|
D | crisv10.c | 1637 c = CIRC_CNT_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in transmit_chars_dma()
|
/linux-3.4.99/drivers/tty/ |
D | ehv_bytechan.c | 447 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), in ehv_bc_tx_dequeue()
|
/linux-3.4.99/Documentation/ |
D | circular-buffers.txt | 106 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
|