Searched refs:sh_desc (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/crypto/caam/ |
D | qi.h | 61 u32 sh_desc[MAX_SDLEN]; member 108 u32 *sh_desc); 141 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc);
|
D | qi.c | 315 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc) in caam_drv_ctx_update() argument 322 num_words = desc_len(sh_desc); in caam_drv_ctx_update() 363 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_update() 365 sizeof(drv_ctx->sh_desc) + in caam_drv_ctx_update() 393 u32 *sh_desc) in caam_drv_ctx_init() argument 401 num_words = desc_len(sh_desc); in caam_drv_ctx_init() 419 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_init() 420 size = sizeof(drv_ctx->prehdr) + sizeof(drv_ctx->sh_desc); in caam_drv_ctx_init() 497 sizeof(drv_ctx->sh_desc) + sizeof(drv_ctx->prehdr), in caam_drv_ctx_rel()
|
D | caamrng.c | 75 u32 sh_desc[DESC_RNG_LEN]; member 102 desc_bytes(ctx->sh_desc), DMA_TO_DEVICE); in rng_unmap_ctx() 200 u32 *desc = ctx->sh_desc; in rng_create_sh_desc() 228 int sh_len = desc_len(ctx->sh_desc); in rng_create_job_desc()
|
D | caamalg_qi2.h | 159 u32 sh_desc[MAX_SDLEN]; member
|
D | caamalg_qi2.c | 229 desc = flc->sh_desc; in aead_set_sh_desc() 257 desc = flc->sh_desc; in aead_set_sh_desc() 598 desc = flc->sh_desc; in chachapoly_set_sh_desc() 607 desc = flc->sh_desc; in chachapoly_set_sh_desc() 675 desc = flc->sh_desc; in gcm_set_sh_desc() 695 desc = flc->sh_desc; in gcm_set_sh_desc() 770 desc = flc->sh_desc; in rfc4106_set_sh_desc() 790 desc = flc->sh_desc; in rfc4106_set_sh_desc() 873 desc = flc->sh_desc; in rfc4543_set_sh_desc() 893 desc = flc->sh_desc; in rfc4543_set_sh_desc() [all …]
|
D | caamalg.c | 1100 u32 *sh_desc; in init_aead_job() local 1102 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_aead_job() 1105 len = desc_len(sh_desc); in init_aead_job() 1274 u32 *sh_desc; in init_skcipher_job() local 1288 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_skcipher_job() 1291 len = desc_len(sh_desc); in init_skcipher_job()
|
D | caamhash.c | 725 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument 738 init_job_desc_shared(edesc->hw_desc, sh_desc_dma, desc_len(sh_desc), in ahash_edesc_alloc()
|
/Linux-v5.4/drivers/dma/sh/ |
D | shdmac.c | 287 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 …]
|
D | shdma.h | 56 #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)
|