Searched refs:next_sg (Results 1 – 7 of 7) sorted by relevance
203 u32 next_sg; member554 chan->next_sg = 0; in stm32_dma_start_transfer()557 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_start_transfer()558 chan->next_sg = 0; in stm32_dma_start_transfer()560 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_start_transfer()571 chan->next_sg++; in stm32_dma_start_transfer()602 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_configure_next_sg()603 chan->next_sg = 0; in stm32_dma_configure_next_sg()605 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_configure_next_sg()626 chan->next_sg++; in stm32_dma_handle_chan_done()[all …]
617 struct jz4780_dma_desc *desc, unsigned int next_sg) in jz4780_dma_desc_residue() argument623 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue()626 if (next_sg != 0) in jz4780_dma_desc_residue()
116 unsigned int next_sg; member286 sg = &chan->desc->sg[chan->next_sg]; in rt305x_gdma_start_transfer()320 chan->next_sg++; in rt305x_gdma_start_transfer()363 sg = &chan->desc->sg[chan->next_sg]; in rt3883_gdma_start_transfer()395 chan->next_sg++; in rt3883_gdma_start_transfer()423 chan->next_sg = 0; in gdma_next_desc()441 if (chan->next_sg == desc->num_sgs) in gdma_dma_chan_irq()442 chan->next_sg = 0; in gdma_dma_chan_irq()445 desc->residue -= desc->sg[chan->next_sg - 1].len; in gdma_dma_chan_irq()446 if (chan->next_sg == desc->num_sgs) { in gdma_dma_chan_irq()[all …]
152 unsigned int next_sg; member395 chan->next_sg = 0; in gdma_next_desc()410 if (chan->next_sg == desc->num_sgs) { in mtk_hsdma_chan_done()526 chan->next_sg += cnt; in mtk_hsdma_rx()
1330 bool next_sg; in dummy_perform_transfer() local1355 next_sg = sg_miter_next(miter); in dummy_perform_transfer()1356 if (next_sg == false) { in dummy_perform_transfer()1374 next_sg = sg_miter_next(miter); in dummy_perform_transfer()1375 if (next_sg == false) { in dummy_perform_transfer()
76 struct scatterlist *next_sg; member2087 fod->next_sg = fod->data_sg; in nvmet_fc_alloc_tgt_pgs()2232 struct scatterlist *sg = fod->next_sg; in nvmet_fc_transfer_fcp_data()2266 fod->next_sg = sg; in nvmet_fc_transfer_fcp_data()2268 fod->next_sg = NULL; in nvmet_fc_transfer_fcp_data()
801 next_sg: in __atapi_pio_bytes()846 goto next_sg; in __atapi_pio_bytes()