Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ !
Damdgpu_ras_eeprom.c152 #define to_amdgpu_device(x) ((container_of(x, struct amdgpu_ras, eeprom_control))->adev)
559 if (con->eeprom_control.tbl_hdr.header == RAS_TABLE_HDR_BAD) { in amdgpu_ras_eeprom_check_err_threshold()
562 con->eeprom_control.ras_num_recs, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold()
1029 struct amdgpu_ras_eeprom_control *control = ras ? &ras->eeprom_control : NULL; in amdgpu_ras_debugfs_eeprom_size_read()
1086 eeprom_control); in amdgpu_ras_debugfs_set_ret_size()
1098 struct amdgpu_ras_eeprom_control *control = &ras->eeprom_control; in amdgpu_ras_debugfs_table_read()
1213 struct amdgpu_ras_eeprom_control *control = ras ? &ras->eeprom_control : NULL; in amdgpu_ras_debugfs_eeprom_table_read()
Damdgpu_umc.c172 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_umc_handle_bad_pages()
175 amdgpu_dpm_send_hbm_bad_channel_flag(adev, con->eeprom_control.bad_channel_bitmap); in amdgpu_umc_handle_bad_pages()
Damdgpu_ras.c574 &(amdgpu_ras_get_context(adev)->eeprom_control)); in amdgpu_ras_debugfs_eeprom_write()
1725 return sysfs_emit(buf, "table version: 0x%x\n", con->eeprom_control.tbl_hdr.version); in amdgpu_ras_sysfs_version_show()
1898 struct amdgpu_ras_eeprom_control *eeprom = &con->eeprom_control; in amdgpu_ras_debugfs_create_ctrl_node()
1917 amdgpu_ras_debugfs_set_ret_size(&con->eeprom_control); in amdgpu_ras_debugfs_create_ctrl_node()
2725 control = &con->eeprom_control; in amdgpu_ras_save_bad_pages()
2755 &adev->psp.ras_context.ras->eeprom_control; in amdgpu_ras_load_bad_pages()
3179 con->eeprom_control.bad_channel_bitmap = 0; in amdgpu_ras_recovery_init()
3181 max_eeprom_records_count = amdgpu_ras_eeprom_max_record_count(&con->eeprom_control); in amdgpu_ras_recovery_init()
3190 ret = amdgpu_ras_eeprom_init(&con->eeprom_control); in amdgpu_ras_recovery_init()
3198 if (con->eeprom_control.ras_num_recs) { in amdgpu_ras_recovery_init()
[all …]
Damdgpu_ras.h520 struct amdgpu_ras_eeprom_control eeprom_control; member