Searched refs:sg_index (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/dma/sh/ |
D | usb-dmac.c | 56 unsigned int sg_index; member 240 chan->desc->sg_index = 0; in usb_dmac_chan_start_desc() 469 unsigned int sg_index) in usb_dmac_get_current_residue() argument 471 struct usb_dmac_sg *sg = desc->sg + sg_index; in usb_dmac_get_current_residue() 519 for (i = desc->sg_index + 1; i < desc->sg_len; i++) in usb_dmac_chan_get_residue() 523 residue += usb_dmac_get_current_residue(chan, desc, desc->sg_index); in usb_dmac_chan_get_residue() 583 if (++desc->sg_index < desc->sg_len) { in usb_dmac_isr_transfer_end() 584 usb_dmac_chan_start_sg(chan, desc->sg_index); in usb_dmac_isr_transfer_end() 587 desc->sg_index - 1); in usb_dmac_isr_transfer_end()
|
/linux-6.1.9/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 803 u32 sg_index = 0; in cc_aead_chain_data() local 819 sg_index = areq_ctx->src_sgl->length; in cc_aead_chain_data() 821 while (src_mapped_nents && (sg_index <= size_to_skip)) { in cc_aead_chain_data() 828 sg_index += areq_ctx->src_sgl->length; in cc_aead_chain_data() 858 sg_index = areq_ctx->dst_sgl->length; in cc_aead_chain_data() 862 while (dst_mapped_nents && sg_index <= size_to_skip) { in cc_aead_chain_data() 869 sg_index += areq_ctx->dst_sgl->length; in cc_aead_chain_data()
|
/linux-6.1.9/drivers/dma/ |
D | sprd-dma.c | 746 unsigned int sglen, int sg_index, in sprd_dma_fill_desc() argument 848 temp = sglen ? (sg_index + 1) % sglen : 0; in sprd_dma_fill_desc() 877 unsigned int sglen, int sg_index, in sprd_dma_fill_linklist_desc() argument 890 sg_index * sizeof(*hw)); in sprd_dma_fill_linklist_desc() 892 return sprd_dma_fill_desc(chan, hw, sglen, sg_index, src, dst, len, in sprd_dma_fill_linklist_desc()
|
/linux-6.1.9/drivers/scsi/ |
D | dc395x.c | 221 u8 sg_index; /* Index of HW sg entry for this request */ member 875 srb->sg_index = 0; in build_srb() 1060 srb->segment_x, srb->sg_count, srb->sg_index, in DEF_SCSI_QCMD() 1778 unsigned idx = srb->sg_index; in sg_verify_length() 1798 struct SGentry *psge = srb->segment_x + srb->sg_index; in sg_update_list() 1810 for (idx = srb->sg_index; idx < srb->sg_count; idx++) { in sg_update_list() 1821 srb->sg_index = idx; in sg_update_list() 1989 if ((srb->segment_x[srb->sg_index].length == in data_out_phase0() 2253 srb->total_xfer_length, srb->sg_index, srb->sg_count); in data_io_transfer() 2256 if (srb->sg_index >= srb->sg_count) { in data_io_transfer() [all …]
|
D | FlashPoint.c | 4924 unsigned int sg_index; in FPT_busMstrSGDataXferStart() local 4936 sg_index = pcurrSCCB->Sccb_sgseg; in FPT_busMstrSGDataXferStart() 4945 ((sg_index * (unsigned int)SG_ELEMENT_SIZE) < in FPT_busMstrSGDataXferStart() 4949 sg_index; in FPT_busMstrSGDataXferStart() 4969 sg_index++; in FPT_busMstrSGDataXferStart() 5378 unsigned int sg_index; in FPT_hostDataXferRestart() local 5385 sg_index = 0xffff; /*Index by long words into sg list. */ in FPT_hostDataXferRestart() 5391 sg_index++; in FPT_hostDataXferRestart() 5393 (sg_index * 2); in FPT_hostDataXferRestart() 5400 sg_index++; in FPT_hostDataXferRestart() [all …]
|
D | advansys.c | 7924 ushort sg_index; in AscPutReadySgListQueue() local 7945 sg_index = 1; in AscPutReadySgListQueue() 7992 sg_list[sg_index], in AscPutReadySgListQueue() 7994 sg_index += ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue() 7995 scsiq->next_sg_index = sg_index; in AscPutReadySgListQueue()
|
/linux-6.1.9/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 367 int sg_index; in ahc_sg_bus_to_virt() local 369 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg); in ahc_sg_bus_to_virt() 371 sg_index++; in ahc_sg_bus_to_virt() 373 return (&scb->sg_list[sg_index]); in ahc_sg_bus_to_virt() 379 int sg_index; in ahc_sg_virt_to_bus() local 382 sg_index = sg - &scb->sg_list[1]; in ahc_sg_virt_to_bus() 384 return (scb->sg_list_phys + (sg_index * sizeof(*scb->sg_list))); in ahc_sg_virt_to_bus()
|
/linux-6.1.9/drivers/dma/ppc4xx/ |
D | adma.c | 559 int sg_index, unsigned char mult_value) in ppc440spe_desc_set_src_mult() argument 569 switch (sg_index) { in ppc440spe_desc_set_src_mult()
|