Lines Matching defs:adev
152 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(fp)->i_private;
153 struct psp_context *psp = &adev->psp;
183 dev_err(adev->dev, "Unsupported function to terminate TA\n");
202 dev_err(adev->dev,
217 dev_err(adev->dev, "Unsupported function to initialize TA\n");
224 dev_err(adev->dev, "Failed to load TA via debugfs (%d) and status (0x%X)\n",
251 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(fp)->i_private;
252 struct psp_context *psp = &adev->psp;
272 dev_err(adev->dev, "Unsupported function to terminate TA\n");
278 dev_err(adev->dev, "Failed to unload TA via debugfs (%d) and status (0x%X)\n",
300 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(fp)->i_private;
301 struct psp_context *psp = &adev->psp;
338 dev_err(adev->dev, "TA is not initialized\n");
344 dev_err(adev->dev, "Unsupported function to invoke TA\n");
357 dev_err(adev->dev, "Failed to invoke TA via debugfs (%d) and status (0x%X)\n",
374 void amdgpu_ta_if_debugfs_init(struct amdgpu_device *adev)
376 struct drm_minor *minor = adev_to_drm(adev)->primary;
380 debugfs_create_file("ta_load", 0200, dir, adev,
384 adev, &ta_unload_debugfs_fops);
387 adev, &ta_invoke_debugfs_fops);
391 void amdgpu_ta_if_debugfs_init(struct amdgpu_device *adev)