Searched refs:hisi_qm (Results 1 – 13 of 13) sorted by relevance
/drivers/crypto/hisilicon/ |
D | qm.h | 178 struct hisi_qm; 196 int (*hw_init)(struct hisi_qm *qm); 197 void (*hw_err_enable)(struct hisi_qm *qm); 198 void (*hw_err_disable)(struct hisi_qm *qm); 199 u32 (*get_dev_hw_err_status)(struct hisi_qm *qm); 200 void (*clear_dev_hw_err_status)(struct hisi_qm *qm, u32 err_sts); 201 void (*open_axi_master_ooo)(struct hisi_qm *qm); 202 void (*close_axi_master_ooo)(struct hisi_qm *qm); 203 void (*open_sva_prefetch)(struct hisi_qm *qm); 204 void (*close_sva_prefetch)(struct hisi_qm *qm); [all …]
|
D | qm.c | 423 struct hisi_qm *qm; 429 int (*get_vft)(struct hisi_qm *qm, u32 *base, u32 *number); 430 void (*qm_db)(struct hisi_qm *qm, u16 qn, 432 u32 (*get_irq_num)(struct hisi_qm *qm); 433 int (*debug_init)(struct hisi_qm *qm); 434 void (*hw_error_init)(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe); 435 void (*hw_error_uninit)(struct hisi_qm *qm); 436 enum acc_err_result (*hw_error_handle)(struct hisi_qm *qm); 438 int (*set_msi)(struct hisi_qm *qm, bool set); 439 int (*ping_all_vfs)(struct hisi_qm *qm, u64 cmd); [all …]
|
D | Makefile | 5 obj-$(CONFIG_CRYPTO_DEV_HISI_QM) += hisi_qm.o 6 hisi_qm-objs = qm.o sgl.o
|
/drivers/crypto/hisilicon/hpre/ |
D | hpre_main.c | 266 static inline int hpre_cluster_num(struct hisi_qm *qm) in hpre_cluster_num() 272 static inline int hpre_cluster_core_mask(struct hisi_qm *qm) in hpre_cluster_core_mask() 298 static void hpre_config_pasid(struct hisi_qm *qm) in hpre_config_pasid() 318 static int hpre_cfg_by_dsm(struct hisi_qm *qm) in hpre_cfg_by_dsm() 342 static int hpre_set_cluster(struct hisi_qm *qm) in hpre_set_cluster() 379 static void disable_flr_of_bme(struct hisi_qm *qm) in disable_flr_of_bme() 390 static void hpre_open_sva_prefetch(struct hisi_qm *qm) in hpre_open_sva_prefetch() 411 static void hpre_close_sva_prefetch(struct hisi_qm *qm) in hpre_close_sva_prefetch() 431 static void hpre_enable_clock_gate(struct hisi_qm *qm) in hpre_enable_clock_gate() 455 static void hpre_disable_clock_gate(struct hisi_qm *qm) in hpre_disable_clock_gate() [all …]
|
D | hpre.h | 73 struct hisi_qm qm; 106 int hpre_algs_register(struct hisi_qm *qm); 107 void hpre_algs_unregister(struct hisi_qm *qm);
|
D | hpre_crypto.c | 2109 int hpre_algs_register(struct hisi_qm *qm) in hpre_algs_register() 2141 void hpre_algs_unregister(struct hisi_qm *qm) in hpre_algs_unregister()
|
/drivers/crypto/hisilicon/sec2/ |
D | sec_main.c | 322 static void sec_set_endian(struct hisi_qm *qm) in sec_set_endian() 338 static void sec_open_sva_prefetch(struct hisi_qm *qm) in sec_open_sva_prefetch() 358 static void sec_close_sva_prefetch(struct hisi_qm *qm) in sec_close_sva_prefetch() 377 static void sec_enable_clock_gate(struct hisi_qm *qm) in sec_enable_clock_gate() 397 static void sec_disable_clock_gate(struct hisi_qm *qm) in sec_disable_clock_gate() 407 static int sec_engine_init(struct hisi_qm *qm) in sec_engine_init() 465 static int sec_set_user_domain_and_cache(struct hisi_qm *qm) in sec_set_user_domain_and_cache() 491 static void sec_debug_regs_clear(struct hisi_qm *qm) in sec_debug_regs_clear() 506 static void sec_master_ooo_ctrl(struct hisi_qm *qm, bool enable) in sec_master_ooo_ctrl() 525 static void sec_hw_error_enable(struct hisi_qm *qm) in sec_hw_error_enable() [all …]
|
D | sec.h | 169 struct hisi_qm *qm; 188 struct hisi_qm qm; 196 int sec_register_to_crypto(struct hisi_qm *qm); 197 void sec_unregister_from_crypto(struct hisi_qm *qm);
|
D | sec_crypto.h | 406 int sec_register_to_crypto(struct hisi_qm *qm); 407 void sec_unregister_from_crypto(struct hisi_qm *qm);
|
D | sec_crypto.c | 470 static int sec_create_qp_ctx(struct hisi_qm *qm, struct sec_ctx *ctx, in sec_create_qp_ctx() 2409 int sec_register_to_crypto(struct hisi_qm *qm) in sec_register_to_crypto() 2448 void sec_unregister_from_crypto(struct hisi_qm *qm) in sec_unregister_from_crypto()
|
/drivers/crypto/hisilicon/zip/ |
D | zip_main.c | 285 static void hisi_zip_open_sva_prefetch(struct hisi_qm *qm) in hisi_zip_open_sva_prefetch() 305 static void hisi_zip_close_sva_prefetch(struct hisi_qm *qm) in hisi_zip_close_sva_prefetch() 324 static void hisi_zip_enable_clock_gate(struct hisi_qm *qm) in hisi_zip_enable_clock_gate() 340 static int hisi_zip_set_user_domain_and_cache(struct hisi_qm *qm) in hisi_zip_set_user_domain_and_cache() 392 static void hisi_zip_master_ooo_ctrl(struct hisi_qm *qm, bool enable) in hisi_zip_master_ooo_ctrl() 411 static void hisi_zip_hw_error_enable(struct hisi_qm *qm) in hisi_zip_hw_error_enable() 437 static void hisi_zip_hw_error_disable(struct hisi_qm *qm) in hisi_zip_hw_error_disable() 446 static inline struct hisi_qm *file_to_qm(struct ctrl_debug_file *file) in file_to_qm() 453 static u32 clear_enable_read(struct hisi_qm *qm) in clear_enable_read() 459 static int clear_enable_write(struct hisi_qm *qm, u32 val) in clear_enable_write() [all …]
|
D | zip.h | 27 struct hisi_qm qm; 85 int hisi_zip_register_to_crypto(struct hisi_qm *qm); 86 void hisi_zip_unregister_from_crypto(struct hisi_qm *qm);
|
D | zip_crypto.c | 772 int hisi_zip_register_to_crypto(struct hisi_qm *qm) in hisi_zip_register_to_crypto() 791 void hisi_zip_unregister_from_crypto(struct hisi_qm *qm) in hisi_zip_unregister_from_crypto()
|