Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-udma.c16 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 …]
H A Divtv-udma.h13 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_…
/openbmc/linux/mm/
H A Ddmapool.c63 struct dma_page { /* cacheable header for 'allocation' bytes */ struct
120 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
122 struct dma_page *page; in pool_find_page()
136 struct dma_page *page; in pool_block_err()
159 static void pool_init_page(struct dma_pool *pool, struct dma_page *page) in pool_init_page()
176 static void pool_init_page(struct dma_pool *pool, struct dma_page *page) in pool_init_page()
300 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
334 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
336 struct dma_page *page; in pool_alloc_page()
362 struct dma_page *page, *tmp; in dma_pool_destroy()
[all …]