Searched refs:safexcel_crypto_priv (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/inside-secure/ |
D | safexcel_ring.c | 13 int safexcel_init_ring_descriptors(struct safexcel_crypto_priv *priv, in safexcel_init_ring_descriptors() 72 inline int safexcel_select_ring(struct safexcel_crypto_priv *priv) in safexcel_select_ring() 77 static void *safexcel_ring_next_cwptr(struct safexcel_crypto_priv *priv, in safexcel_ring_next_cwptr() 102 static void *safexcel_ring_next_rwptr(struct safexcel_crypto_priv *priv, in safexcel_ring_next_rwptr() 123 void *safexcel_ring_next_rptr(struct safexcel_crypto_priv *priv, in safexcel_ring_next_rptr() 139 inline void *safexcel_ring_curr_rptr(struct safexcel_crypto_priv *priv, in safexcel_ring_curr_rptr() 147 inline int safexcel_ring_first_rdr_index(struct safexcel_crypto_priv *priv, in safexcel_ring_first_rdr_index() 155 inline int safexcel_ring_rdr_rdesc_index(struct safexcel_crypto_priv *priv, in safexcel_ring_rdr_rdesc_index() 164 void safexcel_ring_rollback_wptr(struct safexcel_crypto_priv *priv, in safexcel_ring_rollback_wptr() 179 struct safexcel_command_desc *safexcel_add_cdesc(struct safexcel_crypto_priv *priv, in safexcel_add_cdesc() [all …]
|
D | safexcel.h | 690 struct safexcel_crypto_priv *priv; 811 struct safexcel_crypto_priv { struct 834 int (*handle_result)(struct safexcel_crypto_priv *priv, int ring, argument 838 struct safexcel_crypto_priv *priv; 871 struct safexcel_crypto_priv *priv; 886 void safexcel_dequeue(struct safexcel_crypto_priv *priv, int ring); 887 int safexcel_rdesc_check_errors(struct safexcel_crypto_priv *priv, 889 void safexcel_complete(struct safexcel_crypto_priv *priv, int ring); 891 struct safexcel_crypto_priv *priv, 893 int safexcel_init_ring_descriptors(struct safexcel_crypto_priv *priv, [all …]
|
D | safexcel.c | 31 static void eip197_trc_cache_setupvirt(struct safexcel_crypto_priv *priv) in eip197_trc_cache_setupvirt() 61 static void eip197_trc_cache_banksel(struct safexcel_crypto_priv *priv, in eip197_trc_cache_banksel() 77 static u32 eip197_trc_cache_probe(struct safexcel_crypto_priv *priv, in eip197_trc_cache_probe() 125 static void eip197_trc_cache_clear(struct safexcel_crypto_priv *priv, in eip197_trc_cache_clear() 158 static int eip197_trc_cache_init(struct safexcel_crypto_priv *priv) in eip197_trc_cache_init() 269 static void eip197_init_firmware(struct safexcel_crypto_priv *priv) in eip197_init_firmware() 316 static int eip197_write_firmware(struct safexcel_crypto_priv *priv, in eip197_write_firmware() 336 static bool poll_fw_ready(struct safexcel_crypto_priv *priv, int fpp) in poll_fw_ready() 363 static bool eip197_start_firmware(struct safexcel_crypto_priv *priv, in eip197_start_firmware() 405 static int eip197_load_firmwares(struct safexcel_crypto_priv *priv) in eip197_load_firmwares() [all …]
|
D | safexcel_cipher.c | 47 struct safexcel_crypto_priv *priv; 377 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_skcipher_aes_setkey() 408 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_aead_setkey() 511 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_context_control() 608 static int safexcel_handle_req_result(struct safexcel_crypto_priv *priv, int ring, in safexcel_handle_req_result() 678 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_send_req() 897 static int safexcel_handle_inv_result(struct safexcel_crypto_priv *priv, in safexcel_handle_inv_result() 956 static int safexcel_skcipher_handle_result(struct safexcel_crypto_priv *priv, in safexcel_skcipher_handle_result() 978 static int safexcel_aead_handle_result(struct safexcel_crypto_priv *priv, in safexcel_aead_handle_result() 1006 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_cipher_send_inv() [all …]
|
D | safexcel_hash.c | 112 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_context_control() 226 static int safexcel_handle_req_result(struct safexcel_crypto_priv *priv, in safexcel_handle_req_result() 317 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_ahash_send_req() 517 static int safexcel_handle_inv_result(struct safexcel_crypto_priv *priv, in safexcel_handle_inv_result() 567 static int safexcel_handle_result(struct safexcel_crypto_priv *priv, int ring, in safexcel_handle_result() 625 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_ahash_exit_inv() 693 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_ahash_enqueue() 964 struct safexcel_crypto_priv *priv = ctx->base.priv; in safexcel_ahash_cra_exit() 1197 struct safexcel_crypto_priv *priv = base->priv; in safexcel_hmac_setkey()
|