/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_dma.c | 27 UART_XMIT_SIZE, DMA_TO_DEVICE); in __dma_tx_complete() 34 xmit->tail &= UART_XMIT_SIZE - 1; in __dma_tx_complete() 82 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma() 100 UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_tx_dma() 212 UART_XMIT_SIZE, in serial8250_request_dma() 248 UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_release_dma()
|
D | 8250_omap.c | 833 UART_XMIT_SIZE, DMA_TO_DEVICE); in omap_8250_dma_tx_complete() 840 xmit->tail &= UART_XMIT_SIZE - 1; in omap_8250_dma_tx_complete() 900 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in omap_8250_tx_dma() 948 UART_XMIT_SIZE, DMA_TO_DEVICE); in omap_8250_tx_dma()
|
D | 8250_core.c | 1572 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in serial8250_tx_chars()
|
/linux-4.1.27/drivers/tty/serial/ |
D | mxs-auart.c | 271 size = min_t(u32, UART_XMIT_SIZE - i, in mxs_auart_tx_chars() 274 UART_XMIT_SIZE)); in mxs_auart_tx_chars() 276 xmit->tail = (xmit->tail + size) & (UART_XMIT_SIZE - 1); in mxs_auart_tx_chars() 279 if (i >= UART_XMIT_SIZE) in mxs_auart_tx_chars() 309 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mxs_auart_tx_chars() 561 | AUART_CTRL0_XFER_COUNT(UART_XMIT_SIZE); in mxs_auart_dma_prep_rx() 570 sg_init_one(sgl, s->rx_dma_buf, UART_XMIT_SIZE); in mxs_auart_dma_prep_rx() 625 s->rx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init() 633 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init() 642 s->port.fifosize = UART_XMIT_SIZE; in mxs_auart_dma_init()
|
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 | bfin_uart.c | 157 xmit->tail = (xmit->tail + uart->tx_count) & (UART_XMIT_SIZE - 1); in bfin_serial_stop_tx() 343 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in bfin_serial_tx_chars() 393 uart->tx_count = CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE); in bfin_serial_dma_tx_chars() 394 if (uart->tx_count > (UART_XMIT_SIZE - xmit->tail)) in bfin_serial_dma_tx_chars() 395 uart->tx_count = UART_XMIT_SIZE - xmit->tail; in bfin_serial_dma_tx_chars() 422 UART_XMIT_SIZE); in bfin_serial_dma_rx_chars() 449 if (i >= UART_XMIT_SIZE) in bfin_serial_dma_rx_chars() 522 xmit->tail = (xmit->tail + uart->tx_count) & (UART_XMIT_SIZE - 1); in bfin_serial_dma_tx_int()
|
D | serial-tegra.c | 368 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in tegra_uart_fill_tx_fifo() 397 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in tegra_uart_tx_dma_complete() 412 UART_XMIT_SIZE, DMA_TO_DEVICE); in tegra_uart_start_tx_dma() 440 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in tegra_uart_start_next_tx() 492 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in tegra_uart_stop_tx() 938 tup->uport.state->xmit.buf, UART_XMIT_SIZE, in tegra_uart_dma_channel_allocate() 990 UART_XMIT_SIZE, DMA_TO_DEVICE); in tegra_uart_dma_channel_free()
|
D | men_z135_uart.c | 352 head = xmit->head & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 353 tail = xmit->tail & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 355 s = ((head >= tail) ? head : UART_XMIT_SIZE) - tail; in men_z135_handle_tx() 359 xmit->tail = (xmit->tail + n) & (UART_XMIT_SIZE - 1); in men_z135_handle_tx()
|
D | atmel_serial.c | 706 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in atmel_tx_chars() 733 xmit->tail &= UART_XMIT_SIZE - 1; in atmel_complete_tx_dma() 799 sg->offset = xmit->tail & (UART_XMIT_SIZE - 1); in atmel_tx_dma() 801 ~(UART_XMIT_SIZE - 1)) in atmel_tx_dma() 805 UART_XMIT_SIZE); in atmel_tx_dma() 859 UART_XMIT_SIZE, in atmel_prepare_tx_dma() 1263 xmit->tail &= UART_XMIT_SIZE - 1; in atmel_tx_pdc() 1279 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in atmel_tx_pdc() 1309 UART_XMIT_SIZE, in atmel_prepare_tx_pdc() 1311 pdc->dma_size = UART_XMIT_SIZE; in atmel_prepare_tx_pdc()
|
D | fsl_lpuart.c | 355 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in lpuart_pio_tx() 375 UART_XMIT_SIZE, DMA_TO_DEVICE); in lpuart_dma_tx() 400 xmit->tail, UART_XMIT_SIZE); in lpuart_prepare_tx() 425 xmit->tail = (xmit->tail + sport->dma_tx_bytes) & (UART_XMIT_SIZE - 1); in lpuart_dma_tx_complete() 537 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in lpuart_transmit_buffer() 558 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in lpuart32_transmit_buffer() 974 UART_XMIT_SIZE, DMA_TO_DEVICE); in lpuart_dma_tx_request() 1051 UART_XMIT_SIZE, DMA_TO_DEVICE); in lpuart_dma_tx_free()
|
D | pch_uart.c | 805 xmit->tail &= UART_XMIT_SIZE - 1; in pch_dma_tx_complete() 825 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in pop_tx() 828 xmit->tail = (xmit->tail + sz) & (UART_XMIT_SIZE - 1); in pop_tx() 986 UART_XMIT_SIZE), CIRC_CNT_TO_END(xmit->head, in dma_handle_tx() 987 xmit->tail, UART_XMIT_SIZE)); in dma_handle_tx() 1037 sg->offset = (xmit->tail & (UART_XMIT_SIZE - 1)) + in dma_handle_tx() 1040 ~(UART_XMIT_SIZE - 1)) + sg->offset; in dma_handle_tx()
|
D | sn_console.c | 567 (UART_XMIT_SIZE - tail) : (head - tail); in sn_transmit_chars() 585 tail &= UART_XMIT_SIZE - 1; in sn_transmit_chars()
|
D | samsung.c | 186 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_stop_tx() 221 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_dma_complete() 329 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx() 736 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars() 776 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_chars() 936 UART_XMIT_SIZE, DMA_TO_DEVICE); in s3c24xx_serial_request_dma() 959 UART_XMIT_SIZE, DMA_TO_DEVICE); in s3c24xx_serial_release_dma()
|
D | tilegx.c | 159 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in handle_transmit() 285 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in tilegx_start_tx()
|
D | sh-sci.c | 625 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sci_transmit_chars() 1266 xmit->tail &= UART_XMIT_SIZE - 1; in sci_dma_tx_complete() 1488 sg->offset = xmit->tail & (UART_XMIT_SIZE - 1); in work_fn_tx() 1489 sg_dma_address(sg) = (sg_dma_address(sg) & ~(UART_XMIT_SIZE - 1)) + in work_fn_tx() 1491 sg_dma_len(sg) = min((int)CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE), in work_fn_tx() 1492 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE)); in work_fn_tx() 1686 UART_XMIT_SIZE, in sci_request_dma()
|
D | mux.c | 209 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mux_write()
|
D | 21285.c | 137 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in serial21285_tx_chars()
|
D | altera_jtaguart.c | 169 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in altera_jtaguart_tx_chars()
|
D | m32r_sio.c | 273 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in m32r_sio_start_tx() 405 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
D | nwpserial.c | 274 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in nwpserial_start_tx()
|
D | msm_serial.c | 248 tx_count = min3(tx_count, (unsigned int)UART_XMIT_SIZE - xmit->tail, in handle_tx() 281 xmit->tail = (xmit->tail + num_chars) & (UART_XMIT_SIZE - 1); in handle_tx()
|
D | arc_uart.c | 176 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in arc_serial_tx_chars()
|
D | timbuart.c | 118 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in timbuart_tx_chars()
|
D | ip22zilog.c | 415 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_transmit_chars() 615 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_start_tx()
|
D | apbuart.c | 149 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in apbuart_tx_chars()
|
D | digicolor-usart.c | 209 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in digicolor_uart_tx()
|
D | xilinx_uartps.c | 299 (UART_XMIT_SIZE - 1); in cdns_uart_isr() 542 (UART_XMIT_SIZE - 1); in cdns_uart_start_tx()
|
D | sunsab.c | 272 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars() 459 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sunsab_start_tx()
|
D | sirfsoc_uart.c | 209 tran_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in sirfsoc_uart_tx_with_dma() 451 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sirfsoc_uart_pio_tx_chars() 469 (UART_XMIT_SIZE - 1); in sirfsoc_uart_tx_dma_complete_callback()
|
D | serial_ks8695.c | 232 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ks8695uart_tx_chars()
|
D | altera_uart.c | 260 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in altera_uart_tx_chars()
|
D | uartlite.c | 183 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in ulite_transmit()
|
D | clps711x.c | 177 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in uart_clps711x_int_tx()
|
D | imx.c | 462 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in imx_transmit_buffer() 490 xmit->tail = (xmit->tail + sport->tx_bytes) & (UART_XMIT_SIZE - 1); in dma_tx_callback() 536 UART_XMIT_SIZE - xmit->tail); in imx_dma_tx()
|
D | mcf.c | 350 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE -1); in mcf_tx_chars()
|
D | netx-serial.c | 160 (UART_XMIT_SIZE - 1); in netx_transmit_buffer()
|
D | ar933x_uart.c | 368 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ar933x_uart_tx_chars()
|
D | vt8500_serial.c | 225 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in handle_tx()
|
D | lpc32xx_hs.c | 308 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in __serial_lpc32xx_tx()
|
D | sprd_serial.c | 273 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sprd_tx()
|
D | lantiq.c | 241 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in lqasc_tx_chars()
|
D | amba-pl011.c | 498 size_t first = UART_XMIT_SIZE - xmit->tail; in pl011_dma_tx_refill() 549 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in pl011_dma_tx_refill() 1313 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in pl011_tx_chars()
|
D | pnx8xxx_uart.c | 278 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in pnx8xxx_tx_chars()
|
D | st-asc.c | 274 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in asc_transmit_chars()
|
D | bcm63xx_uart.c | 343 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in bcm_uart_do_tx()
|
D | efm32-uart.c | 152 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in efm32_uart_tx_chars()
|
D | sunzilog.c | 514 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sunzilog_transmit_chars() 715 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sunzilog_start_tx()
|
D | ioc3_serial.c | 923 xmit_count = (head < tail) ? (UART_XMIT_SIZE - tail) : (head - tail); in transmit_chars() 932 tail &= UART_XMIT_SIZE - 1; in transmit_chars()
|
D | icom.c | 654 temp_tail &= (UART_XMIT_SIZE - 1); in icom_write() 731 (UART_XMIT_SIZE - 1); in xmit_interrupt()
|
D | serial_core.c | 489 circ->head = (circ->head + 1) & (UART_XMIT_SIZE - 1); in __uart_put_char() 534 c = CIRC_SPACE_TO_END(circ->head, circ->tail, UART_XMIT_SIZE); in uart_write() 540 circ->head = (circ->head + c) & (UART_XMIT_SIZE - 1); in uart_write()
|
D | amba-pl010.c | 203 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in pl010_tx_chars()
|
D | bfin_sport_uart.c | 357 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE -1); in sport_uart_tx_chars()
|
D | pmac_zilog.c | 438 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in pmz_transmit_chars() 660 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in pmz_start_tx()
|
D | sb1250-duart.c | 411 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sbd_transmit_chars()
|
D | rp2.c | 457 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in rp2_tx_chars()
|
D | pxa.c | 202 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
D | sa1100.c | 273 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sa1100_tx_chars()
|
D | vr41xx_siu.c | 411 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
D | max3100.c | 302 (UART_XMIT_SIZE - 1); in max3100_work()
|
D | etraxfs-uart.c | 513 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in transmit_chars_no_dma()
|
D | mpsc.c | 1142 UART_XMIT_SIZE)); in mpsc_copy_tx_data() 1145 xmit->tail = (xmit->tail + i) & (UART_XMIT_SIZE - 1); in mpsc_copy_tx_data()
|
D | ioc4_serial.c | 1652 xmit_count = (head < tail) ? (UART_XMIT_SIZE - tail) : (head - tail); in transmit_chars() 1661 tail &= UART_XMIT_SIZE - 1; in transmit_chars()
|
D | sc16is7xx.c | 578 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sc16is7xx_handle_tx()
|
D | sccnxp.c | 440 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in sccnxp_handle_tx()
|
D | serial_txx9.c | 366 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
D | ucc_uart.c | 375 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in qe_uart_tx_pump()
|
D | max310x.c | 678 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in max310x_handle_tx()
|
D | zs.c | 629 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in zs_raw_transmit_chars()
|
D | sunsu.c | 422 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
D | mpc52xx_uart.c | 1456 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mpc52xx_uart_int_tx_chars()
|
D | omap-serial.c | 404 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars()
|
/linux-4.1.27/include/linux/ |
D | serial_core.h | 286 #define UART_XMIT_SIZE PAGE_SIZE macro 392 (CIRC_CNT((circ)->head, (circ)->tail, UART_XMIT_SIZE)) 395 (CIRC_SPACE((circ)->head, (circ)->tail, UART_XMIT_SIZE))
|
/linux-4.1.27/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 521 circ->tail = (circ->tail + 1) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 536 head = circ->head & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 537 tail = circ->tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 545 s = ((head >= tail) ? head : UART_XMIT_SIZE) - tail; in neo_copy_data_from_queue_to_uart() 553 tail = (tail + s) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart() 560 circ->tail = tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
|
D | jsm_cls.c | 486 tail = circ->tail & (UART_XMIT_SIZE - 1); in cls_copy_data_from_queue_to_uart() 494 tail = (tail + 1) & (UART_XMIT_SIZE - 1); in cls_copy_data_from_queue_to_uart() 501 circ->tail = tail & (UART_XMIT_SIZE - 1); in cls_copy_data_from_queue_to_uart()
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | asm-offsets.c | 103 DEFINE(__UART_XMIT_SIZE, UART_XMIT_SIZE); in foo()
|
D | mn10300-serial.c | 842 UART_XMIT_SIZE)); in mn10300_serial_start_tx()
|
/linux-4.1.27/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 730 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in cpm_uart_tx_pump()
|