Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dqi.c319 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc) in caam_drv_ctx_update() argument
326 num_words = desc_len(sh_desc); in caam_drv_ctx_update()
367 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_update()
369 sizeof(drv_ctx->sh_desc) + in caam_drv_ctx_update()
397 u32 *sh_desc) in caam_drv_ctx_init() argument
405 num_words = desc_len(sh_desc); in caam_drv_ctx_init()
423 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_init()
424 size = sizeof(drv_ctx->prehdr) + sizeof(drv_ctx->sh_desc); in caam_drv_ctx_init()
504 sizeof(drv_ctx->sh_desc) + sizeof(drv_ctx->prehdr), in caam_drv_ctx_rel()
Dqi.h62 u32 sh_desc[MAX_SDLEN]; member
110 u32 *sh_desc);
143 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc);
Dcaamalg_qi2.h160 u32 sh_desc[MAX_SDLEN]; member
Dcaamalg_qi2.c233 desc = flc->sh_desc; in aead_set_sh_desc()
261 desc = flc->sh_desc; in aead_set_sh_desc()
597 desc = flc->sh_desc; in chachapoly_set_sh_desc()
606 desc = flc->sh_desc; in chachapoly_set_sh_desc()
673 desc = flc->sh_desc; in gcm_set_sh_desc()
693 desc = flc->sh_desc; in gcm_set_sh_desc()
766 desc = flc->sh_desc; in rfc4106_set_sh_desc()
786 desc = flc->sh_desc; in rfc4106_set_sh_desc()
867 desc = flc->sh_desc; in rfc4543_set_sh_desc()
887 desc = flc->sh_desc; in rfc4543_set_sh_desc()
[all …]
Dcaamalg.c1068 u32 *sh_desc; in init_aead_job() local
1070 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_aead_job()
1073 len = desc_len(sh_desc); in init_aead_job()
1242 u32 *sh_desc; in init_skcipher_job() local
1256 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_skcipher_job()
1259 len = desc_len(sh_desc); in init_skcipher_job()
Dcaamhash.c694 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument
713 init_job_desc_shared(edesc->hw_desc, sh_desc_dma, desc_len(sh_desc), in ahash_edesc_alloc()
/drivers/dma/sh/
Dshdmac.c287 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_start_xfer() local
291 sh_desc->hw.tcr, sh_desc->hw.sar, sh_desc->hw.dar); in sh_dmae_start_xfer()
293 dmae_set_reg(sh_chan, &sh_desc->hw); in sh_dmae_start_xfer()
381 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() local
387 sh_desc->hw.sar = src; in sh_dmae_desc_setup()
388 sh_desc->hw.dar = dst; in sh_dmae_desc_setup()
389 sh_desc->hw.tcr = *len; in sh_dmae_desc_setup()
420 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() local
422 return sh_desc->hw.tcr - in sh_dmae_get_partial()
458 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_completed() local
[all …]
Dshdma.h56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node)
57 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx)