Searched refs:dsg (Results 1 – 3 of 3) sorted by relevance
/drivers/dma/ |
D | s3c24xx-dma.c | 427 struct s3c24xx_sg *dsg, *_dsg; in s3c24xx_dma_free_txd() local 429 list_for_each_entry_safe(dsg, _dsg, &txd->dsg_list, node) { in s3c24xx_dma_free_txd() 430 list_del(&dsg->node); in s3c24xx_dma_free_txd() 431 kfree(dsg); in s3c24xx_dma_free_txd() 443 struct s3c24xx_sg *dsg = list_entry(txd->at, struct s3c24xx_sg, node); in s3c24xx_dma_start_next_sg() local 450 dcon |= S3C24XX_DCON_DSZ_BYTE | dsg->len; in s3c24xx_dma_start_next_sg() 453 dcon |= S3C24XX_DCON_DSZ_HALFWORD | (dsg->len / 2); in s3c24xx_dma_start_next_sg() 456 dcon |= S3C24XX_DCON_DSZ_WORD | (dsg->len / 4); in s3c24xx_dma_start_next_sg() 481 writel_relaxed(dsg->src_addr, phy->base + S3C24XX_DISRC); in s3c24xx_dma_start_next_sg() 483 writel_relaxed(dsg->dst_addr, phy->base + S3C24XX_DIDST); in s3c24xx_dma_start_next_sg() [all …]
|
D | amba-pl08x.c | 933 struct pl08x_sg *dsg; in pl08x_fill_llis_for_desc() local 955 list_for_each_entry(dsg, &txd->dsg_list, node) { in pl08x_fill_llis_for_desc() 959 bd.srcbus.addr = dsg->src_addr; in pl08x_fill_llis_for_desc() 960 bd.dstbus.addr = dsg->dst_addr; in pl08x_fill_llis_for_desc() 961 bd.remainder = dsg->len; in pl08x_fill_llis_for_desc() 1119 if (total_bytes != dsg->len) { in pl08x_fill_llis_for_desc() 1122 __func__, total_bytes, dsg->len); in pl08x_fill_llis_for_desc() 1155 struct pl08x_sg *dsg, *_dsg; in pl08x_free_txd() local 1160 list_for_each_entry_safe(dsg, _dsg, &txd->dsg_list, node) { in pl08x_free_txd() 1161 list_del(&dsg->node); in pl08x_free_txd() [all …]
|
/drivers/target/ |
D | target_core_sbc.c | 1098 struct scatterlist *dsg, *psg = cmd->t_prot_sg; in sbc_dif_generate() local 1103 for_each_sg(cmd->t_data_sg, dsg, cmd->t_data_nents, i) { in sbc_dif_generate() 1104 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1107 for (j = 0; j < dsg->length; j += dev->dev_attrib.block_size) { in sbc_dif_generate() 1219 struct scatterlist *dsg, *psg = cmd->t_prot_sg; in sbc_dif_verify_write() local 1225 for_each_sg(cmd->t_data_sg, dsg, cmd->t_data_nents, i) { in sbc_dif_verify_write() 1226 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify_write() 1229 for (j = 0; j < dsg->length; j += dev->dev_attrib.block_size) { in sbc_dif_verify_write() 1274 struct scatterlist *dsg, *psg = sg; in __sbc_dif_verify_read() local 1280 for_each_sg(cmd->t_data_sg, dsg, cmd->t_data_nents, i) { in __sbc_dif_verify_read() [all …]
|