Searched refs:amdgpu_ras_eeprom_control (Results 1 – 4 of 4) sorted by relevance
45 struct amdgpu_ras_eeprom_control { struct80 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control);81 void amdgpu_ras_eeprom_fini(struct amdgpu_ras_eeprom_control *control);83 int amdgpu_ras_eeprom_process_recods(struct amdgpu_ras_eeprom_control *control,88 void amdgpu_ras_eeprom_test(struct amdgpu_ras_eeprom_control *control);
81 static int __update_table_header(struct amdgpu_ras_eeprom_control *control, in __update_table_header()103 static uint32_t __calc_hdr_byte_sum(struct amdgpu_ras_eeprom_control *control);105 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_init()168 void amdgpu_ras_eeprom_fini(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_fini()182 static void __encode_table_record_to_buff(struct amdgpu_ras_eeprom_control *control, in __encode_table_record_to_buff()209 static void __decode_table_record_from_buff(struct amdgpu_ras_eeprom_control *control, in __decode_table_record_from_buff()270 static uint32_t __calc_hdr_byte_sum(struct amdgpu_ras_eeprom_control *control) in __calc_hdr_byte_sum()300 static inline uint32_t __calc_tbl_byte_sum(struct amdgpu_ras_eeprom_control *control, in __calc_tbl_byte_sum()307 static void __update_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __update_tbl_checksum()326 static bool __validate_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __validate_tbl_checksum()[all …]
50 #define to_eeprom_control(x) container_of(x, struct amdgpu_ras_eeprom_control, eeprom_accessor)595 struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c); in lock_bus()613 struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c); in unlock_bus()633 struct amdgpu_ras_eeprom_control *control = to_eeprom_control(i2c_adap); in smu_v11_0_i2c_eeprom_i2c_xfer()
338 struct amdgpu_ras_eeprom_control eeprom_control;