Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c42 obj->mm.get_page.sg_idx = 0; in __i915_gem_object_set_pages()
44 obj->mm.get_dma_page.sg_idx = 0; in __i915_gem_object_set_pages()
536 if (n < READ_ONCE(iter->sg_idx)) in __i915_gem_object_get_sg()
547 idx = iter->sg_idx; in __i915_gem_object_get_sg()
581 iter->sg_idx = idx; in __i915_gem_object_get_sg()
Di915_gem_object_types.h225 unsigned int sg_idx; /* in pages, but 32bit eek! */ member
Di915_gem_ttm_move.c632 obj->ttm.get_io_page.sg_idx = 0; in i915_ttm_move()
/linux-6.1.9/drivers/dma/
Dtegra186-gpc-dma.c217 unsigned int sg_idx; member
474 dma_desc->sg_idx++; in tegra_dma_configure_next_sg()
477 if (dma_desc->sg_idx == dma_desc->sg_count) in tegra_dma_configure_next_sg()
478 dma_desc->sg_idx = 0; in tegra_dma_configure_next_sg()
489 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_configure_next_sg()
520 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_start()
613 dma_desc->bytes_xfer += sg_req[dma_desc->sg_idx].len; in tegra_dma_isr()
619 dma_desc->sg_idx++; in tegra_dma_isr()
620 if (dma_desc->sg_idx == dma_desc->sg_count) in tegra_dma_isr()
743 sg_req[dma_desc->sg_idx].len - (wcount * 4); in tegra_dma_get_residual()
/linux-6.1.9/fs/ksmbd/
Dauth.c1028 int i, nr_entries[3] = {0}, total_entries = 0, sg_idx = 0; in ksmbd_init_sg() local
1054 smb2_sg_set_buf(&sg[sg_idx++], iov[0].iov_base + 24, assoc_data_len); in ksmbd_init_sg()
1071 sg_set_page(&sg[sg_idx++], in ksmbd_init_sg()
1080 sg_set_page(&sg[sg_idx++], virt_to_page(data), len, in ksmbd_init_sg()
1084 smb2_sg_set_buf(&sg[sg_idx], sign, SMB2_SIGNATURE_SIZE); in ksmbd_init_sg()
/linux-6.1.9/drivers/mmc/host/
Dsh_mmcif.c237 int sg_idx; member
615 if (++host->sg_idx < data->sg_len) in sh_mmcif_next_block()
621 return host->sg_idx != data->sg_len; in sh_mmcif_next_block()
671 host->sg_idx = 0; in sh_mmcif_multi_read()
751 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()
/linux-6.1.9/sound/soc/intel/atom/sst/
Dsst.h274 unsigned int sg_idx; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/nvme/target/
Dtcp.c79 int sg_idx; member
317 cmd->sg_idx = offset / PAGE_SIZE; in nvmet_tcp_build_pdu_iovec()
319 sg = &cmd->req.sg[cmd->sg_idx]; in nvmet_tcp_build_pdu_iovec()
/linux-6.1.9/drivers/usb/cdns3/
Dcdns3-gadget.c996 unsigned int sg_idx = priv_ep->stream_sg_idx; in cdns3_ep_run_stream_transfer() local
1024 trb->buffer = cpu_to_le32(TRB_BUFFER(request->sg[sg_idx].dma_address)); in cdns3_ep_run_stream_transfer()
1025 length = request->sg[sg_idx].length; in cdns3_ep_run_stream_transfer()