Lines Matching refs:mqd
195 static inline struct v10_compute_mqd *get_mqd(void *mqd) in get_mqd() argument
197 return (struct v10_compute_mqd *)mqd; in get_mqd()
200 static inline struct v10_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() argument
202 return (struct v10_sdma_mqd *)mqd; in get_sdma_mqd()
205 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() argument
214 m = get_mqd(mqd); in kgd_hqd_load()
287 static int kgd_hiq_mqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hiq_mqd_load() argument
296 m = get_mqd(mqd); in kgd_hiq_mqd_load()
370 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() argument
380 m = get_sdma_mqd(mqd); in kgd_hqd_sdma_load()
492 static bool kgd_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_hqd_sdma_is_occupied() argument
498 m = get_sdma_mqd(mqd); in kgd_hqd_sdma_is_occupied()
510 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() argument
518 struct v10_compute_mqd *m = get_mqd(mqd); in kgd_hqd_destroy()
623 static int kgd_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_destroy() argument
631 m = get_sdma_mqd(mqd); in kgd_hqd_sdma_destroy()