Lines Matching defs:ras
313 /* ras infrastructure */
314 /* for ras itself. */
316 /* for IP to check its ras ability. */
391 /* ras block link */
461 * 1: ras feature enable (enabled by default)
463 * 2: ras framework init (in ip_init)
473 #define amdgpu_ras_get_context(adev) ((adev)->psp.ras.ras)
474 #define amdgpu_ras_set_context(adev, ras_con) ((adev)->psp.ras.ras = (ras_con))
476 /* check if ras is supported on block, say, sdma, gfx */
480 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev);
484 return ras && (ras->supported & (1 << block));
505 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev);
513 if (atomic_cmpxchg(&ras->in_recovery, 0, 1) == 0)
514 schedule_work(&ras->recovery_work);