Home
last modified time | relevance | path

Searched refs:src_dma (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_g1_vp8_dec.c240 dma_addr_t src_dma; in cfg_parts() local
246 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in cfg_parts()
270 + src_dma, G1_REG_ADDR_REF(13)); in cfg_parts()
313 u32 base_addr = byte_offset + src_dma; in cfg_parts()
H A Dhantro_g1_h264_dec.c210 dma_addr_t src_dma, dst_dma; in set_buffers() local
214 src_dma = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); in set_buffers()
215 vdpu_write_relaxed(vpu, src_dma, G1_REG_ADDR_STR); in set_buffers()
H A Drockchip_vpu2_hw_vp8_dec.c352 dma_addr_t src_dma; in cfg_parts() local
358 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in cfg_parts()
382 src_dma, VDPU_REG_VP8_ADDR_CTRL_PART); in cfg_parts()
411 u32 base_addr = byte_offset + src_dma; in cfg_parts()
H A Drockchip_vpu2_hw_h264_dec.c427 dma_addr_t src_dma, dst_dma; in set_buffers() local
431 src_dma = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); in set_buffers()
432 vdpu_write_relaxed(vpu, src_dma, VDPU_REG_RLC_VLC_BASE); in set_buffers()
H A Dhantro_g2_hevc_dec.c506 dma_addr_t src_dma; in set_buffers() local
512 src_dma = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); in set_buffers()
516 hantro_write_addr(vpu, G2_STREAM_ADDR, src_dma); in set_buffers()
H A Drockchip_vpu981_hw_av1_dec.c2057 dma_addr_t src_dma; in rockchip_vpu981_av1_dec_set_input_buffer() local
2061 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); in rockchip_vpu981_av1_dec_set_input_buffer()
2072 hantro_write_addr(vpu, AV1_INPUT_STREAM, src_dma + offset); in rockchip_vpu981_av1_dec_set_input_buffer()
/openbmc/linux/drivers/crypto/marvell/cesa/
H A Dtdma.c89 tdma->src = cpu_to_le32(tdma->src_dma + engine->sram_dma); in mv_cesa_dma_prepare()
240 tdma->src_dma = src; in mv_cesa_dma_add_result_op()
241 tdma->dst_dma = op_desc->src_dma; in mv_cesa_dma_add_result_op()
292 tdma->src_dma = src; in mv_cesa_dma_add_data_transfer()
H A Dcesa.h303 u32 src_dma; member
/openbmc/linux/drivers/dma/ptdma/
H A Dptdma-dev.c111 desc.src_lo = lower_32_bits(pt_engine->src_dma); in pt_core_perform_passthru()
112 desc.dw3.src_hi = upper_32_bits(pt_engine->src_dma); in pt_core_perform_passthru()
H A Dptdma.h140 dma_addr_t src_dma, dst_dma; member
H A Dptdma-dmaengine.c200 pt_engine->src_dma = src; in pt_create_desc()
/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c154 hash_engine->src_dma = hash_engine->ahash_src_dma_addr; in aspeed_ahash_dma_prepare()
252 hash_engine->src_dma = hash_engine->ahash_src_dma_addr; in aspeed_ahash_dma_prepare_sg()
319 &hash_engine->src_dma, &hash_engine->digest_dma, in aspeed_hace_ahash_trigger()
325 ast_hace_write(hace_dev, hash_engine->src_dma, ASPEED_HACE_HASH_SRC); in aspeed_hace_ahash_trigger()
392 hash_engine->src_dma = rctx->buffer_dma_addr; in aspeed_ahash_hmac_resume()
436 hash_engine->src_dma = rctx->buffer_dma_addr; in aspeed_ahash_req_final()
H A Daspeed-hace.h154 dma_addr_t src_dma; member
/openbmc/linux/drivers/dma/
H A Dmv_xor.c765 dma_addr_t src_dma, dest_dma; in mv_chan_memcpy_self_test() local
798 src_dma = dma_map_page(dma_chan->device->dev, virt_to_page(src), in mv_chan_memcpy_self_test()
801 unmap->addr[0] = src_dma; in mv_chan_memcpy_self_test()
803 ret = dma_mapping_error(dma_chan->device->dev, src_dma); in mv_chan_memcpy_self_test()
823 tx = mv_xor_prep_dma_memcpy(dma_chan, dest_dma, src_dma, in mv_chan_memcpy_self_test()
/openbmc/linux/include/linux/
H A Dccp.h469 dma_addr_t src_dma, dst_dma; member
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg.c1080 dma_addr_t dst_dma, src_dma; in init_aead_job() local
1092 src_dma = edesc->mapped_src_nents ? sg_dma_address(req->src) : in init_aead_job()
1096 src_dma = edesc->sec4_sg_dma; in init_aead_job()
1101 append_seq_in_ptr(desc, src_dma, req->assoclen + req->cryptlen, in init_aead_job()
1104 dst_dma = src_dma; in init_aead_job()
1260 dma_addr_t src_dma, dst_dma, ptr; in init_skcipher_job() local
1279 src_dma = edesc->sec4_sg_dma; in init_skcipher_job()
1283 src_dma = sg_dma_address(req->src); in init_skcipher_job()
1286 append_seq_in_ptr(desc, src_dma, req->cryptlen + ivsize, in_options); in init_skcipher_job()
1289 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job()
H A Dcaamhash.c730 dma_addr_t src_dma; in ahash_edesc_add_src() local
740 src_dma = dma_map_single(ctx->jrdev, sg, sgsize, DMA_TO_DEVICE); in ahash_edesc_add_src()
741 if (dma_mapping_error(ctx->jrdev, src_dma)) { in ahash_edesc_add_src()
747 edesc->sec4_sg_dma = src_dma; in ahash_edesc_add_src()
750 src_dma = sg_dma_address(req->src); in ahash_edesc_add_src()
754 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash, in ahash_edesc_add_src()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dmaengine.c433 ccp_pt->src_dma = sg_dma_address(src_sg) + src_offset; in ccp_create_desc()
444 cmd, &ccp_pt->src_dma, in ccp_create_desc()
H A Dccp-ops.c2110 if (!pt->src_dma || !pt->dst_dma) in ccp_run_passthru_nomap_cmd()
2147 op.src.u.dma.address = pt->src_dma; in ccp_run_passthru_nomap_cmd()
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c371 dma_addr_t src_dma, dst_dma, buf_dma; in atmel_nand_dma_transfer() local
383 src_dma = dev_dma; in atmel_nand_dma_transfer()
386 src_dma = buf_dma; in atmel_nand_dma_transfer()
390 tx = dmaengine_prep_dma_memcpy(nc->dmac, dst_dma, src_dma, len, in atmel_nand_dma_transfer()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c1827 dma_addr_t src_dma, dst_dma, buf_dma; in cadence_nand_slave_dma_transfer() local
1841 src_dma = cdns_ctrl->io.dma; in cadence_nand_slave_dma_transfer()
1844 src_dma = buf_dma; in cadence_nand_slave_dma_transfer()
1848 tx = dmaengine_prep_dma_memcpy(cdns_ctrl->dmac, dst_dma, src_dma, len, in cadence_nand_slave_dma_transfer()