/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 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 …]
|
H A D | ivtv-udma.h | 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_…
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 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 …]
|
H A D | ivtv-udma.h | 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_…
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 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 …]
|
H A D | ivtv-udma.h | 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_…
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/mm/ |
H A D | dmapool.c | 54 struct dma_page { /* cacheable header for 'allocation' bytes */ struct 71 struct dma_page *page; in show_pools() argument 204 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page() 222 struct dma_page *page; in pool_alloc_page() 243 static inline bool is_page_busy(struct dma_page *page) in is_page_busy() 248 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page() 270 struct dma_page *page, *tmp; in dma_pool_destroy() 319 struct dma_page *page; in dma_pool_alloc() 383 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() 385 struct dma_page *page; in pool_find_page() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/mm/ |
H A D | dmapool.c | 54 struct dma_page { /* cacheable header for 'allocation' bytes */ struct 71 struct dma_page *page; in show_pools() argument 204 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page() 222 struct dma_page *page; in pool_alloc_page() 243 static inline bool is_page_busy(struct dma_page *page) in is_page_busy() 248 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page() 270 struct dma_page *page, *tmp; in dma_pool_destroy() 319 struct dma_page *page; in dma_pool_alloc() 383 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() 385 struct dma_page *page; in pool_find_page() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/mm/ |
H A D | dmapool.c | 54 struct dma_page { /* cacheable header for 'allocation' bytes */ struct 71 struct dma_page *page; in show_pools() argument 204 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page() 222 struct dma_page *page; in pool_alloc_page() 243 static inline bool is_page_busy(struct dma_page *page) in is_page_busy() 248 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page() 270 struct dma_page *page, *tmp; in dma_pool_destroy() 319 struct dma_page *page; in dma_pool_alloc() 383 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() 385 struct dma_page *page; in pool_find_page() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/ttm/ |
H A D | ttm_page_alloc_dma.c | 128 struct dma_page { struct 334 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page() 336 struct dma_page *d_page; in __ttm_dma_alloc_page() 338 d_page = kmalloc(sizeof(struct dma_page), GFP_KERNEL); in __ttm_dma_alloc_page() 381 struct dma_page *d_page, *tmp; in ttm_dma_pages_put() 418 struct dma_page *dma_p, *tmp; in ttm_dma_page_pool_free() 677 struct dma_page *d_page, *tmp; in ttm_dma_handle_caching_state_failure() 710 struct dma_page *dma_p; in ttm_dma_pool_alloc_new_pages() 814 struct dma_page *d_page; in ttm_dma_page_pool_fill_locked() 840 struct dma_page *d_page; in ttm_dma_pool_get_pages() [all …]
|