Lines Matching refs:mqd
143 static inline struct vi_mqd *get_mqd(void *mqd) in get_mqd() argument
145 return (struct vi_mqd *)mqd; in get_mqd()
148 static inline struct vi_sdma_mqd *get_sdma_mqd(void *mqd) in get_sdma_mqd() argument
150 return (struct vi_sdma_mqd *)mqd; in get_sdma_mqd()
153 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() argument
163 m = get_mqd(mqd); in kgd_hqd_load()
262 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() argument
270 m = get_sdma_mqd(mqd); in kgd_hqd_sdma_load()
373 static bool kgd_hqd_sdma_is_occupied(struct amdgpu_device *adev, void *mqd) in kgd_hqd_sdma_is_occupied() argument
379 m = get_sdma_mqd(mqd); in kgd_hqd_sdma_is_occupied()
390 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() argument
399 struct vi_mqd *m = get_mqd(mqd); in kgd_hqd_destroy()
494 static int kgd_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_destroy() argument
502 m = get_sdma_mqd(mqd); in kgd_hqd_sdma_destroy()