Home
last modified time | relevance | path

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

/linux-6.6.21/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.c625 struct jz4780_dma_desc *desc, unsigned int next_sg) in jz4780_dma_desc_residue() argument
631 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue()
634 if (next_sg != 0) in jz4780_dma_desc_residue()
/linux-6.6.21/lib/
Dscatterlist.c391 struct scatterlist *new_sg, *next_sg; in get_next_sg() local
395 next_sg = sg_next(cur); in get_next_sg()
397 if (!sg_is_last(next_sg) || needed_sges == 1) in get_next_sg()
398 return next_sg; in get_next_sg()
408 __sg_chain(next_sg, new_sg); in get_next_sg()
/linux-6.6.21/drivers/nvme/target/
Dfc.c76 struct scatterlist *next_sg; member
2106 fod->next_sg = fod->data_sg; in nvmet_fc_alloc_tgt_pgs()
2251 struct scatterlist *sg = fod->next_sg; in nvmet_fc_transfer_fcp_data()
2285 fod->next_sg = sg; in nvmet_fc_transfer_fcp_data()
2287 fod->next_sg = NULL; in nvmet_fc_transfer_fcp_data()
/linux-6.6.21/drivers/usb/gadget/udc/
Ddummy_hcd.c1341 bool next_sg; in dummy_perform_transfer() local
1366 next_sg = sg_miter_next(miter); in dummy_perform_transfer()
1367 if (next_sg == false) { in dummy_perform_transfer()
1385 next_sg = sg_miter_next(miter); in dummy_perform_transfer()
1386 if (next_sg == false) { in dummy_perform_transfer()
/linux-6.6.21/drivers/ata/
Dlibata-sff.c740 next_sg: in __atapi_pio_bytes()
785 goto next_sg; in __atapi_pio_bytes()