Home
last modified time | relevance | path

Searched refs:mem_channel (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/amd/ras/rascore/
H A Dras_eeprom.c521 buf[i++] = record->mem_channel; in __encode_table_record_to_buf()
549 record->mem_channel = buf[i++]; in __decode_table_record_from_buf()
645 if ((record[i].mem_channel < BITS_PER_TYPE(control->bad_channel_bitmap)) && in ras_eeprom_append_table()
646 !(control->bad_channel_bitmap & (1 << record[i].mem_channel))) { in ras_eeprom_append_table()
647 control->bad_channel_bitmap |= 1 << record[i].mem_channel; in ras_eeprom_append_table()
988 if ((record[i].mem_channel < BITS_PER_TYPE(control->bad_channel_bitmap)) && in ras_eeprom_read()
989 !(control->bad_channel_bitmap & (1 << record[i].mem_channel))) { in ras_eeprom_read()
990 control->bad_channel_bitmap |= 1 << record[i].mem_channel; in ras_eeprom_read()
H A Dras_eeprom.h166 unsigned char mem_channel; member
H A Dras_cmd.c77 ras_cmd_record->mem_channel = record->mem_channel; in ras_cmd_update_bad_page_info()
H A Dras_umc_v12_0.c186 record->cur_nps_bank, record->mem_channel); in lookup_bad_pages_in_a_row()
396 addr_in.ch_inst = record->mem_channel; in convert_eeprom_record_to_nps_addr()
H A Dras_umc.c667 err_rec->mem_channel = cur_nps_addr->channel_idx; in ras_umc_fill_eeprom_record()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c540 buf[i++] = record->mem_channel; in __encode_table_record_to_buf()
568 record->mem_channel = buf[i++]; in __decode_table_record_from_buf()
675 if ((record[i].mem_channel < BITS_PER_TYPE(control->bad_channel_bitmap)) && in amdgpu_ras_eeprom_append_table()
676 !(control->bad_channel_bitmap & (1 << record[i].mem_channel))) { in amdgpu_ras_eeprom_append_table()
677 control->bad_channel_bitmap |= 1 << record[i].mem_channel; in amdgpu_ras_eeprom_append_table()
1080 (uint32_t *)&(record[i - rec_idx].mem_channel), in amdgpu_ras_eeprom_read_idx()
1178 if ((record[i].mem_channel < BITS_PER_TYPE(control->bad_channel_bitmap)) && in amdgpu_ras_eeprom_read()
1179 !(control->bad_channel_bitmap & (1 << record[i].mem_channel))) { in amdgpu_ras_eeprom_read()
1180 control->bad_channel_bitmap |= 1 << record[i].mem_channel; in amdgpu_ras_eeprom_read()
1369 record.mem_channel, in amdgpu_ras_debugfs_table_read()
H A Damdgpu_ras_eeprom.h143 unsigned char mem_channel; member
H A Damdgpu_ras.c3029 addr_in.ma.ch_inst = bps->mem_channel; in amdgpu_ras_mca2pa_by_idx()
3070 addr_in.ma.ch_inst = bps->mem_channel; in amdgpu_ras_mca2pa()
3142 err_data->err_addr[i].mem_channel = bps[0].mem_channel; in __amdgpu_ras_convert_rec_array_from_rom()
3198 err_data->err_addr[i].mem_channel = bps->mem_channel; in __amdgpu_ras_convert_rec_from_rom()
3261 (bps[i].mem_channel == bps[i + 1].mem_channel)) { in amdgpu_ras_add_bad_pages()
3395 (bps[i].mem_channel == bps[i + 1].mem_channel)) { in amdgpu_ras_load_bad_pages()
H A Damdgpu_umc.c422 err_rec->mem_channel = channel_index; in amdgpu_umc_fill_error_record()