Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.h61 struct amdgpu_ras_eeprom_control { struct
132 int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control,
135 int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control);
139 int amdgpu_ras_eeprom_read(struct amdgpu_ras_eeprom_control *control,
142 int amdgpu_ras_eeprom_append(struct amdgpu_ras_eeprom_control *control,
145 uint32_t amdgpu_ras_eeprom_max_record_count(struct amdgpu_ras_eeprom_control *control);
147 void amdgpu_ras_debugfs_set_ret_size(struct amdgpu_ras_eeprom_control *control);
Damdgpu_ras_eeprom.c171 struct amdgpu_ras_eeprom_control *control) in __get_eeprom_i2c_addr()
252 static int __write_table_header(struct amdgpu_ras_eeprom_control *control) in __write_table_header()
308 static int __write_table_ras_info(struct amdgpu_ras_eeprom_control *control) in __write_table_ras_info()
345 static u8 __calc_hdr_byte_sum(const struct amdgpu_ras_eeprom_control *control) in __calc_hdr_byte_sum()
361 static u8 __calc_ras_info_byte_sum(const struct amdgpu_ras_eeprom_control *control) in __calc_ras_info_byte_sum()
377 struct amdgpu_ras_eeprom_control *control, in amdgpu_ras_eeprom_correct_header_tag()
408 int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control) in amdgpu_ras_eeprom_reset_table()
469 __encode_table_record_to_buf(struct amdgpu_ras_eeprom_control *control, in __encode_table_record_to_buf()
497 __decode_table_record_from_buf(struct amdgpu_ras_eeprom_control *control, in __decode_table_record_from_buf()
567 static int __amdgpu_ras_eeprom_write(struct amdgpu_ras_eeprom_control *control, in __amdgpu_ras_eeprom_write()
[all …]
Damdgpu_ras.h410 struct amdgpu_ras_eeprom_control eeprom_control;
Damdgpu_ras.c1489 struct amdgpu_ras_eeprom_control *eeprom = &con->eeprom_control; in amdgpu_ras_debugfs_create_ctrl_node()
2156 struct amdgpu_ras_eeprom_control *control; in amdgpu_ras_save_bad_pages()
2196 struct amdgpu_ras_eeprom_control *control = in amdgpu_ras_load_bad_pages()