Searched refs:amdgpu_ras_eeprom_control (Results 1 – 5 of 5) sorted by relevance
47 struct amdgpu_ras_eeprom_control { struct83 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control);84 void amdgpu_ras_eeprom_fini(struct amdgpu_ras_eeprom_control *control);85 int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control);87 int amdgpu_ras_eeprom_process_recods(struct amdgpu_ras_eeprom_control *control,92 void amdgpu_ras_eeprom_test(struct amdgpu_ras_eeprom_control *control);
89 static int __update_table_header(struct amdgpu_ras_eeprom_control *control, in __update_table_header()115 static uint32_t __calc_hdr_byte_sum(struct amdgpu_ras_eeprom_control *control) in __calc_hdr_byte_sum()145 static inline uint32_t __calc_tbl_byte_sum(struct amdgpu_ras_eeprom_control *control, in __calc_tbl_byte_sum()152 static void __update_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __update_tbl_checksum()171 static bool __validate_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __validate_tbl_checksum()184 int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_reset_table()209 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_init()273 void amdgpu_ras_eeprom_fini(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_fini()292 static void __encode_table_record_to_buff(struct amdgpu_ras_eeprom_control *control, in __encode_table_record_to_buff()319 static void __decode_table_record_from_buff(struct amdgpu_ras_eeprom_control *control, in __decode_table_record_from_buff()[all …]
55 #define to_eeprom_control(x) container_of(x, struct amdgpu_ras_eeprom_control, eeprom_accessor)600 struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c); in lock_bus()618 struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c); in unlock_bus()638 struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c_adap); in smu_v11_0_i2c_eeprom_i2c_xfer()
340 struct amdgpu_ras_eeprom_control eeprom_control;
1487 struct amdgpu_ras_eeprom_control *control; in amdgpu_ras_save_bad_pages()1515 struct amdgpu_ras_eeprom_control *control = in amdgpu_ras_load_bad_pages()