Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c284 static bool __vmw_piter_non_sg_next(struct vmw_piter *viter) in __vmw_piter_non_sg_next() argument
286 return ++(viter->i) < viter->num_pages; in __vmw_piter_non_sg_next()
289 static bool __vmw_piter_sg_next(struct vmw_piter *viter) in __vmw_piter_sg_next() argument
291 bool ret = __vmw_piter_non_sg_next(viter); in __vmw_piter_sg_next()
293 return __sg_page_iter_dma_next(&viter->iter) && ret; in __vmw_piter_sg_next()
306 static struct page *__vmw_piter_non_sg_page(struct vmw_piter *viter) in __vmw_piter_non_sg_page() argument
308 return viter->pages[viter->i]; in __vmw_piter_non_sg_page()
320 static dma_addr_t __vmw_piter_phys_addr(struct vmw_piter *viter) in __vmw_piter_phys_addr() argument
322 return page_to_phys(viter->pages[viter->i]); in __vmw_piter_phys_addr()
325 static dma_addr_t __vmw_piter_dma_addr(struct vmw_piter *viter) in __vmw_piter_dma_addr() argument
[all …]
Dvmwgfx_drv.h1026 extern void vmw_piter_start(struct vmw_piter *viter,
1037 static inline bool vmw_piter_next(struct vmw_piter *viter) in vmw_piter_next() argument
1039 return viter->next(viter); in vmw_piter_next()
1049 static inline dma_addr_t vmw_piter_dma_addr(struct vmw_piter *viter) in vmw_piter_dma_addr() argument
1051 return viter->dma_address(viter); in vmw_piter_dma_addr()
1061 static inline struct page *vmw_piter_page(struct vmw_piter *viter) in vmw_piter_page() argument
1063 return viter->page(viter); in vmw_piter_page()