atmel_sha_dev 81 drivers/crypto/atmel-sha.c struct atmel_sha_dev; atmel_sha_dev 88 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd; atmel_sha_dev 109 drivers/crypto/atmel-sha.c typedef int (*atmel_sha_fn_t)(struct atmel_sha_dev *); atmel_sha_dev 112 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd; atmel_sha_dev 252 drivers/crypto/atmel-sha.c static inline u32 atmel_sha_read(struct atmel_sha_dev *dd, u32 offset) atmel_sha_dev 268 drivers/crypto/atmel-sha.c static inline void atmel_sha_write(struct atmel_sha_dev *dd, atmel_sha_dev 283 drivers/crypto/atmel-sha.c static inline int atmel_sha_complete(struct atmel_sha_dev *dd, int err) atmel_sha_dev 404 drivers/crypto/atmel-sha.c static struct atmel_sha_dev *atmel_sha_find_dev(struct atmel_sha_ctx *tctx) atmel_sha_dev 406 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = NULL; atmel_sha_dev 407 drivers/crypto/atmel-sha.c struct atmel_sha_dev *tmp; atmel_sha_dev 430 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = atmel_sha_find_dev(tctx); atmel_sha_dev 473 drivers/crypto/atmel-sha.c static void atmel_sha_write_ctrl(struct atmel_sha_dev *dd, int dma) atmel_sha_dev 548 drivers/crypto/atmel-sha.c static inline int atmel_sha_wait_for_data_ready(struct atmel_sha_dev *dd, atmel_sha_dev 561 drivers/crypto/atmel-sha.c static int atmel_sha_xmit_cpu(struct atmel_sha_dev *dd, const u8 *buf, atmel_sha_dev 591 drivers/crypto/atmel-sha.c static int atmel_sha_xmit_pdc(struct atmel_sha_dev *dd, dma_addr_t dma_addr1, atmel_sha_dev 629 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = data; atmel_sha_dev 637 drivers/crypto/atmel-sha.c static int atmel_sha_xmit_dma(struct atmel_sha_dev *dd, dma_addr_t dma_addr1, atmel_sha_dev 692 drivers/crypto/atmel-sha.c static int atmel_sha_xmit_start(struct atmel_sha_dev *dd, dma_addr_t dma_addr1, atmel_sha_dev 703 drivers/crypto/atmel-sha.c static int atmel_sha_update_cpu(struct atmel_sha_dev *dd) atmel_sha_dev 716 drivers/crypto/atmel-sha.c static int atmel_sha_xmit_dma_map(struct atmel_sha_dev *dd, atmel_sha_dev 734 drivers/crypto/atmel-sha.c static int atmel_sha_update_dma_slow(struct atmel_sha_dev *dd) atmel_sha_dev 759 drivers/crypto/atmel-sha.c static int atmel_sha_update_dma_start(struct atmel_sha_dev *dd) atmel_sha_dev 854 drivers/crypto/atmel-sha.c static int atmel_sha_update_dma_stop(struct atmel_sha_dev *dd) atmel_sha_dev 877 drivers/crypto/atmel-sha.c static int atmel_sha_update_req(struct atmel_sha_dev *dd) atmel_sha_dev 898 drivers/crypto/atmel-sha.c static int atmel_sha_final_req(struct atmel_sha_dev *dd) atmel_sha_dev 989 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = ctx->dd; atmel_sha_dev 1003 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = ctx->dd; atmel_sha_dev 1017 drivers/crypto/atmel-sha.c static int atmel_sha_hw_init(struct atmel_sha_dev *dd) atmel_sha_dev 1034 drivers/crypto/atmel-sha.c static inline unsigned int atmel_sha_get_version(struct atmel_sha_dev *dd) atmel_sha_dev 1039 drivers/crypto/atmel-sha.c static void atmel_sha_hw_version_init(struct atmel_sha_dev *dd) atmel_sha_dev 1051 drivers/crypto/atmel-sha.c static int atmel_sha_handle_queue(struct atmel_sha_dev *dd, atmel_sha_dev 1094 drivers/crypto/atmel-sha.c static int atmel_sha_done(struct atmel_sha_dev *dd); atmel_sha_dev 1096 drivers/crypto/atmel-sha.c static int atmel_sha_start(struct atmel_sha_dev *dd) atmel_sha_dev 1151 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = tctx->dd; atmel_sha_dev 1380 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = (struct atmel_sha_dev *)data; atmel_sha_dev 1385 drivers/crypto/atmel-sha.c static int atmel_sha_done(struct atmel_sha_dev *dd) atmel_sha_dev 1423 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = (struct atmel_sha_dev *)data; atmel_sha_dev 1431 drivers/crypto/atmel-sha.c struct atmel_sha_dev *sha_dd = dev_id; atmel_sha_dev 1454 drivers/crypto/atmel-sha.c static bool atmel_sha_dma_check_aligned(struct atmel_sha_dev *dd, atmel_sha_dev 1491 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = data; atmel_sha_dev 1508 drivers/crypto/atmel-sha.c static int atmel_sha_dma_start(struct atmel_sha_dev *dd, atmel_sha_dev 1567 drivers/crypto/atmel-sha.c static int atmel_sha_cpu_transfer(struct atmel_sha_dev *dd) atmel_sha_dev 1616 drivers/crypto/atmel-sha.c static int atmel_sha_cpu_start(struct atmel_sha_dev *dd, atmel_sha_dev 1650 drivers/crypto/atmel-sha.c static int atmel_sha_cpu_hash(struct atmel_sha_dev *dd, atmel_sha_dev 1736 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_setup(struct atmel_sha_dev *dd, atmel_sha_dev 1738 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_prehash_key(struct atmel_sha_dev *dd, atmel_sha_dev 1740 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_prehash_key_done(struct atmel_sha_dev *dd); atmel_sha_dev 1741 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_compute_ipad_hash(struct atmel_sha_dev *dd); atmel_sha_dev 1742 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_compute_opad_hash(struct atmel_sha_dev *dd); atmel_sha_dev 1743 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_setup_done(struct atmel_sha_dev *dd); atmel_sha_dev 1745 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_init_done(struct atmel_sha_dev *dd); atmel_sha_dev 1746 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_final(struct atmel_sha_dev *dd); atmel_sha_dev 1747 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_final_done(struct atmel_sha_dev *dd); atmel_sha_dev 1748 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_digest2(struct atmel_sha_dev *dd); atmel_sha_dev 1750 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_setup(struct atmel_sha_dev *dd, atmel_sha_dev 1806 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_prehash_key(struct atmel_sha_dev *dd, atmel_sha_dev 1813 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_prehash_key_done(struct atmel_sha_dev *dd) atmel_sha_dev 1830 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_compute_ipad_hash(struct atmel_sha_dev *dd) atmel_sha_dev 1849 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_compute_opad_hash(struct atmel_sha_dev *dd) atmel_sha_dev 1865 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_setup_done(struct atmel_sha_dev *dd) atmel_sha_dev 1880 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_start(struct atmel_sha_dev *dd) atmel_sha_dev 1935 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_init_done(struct atmel_sha_dev *dd) atmel_sha_dev 1952 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_final(struct atmel_sha_dev *dd) atmel_sha_dev 1988 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_final_done(struct atmel_sha_dev *dd) atmel_sha_dev 2011 drivers/crypto/atmel-sha.c static int atmel_sha_hmac_digest2(struct atmel_sha_dev *dd) atmel_sha_dev 2213 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_init2(struct atmel_sha_dev *dd); atmel_sha_dev 2214 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_init_done(struct atmel_sha_dev *dd); atmel_sha_dev 2215 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_final_done(struct atmel_sha_dev *dd); atmel_sha_dev 2247 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_start(struct atmel_sha_dev *dd) atmel_sha_dev 2369 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd; atmel_sha_dev 2401 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = ctx->dd; atmel_sha_dev 2417 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_init2(struct atmel_sha_dev *dd) atmel_sha_dev 2454 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_init_done(struct atmel_sha_dev *dd) atmel_sha_dev 2469 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = ctx->dd; atmel_sha_dev 2506 drivers/crypto/atmel-sha.c static int atmel_sha_authenc_final_done(struct atmel_sha_dev *dd) atmel_sha_dev 2522 drivers/crypto/atmel-sha.c struct atmel_sha_dev *dd = ctx->dd; atmel_sha_dev 2534 drivers/crypto/atmel-sha.c static void atmel_sha_unregister_algs(struct atmel_sha_dev *dd) atmel_sha_dev 2554 drivers/crypto/atmel-sha.c static int atmel_sha_register_algs(struct atmel_sha_dev *dd) atmel_sha_dev 2618 drivers/crypto/atmel-sha.c static int atmel_sha_dma_init(struct atmel_sha_dev *dd, atmel_sha_dev 2648 drivers/crypto/atmel-sha.c static void atmel_sha_dma_cleanup(struct atmel_sha_dev *dd) atmel_sha_dev 2653 drivers/crypto/atmel-sha.c static void atmel_sha_get_cap(struct atmel_sha_dev *dd) atmel_sha_dev 2739 drivers/crypto/atmel-sha.c struct atmel_sha_dev *sha_dd; atmel_sha_dev 2867 drivers/crypto/atmel-sha.c struct atmel_sha_dev *sha_dd;