Home
last modified time | relevance | path

Searched refs:uv_pages (Results 1 – 1 of 1) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-yuv.c33 int y_pages, uv_pages; in ivtv_yuv_prep_user_dma() local
67 uv_pages = 0; /* silence gcc. value is set and consumed only if: */ in ivtv_yuv_prep_user_dma()
69 uv_pages = pin_user_pages_unlocked(uv_dma.uaddr, in ivtv_yuv_prep_user_dma()
74 if (y_pages != y_dma.page_count || uv_pages != uv_dma.page_count) { in ivtv_yuv_prep_user_dma()
80 uv_pages, uv_dma.page_count); in ivtv_yuv_prep_user_dma()
82 if (uv_pages >= 0) { in ivtv_yuv_prep_user_dma()
83 unpin_user_pages(&dma->map[y_pages], uv_pages); in ivtv_yuv_prep_user_dma()
86 rc = uv_pages; in ivtv_yuv_prep_user_dma()
107 dma->page_count = y_pages + uv_pages; in ivtv_yuv_prep_user_dma()