Lines Matching refs:tx_drain
302 struct udma_tx_drain tx_drain; member
1074 uc->tx_drain.residue = bcnt - peer_bcnt; in udma_is_desc_really_done()
1075 uc->tx_drain.tstamp = ktime_get(); in udma_is_desc_really_done()
1085 tx_drain.work.work); in udma_check_tx_completion()
1094 residue_diff = uc->tx_drain.residue; in udma_check_tx_completion()
1095 time_diff = uc->tx_drain.tstamp; in udma_check_tx_completion()
1108 time_diff = ktime_sub(uc->tx_drain.tstamp, in udma_check_tx_completion()
1110 residue_diff -= uc->tx_drain.residue; in udma_check_tx_completion()
1119 uc->tx_drain.residue; in udma_check_tx_completion()
1122 schedule_delayed_work(&uc->tx_drain.work, HZ); in udma_check_tx_completion()
1191 schedule_delayed_work(&uc->tx_drain.work, in udma_ring_irq_handler()
2544 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in bcdma_alloc_chan_resources()
2708 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in pktdma_alloc_chan_resources()
3921 cancel_delayed_work(&uc->tx_drain.work); in udma_terminate_all()
3955 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_synchronize()
4043 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_free_chan_resources()
5483 INIT_DELAYED_WORK(&uc->tx_drain.work, udma_check_tx_completion); in udma_probe()