Lines Matching defs:hcu_dev
169 static int ocs_hcu_wait_busy(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_wait_busy()
179 static void ocs_hcu_done_irq_en(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_done_irq_en()
189 static void ocs_hcu_dma_irq_en(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_dma_irq_en()
201 static void ocs_hcu_irq_dis(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_irq_dis()
207 static int ocs_hcu_wait_and_disable_irq(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_wait_and_disable_irq()
243 static int ocs_hcu_get_intermediate_data(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_get_intermediate_data()
286 static void ocs_hcu_set_intermediate_data(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_set_intermediate_data()
307 static int ocs_hcu_get_digest(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_get_digest()
341 static int ocs_hcu_hw_cfg(struct ocs_hcu_dev *hcu_dev, enum ocs_hcu_algo algo, in ocs_hcu_hw_cfg()
374 static void ocs_hcu_clear_key(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_clear_key()
391 static int ocs_hcu_write_key(struct ocs_hcu_dev *hcu_dev, const u8 *key, size_t len) in ocs_hcu_write_key()
443 static int ocs_hcu_ll_dma_start(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_ll_dma_start()
489 struct ocs_hcu_dma_list *ocs_hcu_dma_list_alloc(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_dma_list_alloc()
512 void ocs_hcu_dma_list_free(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_dma_list_free()
526 int ocs_hcu_dma_list_add_tail(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_dma_list_add_tail()
607 int ocs_hcu_hash_update(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_hash_update()
644 int ocs_hcu_hash_finup(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_hash_finup()
681 int ocs_hcu_hash_final(struct ocs_hcu_dev *hcu_dev, in ocs_hcu_hash_final()
726 int ocs_hcu_digest(struct ocs_hcu_dev *hcu_dev, enum ocs_hcu_algo algo, in ocs_hcu_digest()
777 int ocs_hcu_hmac(struct ocs_hcu_dev *hcu_dev, enum ocs_hcu_algo algo, in ocs_hcu_hmac()
810 struct ocs_hcu_dev *hcu_dev = dev_id; in ocs_hcu_irq_handler() local