Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c100 static bool __vmw_piter_non_sg_next(struct vmw_piter *viter) in __vmw_piter_non_sg_next() argument
102 return ++(viter->i) < viter->num_pages; in __vmw_piter_non_sg_next()
105 static bool __vmw_piter_sg_next(struct vmw_piter *viter) in __vmw_piter_sg_next() argument
107 bool ret = __vmw_piter_non_sg_next(viter); in __vmw_piter_sg_next()
109 return __sg_page_iter_dma_next(&viter->iter) && ret; in __vmw_piter_sg_next()
113 static dma_addr_t __vmw_piter_dma_addr(struct vmw_piter *viter) in __vmw_piter_dma_addr() argument
115 return viter->addrs[viter->i]; in __vmw_piter_dma_addr()
118 static dma_addr_t __vmw_piter_sg_addr(struct vmw_piter *viter) in __vmw_piter_sg_addr() argument
120 return sg_page_iter_dma_address(&viter->iter); in __vmw_piter_sg_addr()
135 void vmw_piter_start(struct vmw_piter *viter, const struct vmw_sg_table *vsgt, in vmw_piter_start() argument
[all …]
Dvmwgfx_drv.h955 extern void vmw_piter_start(struct vmw_piter *viter,
966 static inline bool vmw_piter_next(struct vmw_piter *viter) in vmw_piter_next() argument
968 return viter->next(viter); in vmw_piter_next()
978 static inline dma_addr_t vmw_piter_dma_addr(struct vmw_piter *viter) in vmw_piter_dma_addr() argument
980 return viter->dma_address(viter); in vmw_piter_dma_addr()
990 static inline struct page *vmw_piter_page(struct vmw_piter *viter) in vmw_piter_page() argument
992 return viter->pages[viter->i]; in vmw_piter_page()