Lines Matching refs:mdl
29 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl);
32 struct cx18_mdl *mdl) in cx18_mdl_sync_for_device() argument
34 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_sync_for_device()
35 cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, in cx18_mdl_sync_for_device()
39 _cx18_mdl_sync_for_device(s, mdl); in cx18_mdl_sync_for_device()
43 void _cx18_mdl_swap(struct cx18_mdl *mdl);
45 static inline void cx18_mdl_swap(struct cx18_mdl *mdl) in cx18_mdl_swap() argument
47 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_swap()
48 cx18_buf_swap(list_first_entry(&mdl->buf_list, in cx18_mdl_swap()
51 _cx18_mdl_swap(mdl); in cx18_mdl_swap()
55 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl,
59 struct cx18_queue *cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_enqueue() argument
62 return _cx18_enqueue(s, mdl, q, 0); /* FIFO */ in cx18_enqueue()
66 struct cx18_queue *cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_push() argument
69 return _cx18_enqueue(s, mdl, q, 1); /* LIFO */ in cx18_push()