Lines Matching defs:dd

50 #define AES_REG_KEY(dd, x)		((dd)->pdata->key_ofs - \  argument
52 #define AES_REG_IV(dd, x) ((dd)->pdata->iv_ofs + ((x) * 0x04)) argument
54 #define AES_REG_CTRL(dd) ((dd)->pdata->ctrl_ofs) argument
68 #define AES_REG_DATA_N(dd, x) ((dd)->pdata->data_ofs + ((x) * 0x04)) argument
70 #define AES_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
72 #define AES_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
82 #define AES_REG_IRQ_STATUS(dd) ((dd)->pdata->irq_status_ofs) argument
83 #define AES_REG_IRQ_ENABLE(dd) ((dd)->pdata->irq_enable_ofs) argument
101 struct omap_aes_dev *dd; member
196 #define omap_aes_read(dd, offset) \ argument
205 static inline u32 omap_aes_read(struct omap_aes_dev *dd, u32 offset) in omap_aes_read()
212 #define omap_aes_write(dd, offset, value) \ 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()
327 struct omap_aes_dev *dd = NULL, *tmp; in omap_aes_find_dev() local
348 struct omap_aes_dev *dd = data; in omap_aes_dma_out_callback() local
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() local
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() local
716 struct omap_aes_dev *dd = (struct omap_aes_dev *)data; in omap_aes_queue_task() local
726 struct omap_aes_dev *dd; in omap_aes_crypt() local
792 struct omap_aes_dev *dd = NULL; in omap_aes_cra_init() local
816 struct omap_aes_dev *dd = NULL; in omap_aes_cra_exit() local
984 struct omap_aes_dev *dd = dev_id; in omap_aes_irq() local
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() local
1276 struct omap_aes_dev *dd = platform_get_drvdata(pdev); in omap_aes_remove() local