Home
last modified time | relevance | path

Searched refs:ras_max_record_count (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c143 (_C)->ras_max_record_count)
660 if (b < control->ras_max_record_count) { in amdgpu_ras_eeprom_append_table()
662 } else if (a < control->ras_max_record_count) { in amdgpu_ras_eeprom_append_table()
665 g0 = control->ras_max_record_count - a; in amdgpu_ras_eeprom_append_table()
666 g1 = b % control->ras_max_record_count + 1; in amdgpu_ras_eeprom_append_table()
676 control->ras_fri = g1 % control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
678 a %= control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
679 b %= control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
687 control->ras_fri = (b + 1) % control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
695 g0 = control->ras_max_record_count - a; in amdgpu_ras_eeprom_append_table()
[all …]
H A Damdgpu_ras_eeprom.h96 u32 ras_max_record_count; member