Lines Matching refs:ctd
685 static void dump_ctd(struct vpdma_ctd *ctd) in dump_ctd() argument
690 ctd_get_pkt_type(ctd), ctd_get_source(ctd), ctd_get_ctl(ctd)); in dump_ctd()
701 struct vpdma_ctd *ctd; in vpdma_add_sync_on_channel_ctd() local
703 ctd = list->next; in vpdma_add_sync_on_channel_ctd()
704 WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_sync_on_channel_ctd()
706 ctd->w0 = 0; in vpdma_add_sync_on_channel_ctd()
707 ctd->w1 = 0; in vpdma_add_sync_on_channel_ctd()
708 ctd->w2 = 0; in vpdma_add_sync_on_channel_ctd()
709 ctd->type_source_ctl = ctd_type_source_ctl(chan_info[chan].num, in vpdma_add_sync_on_channel_ctd()
712 list->next = ctd + 1; in vpdma_add_sync_on_channel_ctd()
714 dump_ctd(ctd); in vpdma_add_sync_on_channel_ctd()
726 struct vpdma_ctd *ctd; in vpdma_add_abort_channel_ctd() local
728 ctd = list->next; in vpdma_add_abort_channel_ctd()
729 WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_abort_channel_ctd()
731 ctd->w0 = 0; in vpdma_add_abort_channel_ctd()
732 ctd->w1 = 0; in vpdma_add_abort_channel_ctd()
733 ctd->w2 = 0; in vpdma_add_abort_channel_ctd()
734 ctd->type_source_ctl = ctd_type_source_ctl(chan_num, in vpdma_add_abort_channel_ctd()
737 list->next = ctd + 1; in vpdma_add_abort_channel_ctd()
739 dump_ctd(ctd); in vpdma_add_abort_channel_ctd()