| /linux/drivers/crypto/hisilicon/ |
| A D | qm.c | 859 struct hisi_qm *qm = qp->qm; in qm_poll_req_cb() local 1903 struct hisi_qm *qm = qp->qm; in hisi_qm_release_qp() local 1917 struct hisi_qm *qm = qp->qm; in qm_sq_ctx_cfg() local 1943 struct hisi_qm *qm = qp->qm; in qm_cq_ctx_cfg() local 1985 struct hisi_qm *qm = qp->qm; in qm_start_qp_nolock() local 2016 struct hisi_qm *qm = qp->qm; in hisi_qm_start_qp() local 2768 qp->qm = qm; in hisi_qp_memory_init() 3030 ret = hisi_qm_set_vft(qm, 0, qm->qp_base, qm->qp_num); in __hisi_qm_start() 3223 qm->ops->hw_error_init(qm); in qm_hw_error_init() 3335 res->qm = qm; in hisi_qm_sort_devices() [all …]
|
| A D | debugfs.c | 194 if (qm->sqc) { in qm_sqc_dump() 231 if (qm->cqc) { in qm_cqc_dump() 341 dump_show(qm, sqe, qm->sqe_size, name); in qm_sq_dump() 673 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / num_vfs; in qm_get_vf_qp_num() 677 remain_q_num = (qm->ctrl_qp_num - qm->qp_num) % num_vfs; in qm_get_vf_qp_num() 697 qm->debug.curr_qm_qp_num = qm->qp_num; in current_qm_write() 699 qm->debug.curr_qm_qp_num = qm_get_vf_qp_num(qm, val); in current_qm_write() 931 dfx_regs_uninit(qm, qm->debug.acc_diff_regs, reg_len); in qm_diff_regs_uninit() 977 if (!qm || qm->fun_type != QM_HW_PF) in hisi_qm_regs_debugfs_uninit() 1154 qm_create_debugfs_file(qm, qm->debug.qm_d, i); in hisi_qm_debug_init() [all …]
|
| A D | qm_common.h | 75 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 D | Makefile | 6 hisi_qm-objs = qm.o sgl.o debugfs.o
|
| /linux/drivers/crypto/hisilicon/sec2/ |
| A D | sec_main.c | 313 hisi_qm_acc_diff_regs_dump(qm, s, qm->debug.acc_diff_regs, in sec_diff_regs_show() 726 struct hisi_qm *qm = file->qm; in sec_debug_read() local 761 struct hisi_qm *qm = file->qm; in sec_debug_write() local 844 struct sec_dev *sec = container_of(qm, struct sec_dev, qm); in sec_core_debug_init() 880 struct sec_dev *sec = container_of(qm, struct sec_dev, qm); in sec_debug_init() 887 sec->debug.files[i].qm = qm; in sec_debug_init() 1065 struct hisi_qm *qm = &sec->qm; in sec_pf_probe_init() local 1125 } else if (qm->fun_type == QM_HW_VF && qm->ver == QM_HW_V1) { in sec_qm_init() 1168 struct hisi_qm *qm = &sec->qm; in sec_probe_init() local 1223 qm = &sec->qm; in sec_probe() [all …]
|
| A D | sec.h | 170 struct hisi_qm *qm; member 189 struct hisi_qm qm; member 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 D | sec_crypto.h | 406 int sec_register_to_crypto(struct hisi_qm *qm); 407 void sec_unregister_from_crypto(struct hisi_qm *qm);
|
| A D | sec_crypto.c | 600 sec = container_of(ctx->qps[0]->qm, struct sec_dev, qm); in sec_ctx_base_init() 602 ctx->dev = &sec->qm.pdev->dev; in sec_ctx_base_init() 1863 if (ctx->sec->qm.ver < QM_HW_V3) { in sec_skcipher_ctx_init() 1896 if (ctx->sec->qm.ver < QM_HW_V3) { in sec_aead_init() 2033 if (unlikely(ctx->sec->qm.ver < QM_HW_V3)) { in sec_skcipher_cryptlen_check() 2293 if (ctx->sec->qm.ver == QM_HW_V2) { in sec_aead_param_check() 2518 int sec_register_to_crypto(struct hisi_qm *qm) in sec_register_to_crypto() argument 2523 alg_mask = sec_get_alg_bitmap(qm, SEC_DRV_ALG_BITMAP_HIGH_IDX, in sec_register_to_crypto() 2552 void sec_unregister_from_crypto(struct hisi_qm *qm) in sec_unregister_from_crypto() argument 2556 alg_mask = sec_get_alg_bitmap(qm, SEC_DRV_ALG_BITMAP_HIGH_IDX, in sec_unregister_from_crypto()
|
| /linux/drivers/crypto/hisilicon/zip/ |
| A D | zip_main.c | 350 hisi_qm_acc_diff_regs_dump(qm, s, qm->debug.acc_diff_regs, in hzip_diff_regs_show() 559 if (qm->use_sva && qm->ver == QM_HW_V2) { in hisi_zip_set_user_domain_and_cache() 840 struct hisi_zip *zip = container_of(qm, struct hisi_zip, qm); in hisi_zip_dfx_debug_init() 861 struct hisi_zip *zip = container_of(qm, struct hisi_zip, qm); in hisi_zip_ctrl_debug_init() 1134 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_pf_probe_init() local 1191 qm->pdev = pdev; in hisi_zip_qm_init() 1207 } else if (qm->fun_type == QM_HW_VF && qm->ver == QM_HW_V1) { in hisi_zip_qm_init() 1251 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_probe_init() local 1291 qm = &hisi_zip->qm; in hisi_zip_probe() 1320 if (qm->uacce) { in hisi_zip_probe() [all …]
|
| A D | zip_crypto.c | 219 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_do_work() 288 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_acomp_cb() 321 struct device *dev = &qp_ctx->qp->qm->pdev->dev; in hisi_zip_acompress() 342 struct device *dev = &qp_ctx->qp->qm->pdev->dev; in hisi_zip_adecompress() 363 struct device *dev = &qp->qm->pdev->dev; in hisi_zip_start_qp() 413 hisi_zip = container_of(qps[0]->qm, struct hisi_zip, qm); in hisi_zip_ctx_init() 505 dev = &tmp->qp->qm->pdev->dev; in hisi_zip_create_sgl_pool() 554 dev = &ctx->qp_ctx[0].qp->qm->pdev->dev; in hisi_zip_acomp_init() 608 if (!hisi_zip_alg_support(qm, HZIP_ALG_DEFLATE)) in hisi_zip_register_deflate() 634 ret = hisi_zip_register_deflate(qm); in hisi_zip_register_to_crypto() [all …]
|
| A D | zip.h | 27 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); 87 bool hisi_zip_alg_support(struct hisi_qm *qm, u32 alg);
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| A D | hpre_main.c | 374 hisi_qm_acc_diff_regs_dump(qm, s, qm->debug.acc_diff_regs, in hpre_diff_regs_show() 468 if (qm->use_sva) { in hpre_config_pasid() 778 return &hpre->qm; in hpre_file_to_qm() 950 struct hpre *hpre = container_of(qm, struct hpre, qm); in hpre_create_debugfs_file() 1047 struct hpre *hpre = container_of(qm, struct hpre, qm); in hpre_dfx_debug_init() 1144 qm->pdev = pdev; in hpre_qm_init() 1337 struct hisi_qm *qm = &hpre->qm; in hpre_pf_probe_init() local 1357 struct hisi_qm *qm = &hpre->qm; in hpre_probe_init() local 1396 qm = &hpre->qm; in hpre_probe() 1424 if (qm->uacce) { in hpre_probe() [all …]
|
| A D | hpre.h | 71 struct hisi_qm qm; member 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 D | hpre_crypto.c | 391 ctx->dev = &qp->qm->pdev->dev; in hpre_ctx_set() 393 hpre = container_of(ctx->qp->qm, struct hpre, qm); in hpre_ctx_set() 2218 ret = hpre_register_rsa(qm); in hpre_algs_register() 2222 ret = hpre_register_dh(qm); in hpre_algs_register() 2240 hpre_unregister_ecdh(qm); in hpre_algs_register() 2242 hpre_unregister_dh(qm); in hpre_algs_register() 2244 hpre_unregister_rsa(qm); in hpre_algs_register() 2256 hpre_unregister_x25519(qm); in hpre_algs_unregister() 2257 hpre_unregister_ecdh(qm); in hpre_algs_unregister() 2258 hpre_unregister_dh(qm); in hpre_algs_unregister() [all …]
|
| /linux/include/linux/ |
| A D | hisi_acc_qm.h | 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; member 432 struct hisi_qm *qm; member 518 list_add_tail(&qm->list, &qm_list->list); in hisi_qm_add_list() 525 list_del(&qm->list); in hisi_qm_del_list() 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/vfio/pci/hisilicon/ |
| A D | hisi_acc_vfio_pci.c | 38 state = readl(qm->io_base + regs); in qm_check_reg_state() 41 state = readl(qm->io_base + regs); in qm_check_reg_state() 459 qm->eqe_dma = vf_data->eqe_dma; in vf_qm_load_data() 461 qm->sqc_dma = vf_data->sqc_dma; in vf_qm_load_data() 462 qm->cqc_dma = vf_data->cqc_dma; in vf_qm_load_data() 464 qm->qp_base = vf_data->qp_base; in vf_qm_load_data() 465 qm->qp_num = vf_data->qp_num; in vf_qm_load_data() 467 ret = qm_set_regs(qm, vf_data); in vf_qm_load_data() 473 ret = hisi_qm_mb(qm, QM_MB_CMD_SQC_BT, qm->sqc_dma, 0, 0); in vf_qm_load_data() 479 ret = hisi_qm_mb(qm, QM_MB_CMD_CQC_BT, qm->cqc_dma, 0, 0); in vf_qm_load_data() [all …]
|
| /linux/Documentation/ABI/testing/ |
| A D | debugfs-hisi-sec | 14 qm refers to. 27 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs 34 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q 41 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable 49 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq 56 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq 74 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err 80 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/status 87 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/diff_regs 94 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_state [all …]
|
| A D | debugfs-hisi-zip | 26 has a QM. Select the QM which below qm refers to. 39 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs 46 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q 53 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable 62 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq 69 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_irq 87 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err 93 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/status 100 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/diff_regs 107 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/qm_state [all …]
|
| A D | debugfs-hisi-hpre | 27 has a QM. Select the QM which below qm refers to. 46 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs 53 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q 60 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable 69 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq 76 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq 94 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/mb_err 100 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/status 107 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/diff_regs 114 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_state [all …]
|
| /linux/drivers/soc/fsl/qbman/ |
| A D | qman.c | 1391 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/drivers/media/v4l2-core/ |
| A D | v4l2-ctrls-api.c | 1164 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm) in v4l2_querymenu() argument 1167 u32 i = qm->index; in v4l2_querymenu() 1169 ctrl = v4l2_ctrl_find(hdl, qm->id); in v4l2_querymenu() 1173 qm->reserved = 0; in v4l2_querymenu() 1198 strscpy(qm->name, ctrl->qmenu[i], sizeof(qm->name)); in v4l2_querymenu() 1200 qm->value = ctrl->qmenu_int[i]; in v4l2_querymenu()
|
| A D | v4l2-common.c | 477 struct v4l2_querymenu qm = { .id = V4L2_CID_LINK_FREQ }; in v4l2_get_link_freq() local 480 qm.index = v4l2_ctrl_g_ctrl(ctrl); in v4l2_get_link_freq() 482 ret = v4l2_querymenu(handler, &qm); in v4l2_get_link_freq() 486 freq = qm.value; in v4l2_get_link_freq()
|
| /linux/include/soc/fsl/ |
| A D | qman.h | 690 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/arch/arm/boot/dts/ti/keystone/ |
| A D | keystone-k2g-netcp.dtsi | 9 compatible = "ti,66ak2g-navss-qm";
|
| /linux/fs/quota/ |
| A D | dquot.c | 198 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()
|