Home
last modified time | relevance | path

Searched refs:amdgpu_ras_eeprom_control (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.h45 struct amdgpu_ras_eeprom_control { struct
79 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control,
81 int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control);
84 struct amdgpu_ras_eeprom_control *control,
87 int amdgpu_ras_eeprom_process_recods(struct amdgpu_ras_eeprom_control *control,
94 void amdgpu_ras_eeprom_test(struct amdgpu_ras_eeprom_control *control);
Damdgpu_ras_eeprom.c134 static int __update_table_header(struct amdgpu_ras_eeprom_control *control, in __update_table_header()
159 static uint32_t __calc_hdr_byte_sum(struct amdgpu_ras_eeprom_control *control) in __calc_hdr_byte_sum()
189 static inline uint32_t __calc_tbl_byte_sum(struct amdgpu_ras_eeprom_control *control, in __calc_tbl_byte_sum()
196 static void __update_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __update_tbl_checksum()
215 static bool __validate_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __validate_tbl_checksum()
229 struct amdgpu_ras_eeprom_control *control, in amdgpu_ras_eeprom_correct_header_tag()
246 int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_reset_table()
271 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control, in amdgpu_ras_eeprom_init()
340 static void __encode_table_record_to_buff(struct amdgpu_ras_eeprom_control *control, in __encode_table_record_to_buff()
367 static void __decode_table_record_from_buff(struct amdgpu_ras_eeprom_control *control, in __decode_table_record_from_buff()
[all …]
Damdgpu_ras.h340 struct amdgpu_ras_eeprom_control eeprom_control;
Damdgpu_ras.c1672 struct amdgpu_ras_eeprom_control *control; in amdgpu_ras_save_bad_pages()
1703 struct amdgpu_ras_eeprom_control *control = in amdgpu_ras_load_bad_pages()