Lines Matching refs:omap_sham_dev

142 struct omap_sham_dev;
145 struct omap_sham_dev *dd;
195 void (*write_ctrl)(struct omap_sham_dev *dd, size_t length,
197 void (*trigger)(struct omap_sham_dev *dd, size_t length);
198 int (*poll_irq)(struct omap_sham_dev *dd);
217 struct omap_sham_dev { struct
252 static inline u32 omap_sham_read(struct omap_sham_dev *dd, u32 offset) in omap_sham_read() argument
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()
304 struct omap_sham_dev *dd = ctx->dd; in omap_sham_copy_hash_omap4()
370 static void omap_sham_write_ctrl_omap2(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap2()
399 static void omap_sham_trigger_omap2(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap2()
403 static int omap_sham_poll_irq_omap2(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap2()
432 static void omap_sham_write_n(struct omap_sham_dev *dd, u32 offset, in omap_sham_write_n()
439 static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length, in omap_sham_write_ctrl_omap4()
494 static void omap_sham_trigger_omap4(struct omap_sham_dev *dd, size_t length) in omap_sham_trigger_omap4()
499 static int omap_sham_poll_irq_omap4(struct omap_sham_dev *dd) in omap_sham_poll_irq_omap4()
505 static int omap_sham_xmit_cpu(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_cpu()
566 struct omap_sham_dev *dd = param; in omap_sham_dma_callback()
572 static int omap_sham_xmit_dma(struct omap_sham_dev *dd, size_t length, in omap_sham_xmit_dma()
916 static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) in omap_sham_update_dma_stop()
927 static struct omap_sham_dev *omap_sham_find_dev(struct omap_sham_reqctx *ctx) in omap_sham_find_dev()
929 struct omap_sham_dev *dd; in omap_sham_find_dev()
935 dd = list_first_entry(&sham.dev_list, struct omap_sham_dev, list); in omap_sham_find_dev()
948 struct omap_sham_dev *dd; in omap_sham_init()
1010 static int omap_sham_update_req(struct omap_sham_dev *dd) in omap_sham_update_req()
1036 static int omap_sham_final_req(struct omap_sham_dev *dd) in omap_sham_final_req()
1069 struct omap_sham_dev *dd = ctx->dd; in omap_sham_hash_one_req()
1118 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish()
1136 struct omap_sham_dev *dd = ctx->dd; in omap_sham_finish_req()
1179 static int omap_sham_handle_queue(struct omap_sham_dev *dd, in omap_sham_handle_queue()
1188 struct omap_sham_dev *dd = ctx->dd; in omap_sham_enqueue()
1198 struct omap_sham_dev *dd = omap_sham_find_dev(ctx); in omap_sham_update()
1714 struct omap_sham_dev *dd = (struct omap_sham_dev *)data; in omap_sham_done_task()
1745 static irqreturn_t omap_sham_irq_common(struct omap_sham_dev *dd) in omap_sham_irq_common()
1755 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap2()
1770 struct omap_sham_dev *dd = dev_id; in omap_sham_irq_omap4()
1904 static int omap_sham_get_res_of(struct omap_sham_dev *dd, in omap_sham_get_res_of()
1939 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_pdev(struct omap_sham_dev *dd, in omap_sham_get_res_pdev()
1979 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_show()
1987 struct omap_sham_dev *dd = dev_get_drvdata(dev); in fallback_store()
2009 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_show()
2018 struct omap_sham_dev *dd = dev_get_drvdata(dev); in queue_len_store()
2054 struct omap_sham_dev *dd; in omap_sham_probe()
2061 dd = devm_kzalloc(dev, sizeof(struct omap_sham_dev), GFP_KERNEL); in omap_sham_probe()
2196 struct omap_sham_dev *dd; in omap_sham_remove()