• Home
  • Raw
  • Download

Lines Matching refs:pmgr

46 static void kfd_dbgmgr_uninitialize(struct kfd_dbgmgr *pmgr)  in kfd_dbgmgr_uninitialize()  argument
48 kfree(pmgr->dbgdev); in kfd_dbgmgr_uninitialize()
50 pmgr->dbgdev = NULL; in kfd_dbgmgr_uninitialize()
51 pmgr->pasid = 0; in kfd_dbgmgr_uninitialize()
52 pmgr->dev = NULL; in kfd_dbgmgr_uninitialize()
55 void kfd_dbgmgr_destroy(struct kfd_dbgmgr *pmgr) in kfd_dbgmgr_destroy() argument
57 if (pmgr) { in kfd_dbgmgr_destroy()
58 kfd_dbgmgr_uninitialize(pmgr); in kfd_dbgmgr_destroy()
59 kfree(pmgr); in kfd_dbgmgr_destroy()
96 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_register() argument
98 if (pmgr->pasid != 0) { in kfd_dbgmgr_register()
100 pmgr->pasid); in kfd_dbgmgr_register()
105 pmgr->pasid = p->pasid; in kfd_dbgmgr_register()
108 pmgr->dbgdev->pqm = &p->pqm; in kfd_dbgmgr_register()
111 pmgr->dbgdev->dbgdev_register(pmgr->dbgdev); in kfd_dbgmgr_register()
116 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_unregister() argument
119 if (pmgr->pasid != p->pasid) { in kfd_dbgmgr_unregister()
125 pmgr->dbgdev->dbgdev_unregister(pmgr->dbgdev); in kfd_dbgmgr_unregister()
127 pmgr->pasid = 0; in kfd_dbgmgr_unregister()
132 long kfd_dbgmgr_wave_control(struct kfd_dbgmgr *pmgr, in kfd_dbgmgr_wave_control() argument
136 if (pmgr->pasid != wac_info->process->pasid) { in kfd_dbgmgr_wave_control()
142 return (long) pmgr->dbgdev->dbgdev_wave_control(pmgr->dbgdev, wac_info); in kfd_dbgmgr_wave_control()
145 long kfd_dbgmgr_address_watch(struct kfd_dbgmgr *pmgr, in kfd_dbgmgr_address_watch() argument
149 if (pmgr->pasid != adw_info->process->pasid) { in kfd_dbgmgr_address_watch()
155 return (long) pmgr->dbgdev->dbgdev_address_watch(pmgr->dbgdev, in kfd_dbgmgr_address_watch()