Searched refs:sg_idx (Results 1 – 6 of 6) sorted by relevance
220 unsigned int sg_idx; member483 dma_desc->sg_idx++; in tegra_dma_configure_next_sg()486 if (dma_desc->sg_idx == dma_desc->sg_count) in tegra_dma_configure_next_sg()487 dma_desc->sg_idx = 0; in tegra_dma_configure_next_sg()498 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_configure_next_sg()529 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_start()623 dma_desc->bytes_xfer += sg_req[dma_desc->sg_idx].len; in tegra_dma_isr()629 dma_desc->sg_idx++; in tegra_dma_isr()630 if (dma_desc->sg_idx == dma_desc->sg_count) in tegra_dma_isr()754 sg_req[dma_desc->sg_idx].len - (wcount * 4); in tegra_dma_get_residual()
149 .rposition(|sg_idx| self.sg_entries[sg_idx].obj_index == parent) in validate_parent_fixup()151 let sg_idx = self.ancestors[ancestors_i]; in validate_parent_fixup() localVariable152 let sg_entry = match self.sg_entries.get(sg_idx) { in validate_parent_fixup()158 sg_idx, in validate_parent_fixup()185 parent_sg_index: sg_idx, in validate_parent_fixup()
189 unsigned int sg_idx, i; in net_devmem_bind_dmabuf() local256 for_each_sgtable_dma_sg(binding->sgt, sg, sg_idx) { in net_devmem_bind_dmabuf()
271 unsigned int sg_idx; member
122 int sg_idx; member362 cmd->sg_idx = offset / PAGE_SIZE; in nvmet_tcp_build_pdu_iovec()364 sg = &cmd->req.sg[cmd->sg_idx]; in nvmet_tcp_build_pdu_iovec()
1002 unsigned int sg_idx = priv_ep->stream_sg_idx; in cdns3_ep_run_stream_transfer() local1030 trb->buffer = cpu_to_le32(TRB_BUFFER(request->sg[sg_idx].dma_address)); in cdns3_ep_run_stream_transfer()1031 length = request->sg[sg_idx].length; in cdns3_ep_run_stream_transfer()