25 #define CX18_DMA_UNMAPPED ((u32) -1)
29 static inline void cx18_buf_sync_for_cpu(
struct cx18_stream *
s,
32 pci_dma_sync_single_for_cpu(s->
cx->pci_dev, buf->
dma_handle,
36 static inline void cx18_buf_sync_for_device(
struct cx18_stream *
s,
39 pci_dma_sync_single_for_device(s->
cx->pci_dev, buf->
dma_handle,
45 static inline void cx18_mdl_sync_for_device(
struct cx18_stream *
s,
48 if (list_is_singular(&mdl->
buf_list))
59 static inline void cx18_mdl_swap(
struct cx18_mdl *mdl)
61 if (list_is_singular(&mdl->
buf_list))