Lines Matching refs:ctd
690 static void dump_ctd(struct vpdma_ctd *ctd) in dump_ctd() argument
695 ctd_get_pkt_type(ctd), ctd_get_source(ctd), ctd_get_ctl(ctd)); in dump_ctd()
706 struct vpdma_ctd *ctd; in vpdma_add_sync_on_channel_ctd() local
708 ctd = list->next; in vpdma_add_sync_on_channel_ctd()
709 WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_sync_on_channel_ctd()
711 ctd->w0 = 0; in vpdma_add_sync_on_channel_ctd()
712 ctd->w1 = 0; in vpdma_add_sync_on_channel_ctd()
713 ctd->w2 = 0; in vpdma_add_sync_on_channel_ctd()
714 ctd->type_source_ctl = ctd_type_source_ctl(chan_info[chan].num, in vpdma_add_sync_on_channel_ctd()
717 list->next = ctd + 1; in vpdma_add_sync_on_channel_ctd()
719 dump_ctd(ctd); in vpdma_add_sync_on_channel_ctd()
731 struct vpdma_ctd *ctd; in vpdma_add_abort_channel_ctd() local
733 ctd = list->next; in vpdma_add_abort_channel_ctd()
734 WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_abort_channel_ctd()
736 ctd->w0 = 0; in vpdma_add_abort_channel_ctd()
737 ctd->w1 = 0; in vpdma_add_abort_channel_ctd()
738 ctd->w2 = 0; in vpdma_add_abort_channel_ctd()
739 ctd->type_source_ctl = ctd_type_source_ctl(chan_num, in vpdma_add_abort_channel_ctd()
742 list->next = ctd + 1; in vpdma_add_abort_channel_ctd()
744 dump_ctd(ctd); in vpdma_add_abort_channel_ctd()