Lines Matching refs:tx_drain
302 struct udma_tx_drain tx_drain; member
1075 uc->tx_drain.residue = bcnt - peer_bcnt; in udma_is_desc_really_done()
1076 uc->tx_drain.tstamp = ktime_get(); in udma_is_desc_really_done()
1086 tx_drain.work.work); in udma_check_tx_completion()
1095 residue_diff = uc->tx_drain.residue; in udma_check_tx_completion()
1096 time_diff = uc->tx_drain.tstamp; in udma_check_tx_completion()
1109 time_diff = ktime_sub(uc->tx_drain.tstamp, in udma_check_tx_completion()
1111 residue_diff -= uc->tx_drain.residue; in udma_check_tx_completion()
1120 uc->tx_drain.residue; in udma_check_tx_completion()
1123 schedule_delayed_work(&uc->tx_drain.work, HZ); in udma_check_tx_completion()
1192 schedule_delayed_work(&uc->tx_drain.work, in udma_ring_irq_handler()
2545 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in bcdma_alloc_chan_resources()
2709 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in pktdma_alloc_chan_resources()
3922 cancel_delayed_work(&uc->tx_drain.work); in udma_terminate_all()
3956 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_synchronize()
4044 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_free_chan_resources()
5484 INIT_DELAYED_WORK(&uc->tx_drain.work, udma_check_tx_completion); in udma_probe()