Home
last modified time | relevance | path

Searched refs:hisi_qm (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/include/linux/
H A Dhisi_acc_qm.h226 struct hisi_qm;
247 int (*hw_init)(struct hisi_qm *qm);
248 void (*hw_err_enable)(struct hisi_qm *qm);
258 void (*err_info_init)(struct hisi_qm *qm);
291 struct hisi_qm *qm;
311 struct hisi_qm { struct
415 struct hisi_qm *qm;
498 int hisi_qm_init(struct hisi_qm *qm);
499 void hisi_qm_uninit(struct hisi_qm *qm);
500 int hisi_qm_start(struct hisi_qm *qm);
[all …]
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c370 struct hisi_qm *qm;
976 struct hisi_qm *qm = data; in qm_eq_irq()
986 struct hisi_qm *qm = data; in qm_mb_cmd_irq()
1058 struct hisi_qm *qm = data; in qm_aeq_thread()
2572 struct hisi_qm *pf_qm; in hisi_qm_get_isolate_state()
2605 struct hisi_qm *pf_qm; in hisi_qm_isolate_threshold_read()
3410 struct hisi_qm *qm; in hisi_qm_sort_devices()
4137 struct hisi_qm *vf_qm; in qm_vf_reset_prepare()
4326 struct hisi_qm *vf_qm; in qm_vf_reset_done()
4673 struct hisi_qm *qm = data; in qm_abnormal_irq()
[all …]
H A Ddebugfs.c493 struct hisi_qm *qm = filp->private_data; in qm_cmd_write()
559 struct hisi_qm *qm = pci_get_drvdata(pdev); in hisi_qm_regs_dump()
580 struct hisi_qm *qm = s->private; in qm_regs_show()
601 static u32 current_q_read(struct hisi_qm *qm) in current_q_read()
640 static u32 current_qm_read(struct hisi_qm *qm) in current_qm_read()
697 struct hisi_qm *qm = file_to_qm(file); in qm_debug_read()
737 struct hisi_qm *qm = file_to_qm(file); in qm_debug_write()
792 static void dfx_regs_uninit(struct hisi_qm *qm, in dfx_regs_uninit()
1021 struct hisi_qm *qm = s->private; in qm_diff_regs_show()
1033 struct hisi_qm *qm = filp->private_data; in qm_status_read()
[all …]
H A Dqm_common.h79 void *hisi_qm_ctx_alloc(struct hisi_qm *qm, size_t ctx_size,
81 void hisi_qm_ctx_free(struct hisi_qm *qm, size_t ctx_size,
83 void hisi_qm_show_last_dfx_regs(struct hisi_qm *qm);
84 void hisi_qm_set_algqos_init(struct hisi_qm *qm);
H A DMakefile5 obj-$(CONFIG_CRYPTO_DEV_HISI_QM) += hisi_qm.o
6 hisi_qm-objs = qm.o sgl.o debugfs.o
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c371 struct hisi_qm *qm = s->private; in hpre_diff_regs_show()
782 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_clear_enable_read()
790 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_clear_enable_write()
805 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_cluster_inqry_read()
815 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_cluster_inqry_write()
827 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_ctrl_debug_read()
863 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_ctrl_debug_write()
1337 struct hisi_qm *qm = &hpre->qm; in hpre_pf_probe_init()
1357 struct hisi_qm *qm = &hpre->qm; in hpre_probe_init()
1388 struct hisi_qm *qm; in hpre_probe()
[all …]
H A Dhpre.h71 struct hisi_qm qm;
104 int hpre_algs_register(struct hisi_qm *qm);
105 void hpre_algs_unregister(struct hisi_qm *qm);
106 bool hpre_check_alg_support(struct hisi_qm *qm, u32 alg);
H A Dhpre_crypto.c2100 static int hpre_register_rsa(struct hisi_qm *qm) in hpre_register_rsa()
2115 static void hpre_unregister_rsa(struct hisi_qm *qm) in hpre_unregister_rsa()
2123 static int hpre_register_dh(struct hisi_qm *qm) in hpre_register_dh()
2137 static void hpre_unregister_dh(struct hisi_qm *qm) in hpre_unregister_dh()
2145 static int hpre_register_ecdh(struct hisi_qm *qm) in hpre_register_ecdh()
2170 static void hpre_unregister_ecdh(struct hisi_qm *qm) in hpre_unregister_ecdh()
2181 static int hpre_register_x25519(struct hisi_qm *qm) in hpre_register_x25519()
2195 static void hpre_unregister_x25519(struct hisi_qm *qm) in hpre_unregister_x25519()
2203 int hpre_algs_register(struct hisi_qm *qm) in hpre_algs_register()
2234 void hpre_algs_unregister(struct hisi_qm *qm) in hpre_algs_unregister()
/openbmc/linux/drivers/crypto/hisilicon/zip/
H A Dzip_main.c368 struct hisi_qm *qm = s->private; in hzip_diff_regs_show()
472 static int hisi_zip_set_high_perf(struct hisi_qm *qm) in hisi_zip_set_high_perf()
671 static u32 clear_enable_read(struct hisi_qm *qm) in clear_enable_read()
695 struct hisi_qm *qm = file_to_qm(file); in hisi_zip_ctrl_debug_read()
729 struct hisi_qm *qm = file_to_qm(file); in hisi_zip_ctrl_debug_write()
886 static int hisi_zip_debugfs_init(struct hisi_qm *qm) in hisi_zip_debugfs_init()
1143 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_pf_probe_init()
1252 static void hisi_zip_qm_uninit(struct hisi_qm *qm) in hisi_zip_qm_uninit()
1260 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_probe_init()
1293 struct hisi_qm *qm; in hisi_zip_probe()
[all …]
H A Dzip.h27 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);
87 bool hisi_zip_alg_support(struct hisi_qm *qm, u32 alg);
H A Dzip_crypto.c762 static int hisi_zip_register_zlib(struct hisi_qm *qm) in hisi_zip_register_zlib()
776 static void hisi_zip_unregister_zlib(struct hisi_qm *qm) in hisi_zip_unregister_zlib()
798 static int hisi_zip_register_gzip(struct hisi_qm *qm) in hisi_zip_register_gzip()
812 static void hisi_zip_unregister_gzip(struct hisi_qm *qm) in hisi_zip_unregister_gzip()
820 int hisi_zip_register_to_crypto(struct hisi_qm *qm) in hisi_zip_register_to_crypto()
835 void hisi_zip_unregister_from_crypto(struct hisi_qm *qm) in hisi_zip_unregister_from_crypto()
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_main.c306 struct hisi_qm *qm = s->private; in sec_diff_regs_show()
424 static void sec_set_endian(struct hisi_qm *qm) in sec_set_endian()
543 static int sec_engine_init(struct hisi_qm *qm) in sec_engine_init()
721 struct hisi_qm *qm = file->qm; in sec_debug_read()
756 struct hisi_qm *qm = file->qm; in sec_debug_write()
873 static int sec_debug_init(struct hisi_qm *qm) in sec_debug_init()
1061 struct hisi_qm *qm = &sec->qm; in sec_pf_probe_init()
1156 static void sec_qm_uninit(struct hisi_qm *qm) in sec_qm_uninit()
1164 struct hisi_qm *qm = &sec->qm; in sec_probe_init()
1212 struct hisi_qm *qm; in sec_probe()
[all …]
H A Dsec.h170 struct hisi_qm *qm;
189 struct hisi_qm qm;
232 int sec_register_to_crypto(struct hisi_qm *qm);
233 void sec_unregister_from_crypto(struct hisi_qm *qm);
234 u64 sec_get_alg_bitmap(struct hisi_qm *qm, u32 high, u32 low);
H A Dsec_crypto.h408 int sec_register_to_crypto(struct hisi_qm *qm);
409 void sec_unregister_from_crypto(struct hisi_qm *qm);
H A Dsec_crypto.c487 static int sec_alloc_qp_ctx_resource(struct hisi_qm *qm, struct sec_ctx *ctx, in sec_alloc_qp_ctx_resource()
543 static int sec_create_qp_ctx(struct hisi_qm *qm, struct sec_ctx *ctx, in sec_create_qp_ctx()
2546 int sec_register_to_crypto(struct hisi_qm *qm) in sec_register_to_crypto()
2566 void sec_unregister_from_crypto(struct hisi_qm *qm) in sec_unregister_from_crypto()
/openbmc/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c20 static int qm_wait_dev_not_ready(struct hisi_qm *qm) in qm_wait_dev_not_ready()
316 static void qm_dev_cmd_init(struct hisi_qm *qm) in qm_dev_cmd_init()
325 static int vf_qm_cache_wb(struct hisi_qm *qm) in vf_qm_cache_wb()
348 static int vf_qm_func_stop(struct hisi_qm *qm) in vf_qm_func_stop()
358 struct hisi_qm *pf_qm = hisi_acc_vdev->pf_qm; in vf_qm_check_match()
416 struct hisi_qm *pf_qm = hisi_acc_vdev->pf_qm; in vf_qm_get_match_data()
447 struct hisi_qm *qm = &hisi_acc_vdev->vf_qm; in vf_qm_load_data()
555 struct hisi_qm *vfqm = &hisi_acc_vdev->vf_qm; in hisi_acc_check_int_state()
556 struct hisi_qm *qm = hisi_acc_vdev->pf_qm; in hisi_acc_check_int_state()
1164 struct hisi_qm *pf_qm; in hisi_acc_get_pf_qm()
[all …]
H A Dhisi_acc_vfio_pci.h108 struct hisi_qm *pf_qm;
109 struct hisi_qm vf_qm;
/openbmc/
H A Dopengrok1.0.log27041 …ldren: not file-less due to: /opengrok/data/xref/openbmc/linux/include/uapi/misc/uacce/hisi_qm.h.gz
H A Dopengrok2.0.log26661 …ldren: not file-less due to: /opengrok/data/xref/openbmc/linux/include/uapi/misc/uacce/hisi_qm.h.gz