Home
last modified time | relevance | path

Searched refs:rx_dma_nrows (Results 1 – 3 of 3) sorted by relevance

/drivers/tty/serial/
Dbfin_uart.c489 uart->rx_dma_nrows = get_dma_curr_ycount(uart->rx_dma_channel); in bfin_serial_rx_dma_timeout()
491 uart->rx_dma_nrows = DMA_RX_YCOUNT - uart->rx_dma_nrows; in bfin_serial_rx_dma_timeout()
492 if (uart->rx_dma_nrows == DMA_RX_YCOUNT || x_pos == 0) in bfin_serial_rx_dma_timeout()
493 uart->rx_dma_nrows = 0; in bfin_serial_rx_dma_timeout()
498 pos = uart->rx_dma_nrows * DMA_RX_XCOUNT + x_pos; in bfin_serial_rx_dma_timeout()
503 uart->rx_dma_nrows < (uart->rx_dma_buf.tail/DMA_RX_XCOUNT)) { in bfin_serial_rx_dma_timeout()
554 uart->rx_dma_nrows = get_dma_curr_ycount(uart->rx_dma_channel); in bfin_serial_dma_rx_int()
556 uart->rx_dma_nrows = DMA_RX_YCOUNT - uart->rx_dma_nrows; in bfin_serial_dma_rx_int()
557 if (uart->rx_dma_nrows == DMA_RX_YCOUNT || x_pos == 0) in bfin_serial_dma_rx_int()
558 uart->rx_dma_nrows = 0; in bfin_serial_dma_rx_int()
[all …]
/drivers/net/irda/
Dbfin_sir.c333 pos = port->rx_dma_nrows * DMA_SIR_RX_XCNT + x_pos; in bfin_sir_rx_dma_timeout()
352 port->rx_dma_nrows++; in bfin_sir_dma_rx_int()
353 port->rx_dma_buf.tail = DMA_SIR_RX_XCNT * port->rx_dma_nrows; in bfin_sir_dma_rx_int()
355 if (port->rx_dma_nrows >= DMA_SIR_RX_YCNT) { in bfin_sir_dma_rx_int()
356 port->rx_dma_nrows = 0; in bfin_sir_dma_rx_int()
396 port->rx_dma_nrows = 0; in bfin_sir_startup()
Dbfin_sir.h49 int rx_dma_nrows; member