Lines Matching refs:hisi_qm

20 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()
278 static int pf_qm_get_qp_num(struct hisi_qm *qm, int vf_id, u32 *rbase) in pf_qm_get_qp_num()
316 static void qm_dev_cmd_init(struct hisi_qm *qm) in qm_dev_cmd_init()
325 static int vf_qm_cache_wb(struct hisi_qm *qm) in vf_qm_cache_wb()
340 static void vf_qm_fun_reset(struct hisi_qm *qm) in vf_qm_fun_reset()
348 static int vf_qm_func_stop(struct hisi_qm *qm) in vf_qm_func_stop()
357 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in vf_qm_check_match()
358 struct hisi_qm *pf_qm = hisi_acc_vdev->pf_qm; in vf_qm_check_match()
416 struct hisi_qm *pf_qm = hisi_acc_vdev->pf_qm; in vf_qm_get_match_data()
447 struct hisi_qm *qm = &hisi_acc_vdev->vf_qm; in vf_qm_load_data()
493 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in vf_qm_state_save()
555 struct hisi_qm *vfqm = &hisi_acc_vdev->vf_qm; in hisi_acc_check_int_state()
556 struct hisi_qm *qm = hisi_acc_vdev->pf_qm; in hisi_acc_check_int_state()
656 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vf_start_device()
936 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vf_stop_device()
1127 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vf_qm_init()
1162 static struct hisi_qm *hisi_acc_get_pf_qm(struct pci_dev *pdev) in hisi_acc_get_pf_qm()
1164 struct hisi_qm *pf_qm; in hisi_acc_get_pf_qm()
1333 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vfio_pci_close_device()
1350 struct hisi_qm *pf_qm = hisi_acc_get_pf_qm(pdev); in hisi_acc_vfio_pci_migrn_init_dev()
1405 struct hisi_qm *pf_qm; in hisi_acc_vfio_pci_probe()