Lines Matching refs:omap_sham_dev
138 struct omap_sham_dev;
141 struct omap_sham_dev *dd;
167 struct omap_sham_dev *dd;
192 void (*write_ctrl)(struct omap_sham_dev *dd, size_t length,
194 void (*trigger)(struct omap_sham_dev *dd, size_t length);
195 int (*poll_irq)(struct omap_sham_dev *dd);
214 struct omap_sham_dev { struct
245 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read() argument
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()
297 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4()
363 static int omap_sham_hw_init(struct omap_sham_dev *dd) in omap_sham_hw_init()
375 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
404 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
408 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
437 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
444 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
496 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
501 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
507 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, const u8 *buf, in omap_sham_xmit_cpu()
546 struct omap_sham_dev *dd = param; in omap_sham_dma_callback()
552 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, dma_addr_t dma_addr, in omap_sham_xmit_dma()
667 static int omap_sham_xmit_dma_map(struct omap_sham_dev *dd, in omap_sham_xmit_dma_map()
690 static int omap_sham_update_dma_slow(struct omap_sham_dev *dd) in omap_sham_update_dma_slow()
717 static int omap_sham_update_dma_start(struct omap_sham_dev *dd) in omap_sham_update_dma_start()
784 static int omap_sham_update_cpu(struct omap_sham_dev *dd) in omap_sham_update_cpu()
808 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
834 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_init()
902 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
922 static int omap_sham_final_req(struct omap_sham_dev *dd) in omap_sham_final_req()
966 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish()
984 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req()
1007 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1071 struct omap_sham_dev *dd = tctx->dd; in omap_sham_enqueue()
1081 struct omap_sham_dev *dd = ctx->dd; in omap_sham_update()
1190 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_setkey()
1608 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task()
1648 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1662 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2()
1677 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4()
1807 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1846 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1853 static int omap_sham_get_res_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
1895 struct omap_sham_dev *dd; in omap_sham_probe()
1902 dd = devm_kzalloc(dev, sizeof(struct omap_sham_dev), GFP_KERNEL); in omap_sham_probe()
1991 static struct omap_sham_dev *dd; in omap_sham_remove()