Home
last modified time | relevance | path

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

/linux/include/linux/
A Dhisi_acc_qm.h230 struct hisi_qm;
251 int (*hw_init)(struct hisi_qm *qm);
252 void (*hw_err_enable)(struct hisi_qm *qm);
262 void (*err_info_init)(struct hisi_qm *qm);
295 struct hisi_qm *qm;
327 struct hisi_qm { struct
432 struct hisi_qm *qm;
529 int hisi_qm_init(struct hisi_qm *qm);
530 void hisi_qm_uninit(struct hisi_qm *qm);
531 int hisi_qm_start(struct hisi_qm *qm);
[all …]
/linux/drivers/crypto/hisilicon/
A Dqm.c370 struct hisi_qm *qm;
945 struct hisi_qm *qm = data; in qm_eq_irq()
955 struct hisi_qm *qm = data; in qm_mb_cmd_irq()
1027 struct hisi_qm *qm = data; in qm_aeq_thread()
2512 struct hisi_qm *pf_qm; in hisi_qm_get_isolate_state()
2545 struct hisi_qm *pf_qm; in hisi_qm_isolate_threshold_read()
3319 struct hisi_qm *qm; in hisi_qm_sort_devices()
4046 struct hisi_qm *vf_qm; in qm_vf_reset_prepare()
4235 struct hisi_qm *vf_qm; in qm_vf_reset_done()
4582 struct hisi_qm *qm = data; in qm_abnormal_irq()
[all …]
A Ddebugfs.c516 struct hisi_qm *qm = filp->private_data; in qm_cmd_write()
582 struct hisi_qm *qm = pci_get_drvdata(pdev); in hisi_qm_regs_dump()
603 struct hisi_qm *qm = s->private; in qm_regs_show()
624 static u32 current_q_read(struct hisi_qm *qm) in current_q_read()
663 static u32 current_qm_read(struct hisi_qm *qm) in current_qm_read()
720 struct hisi_qm *qm = file_to_qm(file); in qm_debug_read()
760 struct hisi_qm *qm = file_to_qm(file); in qm_debug_write()
1044 struct hisi_qm *qm = s->private; in qm_diff_regs_show()
1055 struct hisi_qm *qm = s->private; in qm_state_show()
1080 struct hisi_qm *qm = filp->private_data; in qm_status_read()
[all …]
A Dqm_common.h75 int qm_set_and_get_xqc(struct hisi_qm *qm, u8 cmd, void *xqc, u32 qp_id, bool op);
76 void hisi_qm_show_last_dfx_regs(struct hisi_qm *qm);
77 void hisi_qm_set_algqos_init(struct hisi_qm *qm);
A DMakefile5 obj-$(CONFIG_CRYPTO_DEV_HISI_QM) += hisi_qm.o
6 hisi_qm-objs = qm.o sgl.o debugfs.o
/linux/drivers/crypto/hisilicon/hpre/
A Dhpre_main.c372 struct hisi_qm *qm = s->private; in hpre_diff_regs_show()
783 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_clear_enable_read()
791 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_clear_enable_write()
806 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_cluster_inqry_read()
816 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_cluster_inqry_write()
828 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_ctrl_debug_read()
864 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 …]
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);
A Dhpre_crypto.c2105 static int hpre_register_rsa(struct hisi_qm *qm) in hpre_register_rsa()
2120 static void hpre_unregister_rsa(struct hisi_qm *qm) in hpre_unregister_rsa()
2128 static int hpre_register_dh(struct hisi_qm *qm) in hpre_register_dh()
2142 static void hpre_unregister_dh(struct hisi_qm *qm) in hpre_unregister_dh()
2150 static int hpre_register_ecdh(struct hisi_qm *qm) in hpre_register_ecdh()
2175 static void hpre_unregister_ecdh(struct hisi_qm *qm) in hpre_unregister_ecdh()
2186 static int hpre_register_x25519(struct hisi_qm *qm) in hpre_register_x25519()
2200 static void hpre_unregister_x25519(struct hisi_qm *qm) in hpre_unregister_x25519()
2208 int hpre_algs_register(struct hisi_qm *qm) in hpre_algs_register()
2250 void hpre_algs_unregister(struct hisi_qm *qm) in hpre_algs_unregister()
/linux/drivers/crypto/hisilicon/zip/
A Dzip_main.c348 struct hisi_qm *qm = s->private; in hzip_diff_regs_show()
452 static int hisi_zip_set_high_perf(struct hisi_qm *qm) in hisi_zip_set_high_perf()
651 static u32 clear_enable_read(struct hisi_qm *qm) in clear_enable_read()
675 struct hisi_qm *qm = file_to_qm(file); in hisi_zip_ctrl_debug_read()
709 struct hisi_qm *qm = file_to_qm(file); in hisi_zip_ctrl_debug_write()
878 static int hisi_zip_debugfs_init(struct hisi_qm *qm) in hisi_zip_debugfs_init()
1134 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_pf_probe_init()
1243 static void hisi_zip_qm_uninit(struct hisi_qm *qm) in hisi_zip_qm_uninit()
1251 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_probe_init()
1284 struct hisi_qm *qm; in hisi_zip_probe()
[all …]
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);
A Dzip_crypto.c604 static int hisi_zip_register_deflate(struct hisi_qm *qm) in hisi_zip_register_deflate()
618 static void hisi_zip_unregister_deflate(struct hisi_qm *qm) in hisi_zip_unregister_deflate()
626 int hisi_zip_register_to_crypto(struct hisi_qm *qm) in hisi_zip_register_to_crypto()
643 void hisi_zip_unregister_from_crypto(struct hisi_qm *qm) in hisi_zip_unregister_from_crypto()
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_main.c311 struct hisi_qm *qm = s->private; in sec_diff_regs_show()
429 static void sec_set_endian(struct hisi_qm *qm) in sec_set_endian()
548 static int sec_engine_init(struct hisi_qm *qm) in sec_engine_init()
726 struct hisi_qm *qm = file->qm; in sec_debug_read()
761 struct hisi_qm *qm = file->qm; in sec_debug_write()
878 static int sec_debug_init(struct hisi_qm *qm) in sec_debug_init()
1065 struct hisi_qm *qm = &sec->qm; in sec_pf_probe_init()
1160 static void sec_qm_uninit(struct hisi_qm *qm) in sec_qm_uninit()
1168 struct hisi_qm *qm = &sec->qm; in sec_probe_init()
1216 struct hisi_qm *qm; in sec_probe()
[all …]
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);
A Dsec_crypto.h406 int sec_register_to_crypto(struct hisi_qm *qm);
407 void sec_unregister_from_crypto(struct hisi_qm *qm);
A Dsec_crypto.c2518 int sec_register_to_crypto(struct hisi_qm *qm) in sec_register_to_crypto()
2552 void sec_unregister_from_crypto(struct hisi_qm *qm) in sec_unregister_from_crypto()
/linux/drivers/vfio/pci/hisilicon/
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()
1138 struct hisi_qm *pf_qm; in hisi_acc_get_pf_qm()
[all …]
A Dhisi_acc_vfio_pci.h108 struct hisi_qm *pf_qm;
109 struct hisi_qm vf_qm;

Completed in 53 milliseconds