Lines Matching defs:dd
52 #define DES_REG_KEY(dd, x) ((dd)->pdata->key_ofs - \ argument
55 #define DES_REG_IV(dd, x) ((dd)->pdata->iv_ofs + ((x) * 0x04)) argument
57 #define DES_REG_CTRL(dd) ((dd)->pdata->ctrl_ofs) argument
64 #define DES_REG_DATA_N(dd, x) ((dd)->pdata->data_ofs + ((x) * 0x04)) argument
66 #define DES_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
68 #define DES_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
72 #define DES_REG_IRQ_STATUS(dd) ((dd)->pdata->irq_status_ofs) argument
73 #define DES_REG_IRQ_ENABLE(dd) ((dd)->pdata->irq_enable_ofs) argument
90 struct omap_des_dev *dd; member
178 #define omap_des_read(dd, offset) \ argument
187 static inline u32 omap_des_read(struct omap_des_dev *dd, u32 offset) in omap_des_read()
194 #define omap_des_write(dd, offset, value) \ argument
201 static inline void omap_des_write(struct omap_des_dev *dd, u32 offset, in omap_des_write()
208 static inline void omap_des_write_mask(struct omap_des_dev *dd, u32 offset, in omap_des_write_mask()
219 static void omap_des_write_n(struct omap_des_dev *dd, u32 offset, in omap_des_write_n()
226 static int omap_des_hw_init(struct omap_des_dev *dd) in omap_des_hw_init()
250 static int omap_des_write_ctrl(struct omap_des_dev *dd) in omap_des_write_ctrl()
285 static void omap_des_dma_trigger_omap4(struct omap_des_dev *dd, int length) in omap_des_dma_trigger_omap4()
304 static void omap_des_dma_stop(struct omap_des_dev *dd) in omap_des_dma_stop()
316 struct omap_des_dev *dd = NULL, *tmp; in omap_des_find_dev() local
337 struct omap_des_dev *dd = data; in omap_des_dma_out_callback() local
343 static int omap_des_dma_init(struct omap_des_dev *dd) in omap_des_dma_init()
371 static void omap_des_dma_cleanup(struct omap_des_dev *dd) in omap_des_dma_cleanup()
385 struct omap_des_dev *dd = ctx->dd; in omap_des_crypt_dma() local
461 static int omap_des_crypt_dma_start(struct omap_des_dev *dd) in omap_des_crypt_dma_start()
496 static void omap_des_finish_req(struct omap_des_dev *dd, int err) in omap_des_finish_req()
508 static int omap_des_crypt_dma_stop(struct omap_des_dev *dd) in omap_des_crypt_dma_stop()
520 static int omap_des_handle_queue(struct omap_des_dev *dd, in omap_des_handle_queue()
535 struct omap_des_dev *dd = omap_des_find_dev(ctx); in omap_des_prepare_req() local
592 struct omap_des_dev *dd = omap_des_find_dev(ctx); in omap_des_crypt_req() local
602 struct omap_des_dev *dd = (struct omap_des_dev *)data; in omap_des_done_task() local
631 struct omap_des_dev *dd; in omap_des_crypt() local
851 struct omap_des_dev *dd = dev_id; in omap_des_irq() local
942 static int omap_des_get_of(struct omap_des_dev *dd, in omap_des_get_of()
955 static int omap_des_get_of(struct omap_des_dev *dd, in omap_des_get_of()
962 static int omap_des_get_pdev(struct omap_des_dev *dd, in omap_des_get_pdev()
974 struct omap_des_dev *dd; in omap_des_probe() local
1108 struct omap_des_dev *dd = platform_get_drvdata(pdev); in omap_des_remove() local