ctd 685 drivers/media/platform/ti-vpe/vpdma.c static void dump_ctd(struct vpdma_ctd *ctd) ctd 690 drivers/media/platform/ti-vpe/vpdma.c ctd_get_pkt_type(ctd), ctd_get_source(ctd), ctd_get_ctl(ctd)); ctd 701 drivers/media/platform/ti-vpe/vpdma.c struct vpdma_ctd *ctd; ctd 703 drivers/media/platform/ti-vpe/vpdma.c ctd = list->next; ctd 704 drivers/media/platform/ti-vpe/vpdma.c WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); ctd 706 drivers/media/platform/ti-vpe/vpdma.c ctd->w0 = 0; ctd 707 drivers/media/platform/ti-vpe/vpdma.c ctd->w1 = 0; ctd 708 drivers/media/platform/ti-vpe/vpdma.c ctd->w2 = 0; ctd 709 drivers/media/platform/ti-vpe/vpdma.c ctd->type_source_ctl = ctd_type_source_ctl(chan_info[chan].num, ctd 712 drivers/media/platform/ti-vpe/vpdma.c list->next = ctd + 1; ctd 714 drivers/media/platform/ti-vpe/vpdma.c dump_ctd(ctd); ctd 726 drivers/media/platform/ti-vpe/vpdma.c struct vpdma_ctd *ctd; ctd 728 drivers/media/platform/ti-vpe/vpdma.c ctd = list->next; ctd 729 drivers/media/platform/ti-vpe/vpdma.c WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); ctd 731 drivers/media/platform/ti-vpe/vpdma.c ctd->w0 = 0; ctd 732 drivers/media/platform/ti-vpe/vpdma.c ctd->w1 = 0; ctd 733 drivers/media/platform/ti-vpe/vpdma.c ctd->w2 = 0; ctd 734 drivers/media/platform/ti-vpe/vpdma.c ctd->type_source_ctl = ctd_type_source_ctl(chan_num, ctd 737 drivers/media/platform/ti-vpe/vpdma.c list->next = ctd + 1; ctd 739 drivers/media/platform/ti-vpe/vpdma.c dump_ctd(ctd); ctd 593 drivers/media/platform/ti-vpe/vpdma_priv.h static inline u32 ctd_get_pixel_count(struct vpdma_ctd *ctd) ctd 595 drivers/media/platform/ti-vpe/vpdma_priv.h return ctd->pixel_line_count >> CTD_PIXEL_COUNT_SHFT; ctd 598 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_line_count(struct vpdma_ctd *ctd) ctd 600 drivers/media/platform/ti-vpe/vpdma_priv.h return ctd->pixel_line_count & CTD_LINE_COUNT_MASK; ctd 603 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_event(struct vpdma_ctd *ctd) ctd 605 drivers/media/platform/ti-vpe/vpdma_priv.h return ctd->event & CTD_EVENT_MASK; ctd 608 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_fid2_ctl(struct vpdma_ctd *ctd) ctd 610 drivers/media/platform/ti-vpe/vpdma_priv.h return (ctd->fid_ctl >> CTD_FID2_SHFT) & CTD_FID2_MASK; ctd 613 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_fid1_ctl(struct vpdma_ctd *ctd) ctd 615 drivers/media/platform/ti-vpe/vpdma_priv.h return (ctd->fid_ctl >> CTD_FID1_SHFT) & CTD_FID1_MASK; ctd 618 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_fid0_ctl(struct vpdma_ctd *ctd) ctd 620 drivers/media/platform/ti-vpe/vpdma_priv.h return ctd->fid_ctl & CTD_FID2_MASK; ctd 623 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_pkt_type(struct vpdma_ctd *ctd) ctd 625 drivers/media/platform/ti-vpe/vpdma_priv.h return ctd->type_source_ctl >> CTD_PKT_TYPE_SHFT; ctd 628 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_source(struct vpdma_ctd *ctd) ctd 630 drivers/media/platform/ti-vpe/vpdma_priv.h return (ctd->type_source_ctl >> CTD_SOURCE_SHFT) & CTD_SOURCE_MASK; ctd 633 drivers/media/platform/ti-vpe/vpdma_priv.h static inline int ctd_get_ctl(struct vpdma_ctd *ctd) ctd 635 drivers/media/platform/ti-vpe/vpdma_priv.h return ctd->type_source_ctl & CTD_CONTROL_MASK;