• Home
  • Raw
  • Download

Lines Matching refs:dtd

301 static inline int dtd_get_data_type(struct vpdma_dtd *dtd)  in dtd_get_data_type()  argument
303 return dtd->type_ctl_stride >> DTD_DATA_TYPE_SHFT; in dtd_get_data_type()
306 static inline bool dtd_get_notify(struct vpdma_dtd *dtd) in dtd_get_notify() argument
308 return (dtd->type_ctl_stride >> DTD_NOTIFY_SHFT) & DTD_NOTIFY_MASK; in dtd_get_notify()
311 static inline int dtd_get_field(struct vpdma_dtd *dtd) in dtd_get_field() argument
313 return (dtd->type_ctl_stride >> DTD_FIELD_SHFT) & DTD_FIELD_MASK; in dtd_get_field()
316 static inline bool dtd_get_1d(struct vpdma_dtd *dtd) in dtd_get_1d() argument
318 return (dtd->type_ctl_stride >> DTD_1D_SHFT) & DTD_1D_MASK; in dtd_get_1d()
321 static inline bool dtd_get_even_line_skip(struct vpdma_dtd *dtd) in dtd_get_even_line_skip() argument
323 return (dtd->type_ctl_stride >> DTD_EVEN_LINE_SKIP_SHFT) in dtd_get_even_line_skip()
327 static inline bool dtd_get_odd_line_skip(struct vpdma_dtd *dtd) in dtd_get_odd_line_skip() argument
329 return (dtd->type_ctl_stride >> DTD_ODD_LINE_SKIP_SHFT) in dtd_get_odd_line_skip()
333 static inline int dtd_get_line_stride(struct vpdma_dtd *dtd) in dtd_get_line_stride() argument
335 return dtd->type_ctl_stride & DTD_LINE_STRIDE_MASK; in dtd_get_line_stride()
338 static inline int dtd_get_line_length(struct vpdma_dtd *dtd) in dtd_get_line_length() argument
340 return dtd->xfer_length_height >> DTD_LINE_LENGTH_SHFT; in dtd_get_line_length()
343 static inline int dtd_get_xfer_height(struct vpdma_dtd *dtd) in dtd_get_xfer_height() argument
345 return dtd->xfer_length_height & DTD_XFER_HEIGHT_MASK; in dtd_get_xfer_height()
348 static inline int dtd_get_pkt_type(struct vpdma_dtd *dtd) in dtd_get_pkt_type() argument
350 return dtd->pkt_ctl >> DTD_PKT_TYPE_SHFT; in dtd_get_pkt_type()
353 static inline bool dtd_get_mode(struct vpdma_dtd *dtd) in dtd_get_mode() argument
355 return (dtd->pkt_ctl >> DTD_MODE_SHFT) & DTD_MODE_MASK; in dtd_get_mode()
358 static inline bool dtd_get_dir(struct vpdma_dtd *dtd) in dtd_get_dir() argument
360 return (dtd->pkt_ctl >> DTD_DIR_SHFT) & DTD_DIR_MASK; in dtd_get_dir()
363 static inline int dtd_get_chan(struct vpdma_dtd *dtd) in dtd_get_chan() argument
365 return (dtd->pkt_ctl >> DTD_CHAN_SHFT) & DTD_CHAN_MASK; in dtd_get_chan()
368 static inline int dtd_get_priority(struct vpdma_dtd *dtd) in dtd_get_priority() argument
370 return (dtd->pkt_ctl >> DTD_PRI_SHFT) & DTD_PRI_MASK; in dtd_get_priority()
373 static inline int dtd_get_next_chan(struct vpdma_dtd *dtd) in dtd_get_next_chan() argument
375 return (dtd->pkt_ctl >> DTD_NEXT_CHAN_SHFT) & DTD_NEXT_CHAN_MASK; in dtd_get_next_chan()
378 static inline int dtd_get_frame_width(struct vpdma_dtd *dtd) in dtd_get_frame_width() argument
380 return dtd->frame_width_height >> DTD_FRAME_WIDTH_SHFT; in dtd_get_frame_width()
383 static inline int dtd_get_frame_height(struct vpdma_dtd *dtd) in dtd_get_frame_height() argument
385 return dtd->frame_width_height & DTD_FRAME_HEIGHT_MASK; in dtd_get_frame_height()
388 static inline int dtd_get_desc_write_addr(struct vpdma_dtd *dtd) in dtd_get_desc_write_addr() argument
390 return dtd->desc_write_addr & DTD_DESC_START_MASK; in dtd_get_desc_write_addr()
393 static inline bool dtd_get_write_desc(struct vpdma_dtd *dtd) in dtd_get_write_desc() argument
395 return (dtd->desc_write_addr >> DTD_WRITE_DESC_SHIFT) & in dtd_get_write_desc()
399 static inline bool dtd_get_drop_data(struct vpdma_dtd *dtd) in dtd_get_drop_data() argument
401 return (dtd->desc_write_addr >> DTD_DROP_DATA_SHIFT) & in dtd_get_drop_data()
405 static inline bool dtd_get_use_desc(struct vpdma_dtd *dtd) in dtd_get_use_desc() argument
407 return dtd->desc_write_addr & DTD_USE_DESC_MASK; in dtd_get_use_desc()
410 static inline int dtd_get_h_start(struct vpdma_dtd *dtd) in dtd_get_h_start() argument
412 return dtd->start_h_v >> DTD_H_START_SHFT; in dtd_get_h_start()
415 static inline int dtd_get_v_start(struct vpdma_dtd *dtd) in dtd_get_v_start() argument
417 return dtd->start_h_v & DTD_V_START_MASK; in dtd_get_v_start()
420 static inline int dtd_get_max_width(struct vpdma_dtd *dtd) in dtd_get_max_width() argument
422 return (dtd->max_width_height >> DTD_MAX_WIDTH_SHFT) & in dtd_get_max_width()
426 static inline int dtd_get_max_height(struct vpdma_dtd *dtd) in dtd_get_max_height() argument
428 return (dtd->max_width_height >> DTD_MAX_HEIGHT_SHFT) & in dtd_get_max_height()