Searched refs:viter (Results 1 – 2 of 2) sorted by relevance
284 static bool __vmw_piter_non_sg_next(struct vmw_piter *viter) in __vmw_piter_non_sg_next() argument286 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() argument291 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() argument308 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() argument322 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 …]
1026 extern void vmw_piter_start(struct vmw_piter *viter,1037 static inline bool vmw_piter_next(struct vmw_piter *viter) in vmw_piter_next() argument1039 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() argument1051 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() argument1063 return viter->page(viter); in vmw_piter_page()