Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/pci/ivtv/
Divtv-udma.c95 struct ivtv_dma_page_info user_dma; in ivtv_udma_setup() local
108 ivtv_udma_get_page_info(&user_dma, (unsigned long)userbuf, size_in_bytes); in ivtv_udma_setup()
110 if (user_dma.page_count <= 0) { in ivtv_udma_setup()
112 user_dma.page_count, size_in_bytes, user_dma.offset); in ivtv_udma_setup()
117 err = pin_user_pages_unlocked(user_dma.uaddr, user_dma.page_count, in ivtv_udma_setup()
120 if (user_dma.page_count != err) { in ivtv_udma_setup()
122 err, user_dma.page_count); in ivtv_udma_setup()
130 dma->page_count = user_dma.page_count; in ivtv_udma_setup()
133 if (ivtv_udma_fill_sg_list(dma, &user_dma, 0) < 0) { in ivtv_udma_setup()