Lines Matching refs:ch_inst

45 					    uint32_t ch_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()
96 uint32_t ch_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()
132 uint32_t ch_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()
166 uint32_t ch_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()
175 ch_inst, in umc_v8_7_ecc_info_query_ras_error_address()
221 uint32_t ch_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()
227 ch_inst); in umc_v8_7_clear_error_count()
307 uint32_t ch_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()
313 ch_inst); in umc_v8_7_query_ras_error_count()
329 uint32_t ch_inst, in umc_v8_7_query_error_address() argument
361 ch_inst, umc_inst); in umc_v8_7_query_error_address()
374 uint32_t ch_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()
380 ch_inst); in umc_v8_7_query_ras_error_address()
385 ch_inst, in umc_v8_7_query_ras_error_address()
422 uint32_t ch_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()
428 ch_inst); in umc_v8_7_err_cnt_init()