Lines Matching defs:dd

49 #define SHA_REG_IDIGEST(dd, x)		((dd)->pdata->idigest_ofs + ((x)*0x04))  argument
50 #define SHA_REG_DIN(dd, x) ((dd)->pdata->din_ofs + ((x) * 0x04)) argument
51 #define SHA_REG_DIGCNT(dd) ((dd)->pdata->digcnt_ofs) argument
53 #define SHA_REG_ODIGEST(dd, x) ((dd)->pdata->odigest_ofs + (x * 0x04)) argument
63 #define SHA_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
65 #define SHA_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
71 #define SHA_REG_SYSSTATUS(dd) ((dd)->pdata->sysstatus_ofs) argument
74 #define SHA_REG_MODE(dd) ((dd)->pdata->mode_ofs) argument
88 #define SHA_REG_LENGTH(dd) ((dd)->pdata->length_ofs) argument
141 struct omap_sham_dev *dd; member
167 struct omap_sham_dev *dd; member
245 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read()
250 static inline void omap_sham_write(struct omap_sham_dev *dd, in omap_sham_write()
256 static inline void omap_sham_write_mask(struct omap_sham_dev *dd, u32 address, in omap_sham_write_mask()
267 static inline int omap_sham_wait(struct omap_sham_dev *dd, u32 offset, u32 bit) in omap_sham_wait()
282 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap2() local
297 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4() local
363 static int omap_sham_hw_init(struct omap_sham_dev *dd) in omap_sham_hw_init()
381 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
410 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
414 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
443 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
450 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
502 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
507 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
513 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, const u8 *buf, in omap_sham_xmit_cpu()
552 struct omap_sham_dev *dd = param; in omap_sham_dma_callback() local
558 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, dma_addr_t dma_addr, in omap_sham_xmit_dma()
673 static int omap_sham_xmit_dma_map(struct omap_sham_dev *dd, in omap_sham_xmit_dma_map()
696 static int omap_sham_update_dma_slow(struct omap_sham_dev *dd) in omap_sham_update_dma_slow()
723 static int omap_sham_update_dma_start(struct omap_sham_dev *dd) in omap_sham_update_dma_start()
790 static int omap_sham_update_cpu(struct omap_sham_dev *dd) in omap_sham_update_cpu()
814 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
840 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_init() local
908 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
928 static int omap_sham_final_req(struct omap_sham_dev *dd) in omap_sham_final_req()
972 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish() local
990 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req() local
1013 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1077 struct omap_sham_dev *dd = tctx->dd; in omap_sham_enqueue() local
1087 struct omap_sham_dev *dd = ctx->dd; in omap_sham_update() local
1196 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_setkey() local
1614 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task() local
1654 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1668 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2() local
1683 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4() local
1817 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1856 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1863 static int omap_sham_get_res_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
1905 struct omap_sham_dev *dd; in omap_sham_probe() local
2008 static struct omap_sham_dev *dd; in omap_sham_remove() local