Lines Matching defs:dd

42 #define DES_REG_KEY(dd, x)		((dd)->pdata->key_ofs - \  argument
45 #define DES_REG_IV(dd, x) ((dd)->pdata->iv_ofs + ((x) * 0x04)) argument
47 #define DES_REG_CTRL(dd) ((dd)->pdata->ctrl_ofs) argument
54 #define DES_REG_DATA_N(dd, x) ((dd)->pdata->data_ofs + ((x) * 0x04)) argument
56 #define DES_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
58 #define DES_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
62 #define DES_REG_IRQ_STATUS(dd) ((dd)->pdata->irq_status_ofs) argument
63 #define DES_REG_IRQ_ENABLE(dd) ((dd)->pdata->irq_enable_ofs) argument
79 struct omap_des_dev *dd; member
167 #define omap_des_read(dd, offset) \ argument
176 static inline u32 omap_des_read(struct omap_des_dev *dd, u32 offset) in omap_des_read()
183 #define omap_des_write(dd, offset, value) \ argument
190 static inline void omap_des_write(struct omap_des_dev *dd, u32 offset, in omap_des_write()
197 static inline void omap_des_write_mask(struct omap_des_dev *dd, u32 offset, in omap_des_write_mask()
208 static void omap_des_write_n(struct omap_des_dev *dd, u32 offset, in omap_des_write_n()
215 static int omap_des_hw_init(struct omap_des_dev *dd) in omap_des_hw_init()
238 static int omap_des_write_ctrl(struct omap_des_dev *dd) in omap_des_write_ctrl()
273 static void omap_des_dma_trigger_omap4(struct omap_des_dev *dd, int length) in omap_des_dma_trigger_omap4()
292 static void omap_des_dma_stop(struct omap_des_dev *dd) in omap_des_dma_stop()
304 struct omap_des_dev *dd = NULL, *tmp; in omap_des_find_dev() local
325 struct omap_des_dev *dd = data; in omap_des_dma_out_callback() local
331 static int omap_des_dma_init(struct omap_des_dev *dd) in omap_des_dma_init()
359 static void omap_des_dma_cleanup(struct omap_des_dev *dd) in omap_des_dma_cleanup()
373 struct omap_des_dev *dd = ctx->dd; in omap_des_crypt_dma() local
449 static int omap_des_crypt_dma_start(struct omap_des_dev *dd) in omap_des_crypt_dma_start()
484 static void omap_des_finish_req(struct omap_des_dev *dd, int err) in omap_des_finish_req()
496 static int omap_des_crypt_dma_stop(struct omap_des_dev *dd) in omap_des_crypt_dma_stop()
508 static int omap_des_handle_queue(struct omap_des_dev *dd, in omap_des_handle_queue()
518 struct omap_des_dev *dd) in omap_des_prepare_req()
575 struct omap_des_dev *dd = omap_des_find_dev(ctx); in omap_des_crypt_req() local
586 struct omap_des_dev *dd = (struct omap_des_dev *)data; in omap_des_done_task() local
621 struct omap_des_dev *dd; in omap_des_crypt() local
826 struct omap_des_dev *dd = dev_id; in omap_des_irq() local
912 static int omap_des_get_of(struct omap_des_dev *dd, in omap_des_get_of()
925 static int omap_des_get_of(struct omap_des_dev *dd, in omap_des_get_of()
932 static int omap_des_get_pdev(struct omap_des_dev *dd, in omap_des_get_pdev()
944 struct omap_des_dev *dd; in omap_des_probe() local
1069 struct omap_des_dev *dd = platform_get_drvdata(pdev); in omap_des_remove() local