Lines Matching defs:dd
49 #define DES_REG_KEY(dd, x) ((dd)->pdata->key_ofs - \ argument
52 #define DES_REG_IV(dd, x) ((dd)->pdata->iv_ofs + ((x) * 0x04)) argument
54 #define DES_REG_CTRL(dd) ((dd)->pdata->ctrl_ofs) argument
61 #define DES_REG_DATA_N(dd, x) ((dd)->pdata->data_ofs + ((x) * 0x04)) argument
63 #define DES_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
65 #define DES_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
69 #define DES_REG_IRQ_STATUS(dd) ((dd)->pdata->irq_status_ofs) argument
70 #define DES_REG_IRQ_ENABLE(dd) ((dd)->pdata->irq_enable_ofs) argument
87 struct omap_des_dev *dd; member
175 #define omap_des_read(dd, offset) \ argument
184 static inline u32 omap_des_read(struct omap_des_dev *dd, u32 offset) in omap_des_read()
191 #define omap_des_write(dd, offset, value) \ argument
198 static inline void omap_des_write(struct omap_des_dev *dd, u32 offset, in omap_des_write()
205 static inline void omap_des_write_mask(struct omap_des_dev *dd, u32 offset, in omap_des_write_mask()
216 static void omap_des_write_n(struct omap_des_dev *dd, u32 offset, in omap_des_write_n()
223 static int omap_des_hw_init(struct omap_des_dev *dd) in omap_des_hw_init()
246 static int omap_des_write_ctrl(struct omap_des_dev *dd) in omap_des_write_ctrl()
281 static void omap_des_dma_trigger_omap4(struct omap_des_dev *dd, int length) in omap_des_dma_trigger_omap4()
300 static void omap_des_dma_stop(struct omap_des_dev *dd) in omap_des_dma_stop()
312 struct omap_des_dev *dd = NULL, *tmp; in omap_des_find_dev() local
333 struct omap_des_dev *dd = data; in omap_des_dma_out_callback() local
339 static int omap_des_dma_init(struct omap_des_dev *dd) in omap_des_dma_init()
367 static void omap_des_dma_cleanup(struct omap_des_dev *dd) in omap_des_dma_cleanup()
381 struct omap_des_dev *dd = ctx->dd; in omap_des_crypt_dma() local
457 static int omap_des_crypt_dma_start(struct omap_des_dev *dd) in omap_des_crypt_dma_start()
492 static void omap_des_finish_req(struct omap_des_dev *dd, int err) in omap_des_finish_req()
504 static int omap_des_crypt_dma_stop(struct omap_des_dev *dd) in omap_des_crypt_dma_stop()
516 static int omap_des_handle_queue(struct omap_des_dev *dd, in omap_des_handle_queue()
531 struct omap_des_dev *dd = omap_des_find_dev(ctx); in omap_des_prepare_req() local
588 struct omap_des_dev *dd = omap_des_find_dev(ctx); in omap_des_crypt_req() local
598 struct omap_des_dev *dd = (struct omap_des_dev *)data; in omap_des_done_task() local
633 struct omap_des_dev *dd; in omap_des_crypt() local
837 struct omap_des_dev *dd = dev_id; in omap_des_irq() local
928 static int omap_des_get_of(struct omap_des_dev *dd, in omap_des_get_of()
941 static int omap_des_get_of(struct omap_des_dev *dd, in omap_des_get_of()
948 static int omap_des_get_pdev(struct omap_des_dev *dd, in omap_des_get_pdev()
960 struct omap_des_dev *dd; in omap_des_probe() local
1091 struct omap_des_dev *dd = platform_get_drvdata(pdev); in omap_des_remove() local