Searched refs:sh_desc (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/dma/sh/ |
H A D | shdma.h | 60 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) 61 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx)
|
H A D | shdmac.c | 291 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_start_xfer() local 295 sh_desc->hw.tcr, sh_desc->hw.sar, sh_desc->hw.dar); sh_dmae_start_xfer() 297 dmae_set_reg(sh_chan, &sh_desc->hw); sh_dmae_start_xfer() 385 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_desc_setup() local 391 sh_desc->hw.sar = src; sh_dmae_desc_setup() 392 sh_desc->hw.dar = dst; sh_dmae_desc_setup() 393 sh_desc->hw.tcr = *len; sh_dmae_desc_setup() 424 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_get_partial() local 426 return sh_desc->hw.tcr - sh_dmae_get_partial() 464 struct sh_dmae_desc *sh_desc = container_of(sdesc, sh_dmae_desc_completed() local 470 (sh_desc->hw.dar + sh_desc->hw.tcr) == dar_buf) || sh_dmae_desc_completed() 472 (sh_desc->hw.sar + sh_desc->hw.tcr) == sar_buf); sh_dmae_desc_completed()
|
/linux-4.4.14/drivers/crypto/caam/ |
H A D | caamrng.c | 73 u32 sh_desc[DESC_RNG_LEN]; member in struct:caam_rng_ctx 94 desc_bytes(ctx->sh_desc), DMA_TO_DEVICE); rng_unmap_ctx() 195 u32 *desc = ctx->sh_desc; rng_create_sh_desc() 226 int sh_len = desc_len(ctx->sh_desc); rng_create_job_desc()
|
H A D | caamhash.c | 792 u32 *sh_desc = ctx->sh_desc_update, *desc; ahash_update_ctx() local 851 sh_len = desc_len(sh_desc); ahash_update_ctx() 912 u32 *sh_desc = ctx->sh_desc_fin, *desc; ahash_final_ctx() local 931 sh_len = desc_len(sh_desc); ahash_final_ctx() 995 u32 *sh_desc = ctx->sh_desc_finup, *desc; ahash_finup_ctx() local 1017 sh_len = desc_len(sh_desc); ahash_finup_ctx() 1078 u32 *sh_desc = ctx->sh_desc_digest, *desc; ahash_digest() local 1104 sh_len = desc_len(sh_desc); ahash_digest() 1158 u32 *sh_desc = ctx->sh_desc_digest, *desc; ahash_final_no_ctx() local 1173 sh_len = desc_len(sh_desc); ahash_final_no_ctx() 1226 u32 *desc, *sh_desc = ctx->sh_desc_update_first; ahash_update_no_ctx() local 1270 sh_len = desc_len(sh_desc); ahash_update_no_ctx() 1336 u32 *sh_desc = ctx->sh_desc_digest, *desc; ahash_finup_no_ctx() local 1357 sh_len = desc_len(sh_desc); ahash_finup_no_ctx() 1418 u32 *sh_desc = ctx->sh_desc_update_first, *desc; ahash_update_first() local 1476 sh_len = desc_len(sh_desc); ahash_update_first()
|
H A D | caamalg.c | 2042 u32 *sh_desc; init_aead_job() local 2044 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; init_aead_job() 2047 len = desc_len(sh_desc); init_aead_job() 2160 static void init_ablkcipher_job(u32 *sh_desc, dma_addr_t ptr, init_ablkcipher_job() argument 2181 len = desc_len(sh_desc); init_ablkcipher_job() 2217 static void init_ablkcipher_giv_job(u32 *sh_desc, dma_addr_t ptr, init_ablkcipher_giv_job() argument 2238 len = desc_len(sh_desc); init_ablkcipher_giv_job()
|
Completed in 183 milliseconds