Lines Matching refs:dtd

302 static inline int dtd_get_data_type(struct vpdma_dtd *dtd)  in dtd_get_data_type()  argument
304 return dtd->type_ctl_stride >> DTD_DATA_TYPE_SHFT; in dtd_get_data_type()
307 static inline bool dtd_get_notify(struct vpdma_dtd *dtd) in dtd_get_notify() argument
309 return (dtd->type_ctl_stride >> DTD_NOTIFY_SHFT) & DTD_NOTIFY_MASK; in dtd_get_notify()
312 static inline int dtd_get_field(struct vpdma_dtd *dtd) in dtd_get_field() argument
314 return (dtd->type_ctl_stride >> DTD_FIELD_SHFT) & DTD_FIELD_MASK; in dtd_get_field()
317 static inline bool dtd_get_1d(struct vpdma_dtd *dtd) in dtd_get_1d() argument
319 return (dtd->type_ctl_stride >> DTD_1D_SHFT) & DTD_1D_MASK; in dtd_get_1d()
322 static inline bool dtd_get_even_line_skip(struct vpdma_dtd *dtd) in dtd_get_even_line_skip() argument
324 return (dtd->type_ctl_stride >> DTD_EVEN_LINE_SKIP_SHFT) in dtd_get_even_line_skip()
328 static inline bool dtd_get_odd_line_skip(struct vpdma_dtd *dtd) in dtd_get_odd_line_skip() argument
330 return (dtd->type_ctl_stride >> DTD_ODD_LINE_SKIP_SHFT) in dtd_get_odd_line_skip()
334 static inline int dtd_get_line_stride(struct vpdma_dtd *dtd) in dtd_get_line_stride() argument
336 return dtd->type_ctl_stride & DTD_LINE_STRIDE_MASK; in dtd_get_line_stride()
339 static inline int dtd_get_line_length(struct vpdma_dtd *dtd) in dtd_get_line_length() argument
341 return dtd->xfer_length_height >> DTD_LINE_LENGTH_SHFT; in dtd_get_line_length()
344 static inline int dtd_get_xfer_height(struct vpdma_dtd *dtd) in dtd_get_xfer_height() argument
346 return dtd->xfer_length_height & DTD_XFER_HEIGHT_MASK; in dtd_get_xfer_height()
349 static inline int dtd_get_pkt_type(struct vpdma_dtd *dtd) in dtd_get_pkt_type() argument
351 return dtd->pkt_ctl >> DTD_PKT_TYPE_SHFT; in dtd_get_pkt_type()
354 static inline bool dtd_get_mode(struct vpdma_dtd *dtd) in dtd_get_mode() argument
356 return (dtd->pkt_ctl >> DTD_MODE_SHFT) & DTD_MODE_MASK; in dtd_get_mode()
359 static inline bool dtd_get_dir(struct vpdma_dtd *dtd) in dtd_get_dir() argument
361 return (dtd->pkt_ctl >> DTD_DIR_SHFT) & DTD_DIR_MASK; in dtd_get_dir()
364 static inline int dtd_get_chan(struct vpdma_dtd *dtd) in dtd_get_chan() argument
366 return (dtd->pkt_ctl >> DTD_CHAN_SHFT) & DTD_CHAN_MASK; in dtd_get_chan()
369 static inline int dtd_get_priority(struct vpdma_dtd *dtd) in dtd_get_priority() argument
371 return (dtd->pkt_ctl >> DTD_PRI_SHFT) & DTD_PRI_MASK; in dtd_get_priority()
374 static inline int dtd_get_next_chan(struct vpdma_dtd *dtd) in dtd_get_next_chan() argument
376 return (dtd->pkt_ctl >> DTD_NEXT_CHAN_SHFT) & DTD_NEXT_CHAN_MASK; in dtd_get_next_chan()
379 static inline int dtd_get_frame_width(struct vpdma_dtd *dtd) in dtd_get_frame_width() argument
381 return dtd->frame_width_height >> DTD_FRAME_WIDTH_SHFT; in dtd_get_frame_width()
384 static inline int dtd_get_frame_height(struct vpdma_dtd *dtd) in dtd_get_frame_height() argument
386 return dtd->frame_width_height & DTD_FRAME_HEIGHT_MASK; in dtd_get_frame_height()
389 static inline int dtd_get_desc_write_addr(struct vpdma_dtd *dtd) in dtd_get_desc_write_addr() argument
391 return dtd->desc_write_addr & DTD_DESC_START_MASK; in dtd_get_desc_write_addr()
394 static inline bool dtd_get_write_desc(struct vpdma_dtd *dtd) in dtd_get_write_desc() argument
396 return (dtd->desc_write_addr >> DTD_WRITE_DESC_SHIFT) & in dtd_get_write_desc()
400 static inline bool dtd_get_drop_data(struct vpdma_dtd *dtd) in dtd_get_drop_data() argument
402 return (dtd->desc_write_addr >> DTD_DROP_DATA_SHIFT) & in dtd_get_drop_data()
406 static inline bool dtd_get_use_desc(struct vpdma_dtd *dtd) in dtd_get_use_desc() argument
408 return dtd->desc_write_addr & DTD_USE_DESC_MASK; in dtd_get_use_desc()
411 static inline int dtd_get_h_start(struct vpdma_dtd *dtd) in dtd_get_h_start() argument
413 return dtd->start_h_v >> DTD_H_START_SHFT; in dtd_get_h_start()
416 static inline int dtd_get_v_start(struct vpdma_dtd *dtd) in dtd_get_v_start() argument
418 return dtd->start_h_v & DTD_V_START_MASK; in dtd_get_v_start()
421 static inline int dtd_get_max_width(struct vpdma_dtd *dtd) in dtd_get_max_width() argument
423 return (dtd->max_width_height >> DTD_MAX_WIDTH_SHFT) & in dtd_get_max_width()
427 static inline int dtd_get_max_height(struct vpdma_dtd *dtd) in dtd_get_max_height() argument
429 return (dtd->max_width_height >> DTD_MAX_HEIGHT_SHFT) & in dtd_get_max_height()