Lines Matching refs:a
610 u32 a, b, i; in amdgpu_ras_eeprom_append_table() local
658 a = control->ras_fri + control->ras_num_recs; in amdgpu_ras_eeprom_append_table()
659 b = a + num - 1; in amdgpu_ras_eeprom_append_table()
661 res = __amdgpu_ras_eeprom_write(control, buf, a, num); 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()
667 res = __amdgpu_ras_eeprom_write(control, buf, a, g0); in amdgpu_ras_eeprom_append_table()
678 a %= control->ras_max_record_count; in amdgpu_ras_eeprom_append_table()
681 if (a <= b) { in amdgpu_ras_eeprom_append_table()
683 res = __amdgpu_ras_eeprom_write(control, buf, a, num); in amdgpu_ras_eeprom_append_table()
695 g0 = control->ras_max_record_count - a; in amdgpu_ras_eeprom_append_table()
697 res = __amdgpu_ras_eeprom_write(control, buf, a, g0); in amdgpu_ras_eeprom_append_table()