Home
last modified time | relevance | path

Searched refs:sg_idx (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c30 obj->mm.get_page.sg_idx = 0; in __i915_gem_object_set_pages()
395 if (n < READ_ONCE(iter->sg_idx)) in i915_gem_object_get_sg()
406 idx = iter->sg_idx; in i915_gem_object_get_sg()
440 iter->sg_idx = idx; in i915_gem_object_get_sg()
Di915_gem_object_types.h197 unsigned int sg_idx; /* in pages, but 32bit eek! */ member
/drivers/mmc/host/
Domap.c147 int sg_idx; member
647 sg = host->data->sg + host->sg_idx; in mmc_omap_sg_to_buf()
669 host->sg_idx++; in mmc_omap_xfer_data()
670 BUG_ON(host->sg_idx == host->sg_len); in mmc_omap_xfer_data()
980 host->sg_idx = 0; in mmc_omap_prepare_data()
Dsh_mmcif.c237 int sg_idx; member
609 if (++host->sg_idx < data->sg_len) in sh_mmcif_next_block()
615 return host->sg_idx != data->sg_len; in sh_mmcif_next_block()
665 host->sg_idx = 0; in sh_mmcif_multi_read()
745 host->sg_idx = 0; in sh_mmcif_multi_write()
/drivers/nvme/target/
Dtcp.c59 int sg_idx; member
275 sg = &cmd->req.sg[cmd->sg_idx]; in nvmet_tcp_unmap_pdu_iovec()
290 cmd->sg_idx = DIV_ROUND_UP(offset, PAGE_SIZE); in nvmet_tcp_map_pdu_iovec()
292 sg = &cmd->req.sg[cmd->sg_idx]; in nvmet_tcp_map_pdu_iovec()
/drivers/scsi/isci/
Drequest.c119 u32 sg_idx = 0; in sci_request_build_sgl() local
127 scu_sg = to_sgl_element_pair(ireq, sg_idx); in sci_request_build_sgl()
139 sg_idx); in sci_request_build_sgl()
148 sg_idx++; in sci_request_build_sgl()
151 scu_sg = to_sgl_element_pair(ireq, sg_idx); in sci_request_build_sgl()