Searched refs:rx_dma_buf (Results 1 – 7 of 7) sorted by relevance
/drivers/net/irda/ |
D | bfin_sir.c | 317 for (i = port->rx_dma_buf.head; i < port->rx_dma_buf.tail; i++) in bfin_sir_dma_rx_chars() 318 async_unwrap_char(dev, &self->stats, &self->rx_buff, port->rx_dma_buf.buf[i]); in bfin_sir_dma_rx_chars() 335 if (pos > port->rx_dma_buf.tail) { in bfin_sir_rx_dma_timeout() 336 port->rx_dma_buf.tail = pos; in bfin_sir_rx_dma_timeout() 338 port->rx_dma_buf.head = port->rx_dma_buf.tail; in bfin_sir_rx_dma_timeout() 353 port->rx_dma_buf.tail = DMA_SIR_RX_XCNT * port->rx_dma_nrows; in bfin_sir_dma_rx_int() 357 port->rx_dma_buf.tail = 0; in bfin_sir_dma_rx_int() 359 port->rx_dma_buf.head = port->rx_dma_buf.tail; in bfin_sir_dma_rx_int() 392 port->rx_dma_buf.buf = dma_alloc_coherent(NULL, PAGE_SIZE, in bfin_sir_startup() 394 port->rx_dma_buf.head = 0; in bfin_sir_startup() [all …]
|
D | bfin_sir.h | 47 struct dma_rx_buf rx_dma_buf; member
|
/drivers/tty/serial/ |
D | bfin_uart.c | 432 CIRC_CNT(uart->rx_dma_buf.head, uart->rx_dma_buf.tail, in bfin_serial_dma_rx_chars() 459 for (i = uart->rx_dma_buf.tail; ; i++) { in bfin_serial_dma_rx_chars() 462 if (i == uart->rx_dma_buf.head) in bfin_serial_dma_rx_chars() 464 if (!uart_handle_sysrq_char(&uart->port, uart->rx_dma_buf.buf[i])) in bfin_serial_dma_rx_chars() 466 uart->rx_dma_buf.buf[i], flg); in bfin_serial_dma_rx_chars() 502 if (pos > uart->rx_dma_buf.tail || 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() 504 uart->rx_dma_buf.head = pos; in bfin_serial_rx_dma_timeout() 506 uart->rx_dma_buf.tail = uart->rx_dma_buf.head; in bfin_serial_rx_dma_timeout() 561 if (pos > uart->rx_dma_buf.tail || in bfin_serial_dma_rx_int() [all …]
|
D | mxs-auart.c | 157 void *rx_dma_buf; member 453 tty_insert_flip_string(port, s->rx_dma_buf, count); in dma_rx_callback() 481 sg_init_one(sgl, s->rx_dma_buf, UART_XMIT_SIZE); in mxs_auart_dma_prep_rx() 510 kfree(s->rx_dma_buf); in mxs_auart_dma_exit_channel() 512 s->rx_dma_buf = NULL; in mxs_auart_dma_exit_channel() 536 s->rx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init() 537 if (!s->rx_dma_buf) in mxs_auart_dma_init()
|
/drivers/spi/ |
D | spi-tegra114.c | 216 u32 *rx_dma_buf; member 420 memcpy(t->rx_buf + tspi->cur_rx_pos, tspi->rx_dma_buf, len); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() 431 x = tspi->rx_dma_buf[count]; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() 637 tspi->rx_dma_buf = dma_buf; in tegra_spi_init_dma_param() 660 dma_buf = tspi->rx_dma_buf; in tegra_spi_deinit_dma_param() 664 tspi->rx_dma_buf = NULL; in tegra_spi_deinit_dma_param()
|
D | spi-tegra20-slink.c | 210 u32 *rx_dma_buf; member 432 memcpy(t->rx_buf + tspi->cur_rx_pos, tspi->rx_dma_buf, len); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 443 x = tspi->rx_dma_buf[count]; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 667 tspi->rx_dma_buf = dma_buf; in tegra_slink_init_dma_param() 690 dma_buf = tspi->rx_dma_buf; in tegra_slink_deinit_dma_param() 694 tspi->rx_dma_buf = NULL; in tegra_slink_deinit_dma_param()
|
D | spi-topcliff-pch.c | 815 const u8 *rx_dma_buf; in pch_spi_copy_rx_data_for_dma() local 824 rx_dma_buf = data->dma.rx_buf_virt; in pch_spi_copy_rx_data_for_dma() 826 *rx_buf++ = *rx_dma_buf++ & 0xFF; in pch_spi_copy_rx_data_for_dma()
|