Searched refs:dma_page (Results 1 – 3 of 3) sorted by relevance
16 dma_page->uaddr = first & PAGE_MASK; in ivtv_udma_get_page_info()17 dma_page->offset = first & ~PAGE_MASK; in ivtv_udma_get_page_info()18 dma_page->tail = 1 + ((first+size-1) & ~PAGE_MASK); in ivtv_udma_get_page_info()19 dma_page->first = (first & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info()20 dma_page->last = ((first+size-1) & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info()21 dma_page->page_count = dma_page->last - dma_page->first + 1; in ivtv_udma_get_page_info()22 if (dma_page->page_count == 1) dma_page->tail -= dma_page->offset; in ivtv_udma_get_page_info()33 offset = dma_page->offset; in ivtv_udma_fill_sg_list()36 for (i = 0; i < dma_page->page_count; i++) { in ivtv_udma_fill_sg_list()37 unsigned int len = (i == dma_page->page_count - 1) ? in ivtv_udma_fill_sg_list()[all …]
13 void ivtv_udma_get_page_info(struct ivtv_dma_page_info *dma_page, unsigned long first, unsigned lon…14 int ivtv_udma_fill_sg_list(struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map_…
54 struct dma_page { /* cacheable header for 'allocation' bytes */ struct70 struct dma_page *page; in pools_show() argument203 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()221 struct dma_page *page; in pool_alloc_page()242 static inline bool is_page_busy(struct dma_page *page) in is_page_busy()247 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()269 struct dma_page *page, *tmp; in dma_pool_destroy()318 struct dma_page *page; in dma_pool_alloc()382 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()384 struct dma_page *page; in pool_find_page()[all …]
Completed in 5 milliseconds