Lines Matching refs:sg_ptr
991 struct scatterlist *sg_ptr; in __msc_buffer_win_alloc() local
999 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { in __msc_buffer_win_alloc()
1001 PAGE_SIZE, &sg_dma_address(sg_ptr), in __msc_buffer_win_alloc()
1006 sg_set_buf(sg_ptr, block, PAGE_SIZE); in __msc_buffer_win_alloc()
1012 for_each_sg(win->sgt->sgl, sg_ptr, i, ret) in __msc_buffer_win_alloc()
1014 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); in __msc_buffer_win_alloc()
1024 struct scatterlist *sg_ptr; in msc_buffer_set_uc() local
1027 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { in msc_buffer_set_uc()
1029 set_memory_uc((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_uc()
1030 PFN_DOWN(sg_ptr->length)); in msc_buffer_set_uc()
1036 struct scatterlist *sg_ptr; in msc_buffer_set_wb() local
1039 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { in msc_buffer_set_wb()
1041 set_memory_wb((unsigned long)sg_virt(sg_ptr), in msc_buffer_set_wb()
1042 PFN_DOWN(sg_ptr->length)); in msc_buffer_set_wb()