| /OK3568_Linux_fs/kernel/drivers/tty/serial/8250/ |
| H A D | 8250_dma.c | 29 UART_XMIT_SIZE, DMA_TO_DEVICE); in __dma_tx_complete() 36 xmit->tail &= UART_XMIT_SIZE - 1; in __dma_tx_complete() 128 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma() 151 UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_tx_dma() 337 UART_XMIT_SIZE, in serial8250_request_dma() 383 UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_release_dma()
|
| H A D | 8250_omap.c | 1000 UART_XMIT_SIZE, DMA_TO_DEVICE); in omap_8250_dma_tx_complete() 1007 xmit->tail &= UART_XMIT_SIZE - 1; in omap_8250_dma_tx_complete() 1062 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in omap_8250_tx_dma() 1110 UART_XMIT_SIZE, DMA_TO_DEVICE); in omap_8250_tx_dma()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | mxs-auart.c | 592 size = min_t(u32, UART_XMIT_SIZE - i, in mxs_auart_tx_chars() 595 UART_XMIT_SIZE)); in mxs_auart_tx_chars() 597 xmit->tail = (xmit->tail + size) & (UART_XMIT_SIZE - 1); in mxs_auart_tx_chars() 600 if (i >= UART_XMIT_SIZE) in mxs_auart_tx_chars() 627 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mxs_auart_tx_chars() 877 | AUART_CTRL0_XFER_COUNT(UART_XMIT_SIZE); in mxs_auart_dma_prep_rx() 886 sg_init_one(sgl, s->rx_dma_buf, UART_XMIT_SIZE); in mxs_auart_dma_prep_rx() 941 s->rx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init() 949 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init() 958 s->port.fifosize = UART_XMIT_SIZE; in mxs_auart_dma_init()
|
| H A D | sunhv.c | 50 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars_putchar() 62 UART_XMIT_SIZE); in transmit_chars_write() 66 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1); in transmit_chars_write()
|
| H A D | men_z135_uart.c | 348 head = xmit->head & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 349 tail = xmit->tail & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 351 s = ((head >= tail) ? head : UART_XMIT_SIZE) - tail; in men_z135_handle_tx() 355 xmit->tail = (xmit->tail + n) & (UART_XMIT_SIZE - 1); in men_z135_handle_tx()
|
| H A D | sprd_serial.c | 110 #define SPRD_UART_RX_SIZE (UART_XMIT_SIZE / 4) 218 xmit->tail = (xmit->tail + trans_len) & (UART_XMIT_SIZE - 1); in sprd_stop_tx_dma() 235 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in sprd_tx_buf_remap() 256 xmit->tail = (xmit->tail + sp->tx_dma.trans_len) & (UART_XMIT_SIZE - 1); in sprd_complete_tx_dma() 647 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sprd_tx()
|
| H A D | pch_uart.c | 766 xmit->tail &= UART_XMIT_SIZE - 1; in pch_dma_tx_complete() 787 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in pop_tx() 790 xmit->tail = (xmit->tail + sz) & (UART_XMIT_SIZE - 1); in pop_tx() 947 UART_XMIT_SIZE), CIRC_CNT_TO_END(xmit->head, in dma_handle_tx() 948 xmit->tail, UART_XMIT_SIZE)); in dma_handle_tx() 999 sg->offset = (xmit->tail & (UART_XMIT_SIZE - 1)) + in dma_handle_tx() 1002 ~(UART_XMIT_SIZE - 1)) + sg->offset; in dma_handle_tx()
|
| H A D | atmel_serial.c | 834 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in atmel_tx_chars() 872 xmit->tail &= UART_XMIT_SIZE - 1; in atmel_complete_tx_dma() 951 UART_XMIT_SIZE); in atmel_tx_dma() 1039 UART_XMIT_SIZE, in atmel_prepare_tx_dma() 1475 xmit->tail &= UART_XMIT_SIZE - 1; in atmel_tx_pdc() 1491 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in atmel_tx_pdc() 1522 UART_XMIT_SIZE, in atmel_prepare_tx_pdc() 1524 pdc->dma_size = UART_XMIT_SIZE; in atmel_prepare_tx_pdc()
|
| H A D | samsung_tty.c | 305 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_stop_tx() 339 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_dma_complete() 444 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx() 835 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars() 875 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_chars() 1046 UART_XMIT_SIZE, DMA_TO_DEVICE); in s3c24xx_serial_request_dma() 1086 UART_XMIT_SIZE, DMA_TO_DEVICE); in s3c24xx_serial_release_dma()
|
| H A D | msm_serial.c | 150 #define UARTDM_RX_SIZE (UART_XMIT_SIZE / 4) 458 xmit->tail &= UART_XMIT_SIZE - 1; in msm_complete_tx_dma() 866 xmit->tail = (xmit->tail + num_chars) & (UART_XMIT_SIZE - 1); in msm_handle_tx_pio() 910 pio_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx() 911 dma_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx()
|
| H A D | sh-sci.c | 832 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sci_transmit_chars() 1198 xmit->tail &= UART_XMIT_SIZE - 1; in sci_dma_tx_complete() 1354 dma_unmap_single(chan->device->dev, s->tx_dma_addr, UART_XMIT_SIZE, in sci_dma_tx_release() 1423 buf = s->tx_dma_addr + (tail & (UART_XMIT_SIZE - 1)); in sci_dma_tx_work_fn() 1425 CIRC_CNT(head, tail, UART_XMIT_SIZE), in sci_dma_tx_work_fn() 1426 CIRC_CNT_TO_END(head, tail, UART_XMIT_SIZE)); in sci_dma_tx_work_fn() 1603 UART_XMIT_SIZE, in sci_request_dma() 1610 __func__, UART_XMIT_SIZE, in sci_request_dma()
|
| H A D | serial-tegra.c | 494 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in tegra_uart_fill_tx_fifo() 570 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in tegra_uart_start_next_tx() 1118 UART_XMIT_SIZE, DMA_TO_DEVICE); in tegra_uart_dma_channel_free() 1163 tup->uport.state->xmit.buf, UART_XMIT_SIZE, in tegra_uart_dma_channel_allocate()
|
| H A D | tegra-tcu.c | 99 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in tegra_tcu_uart_start_tx()
|
| H A D | mux.c | 201 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mux_write()
|
| H A D | stm32-usart.c | 343 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in stm32_usart_transmit_chars_pio() 375 size_t one = UART_XMIT_SIZE - xmit->tail; in stm32_usart_transmit_chars_dma() 411 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in stm32_usart_transmit_chars_dma()
|
| H A D | 21285.c | 173 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in serial21285_tx_chars()
|
| H A D | mvebu-uart.c | 199 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mvebu_uart_start_tx() 329 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mvebu_uart_tx_chars()
|
| H A D | altera_jtaguart.c | 165 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in altera_jtaguart_tx_chars()
|
| H A D | sirfsoc_uart.c | 185 tran_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in sirfsoc_uart_tx_with_dma() 434 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sirfsoc_uart_pio_tx_chars() 452 (UART_XMIT_SIZE - 1); in sirfsoc_uart_tx_dma_complete_callback()
|
| H A D | ip22zilog.c | 412 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_transmit_chars() 612 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_start_tx()
|
| H A D | timbuart.c | 106 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in timbuart_tx_chars()
|
| H A D | arc_uart.c | 169 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in arc_serial_tx_chars()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | serial_core.h | 304 #define UART_XMIT_SIZE PAGE_SIZE macro 323 xmit->tail = (xmit->tail + chars) & (UART_XMIT_SIZE - 1); in uart_xmit_advance() 460 (CIRC_CNT((circ)->head, (circ)->tail, UART_XMIT_SIZE)) 463 (CIRC_SPACE((circ)->head, (circ)->tail, UART_XMIT_SIZE))
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/jsm/ |
| H A D | jsm_neo.c | 509 circ->tail = (circ->tail + 1) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 524 head = circ->head & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 525 tail = circ->tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 533 s = ((head >= tail) ? head : UART_XMIT_SIZE) - tail; in neo_copy_data_from_queue_to_uart() 541 tail = (tail + s) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 548 circ->tail = tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
|
| H A D | jsm_cls.c | 477 tail = circ->tail & (UART_XMIT_SIZE - 1); in cls_copy_data_from_queue_to_uart() 485 tail = (tail + 1) & (UART_XMIT_SIZE - 1); in cls_copy_data_from_queue_to_uart() 492 circ->tail = tail & (UART_XMIT_SIZE - 1); in cls_copy_data_from_queue_to_uart()
|