Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/dma/
Dstm32-dma.c217 u32 next_sg; member
550 chan->next_sg++; in stm32_dma_sg_inc()
551 if (chan->desc->cyclic && (chan->next_sg == chan->desc->num_sgs)) in stm32_dma_sg_inc()
552 chan->next_sg = 0; in stm32_dma_sg_inc()
578 chan->next_sg = 0; in stm32_dma_start_transfer()
581 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_start_transfer()
582 chan->next_sg = 0; in stm32_dma_start_transfer()
584 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_start_transfer()
629 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_configure_next_sg()
697 if (!chan->next_sg) in stm32_dma_post_resume_reconfigure()
[all …]
Ddma-jz4780.c626 struct jz4780_dma_desc *desc, unsigned int next_sg) in jz4780_dma_desc_residue() argument
632 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue()
635 if (next_sg != 0) in jz4780_dma_desc_residue()
/Linux-v6.1/lib/
Dscatterlist.c388 struct scatterlist *new_sg, *next_sg; in get_next_sg() local
392 next_sg = sg_next(cur); in get_next_sg()
394 if (!sg_is_last(next_sg) || needed_sges == 1) in get_next_sg()
395 return next_sg; in get_next_sg()
405 __sg_chain(next_sg, new_sg); in get_next_sg()
/Linux-v6.1/drivers/nvme/target/
Dfc.c76 struct scatterlist *next_sg; member
2092 fod->next_sg = fod->data_sg; in nvmet_fc_alloc_tgt_pgs()
2237 struct scatterlist *sg = fod->next_sg; in nvmet_fc_transfer_fcp_data()
2271 fod->next_sg = sg; in nvmet_fc_transfer_fcp_data()
2273 fod->next_sg = NULL; in nvmet_fc_transfer_fcp_data()
/Linux-v6.1/drivers/usb/gadget/udc/
Ddummy_hcd.c1342 bool next_sg; in dummy_perform_transfer() local
1367 next_sg = sg_miter_next(miter); in dummy_perform_transfer()
1368 if (next_sg == false) { in dummy_perform_transfer()
1386 next_sg = sg_miter_next(miter); in dummy_perform_transfer()
1387 if (next_sg == false) { in dummy_perform_transfer()
/Linux-v6.1/drivers/ata/
Dlibata-sff.c796 next_sg: in __atapi_pio_bytes()
841 goto next_sg; in __atapi_pio_bytes()