Lines Matching refs:s5p_aes_dev
252 struct s5p_aes_dev *dev;
299 struct s5p_aes_dev { struct
355 struct s5p_aes_dev *dd; argument
383 struct s5p_aes_dev *dd;
437 static struct s5p_aes_dev *s5p_dev;
439 static void s5p_set_dma_indata(struct s5p_aes_dev *dev, in s5p_set_dma_indata()
446 static void s5p_set_dma_outdata(struct s5p_aes_dev *dev, in s5p_set_dma_outdata()
453 static void s5p_free_sg_cpy(struct s5p_aes_dev *dev, struct scatterlist **sg) in s5p_free_sg_cpy()
480 static void s5p_sg_done(struct s5p_aes_dev *dev) in s5p_sg_done()
507 static void s5p_unset_outdata(struct s5p_aes_dev *dev) in s5p_unset_outdata()
512 static void s5p_unset_indata(struct s5p_aes_dev *dev) in s5p_unset_indata()
517 static int s5p_make_sg_cpy(struct s5p_aes_dev *dev, struct scatterlist *src, in s5p_make_sg_cpy()
543 static int s5p_set_outdata(struct s5p_aes_dev *dev, struct scatterlist *sg) in s5p_set_outdata()
556 static int s5p_set_indata(struct s5p_aes_dev *dev, struct scatterlist *sg) in s5p_set_indata()
576 static int s5p_aes_tx(struct s5p_aes_dev *dev) in s5p_aes_tx()
598 static int s5p_aes_rx(struct s5p_aes_dev *dev/*, bool *set_dma*/) in s5p_aes_rx()
613 static inline u32 s5p_hash_read(struct s5p_aes_dev *dd, u32 offset) in s5p_hash_read()
618 static inline void s5p_hash_write(struct s5p_aes_dev *dd, in s5p_hash_write()
629 static void s5p_set_dma_hashdata(struct s5p_aes_dev *dev, in s5p_set_dma_hashdata()
646 static int s5p_hash_rx(struct s5p_aes_dev *dev) in s5p_hash_rx()
663 struct s5p_aes_dev *dev = platform_get_drvdata(pdev); in s5p_aes_interrupt()
790 struct s5p_aes_dev *dd = ctx->dd; in s5p_hash_read_msg()
803 static void s5p_hash_write_ctx_iv(struct s5p_aes_dev *dd, in s5p_hash_write_ctx_iv()
842 static void s5p_hash_dma_flush(struct s5p_aes_dev *dev) in s5p_hash_dma_flush()
853 static void s5p_hash_dma_enable(struct s5p_aes_dev *dev) in s5p_hash_dma_enable()
863 static void s5p_hash_irq_disable(struct s5p_aes_dev *dev, u32 flags) in s5p_hash_irq_disable()
873 static void s5p_hash_irq_enable(struct s5p_aes_dev *dev, int flags) in s5p_hash_irq_enable()
883 static void s5p_hash_set_flow(struct s5p_aes_dev *dev, u32 hashflow) in s5p_hash_set_flow()
906 static void s5p_ahash_dma_init(struct s5p_aes_dev *dev, u32 hashflow) in s5p_ahash_dma_init()
934 static void s5p_hash_write_ctrl(struct s5p_aes_dev *dd, size_t length, in s5p_hash_write_ctrl()
984 static int s5p_hash_xmit_dma(struct s5p_aes_dev *dd, size_t length, in s5p_hash_xmit_dma()
1300 static void s5p_hash_update_dma_stop(struct s5p_aes_dev *dd) in s5p_hash_update_dma_stop()
1315 struct s5p_aes_dev *dd = ctx->dd; in s5p_hash_finish()
1331 struct s5p_aes_dev *dd = ctx->dd; in s5p_hash_finish_req()
1373 static int s5p_hash_handle_queue(struct s5p_aes_dev *dd, in s5p_hash_handle_queue()
1449 struct s5p_aes_dev *dd = (struct s5p_aes_dev *)data; in s5p_hash_tasklet_cb()
1811 static void s5p_set_aes(struct s5p_aes_dev *dev, in s5p_set_aes()
1846 static int s5p_set_indata_start(struct s5p_aes_dev *dev, in s5p_set_indata_start()
1873 static int s5p_set_outdata_start(struct s5p_aes_dev *dev, in s5p_set_outdata_start()
1900 static void s5p_aes_crypt_start(struct s5p_aes_dev *dev, unsigned long mode) in s5p_aes_crypt_start()
1979 struct s5p_aes_dev *dev = (struct s5p_aes_dev *)data; in s5p_tasklet_cb()
2005 static int s5p_aes_handle_req(struct s5p_aes_dev *dev, in s5p_aes_handle_req()
2031 struct s5p_aes_dev *dev = ctx->dev; in s5p_aes_crypt()
2163 struct s5p_aes_dev *pdata; in s5p_aes_probe()
2323 struct s5p_aes_dev *pdata = platform_get_drvdata(pdev); in s5p_aes_remove()