Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c152 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_ras, eeprom_control))->adev
545 if (con->eeprom_control.tbl_hdr.header == RAS_TABLE_HDR_BAD) { in amdgpu_ras_eeprom_check_err_threshold()
548 con->eeprom_control.ras_num_recs, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold()
1004 struct amdgpu_ras_eeprom_control *control = ras ? &ras->eeprom_control : NULL; in amdgpu_ras_debugfs_eeprom_size_read()
1061 eeprom_control); in amdgpu_ras_debugfs_set_ret_size()
1073 struct amdgpu_ras_eeprom_control *control = &ras->eeprom_control; in amdgpu_ras_debugfs_table_read()
1188 struct amdgpu_ras_eeprom_control *control = ras ? &ras->eeprom_control : NULL; in amdgpu_ras_debugfs_eeprom_table_read()
Damdgpu_umc.c152 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_umc_do_page_retirement()
155 amdgpu_dpm_send_hbm_bad_channel_flag(adev, con->eeprom_control.bad_channel_bitmap); in amdgpu_umc_do_page_retirement()
Damdgpu_ras.c553 &(amdgpu_ras_get_context(adev)->eeprom_control)); in amdgpu_ras_debugfs_eeprom_write()
1492 struct amdgpu_ras_eeprom_control *eeprom = &con->eeprom_control; in amdgpu_ras_debugfs_create_ctrl_node()
1511 amdgpu_ras_debugfs_set_ret_size(&con->eeprom_control); in amdgpu_ras_debugfs_create_ctrl_node()
2170 control = &con->eeprom_control; in amdgpu_ras_save_bad_pages()
2200 &adev->psp.ras_context.ras->eeprom_control; in amdgpu_ras_load_bad_pages()
2324 con->eeprom_control.bad_channel_bitmap = 0; in amdgpu_ras_recovery_init()
2326 max_eeprom_records_count = amdgpu_ras_eeprom_max_record_count(&con->eeprom_control); in amdgpu_ras_recovery_init()
2335 ret = amdgpu_ras_eeprom_init(&con->eeprom_control, &exc_err_limit); in amdgpu_ras_recovery_init()
2343 if (con->eeprom_control.ras_num_recs) { in amdgpu_ras_recovery_init()
2348 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_ras_recovery_init()
[all …]
Damdgpu_ras.h410 struct amdgpu_ras_eeprom_control eeprom_control; member