Lines Matching defs:dd

46 #define SHA_REG_IDIGEST(dd, x)		((dd)->pdata->idigest_ofs + ((x)*0x04))  argument
47 #define SHA_REG_DIN(dd, x) ((dd)->pdata->din_ofs + ((x) * 0x04)) argument
48 #define SHA_REG_DIGCNT(dd) ((dd)->pdata->digcnt_ofs) argument
50 #define SHA_REG_ODIGEST(dd, x) ((dd)->pdata->odigest_ofs + (x * 0x04)) argument
60 #define SHA_REG_REV(dd) ((dd)->pdata->rev_ofs) argument
62 #define SHA_REG_MASK(dd) ((dd)->pdata->mask_ofs) argument
68 #define SHA_REG_SYSSTATUS(dd) ((dd)->pdata->sysstatus_ofs) argument
71 #define SHA_REG_MODE(dd) ((dd)->pdata->mode_ofs) argument
85 #define SHA_REG_LENGTH(dd) ((dd)->pdata->length_ofs) argument
145 struct omap_sham_dev *dd; member
252 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read()
257 static inline void omap_sham_write(struct omap_sham_dev *dd, in omap_sham_write()
263 static inline void omap_sham_write_mask(struct omap_sham_dev *dd, u32 address, in omap_sham_write_mask()
274 static inline int omap_sham_wait(struct omap_sham_dev *dd, u32 offset, u32 bit) in omap_sham_wait()
289 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap2() local
304 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4() local
370 static int omap_sham_hw_init(struct omap_sham_dev *dd) in omap_sham_hw_init()
388 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
417 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
421 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
450 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
457 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
512 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
517 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
523 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_cpu()
584 struct omap_sham_dev *dd = param; in omap_sham_dma_callback() local
590 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_dma()
934 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
947 struct omap_sham_dev *dd; in omap_sham_find_dev() local
966 struct omap_sham_dev *dd; in omap_sham_init() local
1028 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
1054 static int omap_sham_final_req(struct omap_sham_dev *dd) in omap_sham_final_req()
1087 struct omap_sham_dev *dd = ctx->dd; in omap_sham_hash_one_req() local
1133 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish() local
1151 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req() local
1194 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1203 struct omap_sham_dev *dd = ctx->dd; in omap_sham_enqueue() local
1213 struct omap_sham_dev *dd = omap_sham_find_dev(ctx); in omap_sham_update() local
1729 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task() local
1760 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1770 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2() local
1785 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4() local
1919 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1954 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1961 static int omap_sham_get_res_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
1994 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_show() local
2002 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_store() local
2024 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_show() local
2033 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_store() local
2069 struct omap_sham_dev *dd; in omap_sham_probe() local
2211 struct omap_sham_dev *dd; in omap_sham_remove() local