Home
last modified time | relevance | path

Searched refs:qm (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/crypto/hisilicon/
A Dqm.c2570 struct hisi_qm *qm = qp->qm; in hisi_qm_release_qp() local
2590 struct hisi_qm *qm = qp->qm; in qm_sq_ctx_cfg() local
2632 struct hisi_qm *qm = qp->qm; in qm_cq_ctx_cfg() local
2686 struct hisi_qm *qm = qp->qm; in qm_start_qp_nolock() local
2715 struct hisi_qm *qm = qp->qm; in hisi_qm_start_qp() local
2737 struct hisi_qm *qm = qp->qm; in qp_stop_fail_cb() local
2758 struct hisi_qm *qm = qp->qm; in qm_drain_qp() local
3298 qp->qm = qm; in hisi_qp_memory_init()
3563 ret = hisi_qm_set_vft(qm, 0, qm->qp_base, qm->qp_num); in __hisi_qm_start()
3915 res->qm = qm; in hisi_qm_sort_devices()
[all …]
A Dqm.h196 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);
206 void (*err_info_init)(struct hisi_qm *qm);
311 struct hisi_qm *qm; member
392 int hisi_qm_init(struct hisi_qm *qm);
393 void hisi_qm_uninit(struct hisi_qm *qm);
394 int hisi_qm_start(struct hisi_qm *qm);
403 void hisi_qm_debug_init(struct hisi_qm *qm);
436 void hisi_qm_pm_uninit(struct hisi_qm *qm);
[all …]
A DMakefile6 hisi_qm-objs = qm.o sgl.o
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_main.c435 if (qm->use_sva && qm->ver == QM_HW_V2) in sec_engine_init()
585 struct hisi_qm *qm = file->qm; in sec_debug_read() local
620 struct hisi_qm *qm = file->qm; in sec_debug_write() local
702 struct sec_dev *sec = container_of(qm, struct sec_dev, qm); in sec_core_debug_init()
735 struct sec_dev *sec = container_of(qm, struct sec_dev, qm); in sec_debug_init()
742 sec->debug.files[i].qm = qm; in sec_debug_init()
852 struct hisi_qm *qm = &sec->qm; in sec_pf_probe_init() local
856 qm->err_ini->err_info_init(qm); in sec_pf_probe_init()
927 struct hisi_qm *qm = &sec->qm; in sec_probe_init() local
978 qm = &sec->qm; in sec_probe()
[all …]
A Dsec.h169 struct hisi_qm *qm; member
188 struct hisi_qm qm; member
196 int sec_register_to_crypto(struct hisi_qm *qm);
197 void sec_unregister_from_crypto(struct hisi_qm *qm);
A Dsec_crypto.h405 int sec_register_to_crypto(struct hisi_qm *qm);
406 void sec_unregister_from_crypto(struct hisi_qm *qm);
A Dsec_crypto.c551 sec = container_of(ctx->qps[0]->qm, struct sec_dev, qm); in sec_ctx_base_init()
553 ctx->dev = &sec->qm.pdev->dev; in sec_ctx_base_init()
568 ret = sec_create_qp_ctx(&sec->qm, ctx, i, 0); in sec_ctx_base_init()
1813 if (ctx->sec->qm.ver < QM_HW_V3) { in sec_skcipher_ctx_init()
1846 if (ctx->sec->qm.ver < QM_HW_V3) { in sec_aead_init()
2256 if (ctx->sec->qm.ver == QM_HW_V2) { in sec_aead_param_check()
2409 if (qm->ver > QM_HW_V2) { in sec_register_to_crypto()
2419 if (qm->ver > QM_HW_V2) { in sec_register_to_crypto()
2429 if (qm->ver > QM_HW_V2) in sec_register_to_crypto()
2440 if (qm->ver > QM_HW_V2) in sec_unregister_from_crypto()
[all …]
/linux/drivers/crypto/hisilicon/hpre/
A Dhpre_main.c307 if (qm->use_sva) { in hpre_config_pasid()
610 return &hpre->qm; in hpre_file_to_qm()
804 struct hpre *hpre = container_of(qm, struct hpre, qm); in hpre_create_debugfs_file()
899 struct hpre *hpre = container_of(qm, struct hpre, qm); in hpre_dfx_debug_init()
956 qm->pdev = pdev; in hpre_qm_init()
1036 struct hisi_qm *qm = &hpre->qm; in hpre_pf_probe_init() local
1046 qm->err_ini->err_info_init(qm); in hpre_pf_probe_init()
1055 struct hisi_qm *qm = &hpre->qm; in hpre_probe_init() local
1082 qm = &hpre->qm; in hpre_probe()
1109 if (qm->uacce) { in hpre_probe()
[all …]
A Dhpre.h73 struct hisi_qm qm; member
106 int hpre_algs_register(struct hisi_qm *qm);
107 void hpre_algs_unregister(struct hisi_qm *qm);
A Dhpre_crypto.c212 pci_err(qp->qm->pdev, "Can not start qp!\n"); in hpre_get_qp_and_start()
372 ctx->dev = &qp->qm->pdev->dev; in hpre_ctx_set()
374 hpre = container_of(ctx->qp->qm, struct hpre, qm); in hpre_ctx_set()
2109 int hpre_algs_register(struct hisi_qm *qm) in hpre_algs_register() argument
2122 if (qm->ver >= QM_HW_V3) { in hpre_algs_register()
2141 void hpre_algs_unregister(struct hisi_qm *qm) in hpre_algs_unregister() argument
2143 if (qm->ver >= QM_HW_V3) { in hpre_algs_unregister()
/linux/drivers/crypto/hisilicon/zip/
A Dzip_main.c370 if (qm->use_sva && qm->ver == QM_HW_V2) { in hisi_zip_set_user_domain_and_cache()
624 struct hisi_zip *zip = container_of(qm, struct hisi_zip, qm); in hisi_zip_dfx_debug_init()
641 struct hisi_zip *zip = container_of(qm, struct hisi_zip, qm); in hisi_zip_ctrl_debug_init()
806 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_pf_probe_init() local
816 qm->err_ini->err_info_init(qm); in hisi_zip_pf_probe_init()
830 qm->pdev = pdev; in hisi_zip_qm_init()
844 } else if (qm->fun_type == QM_HW_VF && qm->ver == QM_HW_V1) { in hisi_zip_qm_init()
859 if (!qm->wq) { in hisi_zip_qm_init()
880 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_probe_init() local
910 qm = &hisi_zip->qm; in hisi_zip_probe()
[all …]
A Dzip_crypto.c337 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_do_work()
409 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_acomp_cb()
445 struct device *dev = &qp_ctx->qp->qm->pdev->dev; in hisi_zip_acompress()
475 struct device *dev = &qp_ctx->qp->qm->pdev->dev; in hisi_zip_adecompress()
503 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_start_qp()
566 hisi_zip = container_of(qps[0]->qm, struct hisi_zip, qm); in hisi_zip_ctx_init()
584 if (hisi_zip->qm.ver < QM_HW_V3) in hisi_zip_ctx_init()
660 dev = &tmp->qp->qm->pdev->dev; in hisi_zip_create_sgl_pool()
709 dev = &ctx->qp_ctx[0].qp->qm->pdev->dev; in hisi_zip_acomp_init()
772 int hisi_zip_register_to_crypto(struct hisi_qm *qm) in hisi_zip_register_to_crypto() argument
[all …]
A Dzip.h27 struct hisi_qm qm; member
85 int hisi_zip_register_to_crypto(struct hisi_qm *qm);
86 void hisi_zip_unregister_from_crypto(struct hisi_qm *qm);
/linux/Documentation/ABI/testing/
A Ddebugfs-hisi-sec14 qm refers to.
17 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
24 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
31 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
39 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq
46 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq
52 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/abnormal_irq
58 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/create_qp_err
64 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err
70 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/status
A Ddebugfs-hisi-zip26 has a QM. Select the QM which below qm refers to.
29 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs
36 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q
43 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable
52 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq
59 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_irq
65 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/abnormal_irq
71 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/create_qp_err
77 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err
83 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/status
A Ddebugfs-hisi-hpre27 has a QM. Select the QM which below qm refers to.
36 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
43 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
50 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
59 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq
66 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq
72 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/abnormal_irq
78 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/create_qp_err
84 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/mb_err
90 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/status
/linux/drivers/media/v4l2-core/
A Dv4l2-ctrls-api.c1074 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm) in v4l2_querymenu() argument
1077 u32 i = qm->index; in v4l2_querymenu()
1079 ctrl = v4l2_ctrl_find(hdl, qm->id); in v4l2_querymenu()
1083 qm->reserved = 0; in v4l2_querymenu()
1108 strscpy(qm->name, ctrl->qmenu[i], sizeof(qm->name)); in v4l2_querymenu()
1110 qm->value = ctrl->qmenu_int[i]; in v4l2_querymenu()
A Dv4l2-common.c456 struct v4l2_querymenu qm = { .id = V4L2_CID_LINK_FREQ }; in v4l2_get_link_freq() local
459 qm.index = v4l2_ctrl_g_ctrl(ctrl); in v4l2_get_link_freq()
461 ret = v4l2_querymenu(handler, &qm); in v4l2_get_link_freq()
465 freq = qm.value; in v4l2_get_link_freq()
/linux/drivers/soc/fsl/qbman/
A Dqman.c1391 qm_eqcr_cce_update(&qm->p); in qman_destroy_portal()
1393 pcfg = qm->config; in qman_destroy_portal()
1395 free_irq(pcfg->irq, qm); in qman_destroy_portal()
1397 kfree(qm->cgrs); in qman_destroy_portal()
1398 qm_mc_finish(&qm->p); in qman_destroy_portal()
1399 qm_mr_finish(&qm->p); in qman_destroy_portal()
1400 qm_dqrr_finish(&qm->p); in qman_destroy_portal()
1401 qm_eqcr_finish(&qm->p); in qman_destroy_portal()
1403 qm->config = NULL; in qman_destroy_portal()
1412 pcfg = qm->config; in qman_destroy_affine_portal()
[all …]
/linux/include/soc/fsl/
A Dqman.h690 typedef enum qman_cb_dqrr_result (*qman_cb_dqrr)(struct qman_portal *qm,
699 typedef void (*qman_cb_mr)(struct qman_portal *qm, struct qman_fq *fq,
779 typedef void (*qman_cb_cgr)(struct qman_portal *qm,
/linux/drivers/media/i2c/
A Dst-mipid02.c349 struct v4l2_querymenu qm = {.id = V4L2_CID_LINK_FREQ, }; in mipid02_get_link_freq_from_cid_link_freq() local
356 qm.index = v4l2_ctrl_g_ctrl(ctrl); in mipid02_get_link_freq_from_cid_link_freq()
358 ret = v4l2_querymenu(subdev->ctrl_handler, &qm); in mipid02_get_link_freq_from_cid_link_freq()
362 return qm.value; in mipid02_get_link_freq_from_cid_link_freq()
/linux/arch/arm/boot/dts/
A Dkeystone-k2g-netcp.dtsi9 compatible = "ti,66ak2g-navss-qm";
/linux/drivers/crypto/caam/
A Dqi.c135 static void caam_fq_ern_cb(struct qman_portal *qm, struct qman_fq *fq, in caam_fq_ern_cb() argument
534 static void cgr_cb(struct qman_portal *qm, struct qman_cgr *cgr, int congested) in cgr_cb() argument
/linux/fs/quota/
A Ddquot.c198 int qm; in find_quota_format() local
202 for (qm = 0; module_names[qm].qm_fmt_id && in find_quota_format()
203 module_names[qm].qm_fmt_id != id; qm++) in find_quota_format()
205 if (!module_names[qm].qm_fmt_id || in find_quota_format()
206 request_module(module_names[qm].qm_mod_name)) in find_quota_format()
/linux/include/media/
A Dv4l2-ctrls.h1344 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm);

Completed in 117 milliseconds

12