Lines Matching refs:tx_drain
303 struct udma_tx_drain tx_drain; member
1078 uc->tx_drain.residue = bcnt - peer_bcnt; in udma_is_desc_really_done()
1079 uc->tx_drain.tstamp = ktime_get(); in udma_is_desc_really_done()
1089 tx_drain.work.work); in udma_check_tx_completion()
1098 residue_diff = uc->tx_drain.residue; in udma_check_tx_completion()
1099 time_diff = uc->tx_drain.tstamp; in udma_check_tx_completion()
1112 time_diff = ktime_sub(uc->tx_drain.tstamp, in udma_check_tx_completion()
1114 residue_diff -= uc->tx_drain.residue; in udma_check_tx_completion()
1123 uc->tx_drain.residue; in udma_check_tx_completion()
1126 schedule_delayed_work(&uc->tx_drain.work, HZ); in udma_check_tx_completion()
1195 schedule_delayed_work(&uc->tx_drain.work, in udma_ring_irq_handler()
2548 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in bcdma_alloc_chan_resources()
2712 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in pktdma_alloc_chan_resources()
3927 cancel_delayed_work(&uc->tx_drain.work); in udma_terminate_all()
3961 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_synchronize()
4055 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_free_chan_resources()
5539 INIT_DELAYED_WORK(&uc->tx_drain.work, udma_check_tx_completion); in udma_probe()