/linux-3.4.99/include/linux/ |
D | serial_core.h | 412 #define UART_XMIT_SIZE PAGE_SIZE macro 491 (CIRC_CNT((circ)->head, (circ)->tail, UART_XMIT_SIZE)) 494 (CIRC_SPACE((circ)->head, (circ)->tail, UART_XMIT_SIZE))
|
/linux-3.4.99/drivers/tty/serial/ |
D | bfin_uart.c | 164 xmit->tail = (xmit->tail + uart->tx_count) & (UART_XMIT_SIZE - 1); in bfin_serial_stop_tx() 361 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in bfin_serial_tx_chars() 411 uart->tx_count = CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE); in bfin_serial_dma_tx_chars() 412 if (uart->tx_count > (UART_XMIT_SIZE - xmit->tail)) in bfin_serial_dma_tx_chars() 413 uart->tx_count = UART_XMIT_SIZE - xmit->tail; in bfin_serial_dma_tx_chars() 441 UART_XMIT_SIZE); in bfin_serial_dma_rx_chars() 468 if (i >= UART_XMIT_SIZE) in bfin_serial_dma_rx_chars() 540 xmit->tail = (xmit->tail + uart->tx_count) & (UART_XMIT_SIZE - 1); in bfin_serial_dma_tx_int()
|
D | omap-serial.c | 269 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars() 330 (xmit->tail & (UART_XMIT_SIZE - 1)); in serial_omap_start_tx() 339 up->uart_dma.tx_buf_dma_phys + UART_XMIT_SIZE) in serial_omap_start_tx() 342 UART_XMIT_SIZE) - start; in serial_omap_start_tx() 561 UART_XMIT_SIZE, in serial_omap_startup() 621 UART_XMIT_SIZE, up->port.state->xmit.buf, in serial_omap_shutdown() 1295 + (xmit->tail & (UART_XMIT_SIZE - 1)); in serial_omap_continue_tx() 1307 up->uart_dma.tx_buf_dma_phys + UART_XMIT_SIZE) in serial_omap_continue_tx() 1309 (up->uart_dma.tx_buf_dma_phys + UART_XMIT_SIZE) - start; in serial_omap_continue_tx() 1330 (UART_XMIT_SIZE - 1); in uart_tx_dma_callback()
|
D | sunhv.c | 54 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars_putchar() 66 UART_XMIT_SIZE); in transmit_chars_write() 70 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1); in transmit_chars_write()
|
D | msm_serial_hs.c | 356 #define UARTDM_TX_BUF_SIZE UART_XMIT_SIZE 795 left = UART_XMIT_SIZE - tx_buf->tail; in msm_hs_submit_tx_locked() 1224 tx_buf->tail = (tx_buf->tail + tx->tx_count) & ~UART_XMIT_SIZE; in msm_hs_isr() 1398 tx->dma_base = dma_map_single(uport->dev, tx_buf->buf, UART_XMIT_SIZE, in msm_hs_startup() 1519 UART_XMIT_SIZE, DMA_TO_DEVICE); in msm_hs_startup() 1781 UART_XMIT_SIZE, DMA_TO_DEVICE); in msm_hs_shutdown()
|
D | pch_uart.c | 777 xmit->tail &= UART_XMIT_SIZE - 1; in pch_dma_tx_complete() 797 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in pop_tx() 800 xmit->tail = (xmit->tail + sz) & (UART_XMIT_SIZE - 1); in pop_tx() 958 UART_XMIT_SIZE), CIRC_CNT_TO_END(xmit->head, in dma_handle_tx() 959 xmit->tail, UART_XMIT_SIZE)); in dma_handle_tx() 1005 sg->offset = (xmit->tail & (UART_XMIT_SIZE - 1)) + in dma_handle_tx() 1008 ~(UART_XMIT_SIZE - 1)) + sg->offset; in dma_handle_tx()
|
D | mfd.c | 303 xmit->tail &= UART_XMIT_SIZE - 1; in hsu_dma_tx() 317 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in hsu_dma_tx() 548 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars() 829 UART_XMIT_SIZE, in serial_hsu_startup() 831 dbuf->dma_size = UART_XMIT_SIZE; in serial_hsu_startup()
|
D | sn_console.c | 581 (UART_XMIT_SIZE - tail) : (head - tail); in sn_transmit_chars() 599 tail &= UART_XMIT_SIZE - 1; in sn_transmit_chars()
|
D | sh-sci.c | 568 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sci_transmit_chars() 1224 xmit->tail &= UART_XMIT_SIZE - 1; in sci_dma_tx_complete() 1447 sg->offset = xmit->tail & (UART_XMIT_SIZE - 1); in work_fn_tx() 1448 sg_dma_address(sg) = (sg_dma_address(sg) & ~(UART_XMIT_SIZE - 1)) + in work_fn_tx() 1450 sg_dma_len(sg) = min((int)CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE), in work_fn_tx() 1451 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE)); in work_fn_tx() 1631 UART_XMIT_SIZE, (int)port->state->xmit.buf & ~PAGE_MASK); in sci_request_dma()
|
D | atmel_serial.c | 554 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in atmel_tx_chars() 677 xmit->tail &= UART_XMIT_SIZE - 1; in atmel_tx_dma() 693 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in atmel_tx_dma() 974 UART_XMIT_SIZE, in atmel_startup() 976 pdc->dma_size = UART_XMIT_SIZE; in atmel_startup()
|
D | xilinx_uartps.c | 227 (UART_XMIT_SIZE - 1); in xuartps_isr() 343 (UART_XMIT_SIZE - 1); in xuartps_start_tx()
|
D | sc26xx.c | 206 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars() 327 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sc26xx_start_tx()
|
D | mux.c | 219 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mux_write()
|
D | 21285.c | 142 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in serial21285_tx_chars()
|
D | altera_jtaguart.c | 171 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in altera_jtaguart_tx_chars()
|
D | m32r_sio.c | 288 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in m32r_sio_start_tx() 413 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
D | clps711x.c | 164 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in clps711xuart_int_tx()
|
D | nwpserial.c | 275 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in nwpserial_start_tx()
|
D | ip22zilog.c | 420 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_transmit_chars() 616 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_start_tx()
|
D | apbuart.c | 153 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in apbuart_tx_chars()
|
D | timbuart.c | 118 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in timbuart_tx_chars()
|
D | uartlite.c | 135 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in ulite_transmit()
|
D | sunsab.c | 268 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars() 448 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sunsab_start_tx()
|
/linux-3.4.99/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 526 circ->tail = (circ->tail + 1) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 541 head = circ->head & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 542 tail = circ->tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 550 s = ((head >= tail) ? head : UART_XMIT_SIZE) - tail; in neo_copy_data_from_queue_to_uart() 558 tail = (tail + s) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 565 circ->tail = tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
|
/linux-3.4.99/arch/mn10300/kernel/ |
D | asm-offsets.c | 106 DEFINE(__UART_XMIT_SIZE, UART_XMIT_SIZE); in foo()
|