Lines Matching refs:ras_fri
83 #define RAS_RI_TO_AI(_C, _I) (((_I) + (_C)->ras_fri) % \
297 control->ras_fri = 0; in amdgpu_ras_eeprom_reset_table()
487 a = control->ras_fri + control->ras_num_recs; in amdgpu_ras_eeprom_append_table()
504 if (g1 > control->ras_fri) in amdgpu_ras_eeprom_append_table()
505 control->ras_fri = g1 % control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
515 if (b >= control->ras_fri) in amdgpu_ras_eeprom_append_table()
516 control->ras_fri = (b + 1) % control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
534 control->ras_fri = g1 % control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
538 - control->ras_fri) in amdgpu_ras_eeprom_append_table()
565 control->tbl_hdr.first_rec_offset = RAS_INDEX_TO_OFFSET(control, control->ras_fri); in amdgpu_ras_eeprom_update_header()
753 g0 = control->ras_fri + num - 1; in amdgpu_ras_eeprom_read()
759 g0 = control->ras_max_record_count - control->ras_fri; in amdgpu_ras_eeprom_read()
764 res = __amdgpu_ras_eeprom_read(control, buf, control->ras_fri, g0); in amdgpu_ras_eeprom_read()
1107 control->ras_fri = RAS_OFFSET_TO_INDEX(control, hdr->first_rec_offset); in amdgpu_ras_eeprom_init()