Lines Matching refs:is_tx
59 if (cppi41_channel->is_tx) in save_rx_toggle()
77 if (cppi41_channel->is_tx) in update_rx_toggle()
145 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx); in cppi41_trans_done()
160 direction = cppi41_channel->is_tx ? DMA_MEM_TO_DEV in cppi41_trans_done()
176 if (!cppi41_channel->is_tx) { in cppi41_trans_done()
255 if (cppi41_channel->is_tx) { in cppi41_dma_callback()
277 if (!cppi41_channel->is_tx || empty) { in cppi41_dma_callback()
348 if (cppi41_channel->is_tx) in cppi41_set_dma_mode()
357 if (cppi41_channel->is_tx) { in cppi41_set_dma_mode()
380 if (!cppi41_channel->is_tx) in da8xx_set_dma_mode()
427 cppi41_channel->tx_zlp = (cppi41_channel->is_tx && mode) ? 1 : 0; in cppi41_configure_channel()
433 if (cppi41_channel->is_tx) in cppi41_configure_channel()
464 direction = cppi41_channel->is_tx ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in cppi41_configure_channel()
483 struct musb_hw_ep *hw_ep, u8 is_tx) in cppi41_dma_channel_allocate() argument
493 if (is_tx) in cppi41_dma_channel_allocate()
535 if (cppi41_channel->is_tx) in cppi41_dma_channel_program()
567 if (cppi41_channel->is_tx) in cppi41_is_compatible()
581 unsigned is_tx; in cppi41_dma_channel_abort() local
584 is_tx = cppi41_channel->is_tx; in cppi41_dma_channel_abort()
591 if (is_tx) { in cppi41_dma_channel_abort()
621 if (is_tx) in cppi41_dma_channel_abort()
625 if (is_tx) in cppi41_dma_channel_abort()
631 if (is_tx) { in cppi41_dma_channel_abort()
683 unsigned is_tx; in cppi41_dma_controller_start() local
690 is_tx = 1; in cppi41_dma_controller_start()
692 is_tx = 0; in cppi41_dma_controller_start()
704 if (is_tx) in cppi41_dma_controller_start()
711 cppi41_channel->is_tx = is_tx; in cppi41_dma_controller_start()