Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c37 obj->mm.get_page.sg_idx = 0; in __i915_gem_object_set_pages()
472 if (n < READ_ONCE(iter->sg_idx)) in i915_gem_object_get_sg()
483 idx = iter->sg_idx; in i915_gem_object_get_sg()
517 iter->sg_idx = idx; in i915_gem_object_get_sg()
Di915_gem_object_types.h254 unsigned int sg_idx; /* in pages, but 32bit eek! */ member
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsh_mmcif.c237 int sg_idx; member
613 if (++host->sg_idx < data->sg_len) in sh_mmcif_next_block()
619 return host->sg_idx != data->sg_len; in sh_mmcif_next_block()
669 host->sg_idx = 0; in sh_mmcif_multi_read()
749 host->sg_idx = 0; in sh_mmcif_multi_write()
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()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dtcp.c69 int sg_idx; member
293 sg = &cmd->req.sg[cmd->sg_idx]; in nvmet_tcp_unmap_pdu_iovec()
308 cmd->sg_idx = offset / PAGE_SIZE; in nvmet_tcp_map_pdu_iovec()
310 sg = &cmd->req.sg[cmd->sg_idx]; in nvmet_tcp_map_pdu_iovec()
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst.h274 unsigned int sg_idx; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c1010 unsigned int sg_idx = priv_ep->stream_sg_idx; in cdns3_ep_run_stream_transfer() local
1038 trb->buffer = cpu_to_le32(TRB_BUFFER(request->sg[sg_idx].dma_address)); in cdns3_ep_run_stream_transfer()
1039 length = request->sg[sg_idx].length; in cdns3_ep_run_stream_transfer()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch56886 + unsigned int sg_idx;
56889 + for (sg_idx = 0; sg_idx < video->num_sgs; sg_idx++) {
56890 + mem = sg_virt(&req->sg[sg_idx]);
56903 + sg_set_buf(&req->sg[sg_idx], sg_virt(&req->sg[sg_idx]),
56915 + req->num_sgs = sg_idx + 1;
56916 + sg_mark_end(&req->sg[sg_idx]);
56954 + unsigned int sg_idx;
56960 + for (sg_idx = 0; sg_idx < video->num_sgs; sg_idx++)
56961 + if (sg_page(&video->req[i]->sg[sg_idx]))
56962 + kfree(sg_virt(&video->req[i]->sg[sg_idx]));
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch359184 + unsigned int sg_idx;
359187 + for (sg_idx = 0; sg_idx < video->num_sgs; sg_idx++) {
359188 + mem = sg_virt(&req->sg[sg_idx]);
359201 + sg_set_buf(&req->sg[sg_idx], sg_virt(&req->sg[sg_idx]),
359213 + req->num_sgs = sg_idx + 1;
359214 + sg_mark_end(&req->sg[sg_idx]);
359273 + unsigned int sg_idx;
359279 + for (sg_idx = 0; sg_idx < video->num_sgs; sg_idx++)
359280 + if (sg_page(&video->req[i]->sg[sg_idx]))
359281 + kfree(sg_virt(&video->req[i]->sg[sg_idx]));
[all …]