Lines Matching refs:tx_drain
301 struct udma_tx_drain tx_drain; member
1058 uc->tx_drain.residue = bcnt - peer_bcnt; in udma_is_desc_really_done()
1059 uc->tx_drain.tstamp = ktime_get(); in udma_is_desc_really_done()
1069 tx_drain.work.work); in udma_check_tx_completion()
1078 residue_diff = uc->tx_drain.residue; in udma_check_tx_completion()
1079 time_diff = uc->tx_drain.tstamp; in udma_check_tx_completion()
1092 time_diff = ktime_sub(uc->tx_drain.tstamp, in udma_check_tx_completion()
1094 residue_diff -= uc->tx_drain.residue; in udma_check_tx_completion()
1103 uc->tx_drain.residue; in udma_check_tx_completion()
1106 schedule_delayed_work(&uc->tx_drain.work, HZ); in udma_check_tx_completion()
1175 schedule_delayed_work(&uc->tx_drain.work, in udma_ring_irq_handler()
2528 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in bcdma_alloc_chan_resources()
2692 INIT_DELAYED_WORK_ONSTACK(&uc->tx_drain.work, in pktdma_alloc_chan_resources()
3904 cancel_delayed_work(&uc->tx_drain.work); in udma_terminate_all()
3938 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_synchronize()
4026 cancel_delayed_work_sync(&uc->tx_drain.work); in udma_free_chan_resources()
5466 INIT_DELAYED_WORK(&uc->tx_drain.work, udma_check_tx_completion); in udma_probe()