25 #define IVTV_DMA_UNMAPPED ((u32) -1)
26 #define SLICED_VBI_PIO 0
30 static inline int ivtv_might_use_pio(
struct ivtv_stream *
s)
43 static inline int ivtv_might_use_dma(
struct ivtv_stream *
s)
50 return !ivtv_use_pio(s);
82 static inline void ivtv_stream_sync_for_cpu(
struct ivtv_stream *s)
89 static inline void ivtv_stream_sync_for_device(
struct ivtv_stream *s)
92 pci_dma_sync_single_for_device(s->
itv->pdev, s->
sg_handle,