Home
last modified time | relevance | path

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

/drivers/dma/
Dstm32-dma.c203 u32 next_sg; member
554 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 …]
Ddma-jz4780.c617 struct jz4780_dma_desc *desc, unsigned int next_sg) in jz4780_dma_desc_residue() argument
623 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue()
626 if (next_sg != 0) in jz4780_dma_desc_residue()
/drivers/staging/ralink-gdma/
Dralink-gdma.c116 unsigned int next_sg; member
286 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 …]
/drivers/staging/mt7621-dma/
Dhsdma-mt7621.c152 unsigned int next_sg; member
395 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()
/drivers/usb/gadget/udc/
Ddummy_hcd.c1330 bool next_sg; in dummy_perform_transfer() local
1355 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()
/drivers/nvme/target/
Dfc.c76 struct scatterlist *next_sg; member
2087 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()
/drivers/ata/
Dlibata-sff.c801 next_sg: in __atapi_pio_bytes()
846 goto next_sg; in __atapi_pio_bytes()