Lines Matching refs:img_hash_dev

81 struct img_hash_dev;
84 struct img_hash_dev *hdev;
111 struct img_hash_dev *hdev;
116 struct img_hash_dev { struct
148 static inline u32 img_hash_read(struct img_hash_dev *hdev, u32 offset) in img_hash_read() argument
153 static inline void img_hash_write(struct img_hash_dev *hdev, in img_hash_write()
159 static inline u32 img_hash_read_result_queue(struct img_hash_dev *hdev) in img_hash_read_result_queue()
164 static void img_hash_start(struct img_hash_dev *hdev, bool dma) in img_hash_start()
190 static int img_hash_xmit_cpu(struct img_hash_dev *hdev, const u8 *buf, in img_hash_xmit_cpu()
211 struct img_hash_dev *hdev = (struct img_hash_dev *)data; in img_hash_dma_callback()
222 static int img_hash_xmit_dma(struct img_hash_dev *hdev, struct scatterlist *sg) in img_hash_xmit_dma()
253 static int img_hash_write_via_cpu(struct img_hash_dev *hdev) in img_hash_write_via_cpu()
295 struct img_hash_dev *hdev = ctx->hdev; in img_hash_finish_req()
313 static int img_hash_write_via_dma(struct img_hash_dev *hdev) in img_hash_write_via_dma()
331 static int img_hash_dma_init(struct img_hash_dev *hdev) in img_hash_dma_init()
359 struct img_hash_dev *hdev = (struct img_hash_dev *)d; in img_hash_dma_task()
429 static int img_hash_write_via_dma_stop(struct img_hash_dev *hdev) in img_hash_write_via_dma_stop()
439 static int img_hash_process_data(struct img_hash_dev *hdev) in img_hash_process_data()
459 static int img_hash_hw_init(struct img_hash_dev *hdev) in img_hash_hw_init()
495 static int img_hash_handle_queue(struct img_hash_dev *hdev, in img_hash_handle_queue()
622 struct img_hash_dev *hdev = NULL; in img_hash_digest()
623 struct img_hash_dev *tmp; in img_hash_digest()
725 struct img_hash_dev *hdev = dev_id; in img_irq_handler()
862 static int img_register_algs(struct img_hash_dev *hdev) in img_register_algs()
880 static int img_unregister_algs(struct img_hash_dev *hdev) in img_unregister_algs()
891 struct img_hash_dev *hdev = (struct img_hash_dev *)data; in img_hash_done_task()
938 struct img_hash_dev *hdev; in img_hash_probe()
1052 struct img_hash_dev *hdev; in img_hash_remove()
1075 struct img_hash_dev *hdev = dev_get_drvdata(dev); in img_hash_suspend()
1085 struct img_hash_dev *hdev = dev_get_drvdata(dev); in img_hash_resume()