Searched refs:dsg (Results 1 – 5 of 5) sorted by relevance
/drivers/dma/ |
D | s3c24xx-dma.c | 429 struct s3c24xx_sg *dsg, *_dsg; in s3c24xx_dma_free_txd() local 431 list_for_each_entry_safe(dsg, _dsg, &txd->dsg_list, node) { in s3c24xx_dma_free_txd() 432 list_del(&dsg->node); in s3c24xx_dma_free_txd() 433 kfree(dsg); in s3c24xx_dma_free_txd() 445 struct s3c24xx_sg *dsg = list_entry(txd->at, struct s3c24xx_sg, node); in s3c24xx_dma_start_next_sg() local 452 dcon |= S3C24XX_DCON_DSZ_BYTE | dsg->len; in s3c24xx_dma_start_next_sg() 455 dcon |= S3C24XX_DCON_DSZ_HALFWORD | (dsg->len / 2); in s3c24xx_dma_start_next_sg() 458 dcon |= S3C24XX_DCON_DSZ_WORD | (dsg->len / 4); in s3c24xx_dma_start_next_sg() 483 writel_relaxed(dsg->src_addr, phy->base + S3C24XX_DISRC); in s3c24xx_dma_start_next_sg() 485 writel_relaxed(dsg->dst_addr, phy->base + S3C24XX_DIDST); in s3c24xx_dma_start_next_sg() [all …]
|
D | amba-pl08x.c | 1266 struct pl08x_sg *dsg; in pl08x_fill_llis_for_desc() local 1284 list_for_each_entry(dsg, &txd->dsg_list, node) { in pl08x_fill_llis_for_desc() 1288 bd.srcbus.addr = dsg->src_addr; in pl08x_fill_llis_for_desc() 1289 bd.dstbus.addr = dsg->dst_addr; in pl08x_fill_llis_for_desc() 1290 bd.remainder = dsg->len; in pl08x_fill_llis_for_desc() 1456 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc() 1459 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc() 1495 struct pl08x_sg *dsg, *_dsg; in pl08x_free_txd() local 1500 list_for_each_entry_safe(dsg, _dsg, &txd->dsg_list, node) { in pl08x_free_txd() 1501 list_del(&dsg->node); in pl08x_free_txd() [all …]
|
D | dma-axi-dmac.c | 533 struct axi_dmac_sg *dsg; in axi_dmac_prep_slave_sg() local 549 dsg = desc->sg; in axi_dmac_prep_slave_sg() 558 dsg = axi_dmac_fill_linear_sg(chan, direction, sg_dma_address(sg), 1, in axi_dmac_prep_slave_sg() 559 sg_dma_len(sg), dsg); in axi_dmac_prep_slave_sg()
|
/drivers/target/ |
D | target_core_sbc.c | 1226 struct scatterlist *dsg = cmd->t_data_sg, *psg; in sbc_dif_generate() local 1234 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1241 if (offset >= dsg->length) { in sbc_dif_generate() 1242 offset -= dsg->length; in sbc_dif_generate() 1243 kunmap_atomic(daddr - dsg->offset); in sbc_dif_generate() 1244 dsg = sg_next(dsg); in sbc_dif_generate() 1245 if (!dsg) { in sbc_dif_generate() 1249 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1253 avail = min(block_size, dsg->length - offset); in sbc_dif_generate() 1256 kunmap_atomic(daddr - dsg->offset); in sbc_dif_generate() [all …]
|
/drivers/crypto/mediatek/ |
D | mtk-aes.c | 281 struct scatterlist *ssg = aes->src.sg, *dsg = aes->dst.sg; in mtk_aes_xmit() local 306 for (nents = 0; nents < dlen; ++nents, dsg = sg_next(dsg)) { in mtk_aes_xmit() 308 res->hdr = MTK_DESC_BUF_LEN(dsg->length); in mtk_aes_xmit() 309 res->buf = cpu_to_le32(sg_dma_address(dsg)); in mtk_aes_xmit()
|