Lines Matching refs:atmel_tdes_dev
69 struct atmel_tdes_dev;
72 struct atmel_tdes_dev *dd;
90 struct atmel_tdes_dev { struct
178 static inline u32 atmel_tdes_read(struct atmel_tdes_dev *dd, u32 offset) in atmel_tdes_read()
183 static inline void atmel_tdes_write(struct atmel_tdes_dev *dd, in atmel_tdes_write()
189 static void atmel_tdes_write_n(struct atmel_tdes_dev *dd, u32 offset, in atmel_tdes_write_n()
196 static struct atmel_tdes_dev *atmel_tdes_find_dev(struct atmel_tdes_ctx *ctx) in atmel_tdes_find_dev()
198 struct atmel_tdes_dev *tdes_dd = NULL; in atmel_tdes_find_dev()
199 struct atmel_tdes_dev *tmp; in atmel_tdes_find_dev()
216 static int atmel_tdes_hw_init(struct atmel_tdes_dev *dd) in atmel_tdes_hw_init()
233 static inline unsigned int atmel_tdes_get_version(struct atmel_tdes_dev *dd) in atmel_tdes_get_version()
238 static void atmel_tdes_hw_version_init(struct atmel_tdes_dev *dd) in atmel_tdes_hw_version_init()
252 struct atmel_tdes_dev *dd = data; in atmel_tdes_dma_callback()
258 static int atmel_tdes_write_ctrl(struct atmel_tdes_dev *dd) in atmel_tdes_write_ctrl()
317 static int atmel_tdes_crypt_pdc_stop(struct atmel_tdes_dev *dd) in atmel_tdes_crypt_pdc_stop()
343 static int atmel_tdes_buff_init(struct atmel_tdes_dev *dd) in atmel_tdes_buff_init()
388 static void atmel_tdes_buff_cleanup(struct atmel_tdes_dev *dd) in atmel_tdes_buff_cleanup()
402 struct atmel_tdes_dev *dd = ctx->dd; in atmel_tdes_crypt_pdc()
438 struct atmel_tdes_dev *dd = ctx->dd; in atmel_tdes_crypt_dma()
503 static int atmel_tdes_crypt_start(struct atmel_tdes_dev *dd) in atmel_tdes_crypt_start()
574 static void atmel_tdes_finish_req(struct atmel_tdes_dev *dd, int err) in atmel_tdes_finish_req()
585 static int atmel_tdes_handle_queue(struct atmel_tdes_dev *dd, in atmel_tdes_handle_queue()
642 static int atmel_tdes_crypt_dma_stop(struct atmel_tdes_dev *dd) in atmel_tdes_crypt_dma_stop()
717 static int atmel_tdes_dma_init(struct atmel_tdes_dev *dd, in atmel_tdes_dma_init()
767 static void atmel_tdes_dma_cleanup(struct atmel_tdes_dev *dd) in atmel_tdes_dma_cleanup()
880 struct atmel_tdes_dev *dd; in atmel_tdes_cra_init()
1094 struct atmel_tdes_dev *dd = (struct atmel_tdes_dev *)data; in atmel_tdes_queue_task()
1101 struct atmel_tdes_dev *dd = (struct atmel_tdes_dev *) data; in atmel_tdes_done_task()
1130 struct atmel_tdes_dev *tdes_dd = dev_id; in atmel_tdes_irq()
1146 static void atmel_tdes_unregister_algs(struct atmel_tdes_dev *dd) in atmel_tdes_unregister_algs()
1154 static int atmel_tdes_register_algs(struct atmel_tdes_dev *dd) in atmel_tdes_register_algs()
1173 static void atmel_tdes_get_cap(struct atmel_tdes_dev *dd) in atmel_tdes_get_cap()
1232 struct atmel_tdes_dev *tdes_dd; in atmel_tdes_probe()
1360 struct atmel_tdes_dev *tdes_dd; in atmel_tdes_remove()