Lines Matching refs:sgt
98 struct sg_table *sgt) in fpga_mgr_write_init_sg() argument
112 sg_miter_start(&miter, sgt->sgl, sgt->nents, SG_MITER_FROM_SG); in fpga_mgr_write_init_sg()
127 len = sg_copy_to_buffer(sgt->sgl, sgt->nents, buf, in fpga_mgr_write_init_sg()
176 struct sg_table *sgt) in fpga_mgr_buf_load_sg() argument
180 ret = fpga_mgr_write_init_sg(mgr, info, sgt); in fpga_mgr_buf_load_sg()
187 ret = mgr->mops->write_sg(mgr, sgt); in fpga_mgr_buf_load_sg()
191 sg_miter_start(&miter, sgt->sgl, sgt->nents, SG_MITER_FROM_SG); in fpga_mgr_buf_load_sg()
252 struct sg_table sgt; in fpga_mgr_buf_load() local
293 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
299 rc = fpga_mgr_buf_load_sg(mgr, info, &sgt); in fpga_mgr_buf_load()
300 sg_free_table(&sgt); in fpga_mgr_buf_load()
357 if (info->sgt) in fpga_mgr_load()
358 return fpga_mgr_buf_load_sg(mgr, info, info->sgt); in fpga_mgr_load()