Searched refs:ctd (Results 1 – 2 of 2) sorted by relevance
594 static inline u32 ctd_get_pixel_count(struct vpdma_ctd *ctd) in ctd_get_pixel_count() argument596 return ctd->pixel_line_count >> CTD_PIXEL_COUNT_SHFT; in ctd_get_pixel_count()599 static inline int ctd_get_line_count(struct vpdma_ctd *ctd) in ctd_get_line_count() argument601 return ctd->pixel_line_count & CTD_LINE_COUNT_MASK; in ctd_get_line_count()604 static inline int ctd_get_event(struct vpdma_ctd *ctd) in ctd_get_event() argument606 return ctd->event & CTD_EVENT_MASK; in ctd_get_event()609 static inline int ctd_get_fid2_ctl(struct vpdma_ctd *ctd) in ctd_get_fid2_ctl() argument611 return (ctd->fid_ctl >> CTD_FID2_SHFT) & CTD_FID2_MASK; in ctd_get_fid2_ctl()614 static inline int ctd_get_fid1_ctl(struct vpdma_ctd *ctd) in ctd_get_fid1_ctl() argument616 return (ctd->fid_ctl >> CTD_FID1_SHFT) & CTD_FID1_MASK; in ctd_get_fid1_ctl()[all …]
690 static void dump_ctd(struct vpdma_ctd *ctd) in dump_ctd() argument695 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() local708 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()[all …]