Lines Matching refs:ocs_aes_dev

204 static inline void aes_a_set_endianness(const struct ocs_aes_dev *aes_dev)  in aes_a_set_endianness()
210 static inline void aes_a_op_trigger(const struct ocs_aes_dev *aes_dev) in aes_a_op_trigger()
216 static inline void aes_a_op_termination(const struct ocs_aes_dev *aes_dev) in aes_a_op_termination()
231 static inline void aes_a_set_last_gcx(const struct ocs_aes_dev *aes_dev) in aes_a_set_last_gcx()
238 static inline void aes_a_wait_last_gcx(const struct ocs_aes_dev *aes_dev) in aes_a_wait_last_gcx()
249 static void aes_a_dma_wait_input_buffer_occupancy(const struct ocs_aes_dev *aes_dev) in aes_a_dma_wait_input_buffer_occupancy()
265 static inline void aes_a_set_last_gcx_and_adata(const struct ocs_aes_dev *aes_dev) in aes_a_set_last_gcx_and_adata()
272 static inline void aes_a_dma_set_xfer_size_zero(const struct ocs_aes_dev *aes_dev) in aes_a_dma_set_xfer_size_zero()
279 static inline void aes_a_dma_active(const struct ocs_aes_dev *aes_dev) in aes_a_dma_active()
286 static inline void aes_a_dma_active_src_ll_en(const struct ocs_aes_dev *aes_dev) in aes_a_dma_active_src_ll_en()
294 static inline void aes_a_dma_active_dst_ll_en(const struct ocs_aes_dev *aes_dev) in aes_a_dma_active_dst_ll_en()
302 static inline void aes_a_dma_active_src_dst_ll_en(const struct ocs_aes_dev *aes_dev) in aes_a_dma_active_src_dst_ll_en()
311 static inline void aes_a_dma_reset_and_activate_perf_cntr(const struct ocs_aes_dev *aes_dev) in aes_a_dma_reset_and_activate_perf_cntr()
319 static inline void aes_a_dma_wait_and_deactivate_perf_cntr(const struct ocs_aes_dev *aes_dev, in aes_a_dma_wait_and_deactivate_perf_cntr()
329 static void aes_irq_disable(struct ocs_aes_dev *aes_dev) in aes_irq_disable()
355 static void aes_irq_enable(struct ocs_aes_dev *aes_dev, u8 irq) in aes_irq_enable()
408 static int ocs_aes_irq_enable_and_wait(struct ocs_aes_dev *aes_dev, u8 irq) in ocs_aes_irq_enable_and_wait()
422 static inline void dma_to_ocs_aes_ll(struct ocs_aes_dev *aes_dev, in dma_to_ocs_aes_ll()
431 static inline void dma_from_ocs_aes_ll(struct ocs_aes_dev *aes_dev, in dma_from_ocs_aes_ll()
441 struct ocs_aes_dev *aes_dev = dev_id; in ocs_aes_irq_handler()
477 int ocs_aes_set_key(struct ocs_aes_dev *aes_dev, u32 key_size, const u8 *key, in ocs_aes_set_key()
524 static inline void set_ocs_aes_command(struct ocs_aes_dev *aes_dev, in set_ocs_aes_command()
559 static void ocs_aes_init(struct ocs_aes_dev *aes_dev, in ocs_aes_init()
578 static inline void ocs_aes_write_last_data_blk_len(struct ocs_aes_dev *aes_dev, in ocs_aes_write_last_data_blk_len()
796 int ocs_aes_op(struct ocs_aes_dev *aes_dev, in ocs_aes_op()
875 static void ocs_aes_gcm_write_j0(const struct ocs_aes_dev *aes_dev, in ocs_aes_gcm_write_j0()
891 static inline void ocs_aes_gcm_read_tag(struct ocs_aes_dev *aes_dev, in ocs_aes_gcm_read_tag()
925 int ocs_aes_gcm_op(struct ocs_aes_dev *aes_dev, in ocs_aes_gcm_op()
1023 static void ocs_aes_ccm_write_encrypted_tag(struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_write_encrypted_tag()
1054 static int ocs_aes_ccm_write_b0(const struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_write_b0()
1126 static void ocs_aes_ccm_write_adata_len(const struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_write_adata_len()
1159 static int ocs_aes_ccm_do_adata(struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_do_adata()
1200 static int ocs_aes_ccm_encrypt_do_payload(struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_encrypt_do_payload()
1229 static int ocs_aes_ccm_decrypt_do_payload(struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_decrypt_do_payload()
1269 static inline int ccm_compare_tag_to_yr(struct ocs_aes_dev *aes_dev, in ccm_compare_tag_to_yr()
1307 int ocs_aes_ccm_op(struct ocs_aes_dev *aes_dev, in ocs_aes_ccm_op()
1417 int ocs_create_linked_list_from_sg(const struct ocs_aes_dev *aes_dev, in ocs_create_linked_list_from_sg()