Lines Matching refs:omap_sham_dev
142 struct omap_sham_dev;
145 struct omap_sham_dev *dd;
171 struct omap_sham_dev *dd;
196 void (*write_ctrl)(struct omap_sham_dev *dd, size_t length,
198 void (*trigger)(struct omap_sham_dev *dd, size_t length);
199 int (*poll_irq)(struct omap_sham_dev *dd);
218 struct omap_sham_dev { struct
250 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read() argument
255 static inline void omap_sham_write(struct omap_sham_dev *dd, in omap_sham_write()
261 static inline void omap_sham_write_mask(struct omap_sham_dev *dd, u32 address, in omap_sham_write_mask()
272 static inline int omap_sham_wait(struct omap_sham_dev *dd, u32 offset, u32 bit) in omap_sham_wait()
287 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap2()
302 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4()
368 static int omap_sham_hw_init(struct omap_sham_dev *dd) in omap_sham_hw_init()
386 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
415 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
419 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
448 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
455 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
507 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
512 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
518 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_cpu()
579 struct omap_sham_dev *dd = param; in omap_sham_dma_callback()
585 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_dma()
913 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
929 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_init()
999 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
1024 static int omap_sham_final_req(struct omap_sham_dev *dd) in omap_sham_final_req()
1068 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish()
1086 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req()
1118 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1195 struct omap_sham_dev *dd = tctx->dd; in omap_sham_enqueue()
1205 struct omap_sham_dev *dd = ctx->dd; in omap_sham_update()
1310 struct omap_sham_dev *dd = NULL, *tmp; in omap_sham_setkey()
1735 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task()
1773 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1787 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2()
1802 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4()
1936 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1971 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1978 static int omap_sham_get_res_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
2012 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_show()
2020 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_store()
2042 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_show()
2051 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_store()
2090 struct omap_sham_dev *dd; in omap_sham_probe()
2097 dd = devm_kzalloc(dev, sizeof(struct omap_sham_dev), GFP_KERNEL); in omap_sham_probe()
2213 struct omap_sham_dev *dd; in omap_sham_remove()