Home
last modified time | relevance | path

Searched refs:next_sg (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/dma/
Ddma-jz4740.c121 unsigned int next_sg; member
302 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() argument
453 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 …]
Dstm32-dma.c198 u32 next_sg; member
563 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 …]
Ddma-jz4780.c549 struct jz4780_dma_desc *desc, unsigned int next_sg) in jz4780_dma_desc_residue() argument
557 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue()
560 if (next_sg != 0) { in jz4780_dma_desc_residue()
/Linux-v4.19/drivers/staging/mt7621-dma/
Dralink-gdma.c122 unsigned int next_sg; member
298 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 …]
Dmtk-hsdma.c157 unsigned int next_sg; member
401 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()
/Linux-v4.19/drivers/nvme/target/
Dfc.c77 struct scatterlist *next_sg; member
1725 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()
/Linux-v4.19/drivers/usb/gadget/udc/
Ddummy_hcd.c1325 bool next_sg; in dummy_perform_transfer() local
1350 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()
/Linux-v4.19/drivers/ata/
Dlibata-sff.c796 next_sg: in __atapi_pio_bytes()
841 goto next_sg; in __atapi_pio_bytes()