Lines Matching refs:ras_block

78 const char *get_ras_block_str(struct ras_common_if *ras_block)  in get_ras_block_str()  argument
80 if (!ras_block) in get_ras_block_str()
83 if (ras_block->block >= AMDGPU_RAS_BLOCK_COUNT) in get_ras_block_str()
86 if (ras_block->block == AMDGPU_RAS_BLOCK__MCA) in get_ras_block_str()
87 return ras_mca_block_string[ras_block->sub_block_index]; in get_ras_block_str()
89 return ras_block_string[ras_block->block]; in get_ras_block_str()
871 struct ras_common_if *ras_block, in amdgpu_ras_mca_query_error_status() argument
874 switch (ras_block->sub_block_index) { in amdgpu_ras_mca_query_error_status()
2380 struct ras_common_if *ras_block) in amdgpu_persistent_edc_harvesting() argument
2383 .head = *ras_block, in amdgpu_persistent_edc_harvesting()
2392 if (amdgpu_ras_reset_error_status(adev, ras_block->block) != 0) in amdgpu_persistent_edc_harvesting()
2410 struct ras_common_if *ras_block, in amdgpu_ras_late_init() argument
2419 if (!amdgpu_ras_is_supported(adev, ras_block->block)) { in amdgpu_ras_late_init()
2420 amdgpu_ras_feature_enable_on_boot(adev, ras_block, 0); in amdgpu_ras_late_init()
2424 r = amdgpu_ras_feature_enable_on_boot(adev, ras_block, 1); in amdgpu_ras_late_init()
2435 amdgpu_persistent_edc_harvesting(adev, ras_block); in amdgpu_ras_late_init()
2460 amdgpu_ras_sysfs_remove(adev, ras_block); in amdgpu_ras_late_init()
2465 amdgpu_ras_feature_enable(adev, ras_block, 0); in amdgpu_ras_late_init()
2471 struct ras_common_if *ras_block, in amdgpu_ras_late_fini() argument
2474 if (!ras_block || !ih_info) in amdgpu_ras_late_fini()
2477 amdgpu_ras_sysfs_remove(adev, ras_block); in amdgpu_ras_late_fini()
2480 amdgpu_ras_feature_enable(adev, ras_block, 0); in amdgpu_ras_late_fini()