Lines Matching refs:umc_inst
44 uint32_t umc_inst, in get_umc_v8_7_reg_offset() argument
47 return adev->umc.channel_offs*ch_inst + UMC_8_INST_DIST*umc_inst; in get_umc_v8_7_reg_offset()
51 uint32_t umc_inst, uint32_t ch_inst, in umc_v8_7_ecc_info_query_correctable_error_count() argument
58 eccinfo_table_idx = umc_inst * adev->umc.channel_inst_num + ch_inst; in umc_v8_7_ecc_info_query_correctable_error_count()
70 uint32_t umc_inst, uint32_t ch_inst, in umc_v8_7_ecc_info_querry_uncorrectable_error_count() argument
77 eccinfo_table_idx = umc_inst * adev->umc.channel_inst_num + ch_inst; in umc_v8_7_ecc_info_querry_uncorrectable_error_count()
95 uint32_t umc_inst = 0; in umc_v8_7_ecc_info_query_ras_error_count() local
101 LOOP_UMC_INST_AND_CH(umc_inst, ch_inst) { in umc_v8_7_ecc_info_query_ras_error_count()
103 umc_inst, ch_inst, in umc_v8_7_ecc_info_query_ras_error_count()
106 umc_inst, ch_inst, in umc_v8_7_ecc_info_query_ras_error_count()
113 uint32_t ch_inst, uint32_t umc_inst) in umc_v8_7_convert_error_address() argument
119 adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst]; in umc_v8_7_convert_error_address()
127 retired_page, channel_index, umc_inst); in umc_v8_7_convert_error_address()
133 uint32_t umc_inst) in umc_v8_7_ecc_info_query_error_address() argument
139 eccinfo_table_idx = umc_inst * adev->umc.channel_inst_num + ch_inst; in umc_v8_7_ecc_info_query_error_address()
156 ch_inst, umc_inst); in umc_v8_7_ecc_info_query_error_address()
165 uint32_t umc_inst = 0; in umc_v8_7_ecc_info_query_ras_error_address() local
172 LOOP_UMC_INST_AND_CH(umc_inst, ch_inst) { in umc_v8_7_ecc_info_query_ras_error_address()
176 umc_inst); in umc_v8_7_ecc_info_query_ras_error_address()
220 uint32_t umc_inst = 0; in umc_v8_7_clear_error_count() local
224 LOOP_UMC_INST_AND_CH(umc_inst, ch_inst) { in umc_v8_7_clear_error_count()
226 umc_inst, in umc_v8_7_clear_error_count()
306 uint32_t umc_inst = 0; in umc_v8_7_query_ras_error_count() local
310 LOOP_UMC_INST_AND_CH(umc_inst, ch_inst) { in umc_v8_7_query_ras_error_count()
312 umc_inst, in umc_v8_7_query_ras_error_count()
330 uint32_t umc_inst) in umc_v8_7_query_error_address() argument
361 ch_inst, umc_inst); in umc_v8_7_query_error_address()
373 uint32_t umc_inst = 0; in umc_v8_7_query_ras_error_address() local
377 LOOP_UMC_INST_AND_CH(umc_inst, ch_inst) { in umc_v8_7_query_ras_error_address()
379 umc_inst, in umc_v8_7_query_ras_error_address()
386 umc_inst); in umc_v8_7_query_ras_error_address()
421 uint32_t umc_inst = 0; in umc_v8_7_err_cnt_init() local
425 LOOP_UMC_INST_AND_CH(umc_inst, ch_inst) { in umc_v8_7_err_cnt_init()
427 umc_inst, in umc_v8_7_err_cnt_init()