Lines Matching refs:sg_table
150 struct sg_table *table;
177 buffer->sg_table = table;
179 for_each_sg(buffer->sg_table->sgl, sg, buffer->sg_table->nents,
206 for_each_sg(buffer->sg_table->sgl, sg, buffer->sg_table->nents, i)
710 struct sg_table *ion_sg_table(struct ion_client *client,
714 struct sg_table *table;
724 table = buffer->sg_table;
734 static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment,
741 return buffer->sg_table;
745 struct sg_table *table,
752 unsigned long pages = buffer->sg_table->nents;
781 for_each_sg(buffer->sg_table->sgl, sg, buffer->sg_table->nents, i) {
805 for_each_sg(buffer->sg_table->sgl, sg, buffer->sg_table->nents, i) {
1039 dma_sync_sg_for_device(NULL, buffer->sg_table->sgl,
1040 buffer->sg_table->nents, DMA_BIDIRECTIONAL);