Lines Matching refs:hisi_qm
178 struct hisi_qm;
196 int (*hw_init)(struct hisi_qm *qm);
197 void (*hw_err_enable)(struct hisi_qm *qm);
198 void (*hw_err_disable)(struct hisi_qm *qm);
199 u32 (*get_dev_hw_err_status)(struct hisi_qm *qm);
200 void (*clear_dev_hw_err_status)(struct hisi_qm *qm, u32 err_sts);
201 void (*open_axi_master_ooo)(struct hisi_qm *qm);
202 void (*close_axi_master_ooo)(struct hisi_qm *qm);
203 void (*open_sva_prefetch)(struct hisi_qm *qm);
204 void (*close_sva_prefetch)(struct hisi_qm *qm);
205 void (*log_dev_hw_err)(struct hisi_qm *qm, u32 err_sts);
206 void (*err_info_init)(struct hisi_qm *qm);
212 int (*register_to_crypto)(struct hisi_qm *qm);
213 void (*unregister_from_crypto)(struct hisi_qm *qm);
216 struct hisi_qm { struct
311 struct hisi_qm *qm;
394 int hisi_qm_init(struct hisi_qm *qm);
395 void hisi_qm_uninit(struct hisi_qm *qm);
396 int hisi_qm_start(struct hisi_qm *qm);
397 int hisi_qm_stop(struct hisi_qm *qm, enum qm_stop_reason r);
398 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type);
403 int hisi_qm_get_free_qp_num(struct hisi_qm *qm);
404 int hisi_qm_get_vft(struct hisi_qm *qm, u32 *base, u32 *number);
405 void hisi_qm_debug_init(struct hisi_qm *qm);
407 void hisi_qm_debug_regs_clear(struct hisi_qm *qm);
411 void hisi_qm_dev_err_init(struct hisi_qm *qm);
412 void hisi_qm_dev_err_uninit(struct hisi_qm *qm);
433 void hisi_qm_wait_task_finish(struct hisi_qm *qm, struct hisi_qm_list *qm_list);
434 int hisi_qm_alg_register(struct hisi_qm *qm, struct hisi_qm_list *qm_list);
435 void hisi_qm_alg_unregister(struct hisi_qm *qm, struct hisi_qm_list *qm_list);
438 void hisi_qm_pm_uninit(struct hisi_qm *qm);
439 void hisi_qm_pm_init(struct hisi_qm *qm);
440 int hisi_qm_get_dfx_access(struct hisi_qm *qm);
441 void hisi_qm_put_dfx_access(struct hisi_qm *qm);