Lines Matching refs:hisi_qm
215 struct hisi_qm;
236 int (*hw_init)(struct hisi_qm *qm);
237 void (*hw_err_enable)(struct hisi_qm *qm);
238 void (*hw_err_disable)(struct hisi_qm *qm);
239 u32 (*get_dev_hw_err_status)(struct hisi_qm *qm);
240 void (*clear_dev_hw_err_status)(struct hisi_qm *qm, u32 err_sts);
241 void (*open_axi_master_ooo)(struct hisi_qm *qm);
242 void (*close_axi_master_ooo)(struct hisi_qm *qm);
243 void (*open_sva_prefetch)(struct hisi_qm *qm);
244 void (*close_sva_prefetch)(struct hisi_qm *qm);
245 void (*log_dev_hw_err)(struct hisi_qm *qm, u32 err_sts);
246 void (*show_last_dfx_regs)(struct hisi_qm *qm);
247 void (*err_info_init)(struct hisi_qm *qm);
265 int (*register_to_crypto)(struct hisi_qm *qm);
266 void (*unregister_from_crypto)(struct hisi_qm *qm);
270 struct hisi_qm *qm;
275 struct hisi_qm { struct
377 struct hisi_qm *qm;
458 int hisi_qm_init(struct hisi_qm *qm);
459 void hisi_qm_uninit(struct hisi_qm *qm);
460 int hisi_qm_start(struct hisi_qm *qm);
461 int hisi_qm_stop(struct hisi_qm *qm, enum qm_stop_reason r);
465 void hisi_qm_debug_init(struct hisi_qm *qm);
466 void hisi_qm_debug_regs_clear(struct hisi_qm *qm);
470 void hisi_qm_dev_err_init(struct hisi_qm *qm);
471 void hisi_qm_dev_err_uninit(struct hisi_qm *qm);
472 int hisi_qm_diff_regs_init(struct hisi_qm *qm,
474 void hisi_qm_diff_regs_uninit(struct hisi_qm *qm, int reg_len);
475 void hisi_qm_acc_diff_regs_dump(struct hisi_qm *qm, struct seq_file *s,
484 int hisi_qm_wait_mb_ready(struct hisi_qm *qm);
485 int hisi_qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue,
502 void hisi_qm_wait_task_finish(struct hisi_qm *qm, struct hisi_qm_list *qm_list);
503 int hisi_qm_alg_register(struct hisi_qm *qm, struct hisi_qm_list *qm_list);
504 void hisi_qm_alg_unregister(struct hisi_qm *qm, struct hisi_qm_list *qm_list);
507 void hisi_qm_pm_uninit(struct hisi_qm *qm);
508 void hisi_qm_pm_init(struct hisi_qm *qm);
509 int hisi_qm_get_dfx_access(struct hisi_qm *qm);
510 void hisi_qm_put_dfx_access(struct hisi_qm *qm);
512 u32 hisi_qm_get_hw_info(struct hisi_qm *qm,