Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dcirc_buf.h25 #define CIRC_CNT_TO_END(head,tail,size) \ macro
/linux-3.4.99/drivers/input/joystick/iforce/
Diforce-usb.c52 c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit.tail, XMIT_SIZE); in iforce_usb_xmit()
/linux-3.4.99/drivers/tty/serial/
Dsunhv.c65 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
Dpch_uart.c797 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()
Dmfd.c317 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in hsu_dma_tx()
Datmel_serial.c693 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in atmel_tx_dma()
Dmpsc.c1137 i = min(i, (u32)CIRC_CNT_TO_END(xmit->head, xmit->tail, in mpsc_copy_tx_data()
Dsh-sci.c1451 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE)); in work_fn_tx()
Dcrisv10.c1637 c = CIRC_CNT_TO_END(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in transmit_chars_dma()
/linux-3.4.99/drivers/tty/
Dehv_bytechan.c447 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), in ehv_bc_tx_dequeue()
/linux-3.4.99/Documentation/
Dcircular-buffers.txt106 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);