Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
Da100u2w.c845 struct orc_sgent *sgent; /* Pointer to SG list */ in inia100_build_scb() local
852 sgent = NULL; in inia100_build_scb()
864 sgent = (struct orc_sgent *) & escb->sglist[0]; in inia100_build_scb()
875 sgent->base = cpu_to_le32((u32) sg_dma_address(sg)); in inia100_build_scb()
876 sgent->length = cpu_to_le32((u32) sg_dma_len(sg)); in inia100_build_scb()
877 sgent++; in inia100_build_scb()
881 sgent->base = cpu_to_le32(0); in inia100_build_scb()
882 sgent->length = cpu_to_le32(0); in inia100_build_scb()
/kernel/linux/linux-5.10/drivers/dma/
Dbcm2835-dma.c269 struct scatterlist *sgent; in bcm2835_dma_count_frames_for_sg() local
273 for_each_sg(sgl, sgent, sg_len, i) in bcm2835_dma_count_frames_for_sg()
275 sg_dma_len(sgent), plength); in bcm2835_dma_count_frames_for_sg()
394 struct scatterlist *sgent; in bcm2835_dma_fill_cb_chain_with_sg() local
397 for_each_sg(sgl, sgent, sg_len, i) { in bcm2835_dma_fill_cb_chain_with_sg()
398 for (addr = sg_dma_address(sgent), len = sg_dma_len(sgent); in bcm2835_dma_fill_cb_chain_with_sg()
Dmoxart-dma.c278 struct scatterlist *sgent; in moxart_prep_slave_sg() local
320 for_each_sg(sgl, sgent, sg_len, i) { in moxart_prep_slave_sg()
321 d->sg[i].addr = sg_dma_address(sgent); in moxart_prep_slave_sg()
322 d->sg[i].len = sg_dma_len(sgent); in moxart_prep_slave_sg()
Dsa11x0-dma.c528 struct scatterlist *sgent; in sa11x0_dma_prep_slave_sg() local
543 for_each_sg(sg, sgent, sglen, i) { in sa11x0_dma_prep_slave_sg()
544 dma_addr_t addr = sg_dma_address(sgent); in sa11x0_dma_prep_slave_sg()
545 unsigned int len = sg_dma_len(sgent); in sa11x0_dma_prep_slave_sg()
563 for_each_sg(sg, sgent, sglen, i) { in sa11x0_dma_prep_slave_sg()
564 dma_addr_t addr = sg_dma_address(sgent); in sa11x0_dma_prep_slave_sg()
565 unsigned len = sg_dma_len(sgent); in sa11x0_dma_prep_slave_sg()
/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma.c2023 struct scatterlist *sgent; in udma_prep_slave_sg_tr() local
2033 for_each_sg(sgl, sgent, sglen, i) { in udma_prep_slave_sg_tr()
2034 if (sg_dma_len(sgent) < SZ_64K) in udma_prep_slave_sg_tr()
2049 for_each_sg(sgl, sgent, sglen, i) { in udma_prep_slave_sg_tr()
2050 dma_addr_t sg_addr = sg_dma_address(sgent); in udma_prep_slave_sg_tr()
2052 num_tr = udma_get_tr_counters(sg_dma_len(sgent), __ffs(sg_addr), in udma_prep_slave_sg_tr()
2056 sg_dma_len(sgent)); in udma_prep_slave_sg_tr()
2086 d->residue += sg_dma_len(sgent); in udma_prep_slave_sg_tr()
2154 struct scatterlist *sgent; in udma_prep_slave_sg_pkt() local
2172 for_each_sg(sgl, sgent, sglen, i) { in udma_prep_slave_sg_pkt()
[all …]
Domap-dma.c961 struct scatterlist *sgent; in omap_dma_prep_slave_sg() local
1096 for_each_sg(sgl, sgent, sglen, i) { in omap_dma_prep_slave_sg()
1099 osg->addr = sg_dma_address(sgent); in omap_dma_prep_slave_sg()
1101 osg->fn = sg_dma_len(sgent) / frame_bytes; in omap_dma_prep_slave_sg()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-scsi.c2542 sg_init_one(&qc->sgent, cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE); in atapi_request_sense()
2543 ata_sg_init(qc, &qc->sgent, 1); in atapi_request_sense()
/kernel/linux/linux-5.10/include/linux/
Dlibata.h642 struct scatterlist sgent; member