Lines Matching defs:dd

43 #define SHA_REG_IDIGEST(dd, x)		((dd)->pdata->idigest_ofs + ((x)*0x04))  argument
44 #define SHA_REG_DIN(dd, x) ((dd)->pdata->din_ofs + ((x) * 0x04)) argument
45 #define SHA_REG_DIGCNT(dd) ((dd)->pdata->digcnt_ofs) argument
47 #define SHA_REG_ODIGEST(dd, x) ((dd)->pdata->odigest_ofs + (x * 0x04)) argument
57 #define SHA_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
59 #define SHA_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
65 #define SHA_REG_SYSSTATUS(dd) ((dd)->pdata->sysstatus_ofs) argument
68 #define SHA_REG_MODE(dd) ((dd)->pdata->mode_ofs) argument
82 #define SHA_REG_LENGTH(dd) ((dd)->pdata->length_ofs) argument
141 struct omap_sham_dev *dd; member
247 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read()
252 static inline void omap_sham_write(struct omap_sham_dev *dd, in omap_sham_write()
258 static inline void omap_sham_write_mask(struct omap_sham_dev *dd, u32 address, in omap_sham_write_mask()
269 static inline int omap_sham_wait(struct omap_sham_dev *dd, u32 offset, u32 bit) in omap_sham_wait()
284 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap2() local
299 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4() local
365 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
394 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
398 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
427 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
434 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
489 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
494 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
500 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_cpu()
561 struct omap_sham_dev *dd = param; in omap_sham_dma_callback() local
567 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_dma()
911 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
924 struct omap_sham_dev *dd; in omap_sham_find_dev() local
943 struct omap_sham_dev *dd; in omap_sham_init() local
1005 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
1031 static int omap_sham_final_req(struct omap_sham_dev *dd) in omap_sham_final_req()
1064 struct omap_sham_dev *dd = ctx->dd; in omap_sham_hash_one_req() local
1117 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish() local
1135 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req() local
1178 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1187 struct omap_sham_dev *dd = ctx->dd; in omap_sham_enqueue() local
1197 struct omap_sham_dev *dd = omap_sham_find_dev(ctx); in omap_sham_update() local
1721 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task() local
1752 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1762 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2() local
1777 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4() local
1911 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1946 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1953 static int omap_sham_get_res_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
1986 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_show() local
1994 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_store() local
2016 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_show() local
2025 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_store() local
2061 struct omap_sham_dev *dd; in omap_sham_probe() local
2205 struct omap_sham_dev *dd; in omap_sham_remove() local