Lines Matching refs:omap_sham_dev
139 struct omap_sham_dev;
142 struct omap_sham_dev *dd;
168 struct omap_sham_dev *dd;
193 void (*write_ctrl)(struct omap_sham_dev *dd, size_t length,
195 void (*trigger)(struct omap_sham_dev *dd, size_t length);
196 int (*poll_irq)(struct omap_sham_dev *dd);
215 struct omap_sham_dev { struct
247 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read() argument
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()
299 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4()
365 static int omap_sham_hw_init(struct omap_sham_dev *dd) in omap_sham_hw_init()
383 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
412 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
416 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
445 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
452 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
504 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
509 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
515 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_cpu()
576 struct omap_sham_dev *dd = param; in omap_sham_dma_callback()
582 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_dma()
910 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
926 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_init()
996 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
1021 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_finish()
1082 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req()
1114 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1191 struct omap_sham_dev *dd = tctx->dd; in omap_sham_enqueue()
1201 struct omap_sham_dev *dd = ctx->dd; in omap_sham_update()
1305 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_setkey()
1730 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task()
1768 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1782 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2()
1797 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4()
1931 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1966 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1973 static int omap_sham_get_res_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
2006 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_show()
2014 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_store()
2036 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_show()
2045 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_store()
2084 struct omap_sham_dev *dd; in omap_sham_probe()
2091 dd = devm_kzalloc(dev, sizeof(struct omap_sham_dev), GFP_KERNEL); in omap_sham_probe()
2207 struct omap_sham_dev *dd; in omap_sham_remove()