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
67 #define AES_REG_DATA_N(dd, x) ((dd)->pdata->data_ofs + ((x) * 0x04)) argument
69 #define AES_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
71 #define AES_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
81 #define AES_REG_IRQ_STATUS(dd) ((dd)->pdata->irq_status_ofs) argument
82 #define AES_REG_IRQ_ENABLE(dd) ((dd)->pdata->irq_enable_ofs) argument
100 struct omap_aes_dev *dd; member
195 #define omap_aes_read(dd, offset) \ argument
204 static inline u32 omap_aes_read(struct omap_aes_dev *dd, u32 offset) in omap_aes_read()
211 #define omap_aes_write(dd, offset, value) \ argument
218 static inline void omap_aes_write(struct omap_aes_dev *dd, u32 offset, in omap_aes_write()
225 static inline void omap_aes_write_mask(struct omap_aes_dev *dd, u32 offset, in omap_aes_write_mask()
236 static void omap_aes_write_n(struct omap_aes_dev *dd, u32 offset, in omap_aes_write_n()
243 static int omap_aes_hw_init(struct omap_aes_dev *dd) in omap_aes_hw_init()
253 static int omap_aes_write_ctrl(struct omap_aes_dev *dd) in omap_aes_write_ctrl()
292 static void omap_aes_dma_trigger_omap2(struct omap_aes_dev *dd, int length) in omap_aes_dma_trigger_omap2()
310 static void omap_aes_dma_trigger_omap4(struct omap_aes_dev *dd, int length) in omap_aes_dma_trigger_omap4()
318 static void omap_aes_dma_stop(struct omap_aes_dev *dd) in omap_aes_dma_stop()
330 struct omap_aes_dev *dd = NULL, *tmp; in omap_aes_find_dev() local
351 struct omap_aes_dev *dd = data; in omap_aes_dma_out_callback() local
357 static int omap_aes_dma_init(struct omap_aes_dev *dd) in omap_aes_dma_init()
396 static void omap_aes_dma_cleanup(struct omap_aes_dev *dd) in omap_aes_dma_cleanup()
421 struct omap_aes_dev *dd = ctx->dd; in omap_aes_crypt_dma() local
497 static int omap_aes_crypt_dma_start(struct omap_aes_dev *dd) in omap_aes_crypt_dma_start()
532 static void omap_aes_finish_req(struct omap_aes_dev *dd, int err) in omap_aes_finish_req()
543 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()
607 static int omap_aes_handle_queue(struct omap_aes_dev *dd, in omap_aes_handle_queue()
679 struct omap_aes_dev *dd = (struct omap_aes_dev *)data; in omap_aes_done_task() local
713 struct omap_aes_dev *dd = (struct omap_aes_dev *)data; in omap_aes_queue_task() local
723 struct omap_aes_dev *dd; in omap_aes_crypt() local
794 struct omap_aes_dev *dd = NULL; in omap_aes_cra_init() local
818 struct omap_aes_dev *dd = NULL; in omap_aes_cra_exit() local
986 struct omap_aes_dev *dd = dev_id; in omap_aes_irq() local
1085 static int omap_aes_get_res_of(struct omap_aes_dev *dd, in omap_aes_get_res_of()
1119 static int omap_aes_get_res_of(struct omap_aes_dev *dd, in omap_aes_get_res_of()
1126 static int omap_aes_get_res_pdev(struct omap_aes_dev *dd, in omap_aes_get_res_pdev()
1170 struct omap_aes_dev *dd; in omap_aes_probe() local
1280 struct omap_aes_dev *dd = platform_get_drvdata(pdev); in omap_aes_remove() local