Lines Matching refs:omap_aes_dev
56 inline u32 omap_aes_read(struct omap_aes_dev *dd, u32 offset) in omap_aes_read()
70 inline void omap_aes_write(struct omap_aes_dev *dd, u32 offset, in omap_aes_write()
77 static inline void omap_aes_write_mask(struct omap_aes_dev *dd, u32 offset, in omap_aes_write_mask()
88 static void omap_aes_write_n(struct omap_aes_dev *dd, u32 offset, in omap_aes_write_n()
95 static int omap_aes_hw_init(struct omap_aes_dev *dd) in omap_aes_hw_init()
113 void omap_aes_clear_copy_flags(struct omap_aes_dev *dd) in omap_aes_clear_copy_flags()
120 int omap_aes_write_ctrl(struct omap_aes_dev *dd) in omap_aes_write_ctrl()
169 static void omap_aes_dma_trigger_omap2(struct omap_aes_dev *dd, int length) in omap_aes_dma_trigger_omap2()
187 static void omap_aes_dma_trigger_omap4(struct omap_aes_dev *dd, int length) in omap_aes_dma_trigger_omap4()
197 static void omap_aes_dma_stop(struct omap_aes_dev *dd) in omap_aes_dma_stop()
207 struct omap_aes_dev *omap_aes_find_dev(struct omap_aes_reqctx *rctx) in omap_aes_find_dev()
209 struct omap_aes_dev *dd; in omap_aes_find_dev()
212 dd = list_first_entry(&dev_list, struct omap_aes_dev, list); in omap_aes_find_dev()
222 struct omap_aes_dev *dd = data; in omap_aes_dma_out_callback()
228 static int omap_aes_dma_init(struct omap_aes_dev *dd) in omap_aes_dma_init()
256 static void omap_aes_dma_cleanup(struct omap_aes_dev *dd) in omap_aes_dma_cleanup()
265 static int omap_aes_crypt_dma(struct omap_aes_dev *dd, in omap_aes_crypt_dma()
360 int omap_aes_crypt_dma_start(struct omap_aes_dev *dd) in omap_aes_crypt_dma_start()
396 static void omap_aes_finish_req(struct omap_aes_dev *dd, int err) in omap_aes_finish_req()
408 int omap_aes_crypt_dma_stop(struct omap_aes_dev *dd) in omap_aes_crypt_dma_stop()
418 static int omap_aes_handle_queue(struct omap_aes_dev *dd, in omap_aes_handle_queue()
428 struct omap_aes_dev *dd) in omap_aes_prepare_req()
482 struct omap_aes_dev *dd = rctx->dd; in omap_aes_crypt_req()
491 static void omap_aes_copy_ivout(struct omap_aes_dev *dd, u8 *ivbuf) in omap_aes_copy_ivout()
501 struct omap_aes_dev *dd = (struct omap_aes_dev *)data; in omap_aes_done_task()
534 struct omap_aes_dev *dd; in omap_aes_crypt()
864 struct omap_aes_dev *dd = dev_id; in omap_aes_irq()
961 static int omap_aes_get_res_of(struct omap_aes_dev *dd, in omap_aes_get_res_of()
989 static int omap_aes_get_res_of(struct omap_aes_dev *dd, in omap_aes_get_res_of()
996 static int omap_aes_get_res_pdev(struct omap_aes_dev *dd, in omap_aes_get_res_pdev()
1049 struct omap_aes_dev *dd = dev_get_drvdata(dev); in queue_len_show()
1058 struct omap_aes_dev *dd; in queue_len_store()
1103 struct omap_aes_dev *dd; in omap_aes_probe()
1110 dd = devm_kzalloc(dev, sizeof(struct omap_aes_dev), GFP_KERNEL); in omap_aes_probe()
1260 struct omap_aes_dev *dd = platform_get_drvdata(pdev); in omap_aes_remove()