Lines Matching refs:ctd
594 static inline u32 ctd_get_pixel_count(struct vpdma_ctd *ctd) in ctd_get_pixel_count() argument
596 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() argument
601 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() argument
606 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() argument
611 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() argument
616 return (ctd->fid_ctl >> CTD_FID1_SHFT) & CTD_FID1_MASK; in ctd_get_fid1_ctl()
619 static inline int ctd_get_fid0_ctl(struct vpdma_ctd *ctd) in ctd_get_fid0_ctl() argument
621 return ctd->fid_ctl & CTD_FID2_MASK; in ctd_get_fid0_ctl()
624 static inline int ctd_get_pkt_type(struct vpdma_ctd *ctd) in ctd_get_pkt_type() argument
626 return ctd->type_source_ctl >> CTD_PKT_TYPE_SHFT; in ctd_get_pkt_type()
629 static inline int ctd_get_source(struct vpdma_ctd *ctd) in ctd_get_source() argument
631 return (ctd->type_source_ctl >> CTD_SOURCE_SHFT) & CTD_SOURCE_MASK; in ctd_get_source()
634 static inline int ctd_get_ctl(struct vpdma_ctd *ctd) in ctd_get_ctl() argument
636 return ctd->type_source_ctl & CTD_CONTROL_MASK; in ctd_get_ctl()