atmel_sha_dev
struct atmel_sha_dev *dd = ctx->dd;
static int atmel_sha_hw_init(struct atmel_sha_dev *dd)
static inline unsigned int atmel_sha_get_version(struct atmel_sha_dev *dd)
static int atmel_sha_hw_version_init(struct atmel_sha_dev *dd)
static int atmel_sha_handle_queue(struct atmel_sha_dev *dd,
static int atmel_sha_done(struct atmel_sha_dev *dd);
static int atmel_sha_start(struct atmel_sha_dev *dd)
typedef int (*atmel_sha_fn_t)(struct atmel_sha_dev *);
struct atmel_sha_dev *dd;
struct atmel_sha_dev *dd = tctx->dd;
struct atmel_sha_dev *dd = (struct atmel_sha_dev *)data;
static int atmel_sha_done(struct atmel_sha_dev *dd)
struct atmel_sha_dev *dd = (struct atmel_sha_dev *)data;
struct atmel_sha_dev *sha_dd = dev_id;
static bool atmel_sha_dma_check_aligned(struct atmel_sha_dev *dd,
struct atmel_sha_dev *dd = data;
static int atmel_sha_dma_start(struct atmel_sha_dev *dd,
static int atmel_sha_cpu_transfer(struct atmel_sha_dev *dd)
static int atmel_sha_cpu_start(struct atmel_sha_dev *dd,
static int atmel_sha_cpu_hash(struct atmel_sha_dev *dd,
static int atmel_sha_hmac_setup(struct atmel_sha_dev *dd,
static int atmel_sha_hmac_prehash_key(struct atmel_sha_dev *dd,
static int atmel_sha_hmac_prehash_key_done(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_compute_ipad_hash(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_compute_opad_hash(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_setup_done(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_init_done(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_final(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_final_done(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_digest2(struct atmel_sha_dev *dd);
static int atmel_sha_hmac_setup(struct atmel_sha_dev *dd,
static int atmel_sha_hmac_prehash_key(struct atmel_sha_dev *dd,
static int atmel_sha_hmac_prehash_key_done(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_compute_ipad_hash(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_compute_opad_hash(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_setup_done(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_start(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_init_done(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_final(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_final_done(struct atmel_sha_dev *dd)
static int atmel_sha_hmac_digest2(struct atmel_sha_dev *dd)
static int atmel_sha_authenc_init2(struct atmel_sha_dev *dd);
static int atmel_sha_authenc_init_done(struct atmel_sha_dev *dd);
static int atmel_sha_authenc_final_done(struct atmel_sha_dev *dd);
static int atmel_sha_authenc_start(struct atmel_sha_dev *dd)
struct atmel_sha_dev *dd;
struct atmel_sha_dev *dd = ctx->dd;
static int atmel_sha_authenc_init2(struct atmel_sha_dev *dd)
static int atmel_sha_authenc_init_done(struct atmel_sha_dev *dd)
struct atmel_sha_dev *dd = ctx->dd;
static int atmel_sha_authenc_final_done(struct atmel_sha_dev *dd)
struct atmel_sha_dev *dd = ctx->dd;
static void atmel_sha_unregister_algs(struct atmel_sha_dev *dd)
static int atmel_sha_register_algs(struct atmel_sha_dev *dd)
static int atmel_sha_dma_init(struct atmel_sha_dev *dd)
static void atmel_sha_dma_cleanup(struct atmel_sha_dev *dd)
static void atmel_sha_get_cap(struct atmel_sha_dev *dd)
static inline u32 atmel_sha_read(struct atmel_sha_dev *dd, u32 offset)
struct atmel_sha_dev *sha_dd;
struct atmel_sha_dev *sha_dd = platform_get_drvdata(pdev);
static inline void atmel_sha_write(struct atmel_sha_dev *dd,
static inline int atmel_sha_complete(struct atmel_sha_dev *dd, int err)
static struct atmel_sha_dev *atmel_sha_find_dev(struct atmel_sha_ctx *tctx)
struct atmel_sha_dev *dd = NULL;
struct atmel_sha_dev *tmp;
struct atmel_sha_dev *dd = atmel_sha_find_dev(tctx);
static void atmel_sha_write_ctrl(struct atmel_sha_dev *dd, int dma)
static inline int atmel_sha_wait_for_data_ready(struct atmel_sha_dev *dd,
static int atmel_sha_xmit_cpu(struct atmel_sha_dev *dd, const u8 *buf,
static int atmel_sha_xmit_pdc(struct atmel_sha_dev *dd, dma_addr_t dma_addr1,
struct atmel_sha_dev *dd = data;
static int atmel_sha_xmit_dma(struct atmel_sha_dev *dd, dma_addr_t dma_addr1,
static int atmel_sha_xmit_start(struct atmel_sha_dev *dd, dma_addr_t dma_addr1,
static int atmel_sha_update_cpu(struct atmel_sha_dev *dd)
static int atmel_sha_xmit_dma_map(struct atmel_sha_dev *dd,
static int atmel_sha_update_dma_slow(struct atmel_sha_dev *dd)
static int atmel_sha_update_dma_start(struct atmel_sha_dev *dd)
struct atmel_sha_dev;
static void atmel_sha_update_dma_stop(struct atmel_sha_dev *dd)
static int atmel_sha_update_req(struct atmel_sha_dev *dd)
static int atmel_sha_final_req(struct atmel_sha_dev *dd)
struct atmel_sha_dev *dd;
struct atmel_sha_dev *dd = ctx->dd;