Home
last modified time | relevance | path

Searched refs:hisi_qm (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/crypto/hisilicon/
Dqm.h126 struct hisi_qm { struct
195 struct hisi_qm *qm;
198 int hisi_qm_init(struct hisi_qm *qm);
199 void hisi_qm_uninit(struct hisi_qm *qm);
200 int hisi_qm_start(struct hisi_qm *qm);
201 int hisi_qm_stop(struct hisi_qm *qm);
202 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type);
207 int hisi_qm_get_vft(struct hisi_qm *qm, u32 *base, u32 *number);
208 int hisi_qm_set_vft(struct hisi_qm *qm, u32 fun_num, u32 base, u32 number);
209 int hisi_qm_debug_init(struct hisi_qm *qm);
[all …]
Dqm.c273 int (*get_vft)(struct hisi_qm *qm, u32 *base, u32 *number);
274 void (*qm_db)(struct hisi_qm *qm, u16 qn,
276 u32 (*get_irq_num)(struct hisi_qm *qm);
277 int (*debug_init)(struct hisi_qm *qm);
278 void (*hw_error_init)(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe,
280 pci_ers_result_t (*hw_error_handle)(struct hisi_qm *qm);
319 static int qm_wait_mb_ready(struct hisi_qm *qm) in qm_wait_mb_ready()
329 static void qm_mb_write(struct hisi_qm *qm, const void *src) in qm_mb_write()
344 static int qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue, in qm_mb()
383 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1()
[all …]
/Linux-v5.4/drivers/crypto/hisilicon/zip/
Dzip_main.c334 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_hw_error_set_state()
356 static inline struct hisi_qm *file_to_qm(struct ctrl_debug_file *file) in file_to_qm()
365 struct hisi_qm *qm = file_to_qm(file); in current_qm_read()
372 struct hisi_qm *qm = file_to_qm(file); in current_qm_write()
408 struct hisi_qm *qm = file_to_qm(file); in clear_enable_read()
416 struct hisi_qm *qm = file_to_qm(file); in clear_enable_write()
511 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_core_debug_init()
566 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_debugfs_init()
596 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_debug_regs_clear()
607 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_debugfs_exit()
[all …]
Dzip.h31 struct hisi_qm qm;
Dzip_crypto.c110 static int hisi_zip_create_qp(struct hisi_qm *qm, struct hisi_zip_qp_ctx *ctx, in hisi_zip_create_qp()
144 struct hisi_qm *qm; in hisi_zip_ctx_init()