Lines Matching refs:cookie
105 if (tx->cookie) { in mic_dma_cleanup()
254 dma_cookie_t cookie; in mic_dma_tx_submit_unlock() local
257 cookie = tx->cookie; in mic_dma_tx_submit_unlock()
267 return cookie; in mic_dma_tx_submit_unlock()
349 mic_dma_tx_status(struct dma_chan *ch, dma_cookie_t cookie, in mic_dma_tx_status() argument
354 if (DMA_COMPLETE != dma_cookie_status(ch, cookie, txstate)) in mic_dma_tx_status()
357 return dma_cookie_status(ch, cookie, txstate); in mic_dma_tx_status()
481 ch->cookie = in mic_dma_setup_irq()
485 if (IS_ERR(ch->cookie)) in mic_dma_setup_irq()
486 return IS_ERR(ch->cookie); in mic_dma_setup_irq()
492 to_mbus_hw_ops(ch)->free_irq(to_mbus_device(ch), ch->cookie, ch); in mic_dma_free_irq()
520 dma_cookie_t cookie; in mic_dma_drain_chan() local
528 cookie = tx->tx_submit(tx); in mic_dma_drain_chan()
529 if (dma_submit_error(cookie)) in mic_dma_drain_chan()
532 err = dma_sync_wait(&ch->api_ch, cookie); in mic_dma_drain_chan()