Searched refs:rai (Results 1 – 7 of 7) sorted by relevance
291 __encode_table_ras_info_to_buf(struct amdgpu_ras_eeprom_table_ras_info *rai, in __encode_table_ras_info_to_buf() argument297 tmp = ((uint32_t)(rai->rma_status) & 0xFF) | in __encode_table_ras_info_to_buf()298 (((uint32_t)(rai->health_percent) << 8) & 0xFF00) | in __encode_table_ras_info_to_buf()299 (((uint32_t)(rai->ecc_page_threshold) << 16) & 0xFFFF0000); in __encode_table_ras_info_to_buf()304 __decode_table_ras_info_from_buf(struct amdgpu_ras_eeprom_table_ras_info *rai, in __decode_table_ras_info_from_buf() argument311 rai->rma_status = tmp & 0xFF; in __decode_table_ras_info_from_buf()312 rai->health_percent = (tmp >> 8) & 0xFF; in __decode_table_ras_info_from_buf()313 rai->ecc_page_threshold = (tmp >> 16) & 0xFFFF; in __decode_table_ras_info_from_buf()436 struct amdgpu_ras_eeprom_table_ras_info *rai = &control->tbl_rai; in amdgpu_ras_eeprom_reset_table() local450 rai->rma_status = GPU_HEALTH_USABLE; in amdgpu_ras_eeprom_reset_table()[all …]
7 * Harninder Rai <harninder.rai@nxp.com>