drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
131
static int amdgpu_ras_get_ras_safe_fb_addr_ranges(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
160
static int ras_translate_fb_address(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
201
static int amdgpu_ras_translate_fb_address(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
234
int amdgpu_ras_handle_cmd(struct ras_core_context *ras_core, struct ras_cmd_ctx *cmd, void *data)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
254
int amdgpu_ras_submit_cmd(struct ras_core_context *ras_core, struct ras_cmd_ctx *cmd)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
257
struct ras_core_context *cmd_core = ras_core;
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
40
static int amdgpu_ras_trigger_error_prepare(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
58
static int amdgpu_ras_trigger_error_end(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
79
static uint64_t local_addr_to_xgmi_global_addr(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
88
static int amdgpu_ras_inject_error(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.h
50
int amdgpu_ras_handle_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.h
52
int amdgpu_ras_submit_cmd(struct ras_core_context *ras_core, struct ras_cmd_ctx *cmd);
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_eeprom_i2c.c
64
static int ras_eeprom_i2c_config(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_eeprom_i2c.c
98
static int ras_eeprom_i2c_xfer(struct ras_core_context *ras_core, u32 eeprom_addr,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
190
static int amdgpu_ras_mgr_get_ras_psp_system_status(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
203
static int amdgpu_ras_mgr_get_ras_ta_init_param(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
252
static struct ras_core_context *amdgpu_ras_mgr_create_ras_core(struct amdgpu_device *adev)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
66
static void amdgpu_ras_mgr_init_event_mgr(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.h
50
struct ras_core_context *ras_core;
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1_v13_0.c
31
static int mp1_v13_0_get_valid_bank_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1_v13_0.c
57
static int mp1_v13_0_dump_valid_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_nbio_v7_9.c
103
static int nbio_v7_9_init_ras_err_event_athub_interrupt(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_nbio_v7_9.c
85
static int nbio_v7_9_init_ras_controller_interrupt(struct ras_core_context *ras_core, bool state)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
113
static int amdgpu_ras_sys_event_notifier(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
159
static u64 amdgpu_ras_sys_get_utc_second_timestamp(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
164
static int amdgpu_ras_sys_check_gpu_status(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
181
static int amdgpu_ras_sys_get_device_system_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
193
static int amdgpu_ras_sys_gpu_reset_lock(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
209
static bool amdgpu_ras_sys_detect_ras_interrupt(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
214
static int amdgpu_ras_sys_get_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
262
static int amdgpu_ras_sys_put_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
29
static int amdgpu_ras_sys_detect_fatal_event(struct ras_core_context *ras_core, void *data)
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
47
static int amdgpu_ras_sys_poison_consumption_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c
65
static int amdgpu_ras_sys_gen_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
113
static int amdgpu_virt_ras_get_cper_snapshot(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
138
static int amdgpu_virt_ras_get_batch_records(struct ras_core_context *ras_core, uint64_t batch_id,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
174
static int amdgpu_virt_ras_get_cper_records(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
281
static int amdgpu_virt_ras_get_block_ecc(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
33
static int amdgpu_virt_ras_remote_ioctl_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
333
int amdgpu_virt_ras_handle_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
73
static int amdgpu_virt_ras_send_remote_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
94
static int amdgpu_virt_ras_get_batch_trace_overview(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.h
51
int amdgpu_virt_ras_handle_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
130
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras.h
140
int (*mp1_get_valid_bank_count)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
142
int (*mp1_dump_valid_bank)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
147
int (*eeprom_i2c_xfer)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
149
int (*update_eeprom_i2c_config)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
153
int (*set_ras_controller_irq_state)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
155
int (*set_ras_err_event_athub_irq_state)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
184
int (*get_ras_psp_system_status)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
186
int (*get_ras_ta_init_param)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
191
int (*gpu_reset_lock)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
193
int (*check_gpu_status)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
195
int (*gen_seqno)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
197
int (*async_handle_ras_event)(struct ras_core_context *ras_core, void *data);
drivers/gpu/drm/amd/ras/rascore/ras.h
198
int (*ras_notifier)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
200
u64 (*get_utc_second_timestamp)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
201
int (*get_device_system_info)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
203
bool (*detect_ras_interrupt)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
204
int (*get_gpu_mem)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
206
int (*put_gpu_mem)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
322
struct ras_core_context *ras_core_create(struct ras_core_config *init_config);
drivers/gpu/drm/amd/ras/rascore/ras.h
323
void ras_core_destroy(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
324
int ras_core_sw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
325
int ras_core_sw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
326
int ras_core_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
327
int ras_core_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
328
bool ras_core_is_ready(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
329
uint64_t ras_core_gen_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
331
uint64_t ras_core_get_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
334
int ras_core_put_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
337
int ras_core_update_ecc_info(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
338
int ras_core_query_block_ecc_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
341
bool ras_core_gpu_in_reset(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
342
bool ras_core_gpu_is_rma(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
343
bool ras_core_gpu_is_vf(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
344
bool ras_core_handle_nbio_irq(struct ras_core_context *ras_core, void *data);
drivers/gpu/drm/amd/ras/rascore/ras.h
345
int ras_core_handle_fatal_error(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
347
uint32_t ras_core_get_curr_nps_mode(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
349
int ras_core_convert_timestamp_to_time(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
352
int ras_core_set_status(struct ras_core_context *ras_core, bool enable);
drivers/gpu/drm/amd/ras/rascore/ras.h
353
bool ras_core_is_enabled(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
354
uint64_t ras_core_get_utc_second_timestamp(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
355
int ras_core_translate_soc_pa_and_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
357
bool ras_core_ras_interrupt_detected(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
358
int ras_core_get_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
360
int ras_core_put_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
362
bool ras_core_check_safety_watermark(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
363
int ras_core_down_trylock_gpu_reset_lock(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
364
void ras_core_down_gpu_reset_lock(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
365
void ras_core_up_gpu_reset_lock(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras.h
366
int ras_core_event_notify(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
368
int ras_core_get_device_system_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras.h
370
int ras_core_convert_soc_pa_to_cur_nps_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
111
static void aca_bank_log(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
128
static void aca_log_bank_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
140
static int aca_get_bank_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
160
static int aca_parse_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
173
static int aca_check_block_ecc_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
203
static int aca_log_bad_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
256
static struct aca_block *aca_get_bank_aca_block(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
268
static int aca_dump_bank(struct ras_core_context *ras_core, u32 ecc_type,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
284
static uint64_t aca_get_bank_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
305
static bool aca_dup_update_ue_in_fatal(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
323
void ras_aca_mark_fatal_flag(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
333
void ras_aca_clear_fatal_flag(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
345
static int aca_banks_update(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
400
int ras_aca_update_ecc(struct ras_core_context *ras_core, u32 type, void *data)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
406
static struct aca_block *ras_aca_get_block_handle(struct ras_core_context *ras_core, uint32_t blk)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
411
static int ras_aca_clear_block_ecc_count(struct ras_core_context *ras_core, u32 blk)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
436
int ras_aca_clear_all_blocks_ecc_count(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
450
int ras_aca_clear_block_new_ecc_count(struct ras_core_context *ras_core, u32 blk)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
482
static int ras_aca_get_block_each_aid_ecc_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
51
static void aca_report_ecc_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
516
struct ras_core_context *ras_core, uint32_t ip_version)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
530
int ras_aca_get_block_ecc_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
589
int ras_aca_sw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
633
int ras_aca_sw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
643
int ras_aca_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.c
665
int ras_aca_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
123
int (*bank_parse)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
154
int ras_aca_sw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
155
int ras_aca_sw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
156
int ras_aca_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
157
int ras_aca_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
158
int ras_aca_get_block_ecc_count(struct ras_core_context *ras_core, u32 blk, void *data);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
159
int ras_aca_clear_block_new_ecc_count(struct ras_core_context *ras_core, u32 blk);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
160
int ras_aca_clear_all_blocks_ecc_count(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
161
int ras_aca_update_ecc(struct ras_core_context *ras_core, u32 ecc_type, void *data);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
162
void ras_aca_mark_fatal_flag(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
163
void ras_aca_clear_fatal_flag(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_aca.h
52
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
177
static bool aca_check_umc_de(struct ras_core_context *ras_core, uint64_t mc_umc_status)
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
184
static bool aca_check_umc_ue(struct ras_core_context *ras_core, uint64_t mc_umc_status)
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
195
static bool aca_check_umc_ce(struct ras_core_context *ras_core, uint64_t mc_umc_status)
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
210
static int aca_parse_umc_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
244
static bool aca_check_bank_is_de(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
251
static int aca_parse_bank_default(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c
280
static int aca_parse_xgmi_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
121
static int ras_cmd_get_bad_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
143
static int ras_cmd_clear_bad_page_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
158
static int ras_cmd_reset_all_error_counts(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
173
static int ras_cmd_get_cper_snapshot(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
195
static int ras_cmd_get_cper_records(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
255
static int ras_cmd_get_batch_trace_snapshot(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
277
static int ras_cmd_get_batch_trace_records(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
31
static int ras_cmd_add_device(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
39
static int ras_cmd_remove_device(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
402
static int ras_cmd_inject_error(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
443
int rascore_handle_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
45
static int ras_get_block_ecc_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
462
int ras_cmd_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
467
int ras_cmd_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
473
int ras_cmd_query_interface_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
482
int ras_cmd_translate_soc_pa_to_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
503
int ras_cmd_translate_bank_to_soc_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
519
uint64_t ras_cmd_get_dev_handle(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
84
static int ras_cmd_get_group_bad_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
105
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
110
struct ras_core_context *ras_core;
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
116
int (*func)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
449
int ras_cmd_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
450
int ras_cmd_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
451
int rascore_handle_cmd(struct ras_core_context *ras_core, struct ras_cmd_ctx *cmd, void *data);
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
452
uint64_t ras_cmd_get_dev_handle(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
453
int ras_cmd_query_interface_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
455
int ras_cmd_translate_soc_pa_to_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
457
int ras_cmd_translate_bank_to_soc_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
113
bool ras_core_gpu_in_reset(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
124
bool ras_core_gpu_is_vf(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
135
bool ras_core_gpu_is_rma(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
143
static int ras_core_seqno_fifo_write(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
161
static int ras_core_seqno_fifo_read(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
183
uint64_t ras_core_gen_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
195
int ras_core_put_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
215
uint64_t ras_core_get_seqno(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
237
static int ras_core_eeprom_recovery(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
261
struct ras_core_context *ras_core_create(struct ras_core_config *init_config)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
263
struct ras_core_context *ras_core;
drivers/gpu/drm/amd/ras/rascore/ras_core.c
282
void ras_core_destroy(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
290
int ras_core_sw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
338
int ras_core_sw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
352
int ras_core_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
425
int ras_core_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
441
bool ras_core_handle_nbio_irq(struct ras_core_context *ras_core, void *data)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
446
int ras_core_handle_fatal_error(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
458
uint32_t ras_core_get_curr_nps_mode(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
468
int ras_core_update_ecc_info(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
479
int ras_core_query_block_ecc_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
494
int ras_core_set_status(struct ras_core_context *ras_core, bool enable)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
501
bool ras_core_is_enabled(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
506
uint64_t ras_core_get_utc_second_timestamp(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
516
int ras_core_translate_soc_pa_and_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
525
bool ras_core_ras_interrupt_detected(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
535
int ras_core_get_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
545
int ras_core_put_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
555
bool ras_core_is_ready(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
560
bool ras_core_check_safety_watermark(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
565
int ras_core_down_trylock_gpu_reset_lock(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
573
void ras_core_down_gpu_reset_lock(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
579
void ras_core_up_gpu_reset_lock(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_core.c
585
int ras_core_event_notify(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
595
int ras_core_get_device_system_info(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
605
int ras_core_convert_soc_pa_to_cur_nps_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_core.c
61
int ras_core_convert_timestamp_to_time(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
103
static int fill_section_descriptor(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
134
static int fill_section_fatal(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
148
static int fill_section_runtime(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
177
static int cper_generate_runtime_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
203
static int cper_generate_fatal_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
273
int ras_cper_generate_cper(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
36
static void cper_get_timestamp(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.c
52
static void fill_section_hdr(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_cper.h
299
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_cper.h
301
int ras_cper_generate_cper(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1001
uint32_t ras_eeprom_max_record_count(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1026
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1070
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1102
static int __check_ras_table_status(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1170
int ras_eeprom_check_storage_status(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1254
int ras_eeprom_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1290
int ras_eeprom_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1303
uint32_t ras_eeprom_get_record_count(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1311
void ras_eeprom_sync_info(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
1326
ras_eeprom_check_gpu_status(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
151
#define to_ras_core_context(x) (container_of(x, struct ras_core_context, ras_eeprom))
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
153
static bool __is_ras_eeprom_supported(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
158
static bool __get_eeprom_i2c_addr(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
173
static int __ras_eeprom_xfer(struct ras_core_context *ras_core, u32 eeprom_addr,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
202
static int __eeprom_xfer(struct ras_core_context *ras_core, u32 eeprom_addr,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
251
static int __eeprom_read(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
258
static int __eeprom_write(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
294
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
348
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
446
int ras_eeprom_reset_table(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
556
bool ras_eeprom_check_safety_watermark(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
601
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
738
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
844
int ras_eeprom_append(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
886
struct ras_core_context *ras_core = to_ras_core_context(control);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c
913
int ras_eeprom_read(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
176
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
177
int ras_eeprom_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
178
int ras_eeprom_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
180
int ras_eeprom_reset_table(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
182
bool ras_eeprom_check_safety_watermark(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
184
int ras_eeprom_read(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
187
int ras_eeprom_append(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
190
uint32_t ras_eeprom_max_record_count(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
191
uint32_t ras_eeprom_get_record_count(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
192
void ras_eeprom_sync_info(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
194
int ras_eeprom_check_storage_status(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_eeprom.h
196
ras_eeprom_check_gpu_status(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_gfx.c
31
struct ras_core_context *ras_core, uint32_t ip_version)
drivers/gpu/drm/amd/ras/rascore/ras_gfx.c
47
int ras_gfx_get_ta_subblock(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_gfx.c
56
int ras_gfx_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_gfx.c
67
int ras_gfx_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_gfx.h
28
int (*get_ta_subblock)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_gfx.h
37
int ras_gfx_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_gfx.h
38
int ras_gfx_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_gfx.h
40
int ras_gfx_get_ta_subblock(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_gfx_v9_0.c
395
static int gfx_v9_0_get_ta_subblock(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
103
static int ras_log_ring_delete_data(struct ras_core_context *ras_core, uint32_t count)
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
138
static void ras_log_ring_clear_log_tree(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
167
int ras_log_ring_sw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
185
int ras_log_ring_sw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
199
struct ras_log_batch_tag *ras_log_ring_create_batch_tag(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
219
void ras_log_ring_destroy_batch_tag(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
225
void ras_log_ring_add_log_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
268
static struct ras_log_info *ras_log_ring_lookup_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
282
int ras_log_ring_get_batch_records(struct ras_core_context *ras_core, uint64_t batch_id,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
306
int ras_log_ring_get_batch_overview(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
45
static uint64_t ras_log_ring_get_logged_ecc_count(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.c
65
static int ras_log_ring_add_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
77
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
79
int ras_log_ring_sw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
80
int ras_log_ring_sw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
82
struct ras_log_batch_tag *ras_log_ring_create_batch_tag(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
83
void ras_log_ring_destroy_batch_tag(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
85
void ras_log_ring_add_log_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
88
int ras_log_ring_get_batch_records(struct ras_core_context *ras_core, uint64_t batch_idx,
drivers/gpu/drm/amd/ras/rascore/ras_log_ring.h
91
int ras_log_ring_get_batch_overview(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1.c
30
struct ras_core_context *ras_core, uint32_t ip_version)
drivers/gpu/drm/amd/ras/rascore/ras_mp1.c
46
int ras_mp1_get_bank_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1.c
54
int ras_mp1_dump_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1.c
62
int ras_mp1_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_mp1.c
78
int ras_mp1_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_mp1.h
30
int (*get_valid_bank_count)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1.h
32
int (*dump_valid_bank)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1.h
42
int ras_mp1_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_mp1.h
43
int ras_mp1_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_mp1.h
45
int ras_mp1_get_bank_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1.h
48
int ras_mp1_dump_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1_v13_0.c
38
static int mp1_v13_0_get_bank_count(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_mp1_v13_0.c
77
static int mp1_v13_0_dump_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_nbio.c
30
struct ras_core_context *ras_core, uint32_t ip_version)
drivers/gpu/drm/amd/ras/rascore/ras_nbio.c
45
int ras_nbio_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_nbio.c
70
int ras_nbio_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_nbio.c
84
bool ras_nbio_handle_irq_error(struct ras_core_context *ras_core, void *data)
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
29
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
32
int (*handle_ras_controller_intr_no_bifring)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
33
int (*handle_ras_err_event_athub_intr_no_bifring)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
34
uint32_t (*get_memory_partition_mode)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
43
int ras_nbio_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
44
int ras_nbio_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_nbio.h
45
bool ras_nbio_handle_irq_error(struct ras_core_context *ras_core, void *data);
drivers/gpu/drm/amd/ras/rascore/ras_nbio_v7_9.c
103
static uint32_t nbio_v7_9_get_memory_partition_mode(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_nbio_v7_9.c
56
static int nbio_v7_9_handle_ras_controller_intr_no_bifring(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_nbio_v7_9.c
79
static int nbio_v7_9_handle_ras_err_event_athub_intr_no_bifring(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_process.c
117
static int ras_process_non_umc_event(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_process.c
159
int ras_process_handle_ras_event(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_process.c
208
struct ras_core_context *ras_core = (struct ras_core_context *)context;
drivers/gpu/drm/amd/ras/rascore/ras_process.c
236
int ras_process_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_process.c
264
int ras_process_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_process.c
278
static int ras_process_add_umc_interrupt_req(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.c
290
static int ras_process_add_non_umc_interrupt_req(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.c
305
int ras_process_add_interrupt_req(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.c
31
static int ras_process_put_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.c
47
static int ras_process_add_reset_gpu_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.c
57
static int ras_process_get_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.c
66
static void ras_process_clear_event_fifo(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_process.c
77
static int ras_process_umc_event(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_process.h
47
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_process.h
48
int ras_process_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_process.h
49
int ras_process_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_process.h
50
int ras_process_handle_ras_event(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_process.h
51
int ras_process_add_interrupt_req(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
128
static int ras_psp_put_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
149
static void __acquire_psp_cmd_lock(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
159
static void __release_psp_cmd_lock(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
169
static uint32_t __get_ring_frame_slot(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
179
static int __set_ring_frame_slot(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
188
static int write_frame_to_ras_psp_ring(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
242
static int send_psp_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
320
static void __check_ras_ta_cmd_resp(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
353
static int send_ras_ta_runtime_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
36
struct ras_core_context *ras_core, uint32_t ip_version)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
430
static int trigger_ras_ta_error(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
464
static int send_load_ta_fw_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
52
static int ras_psp_sync_system_ras_psp_status(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
545
static int load_ras_ta_firmware(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
566
static int unload_ras_ta_firmware(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
599
int ras_psp_load_firmware(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
622
int ras_psp_unload_firmware(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
637
int ras_psp_trigger_error(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
653
int ras_psp_query_address(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
672
int ras_psp_sw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
690
int ras_psp_sw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
702
int ras_psp_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
720
int ras_psp_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
725
bool ras_psp_check_supported_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
77
static int ras_psp_get_ras_ta_init_param(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
89
static struct gpu_mem_block *ras_psp_get_gpu_mem(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
131
int ras_psp_sw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
132
int ras_psp_sw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
133
int ras_psp_hw_init(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
134
int ras_psp_hw_fini(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
135
int ras_psp_load_firmware(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
137
int ras_psp_unload_firmware(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
139
int ras_psp_trigger_error(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
141
int ras_psp_query_address(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
144
bool ras_psp_check_supported_cmd(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
29
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
68
uint32_t (*psp_ras_ring_wptr_get)(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
69
int (*psp_ras_ring_wptr_set)(struct ras_core_context *ras_core, uint32_t wptr);
drivers/gpu/drm/amd/ras/rascore/ras_psp_v13_0.c
31
static uint32_t ras_psp_v13_0_ring_wptr_get(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_psp_v13_0.c
36
static int ras_psp_v13_0_ring_wptr_set(struct ras_core_context *ras_core, uint32_t value)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
124
static int ras_umc_log_ecc(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
139
int ras_umc_clear_logged_ecc(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
157
int ras_umc_convert_record_to_nps_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
174
static void ras_umc_reserve_eeprom_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
197
int ras_umc_log_bad_bank_pending(struct ras_core_context *ras_core, struct ras_bank_ecc *bank)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
217
int ras_umc_log_pending_bad_bank(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
235
int ras_umc_log_bad_bank(struct ras_core_context *ras_core, struct ras_bank_ecc *bank)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
277
static int ras_umc_get_new_records(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
303
static bool ras_umc_check_retired_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
332
static int ras_umc_realloc_err_data_space(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
354
static int ras_umc_update_eeprom_rom_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
370
static int ras_umc_update_eeprom_ram_data(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
39
static uint64_t ras_umc_get_eeprom_timestamp(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
403
static int ras_umc_add_bad_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
445
int ras_umc_load_bad_pages(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
478
static int ras_umc_save_bad_pages(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
510
int ras_umc_handle_bad_pages(struct ras_core_context *ras_core, void *data)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
547
int ras_umc_sw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
565
int ras_umc_sw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
604
int ras_umc_hw_init(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
633
int ras_umc_hw_fini(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
638
int ras_umc_clean_badpage_data(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
653
int ras_umc_fill_eeprom_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
675
int ras_umc_get_saved_eeprom_count(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
682
int ras_umc_get_badpage_count(struct ras_core_context *ras_core)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
689
int ras_umc_get_badpage_record(struct ras_core_context *ras_core, uint32_t index, void *record)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
70
struct ras_core_context *ras_core, uint32_t ip_version)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
700
bool ras_umc_check_retired_addr(struct ras_core_context *ras_core, uint64_t addr)
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
719
int ras_umc_translate_soc_pa_and_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.c
85
int ras_umc_psp_convert_ma_to_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
100
int (*bank_to_eeprom_record)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
102
int (*eeprom_record_to_nps_record)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
104
int (*eeprom_record_to_nps_pages)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
107
int (*bank_to_soc_pa)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
109
int (*soc_pa_to_bank)(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
142
int ras_umc_sw_init(struct ras_core_context *ras);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
143
int ras_umc_sw_fini(struct ras_core_context *ras);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
144
int ras_umc_hw_init(struct ras_core_context *ras);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
145
int ras_umc_hw_fini(struct ras_core_context *ras);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
146
int ras_umc_psp_convert_ma_to_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
149
int ras_umc_handle_bad_pages(struct ras_core_context *ras_core, void *data);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
150
int ras_umc_log_bad_bank(struct ras_core_context *ras, struct ras_bank_ecc *bank);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
151
int ras_umc_log_bad_bank_pending(struct ras_core_context *ras_core, struct ras_bank_ecc *bank);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
152
int ras_umc_log_pending_bad_bank(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
153
int ras_umc_clear_logged_ecc(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
154
int ras_umc_load_bad_pages(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
155
int ras_umc_get_saved_eeprom_count(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
156
int ras_umc_clean_badpage_data(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
157
int ras_umc_fill_eeprom_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
161
int ras_umc_get_badpage_count(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
162
int ras_umc_get_badpage_record(struct ras_core_context *ras_core, uint32_t index, void *record);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
163
bool ras_umc_check_retired_addr(struct ras_core_context *ras_core, uint64_t addr);
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
164
int ras_umc_translate_soc_pa_and_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
166
int ras_umc_convert_record_to_nps_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc.h
65
struct ras_core_context;
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
115
static uint64_t convert_nps_pa_to_row_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
135
static int lookup_bad_pages_in_a_row(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
196
static int umc_v12_convert_ma_to_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
316
static int convert_ma_to_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
332
static int convert_bank_to_nps_addr(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
359
static int umc_v12_0_bank_to_eeprom_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
382
static int convert_eeprom_record_to_nps_addr(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
410
static int umc_v12_0_eeprom_record_to_nps_record(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
430
static int umc_v12_0_eeprom_record_to_nps_pages(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
438
static int umc_12_0_soc_pa_to_bank(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
472
static int umc_12_0_bank_to_soc_pa(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.c
62
static void __get_nps_pa_flip_bits(struct ras_core_context *ras_core,
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.h
311
int ras_umc_get_badpage_count(struct ras_core_context *ras_core);
drivers/gpu/drm/amd/ras/rascore/ras_umc_v12_0.h
312
int ras_umc_get_badpage_record(struct ras_core_context *ras_core, uint32_t index, void *record);