AMDGPU_RAS_BLOCK_COUNT
for (i = 0; i < AMDGPU_RAS_BLOCK_COUNT; i++) {
if (ras_block->block >= AMDGPU_RAS_BLOCK_COUNT ||
enum amdgpu_ras_block blk = info ? info->head.block : AMDGPU_RAS_BLOCK_COUNT;
if (blk == AMDGPU_RAS_BLOCK_COUNT)
sizeof(struct ras_manager) * AMDGPU_RAS_BLOCK_COUNT +
if (block >= AMDGPU_RAS_BLOCK_COUNT)
if (head->block >= AMDGPU_RAS_BLOCK_COUNT)
if (head->block >= AMDGPU_RAS_BLOCK_COUNT)
for (i = 0; i < AMDGPU_RAS_BLOCK_COUNT + AMDGPU_RAS_MCA_BLOCK_COUNT; i++) {
#define AMDGPU_RAS_BLOCK_MASK ((1ULL << AMDGPU_RAS_BLOCK_COUNT) - 1)