Home
last modified time | relevance | path

Searched refs:y_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
65 y_pages = pin_user_pages_unlocked(y_dma.uaddr, in ivtv_yuv_prep_user_dma()
68 if (y_pages == y_dma.page_count) { in ivtv_yuv_prep_user_dma()
70 uv_dma.page_count, &dma->map[y_pages], 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()
77 if (y_pages == y_dma.page_count) { in ivtv_yuv_prep_user_dma()
83 unpin_user_pages(&dma->map[y_pages], uv_pages); in ivtv_yuv_prep_user_dma()
91 y_pages, y_dma.page_count); in ivtv_yuv_prep_user_dma()
93 if (y_pages >= 0) { in ivtv_yuv_prep_user_dma()
94 unpin_user_pages(dma->map, y_pages); in ivtv_yuv_prep_user_dma()
[all …]