Home
last modified time | relevance | path

Searched refs:UART_XMIT_SIZE (Results 1 – 25 of 65) sorted by relevance

123

/linux-3.4.99/include/linux/
Dserial_core.h412 #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/
Dbfin_uart.c164 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()
Domap-serial.c269 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()
Dsunhv.c54 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()
Dmsm_serial_hs.c356 #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()
Dpch_uart.c777 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()
Dmfd.c303 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()
Dsn_console.c581 (UART_XMIT_SIZE - tail) : (head - tail); in sn_transmit_chars()
599 tail &= UART_XMIT_SIZE - 1; in sn_transmit_chars()
Dsh-sci.c568 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()
Datmel_serial.c554 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()
Dxilinx_uartps.c227 (UART_XMIT_SIZE - 1); in xuartps_isr()
343 (UART_XMIT_SIZE - 1); in xuartps_start_tx()
Dsc26xx.c206 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()
Dmux.c219 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mux_write()
D21285.c142 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in serial21285_tx_chars()
Daltera_jtaguart.c171 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in altera_jtaguart_tx_chars()
Dm32r_sio.c288 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()
Dclps711x.c164 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in clps711xuart_int_tx()
Dnwpserial.c275 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in nwpserial_start_tx()
Dip22zilog.c420 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()
Dapbuart.c153 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in apbuart_tx_chars()
Dtimbuart.c118 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in timbuart_tx_chars()
Duartlite.c135 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in ulite_transmit()
Dsunsab.c268 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/
Djsm_neo.c526 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/
Dasm-offsets.c106 DEFINE(__UART_XMIT_SIZE, UART_XMIT_SIZE); in foo()

123