Lines Matching defs:dd

104 	struct atmel_aes_dev	*dd;  member
347 static inline u32 atmel_aes_read(struct atmel_aes_dev *dd, u32 offset) in atmel_aes_read()
363 static inline void atmel_aes_write(struct atmel_aes_dev *dd, in atmel_aes_write()
378 static void atmel_aes_read_n(struct atmel_aes_dev *dd, u32 offset, in atmel_aes_read_n()
385 static void atmel_aes_write_n(struct atmel_aes_dev *dd, u32 offset, in atmel_aes_write_n()
392 static inline void atmel_aes_read_block(struct atmel_aes_dev *dd, u32 offset, in atmel_aes_read_block()
398 static inline void atmel_aes_write_block(struct atmel_aes_dev *dd, u32 offset, in atmel_aes_write_block()
404 static inline int atmel_aes_wait_for_data_ready(struct atmel_aes_dev *dd, in atmel_aes_wait_for_data_ready()
435 static int atmel_aes_hw_init(struct atmel_aes_dev *dd) in atmel_aes_hw_init()
449 static inline unsigned int atmel_aes_get_version(struct atmel_aes_dev *dd) in atmel_aes_get_version()
454 static int atmel_aes_hw_version_init(struct atmel_aes_dev *dd) in atmel_aes_hw_version_init()
470 static inline void atmel_aes_set_mode(struct atmel_aes_dev *dd, in atmel_aes_set_mode()
477 static inline bool atmel_aes_is_encrypt(const struct atmel_aes_dev *dd) in atmel_aes_is_encrypt()
486 static void atmel_aes_set_iv_as_last_ciphertext_block(struct atmel_aes_dev *dd) in atmel_aes_set_iv_as_last_ciphertext_block()
515 static void atmel_aes_ctr_update_req_iv(struct atmel_aes_dev *dd) in atmel_aes_ctr_update_req_iv()
535 static inline int atmel_aes_complete(struct atmel_aes_dev *dd, int err) in atmel_aes_complete()
564 static void atmel_aes_write_ctrl_key(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl_key()
595 static inline void atmel_aes_write_ctrl(struct atmel_aes_dev *dd, bool use_dma, in atmel_aes_write_ctrl()
605 static int atmel_aes_cpu_transfer(struct atmel_aes_dev *dd) in atmel_aes_cpu_transfer()
638 static int atmel_aes_cpu_start(struct atmel_aes_dev *dd, in atmel_aes_cpu_start()
665 static bool atmel_aes_check_aligned(struct atmel_aes_dev *dd, in atmel_aes_check_aligned()
715 static int atmel_aes_map(struct atmel_aes_dev *dd, in atmel_aes_map()
780 static void atmel_aes_unmap(struct atmel_aes_dev *dd) in atmel_aes_unmap()
807 static int atmel_aes_dma_transfer_start(struct atmel_aes_dev *dd, in atmel_aes_dma_transfer_start()
858 static int atmel_aes_dma_start(struct atmel_aes_dev *dd, in atmel_aes_dma_start()
925 struct atmel_aes_dev *dd = data; in atmel_aes_dma_callback() local
932 static int atmel_aes_handle_queue(struct atmel_aes_dev *dd, in atmel_aes_handle_queue()
974 static int atmel_aes_transfer_complete(struct atmel_aes_dev *dd) in atmel_aes_transfer_complete()
979 static int atmel_aes_start(struct atmel_aes_dev *dd) in atmel_aes_start()
1003 static int atmel_aes_ctr_transfer(struct atmel_aes_dev *dd) in atmel_aes_ctr_transfer()
1059 static int atmel_aes_ctr_start(struct atmel_aes_dev *dd) in atmel_aes_ctr_start()
1269 struct atmel_aes_dev *dd; in atmel_aes_init_tfm() local
1286 struct atmel_aes_dev *dd; in atmel_aes_ctr_init_tfm() local
1453 static int atmel_aes_gcm_ghash(struct atmel_aes_dev *dd, in atmel_aes_gcm_ghash()
1470 static int atmel_aes_gcm_ghash_init(struct atmel_aes_dev *dd) in atmel_aes_gcm_ghash_init()
1485 static int atmel_aes_gcm_ghash_finalize(struct atmel_aes_dev *dd) in atmel_aes_gcm_ghash_finalize()
1511 static int atmel_aes_gcm_start(struct atmel_aes_dev *dd) in atmel_aes_gcm_start()
1548 static int atmel_aes_gcm_process(struct atmel_aes_dev *dd) in atmel_aes_gcm_process()
1571 static int atmel_aes_gcm_length(struct atmel_aes_dev *dd) in atmel_aes_gcm_length()
1606 static int atmel_aes_gcm_data(struct atmel_aes_dev *dd) in atmel_aes_gcm_data()
1654 static int atmel_aes_gcm_tag_init(struct atmel_aes_dev *dd) in atmel_aes_gcm_tag_init()
1680 static int atmel_aes_gcm_tag(struct atmel_aes_dev *dd) in atmel_aes_gcm_tag()
1699 static int atmel_aes_gcm_finalize(struct atmel_aes_dev *dd) in atmel_aes_gcm_finalize()
1778 struct atmel_aes_dev *dd; in atmel_aes_gcm_init() local
1820 static int atmel_aes_xts_start(struct atmel_aes_dev *dd) in atmel_aes_xts_start()
1846 static int atmel_aes_xts_process_data(struct atmel_aes_dev *dd) in atmel_aes_xts_process_data()
1915 struct atmel_aes_dev *dd; in atmel_aes_xts_init_tfm() local
1972 static void atmel_aes_authenc_complete(struct atmel_aes_dev *dd, int err) in atmel_aes_authenc_complete()
1982 static int atmel_aes_authenc_start(struct atmel_aes_dev *dd) in atmel_aes_authenc_start()
2000 static int atmel_aes_authenc_init(struct atmel_aes_dev *dd, int err, in atmel_aes_authenc_init()
2021 static int atmel_aes_authenc_transfer(struct atmel_aes_dev *dd, int err, in atmel_aes_authenc_transfer()
2064 static int atmel_aes_authenc_digest(struct atmel_aes_dev *dd) in atmel_aes_authenc_digest()
2076 static int atmel_aes_authenc_final(struct atmel_aes_dev *dd, int err, in atmel_aes_authenc_final()
2144 struct atmel_aes_dev *dd; in atmel_aes_authenc_init_tfm() local
2320 static int atmel_aes_buff_init(struct atmel_aes_dev *dd) in atmel_aes_buff_init()
2334 static void atmel_aes_buff_cleanup(struct atmel_aes_dev *dd) in atmel_aes_buff_cleanup()
2339 static int atmel_aes_dma_init(struct atmel_aes_dev *dd) in atmel_aes_dma_init()
2365 static void atmel_aes_dma_cleanup(struct atmel_aes_dev *dd) in atmel_aes_dma_cleanup()
2373 struct atmel_aes_dev *dd = (struct atmel_aes_dev *)data; in atmel_aes_queue_task() local
2380 struct atmel_aes_dev *dd = (struct atmel_aes_dev *)data; in atmel_aes_done_task() local
2404 static void atmel_aes_unregister_algs(struct atmel_aes_dev *dd) in atmel_aes_unregister_algs()
2435 static int atmel_aes_register_algs(struct atmel_aes_dev *dd) in atmel_aes_register_algs()
2505 static void atmel_aes_get_cap(struct atmel_aes_dev *dd) in atmel_aes_get_cap()