Lines Matching refs:y_pages
33 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()
102 rc = y_pages; in ivtv_yuv_prep_user_dma()
107 dma->page_count = y_pages + uv_pages; in ivtv_yuv_prep_user_dma()