Searched refs:viter (Results 1 – 2 of 2) sorted by relevance
100 static bool __vmw_piter_non_sg_next(struct vmw_piter *viter) in __vmw_piter_non_sg_next() argument102 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() argument107 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() argument115 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() argument120 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 …]
955 extern void vmw_piter_start(struct vmw_piter *viter,966 static inline bool vmw_piter_next(struct vmw_piter *viter) in vmw_piter_next() argument968 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() argument980 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() argument992 return viter->pages[viter->i]; in vmw_piter_page()