Home
last modified time | relevance | path

Searched defs:qm (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/crypto/hisilicon/
Dqm.c370 struct hisi_qm *qm; member
459 static bool qm_avail_state(struct hisi_qm *qm, enum qm_state new) in qm_avail_state()
491 static bool qm_qp_avail_state(struct hisi_qm *qm, struct hisi_qp *qp, in qm_qp_avail_state()
538 static u32 qm_get_hw_error_status(struct hisi_qm *qm) in qm_get_hw_error_status()
543 static u32 qm_get_dev_err_status(struct hisi_qm *qm) in qm_get_dev_err_status()
549 static bool qm_check_dev_error(struct hisi_qm *qm) in qm_check_dev_error()
562 static int qm_wait_reset_finish(struct hisi_qm *qm) in qm_wait_reset_finish()
576 static int qm_reset_prepare_ready(struct hisi_qm *qm) in qm_reset_prepare_ready()
591 static void qm_reset_bit_clear(struct hisi_qm *qm) in qm_reset_bit_clear()
615 int hisi_qm_wait_mb_ready(struct hisi_qm *qm) in hisi_qm_wait_mb_ready()
[all …]
Ddebugfs.c122 static void dump_show(struct hisi_qm *qm, void *info, in dump_show()
137 static int qm_sqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_sqc_dump()
178 static int qm_cqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_cqc_dump()
219 static int qm_eqc_aeqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_eqc_aeqc_dump()
256 static int q_dump_param_parse(struct hisi_qm *qm, char *s, in q_dump_param_parse()
296 static int qm_sq_dump(struct hisi_qm *qm, char *s, char *name) in qm_sq_dump()
325 static int qm_cq_dump(struct hisi_qm *qm, char *s, char *name) in qm_cq_dump()
343 static int qm_eq_aeq_dump(struct hisi_qm *qm, char *s, char *name) in qm_eq_aeq_dump()
390 static int qm_dbg_help(struct hisi_qm *qm, char *s) in qm_dbg_help()
448 static int qm_cmd_write_dump(struct hisi_qm *qm, const char *cmd_buf) in qm_cmd_write_dump()
[all …]
/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_main.c306 struct hisi_qm *qm = s->private; in sec_diff_regs_show() local
394 u64 sec_get_alg_bitmap(struct hisi_qm *qm, u32 high, u32 low) in sec_get_alg_bitmap()
424 static void sec_set_endian(struct hisi_qm *qm) in sec_set_endian()
439 static void sec_engine_sva_config(struct hisi_qm *qm) in sec_engine_sva_config()
474 static void sec_open_sva_prefetch(struct hisi_qm *qm) in sec_open_sva_prefetch()
494 static void sec_close_sva_prefetch(struct hisi_qm *qm) in sec_close_sva_prefetch()
513 static void sec_enable_clock_gate(struct hisi_qm *qm) in sec_enable_clock_gate()
533 static void sec_disable_clock_gate(struct hisi_qm *qm) in sec_disable_clock_gate()
543 static int sec_engine_init(struct hisi_qm *qm) in sec_engine_init()
593 static int sec_set_user_domain_and_cache(struct hisi_qm *qm) in sec_set_user_domain_and_cache()
[all …]
Dsec.h170 struct hisi_qm *qm; member
189 struct hisi_qm qm; member
Dsec_crypto.c485 static int sec_alloc_qp_ctx_resource(struct hisi_qm *qm, struct sec_ctx *ctx, in sec_alloc_qp_ctx_resource()
541 static int sec_create_qp_ctx(struct hisi_qm *qm, struct sec_ctx *ctx, in sec_create_qp_ctx()
2544 int sec_register_to_crypto(struct hisi_qm *qm) in sec_register_to_crypto()
2564 void sec_unregister_from_crypto(struct hisi_qm *qm) in sec_unregister_from_crypto()
/linux-6.6.21/drivers/crypto/hisilicon/hpre/
Dhpre_main.c360 bool hpre_check_alg_support(struct hisi_qm *qm, u32 alg) in hpre_check_alg_support()
373 struct hisi_qm *qm = s->private; in hpre_diff_regs_show() local
460 static void hpre_config_pasid(struct hisi_qm *qm) in hpre_config_pasid()
480 static int hpre_cfg_by_dsm(struct hisi_qm *qm) in hpre_cfg_by_dsm()
504 static int hpre_set_cluster(struct hisi_qm *qm) in hpre_set_cluster()
543 static void disable_flr_of_bme(struct hisi_qm *qm) in disable_flr_of_bme()
554 static void hpre_open_sva_prefetch(struct hisi_qm *qm) in hpre_open_sva_prefetch()
575 static void hpre_close_sva_prefetch(struct hisi_qm *qm) in hpre_close_sva_prefetch()
595 static void hpre_enable_clock_gate(struct hisi_qm *qm) in hpre_enable_clock_gate()
619 static void hpre_disable_clock_gate(struct hisi_qm *qm) in hpre_disable_clock_gate()
[all …]
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()
Dhpre.h71 struct hisi_qm qm; member
/linux-6.6.21/drivers/crypto/hisilicon/zip/
Dzip_main.c368 struct hisi_qm *qm = s->private; in hzip_diff_regs_show() local
461 bool hisi_zip_alg_support(struct hisi_qm *qm, u32 alg) in hisi_zip_alg_support()
472 static int hisi_zip_set_high_perf(struct hisi_qm *qm) in hisi_zip_set_high_perf()
494 static void hisi_zip_open_sva_prefetch(struct hisi_qm *qm) in hisi_zip_open_sva_prefetch()
514 static void hisi_zip_close_sva_prefetch(struct hisi_qm *qm) in hisi_zip_close_sva_prefetch()
533 static void hisi_zip_enable_clock_gate(struct hisi_qm *qm) in hisi_zip_enable_clock_gate()
549 static int hisi_zip_set_user_domain_and_cache(struct hisi_qm *qm) in hisi_zip_set_user_domain_and_cache()
604 static void hisi_zip_master_ooo_ctrl(struct hisi_qm *qm, bool enable) in hisi_zip_master_ooo_ctrl()
624 static void hisi_zip_hw_error_enable(struct hisi_qm *qm) in hisi_zip_hw_error_enable()
652 static void hisi_zip_hw_error_disable(struct hisi_qm *qm) in hisi_zip_hw_error_disable()
[all …]
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()
Dzip.h27 struct hisi_qm qm; member
/linux-6.6.21/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c20 static int qm_wait_dev_not_ready(struct hisi_qm *qm) in qm_wait_dev_not_ready()
33 static u32 qm_check_reg_state(struct hisi_qm *qm, u32 regs) in qm_check_reg_state()
48 static int qm_read_regs(struct hisi_qm *qm, u32 reg_addr, in qm_read_regs()
64 static int qm_write_regs(struct hisi_qm *qm, u32 reg, in qm_write_regs()
78 static int qm_get_vft(struct hisi_qm *qm, u32 *base) in qm_get_vft()
98 static int qm_get_sqc(struct hisi_qm *qm, u64 *addr) in qm_get_sqc()
113 static int qm_get_cqc(struct hisi_qm *qm, u64 *addr) in qm_get_cqc()
128 static int qm_get_regs(struct hisi_qm *qm, struct acc_vf_data *vf_data) in qm_get_regs()
187 static int qm_set_regs(struct hisi_qm *qm, struct acc_vf_data *vf_data) in qm_set_regs()
258 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, in qm_db()
[all …]
/linux-6.6.21/drivers/crypto/caam/
Dqi.c142 static void caam_fq_ern_cb(struct qman_portal *qm, struct qman_fq *fq, in caam_fq_ern_cb()
541 static void cgr_cb(struct qman_portal *qm, struct qman_cgr *cgr, int congested) in cgr_cb()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-common.c470 struct v4l2_querymenu qm = { .id = V4L2_CID_LINK_FREQ }; in v4l2_get_link_freq() local
Dv4l2-ctrls-api.c1154 int v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm) in v4l2_querymenu()
/linux-6.6.21/include/linux/
Dhisi_acc_qm.h291 struct hisi_qm *qm; member
415 struct hisi_qm *qm; member
/linux-6.6.21/drivers/media/i2c/
Dst-mipid02.c373 struct v4l2_querymenu qm = {.id = V4L2_CID_LINK_FREQ, }; in mipid02_get_link_freq_from_cid_link_freq() local
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_v4l2.c1183 struct v4l2_querymenu *qm) in uvc_ioctl_querymenu()
/linux-6.6.21/drivers/soc/fsl/qbman/
Dqman.c1375 static void qman_destroy_portal(struct qman_portal *qm) in qman_destroy_portal()
1408 struct qman_portal *qm = get_affine_portal(); in qman_destroy_affine_portal() local
/linux-6.6.21/fs/quota/
Ddquot.c199 int qm; in find_quota_format() local
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c813 static void dpaa_eth_cgscn(struct qman_portal *qm, struct qman_cgr *cgr, in dpaa_eth_cgscn()
/linux-6.6.21/net/core/
Ddev.c3927 int qm = skb_get_queue_mapping(skb); in netdev_tx_queue_mapping() local