Lines Matching refs:omap_aes_dev
101 struct omap_aes_dev *dd;
125 void (*trigger)(struct omap_aes_dev *dd, int length);
146 struct omap_aes_dev { struct
205 static inline u32 omap_aes_read(struct omap_aes_dev *dd, u32 offset) in omap_aes_read() argument
219 static inline void omap_aes_write(struct omap_aes_dev *dd, u32 offset, in omap_aes_write()
226 static inline void omap_aes_write_mask(struct omap_aes_dev *dd, u32 offset, in omap_aes_write_mask()
237 static void omap_aes_write_n(struct omap_aes_dev *dd, u32 offset, in omap_aes_write_n()
244 static int omap_aes_hw_init(struct omap_aes_dev *dd) in omap_aes_hw_init()
254 static int omap_aes_write_ctrl(struct omap_aes_dev *dd) in omap_aes_write_ctrl()
289 static void omap_aes_dma_trigger_omap2(struct omap_aes_dev *dd, int length) in omap_aes_dma_trigger_omap2()
307 static void omap_aes_dma_trigger_omap4(struct omap_aes_dev *dd, int length) in omap_aes_dma_trigger_omap4()
315 static void omap_aes_dma_stop(struct omap_aes_dev *dd) in omap_aes_dma_stop()
325 static struct omap_aes_dev *omap_aes_find_dev(struct omap_aes_ctx *ctx) in omap_aes_find_dev()
327 struct omap_aes_dev *dd = NULL, *tmp; in omap_aes_find_dev()
348 struct omap_aes_dev *dd = data; in omap_aes_dma_out_callback()
354 static int omap_aes_dma_init(struct omap_aes_dev *dd) in omap_aes_dma_init()
393 static void omap_aes_dma_cleanup(struct omap_aes_dev *dd) in omap_aes_dma_cleanup()
418 struct omap_aes_dev *dd = ctx->dd; in omap_aes_crypt_dma()
494 static int omap_aes_crypt_dma_start(struct omap_aes_dev *dd) in omap_aes_crypt_dma_start()
529 static void omap_aes_finish_req(struct omap_aes_dev *dd, int err) in omap_aes_finish_req()
540 static int omap_aes_crypt_dma_stop(struct omap_aes_dev *dd) in omap_aes_crypt_dma_stop()
577 static int omap_aes_copy_sgs(struct omap_aes_dev *dd) in omap_aes_copy_sgs()
608 static int omap_aes_handle_queue(struct omap_aes_dev *dd, in omap_aes_handle_queue()
681 struct omap_aes_dev *dd = (struct omap_aes_dev *)data; in omap_aes_done_task()
716 struct omap_aes_dev *dd = (struct omap_aes_dev *)data; in omap_aes_queue_task()
726 struct omap_aes_dev *dd; in omap_aes_crypt()
792 struct omap_aes_dev *dd = NULL; in omap_aes_cra_init()
816 struct omap_aes_dev *dd = NULL; in omap_aes_cra_exit()
984 struct omap_aes_dev *dd = dev_id; in omap_aes_irq()
1081 static int omap_aes_get_res_of(struct omap_aes_dev *dd, in omap_aes_get_res_of()
1115 static int omap_aes_get_res_of(struct omap_aes_dev *dd, in omap_aes_get_res_of()
1122 static int omap_aes_get_res_pdev(struct omap_aes_dev *dd, in omap_aes_get_res_pdev()
1166 struct omap_aes_dev *dd; in omap_aes_probe()
1172 dd = devm_kzalloc(dev, sizeof(struct omap_aes_dev), GFP_KERNEL); in omap_aes_probe()
1276 struct omap_aes_dev *dd = platform_get_drvdata(pdev); in omap_aes_remove()