Searched refs:next_sg (Results 1 – 8 of 8) sorted by relevance
121 unsigned int next_sg; member302 chan->next_sg = 0; in jz4740_dma_start_transfer()305 if (chan->next_sg == chan->desc->num_sgs) in jz4740_dma_start_transfer()306 chan->next_sg = 0; in jz4740_dma_start_transfer()308 sg = &chan->desc->sg[chan->next_sg]; in jz4740_dma_start_transfer()322 chan->next_sg++; in jz4740_dma_start_transfer()343 if (chan->next_sg == chan->desc->num_sgs) { in jz4740_dma_chan_irq()445 struct jz4740_dma_desc *desc, unsigned int next_sg) in jz4740_dma_desc_residue() argument453 for (i = next_sg; i < desc->num_sgs; i++) in jz4740_dma_desc_residue()456 if (next_sg != 0) { in jz4740_dma_desc_residue()[all …]
198 u32 next_sg; member563 chan->next_sg = 0; in stm32_dma_start_transfer()566 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_start_transfer()567 chan->next_sg = 0; in stm32_dma_start_transfer()569 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_start_transfer()579 chan->next_sg++; in stm32_dma_start_transfer()610 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_configure_next_sg()611 chan->next_sg = 0; in stm32_dma_configure_next_sg()613 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_configure_next_sg()634 chan->next_sg++; in stm32_dma_handle_chan_done()[all …]
549 struct jz4780_dma_desc *desc, unsigned int next_sg) in jz4780_dma_desc_residue() argument557 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue()560 if (next_sg != 0) { in jz4780_dma_desc_residue()
122 unsigned int next_sg; member298 sg = &chan->desc->sg[chan->next_sg]; in rt305x_gdma_start_transfer()332 chan->next_sg++; in rt305x_gdma_start_transfer()376 sg = &chan->desc->sg[chan->next_sg]; in rt3883_gdma_start_transfer()408 chan->next_sg++; in rt3883_gdma_start_transfer()436 chan->next_sg = 0; in gdma_next_desc()454 if (chan->next_sg == desc->num_sgs) in gdma_dma_chan_irq()455 chan->next_sg = 0; in gdma_dma_chan_irq()458 desc->residue -= desc->sg[chan->next_sg - 1].len; in gdma_dma_chan_irq()459 if (chan->next_sg == desc->num_sgs) { in gdma_dma_chan_irq()[all …]
157 unsigned int next_sg; member401 chan->next_sg = 0; in gdma_next_desc()416 if (chan->next_sg == desc->num_sgs) { in mtk_hsdma_chan_done()531 chan->next_sg += cnt; in mtk_hsdma_rx()
77 struct scatterlist *next_sg; member1725 fod->next_sg = fod->data_sg; in nvmet_fc_alloc_tgt_pgs()1870 struct scatterlist *sg = fod->next_sg; in nvmet_fc_transfer_fcp_data()1904 fod->next_sg = sg; in nvmet_fc_transfer_fcp_data()1906 fod->next_sg = NULL; in nvmet_fc_transfer_fcp_data()
1325 bool next_sg; in dummy_perform_transfer() local1350 next_sg = sg_miter_next(miter); in dummy_perform_transfer()1351 if (next_sg == false) { in dummy_perform_transfer()1369 next_sg = sg_miter_next(miter); in dummy_perform_transfer()1370 if (next_sg == false) { in dummy_perform_transfer()
796 next_sg: in __atapi_pio_bytes()841 goto next_sg; in __atapi_pio_bytes()