Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/
H A Dqm.c383 struct hisi_qm *qm; member
399 int (*get_vft)(struct hisi_qm *qm, u32 *base, u32 *number);
400 void (*qm_db)(struct hisi_qm *qm, u16 qn,
402 int (*debug_init)(struct hisi_qm *qm);
403 void (*hw_error_init)(struct hisi_qm *qm);
404 void (*hw_error_uninit)(struct hisi_qm *qm);
405 enum acc_err_result (*hw_error_handle)(struct hisi_qm *qm);
406 int (*set_msi)(struct hisi_qm *qm, bool set);
409 int (*set_ifc_begin)(struct hisi_qm *qm, enum qm_ifc_cmd cmd, u32 data, u32 fun_num);
410 void (*set_ifc_end)(struct hisi_qm *qm);
[all …]
H 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);
H A DMakefile6 hisi_qm-objs = qm.o sgl.o debugfs.o
/linux/include/linux/
H A Dhisi_acc_qm.h270 int (*hw_init)(struct hisi_qm *qm);
271 void (*hw_err_enable)(struct hisi_qm *qm);
272 void (*hw_err_disable)(struct hisi_qm *qm);
273 u32 (*get_dev_hw_err_status)(struct hisi_qm *qm);
274 void (*clear_dev_hw_err_status)(struct hisi_qm *qm, u32 err_sts);
275 void (*open_axi_master_ooo)(struct hisi_qm *qm);
276 void (*close_axi_master_ooo)(struct hisi_qm *qm);
277 void (*open_sva_prefetch)(struct hisi_qm *qm);
278 void (*close_sva_prefetch)(struct hisi_qm *qm);
279 void (*show_last_dfx_regs)(struct hisi_qm *qm);
[all …]
/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() argument
24 return readl_relaxed_poll_timeout(qm->io_base + QM_VF_STATE, in qm_wait_dev_not_ready()
33 static u32 qm_check_reg_state(struct hisi_qm *qm, u32 regs) in qm_check_reg_state() argument
38 state = readl(qm->io_base + regs); in qm_check_reg_state()
41 state = readl(qm->io_base + regs); in qm_check_reg_state()
48 static int qm_read_regs(struct hisi_qm *qm, u32 reg_addr, in qm_read_regs() argument
57 data[i] = readl(qm->io_base + reg_addr); in qm_read_regs()
64 static int qm_write_regs(struct hisi_qm *qm, u32 reg, in qm_write_regs() argument
73 writel(data[i], qm->io_base + reg + i * QM_REG_ADDR_OFFSET); in qm_write_regs()
78 static int qm_get_vft(struct hisi_qm *qm, u32 *base) in qm_get_vft() argument
[all …]
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c222 pci_err(qp->qm->pdev, "Can not start qp!\n"); in hpre_get_qp_and_start()
382 ctx->dev = &qp->qm->pdev->dev; in hpre_ctx_set()
384 hpre = container_of(ctx->qp->qm, struct hpre, qm); in hpre_ctx_set()
1748 static int hpre_register_rsa(struct hisi_qm *qm) in hpre_register_rsa() argument
1752 if (!hpre_check_alg_support(qm, HPRE_DRV_RSA_MASK_CAP)) in hpre_register_rsa()
1758 dev_err(&qm->pdev->dev, "failed to register rsa (%d)!\n", ret); in hpre_register_rsa()
1763 static void hpre_unregister_rsa(struct hisi_qm *qm) in hpre_unregister_rsa() argument
1765 if (!hpre_check_alg_support(qm, HPRE_DRV_RSA_MASK_CAP)) in hpre_unregister_rsa()
1771 static int hpre_register_dh(struct hisi_qm *qm) in hpre_register_dh() argument
1775 if (!hpre_check_alg_support(qm, HPRE_DRV_DH_MASK_CAP)) in hpre_register_dh()
[all …]
/linux/drivers/soc/fsl/qbman/
H A Dqman.c1375 static void qman_destroy_portal(struct qman_portal *qm) in qman_destroy_portal() argument
1380 qm_dqrr_sdqcr_set(&qm->p, 0); in qman_destroy_portal()
1391 qm_eqcr_cce_update(&qm->p); in qman_destroy_portal()
1392 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()
[all …]
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2g-netcp.dtsi9 compatible = "ti,66ak2g-navss-qm";
/linux/fs/quota/
H A Ddquot.c200 int qm; in find_quota_format() local
204 for (qm = 0; module_names[qm].qm_fmt_id && in find_quota_format()
205 module_names[qm].qm_fmt_id != id; qm++) in find_quota_format()
207 if (!module_names[qm].qm_fmt_id || in find_quota_format()
208 request_module(module_names[qm].qm_mod_name)) in find_quota_format()
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-qmss.txt21 : Must be "ti,66ak2g-navss-qm" for QMSS on K2G SoC.
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c831 static void dpaa_eth_cgscn(struct qman_portal *qm, struct qman_cgr *cgr, in dpaa_eth_cgscn() argument
/linux/net/core/
H A Ddev.c4314 int qm = skb_get_queue_mapping(skb); in netdev_tx_queue_mapping() local
4316 return netdev_get_tx_queue(dev, netdev_cap_txqueue(dev, qm)); in netdev_tx_queue_mapping()
/linux/
H A DMAINTAINERS11428 F: drivers/crypto/hisilicon/qm.c