hisi_qm 273 drivers/crypto/hisilicon/qm.c int (*get_vft)(struct hisi_qm *qm, u32 *base, u32 *number); hisi_qm 274 drivers/crypto/hisilicon/qm.c void (*qm_db)(struct hisi_qm *qm, u16 qn, hisi_qm 276 drivers/crypto/hisilicon/qm.c u32 (*get_irq_num)(struct hisi_qm *qm); hisi_qm 277 drivers/crypto/hisilicon/qm.c int (*debug_init)(struct hisi_qm *qm); hisi_qm 278 drivers/crypto/hisilicon/qm.c void (*hw_error_init)(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, hisi_qm 280 drivers/crypto/hisilicon/qm.c pci_ers_result_t (*hw_error_handle)(struct hisi_qm *qm); hisi_qm 319 drivers/crypto/hisilicon/qm.c static int qm_wait_mb_ready(struct hisi_qm *qm) hisi_qm 329 drivers/crypto/hisilicon/qm.c static void qm_mb_write(struct hisi_qm *qm, const void *src) hisi_qm 344 drivers/crypto/hisilicon/qm.c static int qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue, hisi_qm 383 drivers/crypto/hisilicon/qm.c static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) hisi_qm 394 drivers/crypto/hisilicon/qm.c static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) hisi_qm 413 drivers/crypto/hisilicon/qm.c static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) hisi_qm 421 drivers/crypto/hisilicon/qm.c static int qm_dev_mem_reset(struct hisi_qm *qm) hisi_qm 430 drivers/crypto/hisilicon/qm.c static u32 qm_get_irq_num_v1(struct hisi_qm *qm) hisi_qm 435 drivers/crypto/hisilicon/qm.c static u32 qm_get_irq_num_v2(struct hisi_qm *qm) hisi_qm 443 drivers/crypto/hisilicon/qm.c static struct hisi_qp *qm_to_hisi_qp(struct hisi_qm *qm, struct qm_eqe *eqe) hisi_qm 460 drivers/crypto/hisilicon/qm.c static void qm_poll_qp(struct hisi_qp *qp, struct hisi_qm *qm) hisi_qm 491 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = data; hisi_qm 524 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = data; hisi_qm 537 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = data; hisi_qm 571 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = data; hisi_qm 593 drivers/crypto/hisilicon/qm.c static int qm_irq_register(struct hisi_qm *qm) hisi_qm 628 drivers/crypto/hisilicon/qm.c static void qm_irq_unregister(struct hisi_qm *qm) hisi_qm 653 drivers/crypto/hisilicon/qm.c static void qm_vft_data_cfg(struct hisi_qm *qm, enum vft_type type, u32 base, hisi_qm 700 drivers/crypto/hisilicon/qm.c static int qm_set_vft_common(struct hisi_qm *qm, enum vft_type type, hisi_qm 725 drivers/crypto/hisilicon/qm.c static int qm_set_sqc_cqc_vft(struct hisi_qm *qm, u32 fun_num, u32 base, hisi_qm 739 drivers/crypto/hisilicon/qm.c static int qm_get_vft_v2(struct hisi_qm *qm, u32 *base, u32 *number) hisi_qm 757 drivers/crypto/hisilicon/qm.c static struct hisi_qm *file_to_qm(struct debugfs_file *file) hisi_qm 761 drivers/crypto/hisilicon/qm.c return container_of(debug, struct hisi_qm, debug); hisi_qm 766 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 773 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 792 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 800 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 934 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = s->private; hisi_qm 964 drivers/crypto/hisilicon/qm.c static int qm_create_debugfs_file(struct hisi_qm *qm, enum qm_debug_file index) hisi_qm 981 drivers/crypto/hisilicon/qm.c static void qm_hw_error_init_v1(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, hisi_qm 990 drivers/crypto/hisilicon/qm.c static void qm_hw_error_init_v2(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, hisi_qm 1012 drivers/crypto/hisilicon/qm.c static void qm_log_hw_error(struct hisi_qm *qm, u32 error_status) hisi_qm 1052 drivers/crypto/hisilicon/qm.c static pci_ers_result_t qm_hw_error_handle_v2(struct hisi_qm *qm) hisi_qm 1105 drivers/crypto/hisilicon/qm.c struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) hisi_qm 1180 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = qp->qm; hisi_qm 1198 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = qp->qm; hisi_qm 1273 drivers/crypto/hisilicon/qm.c struct hisi_qm *qm = qp->qm; hisi_qm 1382 drivers/crypto/hisilicon/qm.c static void hisi_qm_cache_wb(struct hisi_qm *qm) hisi_qm 1400 drivers/crypto/hisilicon/qm.c int hisi_qm_init(struct hisi_qm *qm) hisi_qm 1484 drivers/crypto/hisilicon/qm.c void hisi_qm_uninit(struct hisi_qm *qm) hisi_qm 1516 drivers/crypto/hisilicon/qm.c int hisi_qm_get_vft(struct hisi_qm *qm, u32 *base, u32 *number) hisi_qm 1544 drivers/crypto/hisilicon/qm.c int hisi_qm_set_vft(struct hisi_qm *qm, u32 fun_num, u32 base, hisi_qm 1557 drivers/crypto/hisilicon/qm.c static void qm_init_eq_aeq_status(struct hisi_qm *qm) hisi_qm 1567 drivers/crypto/hisilicon/qm.c static int qm_eq_ctx_cfg(struct hisi_qm *qm) hisi_qm 1620 drivers/crypto/hisilicon/qm.c static int __hisi_qm_start(struct hisi_qm *qm) hisi_qm 1687 drivers/crypto/hisilicon/qm.c int hisi_qm_start(struct hisi_qm *qm) hisi_qm 1736 drivers/crypto/hisilicon/qm.c int hisi_qm_stop(struct hisi_qm *qm) hisi_qm 1781 drivers/crypto/hisilicon/qm.c int hisi_qm_debug_init(struct hisi_qm *qm) hisi_qm 1818 drivers/crypto/hisilicon/qm.c void hisi_qm_debug_regs_clear(struct hisi_qm *qm) hisi_qm 1861 drivers/crypto/hisilicon/qm.c void hisi_qm_hw_error_init(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, hisi_qm 1880 drivers/crypto/hisilicon/qm.c int hisi_qm_hw_error_handle(struct hisi_qm *qm) hisi_qm 195 drivers/crypto/hisilicon/qm.h struct hisi_qm *qm; hisi_qm 198 drivers/crypto/hisilicon/qm.h int hisi_qm_init(struct hisi_qm *qm); hisi_qm 199 drivers/crypto/hisilicon/qm.h void hisi_qm_uninit(struct hisi_qm *qm); hisi_qm 200 drivers/crypto/hisilicon/qm.h int hisi_qm_start(struct hisi_qm *qm); hisi_qm 201 drivers/crypto/hisilicon/qm.h int hisi_qm_stop(struct hisi_qm *qm); hisi_qm 202 drivers/crypto/hisilicon/qm.h struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type); hisi_qm 207 drivers/crypto/hisilicon/qm.h int hisi_qm_get_vft(struct hisi_qm *qm, u32 *base, u32 *number); hisi_qm 208 drivers/crypto/hisilicon/qm.h int hisi_qm_set_vft(struct hisi_qm *qm, u32 fun_num, u32 base, u32 number); hisi_qm 209 drivers/crypto/hisilicon/qm.h int hisi_qm_debug_init(struct hisi_qm *qm); hisi_qm 210 drivers/crypto/hisilicon/qm.h void hisi_qm_hw_error_init(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, hisi_qm 212 drivers/crypto/hisilicon/qm.h int hisi_qm_hw_error_handle(struct hisi_qm *qm); hisi_qm 214 drivers/crypto/hisilicon/qm.h void hisi_qm_debug_regs_clear(struct hisi_qm *qm); hisi_qm 35 drivers/crypto/hisilicon/zip/zip.h struct hisi_qm qm; hisi_qm 110 drivers/crypto/hisilicon/zip/zip_crypto.c static int hisi_zip_create_qp(struct hisi_qm *qm, struct hisi_zip_qp_ctx *ctx, hisi_qm 144 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_qm *qm; hisi_qm 334 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 356 drivers/crypto/hisilicon/zip/zip_main.c static inline struct hisi_qm *file_to_qm(struct ctrl_debug_file *file) hisi_qm 365 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 372 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 408 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 416 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = file_to_qm(file); hisi_qm 511 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 566 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 596 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 607 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 625 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 659 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm; hisi_qm 742 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 771 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm; hisi_qm 846 drivers/crypto/hisilicon/zip/zip_main.c struct hisi_qm *qm = &hisi_zip->qm;