Searched refs:rx_dma_chan (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/sound/soc/blackfin/
H A Dbf6xx-sport.c82 set_dma_next_desc_addr(sport->rx_dma_chan, sport->rx_desc); sport_rx_start()
83 set_dma_config(sport->rx_dma_chan, DMAFLOW_LIST | DI_EN | WNR sport_rx_start()
85 enable_dma(sport->rx_dma_chan); sport_rx_start()
103 disable_dma(sport->rx_dma_chan); sport_rx_stop()
217 unsigned long curr = get_dma_curr_addr(sport->rx_dma_chan); sport_curr_offset_rx()
243 status = get_dma_curr_irqstat(sport->rx_dma_chan); sport_rx_irq()
245 clear_dma_irqstat(sport->rx_dma_chan); sport_rx_irq()
305 sport->rx_dma_chan = res->start; sport_get_resource()
342 ret = request_dma(sport->rx_dma_chan, "SPORT RX Data"); sport_request_resource()
347 set_dma_callback(sport->rx_dma_chan, sport_rx_irq, sport); sport_request_resource()
367 free_dma(sport->rx_dma_chan); sport_request_resource()
379 free_dma(sport->rx_dma_chan); sport_free_resource()
H A Dbf6xx-sport.h32 int rx_dma_chan; member in struct:sport_device
/linux-4.1.27/drivers/tty/serial/
H A Dsirfsoc_uart.c313 if (sirfport->rx_dma_chan) { sirfsoc_uart_stop_rx()
323 dmaengine_terminate_all(sirfport->rx_dma_chan); sirfsoc_uart_stop_rx()
500 dmaengine_prep_slave_single(sirfport->rx_dma_chan, sirfsoc_rx_submit_one_dma_desc()
512 dma_async_issue_pending(sirfport->rx_dma_chan); sirfsoc_rx_submit_one_dma_desc()
527 while (DMA_COMPLETE == dmaengine_tx_status(sirfport->rx_dma_chan, sirfsoc_rx_tmo_process_tl()
576 dmaengine_tx_status(sirfport->rx_dma_chan, sirfsoc_uart_handle_rx_tmo()
578 dmaengine_terminate_all(sirfport->rx_dma_chan); sirfsoc_uart_handle_rx_tmo()
665 if (sirfport->rx_dma_chan) { sirfsoc_uart_isr()
709 while (DMA_COMPLETE == dmaengine_tx_status(sirfport->rx_dma_chan, sirfsoc_uart_rx_dma_complete_tl()
770 if (sirfport->rx_dma_chan) sirfsoc_uart_start_rx()
1010 if (sirfport->rx_dma_chan) sirfsoc_uart_set_termios()
1088 if (sirfport->rx_dma_chan) sirfsoc_uart_startup()
1217 sirfport->rx_dma_chan = NULL; sirfsoc_uart_console_setup()
1421 sirfport->rx_dma_chan = dma_request_slave_channel(port->dev, "rx"); sirfsoc_uart_probe()
1422 for (i = 0; sirfport->rx_dma_chan && i < SIRFSOC_RX_LOOP_BUF_CNT; i++) { sirfsoc_uart_probe()
1434 if (sirfport->rx_dma_chan) sirfsoc_uart_probe()
1435 dmaengine_slave_config(sirfport->rx_dma_chan, &slv_cfg); sirfsoc_uart_probe()
1446 dma_release_channel(sirfport->rx_dma_chan); sirfsoc_uart_probe()
1456 if (sirfport->rx_dma_chan) { sirfsoc_uart_remove()
1458 dmaengine_terminate_all(sirfport->rx_dma_chan); sirfsoc_uart_remove()
1459 dma_release_channel(sirfport->rx_dma_chan); sirfsoc_uart_remove()
H A Dserial-tegra.c124 struct dma_chan *rx_dma_chan; member in struct:tegra_uart_port
603 dmaengine_terminate_all(tup->rx_dma_chan); tegra_uart_handle_rx_dma()
604 dmaengine_tx_status(tup->rx_dma_chan, tup->rx_cookie, &state); tegra_uart_handle_rx_dma()
629 tup->rx_dma_desc = dmaengine_prep_slave_single(tup->rx_dma_chan, tegra_uart_start_rx_dma()
643 dma_async_issue_pending(tup->rx_dma_chan); tegra_uart_start_rx_dma()
760 if (tup->rx_dma_chan) { tegra_uart_stop_rx()
761 dmaengine_terminate_all(tup->rx_dma_chan); tegra_uart_stop_rx()
762 dmaengine_tx_status(tup->rx_dma_chan, tup->rx_cookie, &state); tegra_uart_stop_rx()
961 tup->rx_dma_chan = dma_chan; tegra_uart_dma_channel_allocate()
984 dma_chan = tup->rx_dma_chan; tegra_uart_dma_channel_free()
985 tup->rx_dma_chan = NULL; tegra_uart_dma_channel_free()
H A Dmxs-auart.c164 struct dma_chan *rx_dma_chan; member in struct:mxs_auart_port
555 struct dma_chan *channel = s->rx_dma_chan; mxs_auart_dma_prep_rx()
593 if (s->rx_dma_chan) { mxs_auart_dma_exit_channel()
594 dma_release_channel(s->rx_dma_chan); mxs_auart_dma_exit_channel()
595 s->rx_dma_chan = NULL; mxs_auart_dma_exit_channel()
622 s->rx_dma_chan = dma_request_slave_channel(s->dev, "rx"); mxs_auart_dma_init()
623 if (!s->rx_dma_chan) mxs_auart_dma_init()
H A Dsirfsoc_uart.h427 struct dma_chan *rx_dma_chan; member in struct:sirfsoc_uart_port
/linux-4.1.27/drivers/spi/
H A Dspi-tegra114.c205 struct dma_chan *rx_dma_chan; member in struct:tegra_spi_data
457 tspi->rx_dma_desc = dmaengine_prep_slave_single(tspi->rx_dma_chan, tegra_spi_start_rx_dma()
469 dma_async_issue_pending(tspi->rx_dma_chan); tegra_spi_start_rx_dma()
619 tspi->rx_dma_chan = dma_chan; tegra_spi_init_dma_param()
644 dma_chan = tspi->rx_dma_chan; tegra_spi_deinit_dma_param()
646 tspi->rx_dma_chan = NULL; tegra_spi_deinit_dma_param()
945 dmaengine_terminate_all(tspi->rx_dma_chan); handle_dma_based_xfer()
951 dmaengine_terminate_all(tspi->rx_dma_chan); handle_dma_based_xfer()
1156 if (tspi->rx_dma_chan) tegra_spi_remove()
H A Dspi-tegra20-slink.c207 struct dma_chan *rx_dma_chan; member in struct:tegra_slink_data
466 tspi->rx_dma_desc = dmaengine_prep_slave_single(tspi->rx_dma_chan, tegra_slink_start_rx_dma()
478 dma_async_issue_pending(tspi->rx_dma_chan); tegra_slink_start_rx_dma()
645 tspi->rx_dma_chan = dma_chan; tegra_slink_init_dma_param()
670 dma_chan = tspi->rx_dma_chan; tegra_slink_deinit_dma_param()
672 tspi->rx_dma_chan = NULL; tegra_slink_deinit_dma_param()
916 dmaengine_terminate_all(tspi->rx_dma_chan); handle_dma_based_xfer()
922 dmaengine_terminate_all(tspi->rx_dma_chan); handle_dma_based_xfer()
1156 if (tspi->rx_dma_chan) tegra_slink_remove()
/linux-4.1.27/drivers/net/ethernet/
H A Dec_bhf.c141 int rx_dma_chan; member in struct:ec_bhf_priv
281 priv->rx_dma_chan = ioread8(ec_info + INFO_BLOCK_RX_CHAN); ec_bhf_setup_offsets()
409 err = ec_bhf_alloc_dma_mem(priv, &priv->rx_buf, priv->rx_dma_chan, ec_bhf_open()

Completed in 218 milliseconds