Lines Matching refs:ch_inst
48 uint32_t ch_inst) in get_umc_v6_7_reg_offset() argument
50 uint32_t index = umc_inst * adev->umc.channel_inst_num + ch_inst; in get_umc_v6_7_reg_offset()
55 ch_inst = index % 4; in get_umc_v6_7_reg_offset()
57 return adev->umc.channel_offs * ch_inst + UMC_V6_7_INST_DIST * umc_inst; in get_umc_v6_7_reg_offset()
95 uint32_t umc_inst, uint32_t ch_inst, in umc_v6_7_ecc_info_query_correctable_error_count() argument
104 umc_inst, ch_inst); in umc_v6_7_ecc_info_query_correctable_error_count()
106 eccinfo_table_idx = umc_inst * adev->umc.channel_inst_num + ch_inst; in umc_v6_7_ecc_info_query_correctable_error_count()
119 adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst]; in umc_v6_7_ecc_info_query_correctable_error_count()
137 uint32_t umc_inst, uint32_t ch_inst, in umc_v6_7_ecc_info_querry_uncorrectable_error_count() argument
146 umc_inst, ch_inst); in umc_v6_7_ecc_info_querry_uncorrectable_error_count()
148 eccinfo_table_idx = umc_inst * adev->umc.channel_inst_num + ch_inst; in umc_v6_7_ecc_info_querry_uncorrectable_error_count()
165 uint32_t ch_inst, void *data) in umc_v6_7_ecc_info_querry_ecc_error_count() argument
170 umc_inst, ch_inst, in umc_v6_7_ecc_info_querry_ecc_error_count()
174 umc_inst, ch_inst, in umc_v6_7_ecc_info_querry_ecc_error_count()
189 uint32_t ch_inst, uint32_t umc_inst) in umc_v6_7_convert_error_address() argument
195 adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst]; in umc_v6_7_convert_error_address()
224 uint32_t ch_inst, void *data) in umc_v6_7_ecc_info_query_error_address() argument
231 eccinfo_table_idx = umc_inst * adev->umc.channel_inst_num + ch_inst; in umc_v6_7_ecc_info_query_error_address()
248 ch_inst, umc_inst); in umc_v6_7_ecc_info_query_error_address()
264 uint32_t ch_inst, in umc_v6_7_query_correctable_error_count() argument
319 adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst]; in umc_v6_7_query_correctable_error_count()
363 uint32_t ch_inst, void *data) in umc_v6_7_reset_error_count_per_channel() argument
368 get_umc_v6_7_reg_offset(adev, umc_inst, ch_inst); in umc_v6_7_reset_error_count_per_channel()
414 uint32_t ch_inst, void *data) in umc_v6_7_query_ecc_error_count() argument
418 get_umc_v6_7_reg_offset(adev, umc_inst, ch_inst); in umc_v6_7_query_ecc_error_count()
423 ch_inst, umc_inst); in umc_v6_7_query_ecc_error_count()
443 uint32_t ch_inst, void *data) in umc_v6_7_query_error_address() argument
449 get_umc_v6_7_reg_offset(adev, umc_inst, ch_inst); in umc_v6_7_query_error_address()
475 ch_inst, umc_inst); in umc_v6_7_query_error_address()