Searched refs:rai (Results 1 – 5 of 5) sorted by relevance
301 __encode_table_ras_info_to_buf(struct amdgpu_ras_eeprom_table_ras_info *rai, in __encode_table_ras_info_to_buf() argument 307 tmp = ((uint32_t)(rai->rma_status) & 0xFF) | in __encode_table_ras_info_to_buf() 308 (((uint32_t)(rai->health_percent) << 8) & 0xFF00) | in __encode_table_ras_info_to_buf() 309 (((uint32_t)(rai->ecc_page_threshold) << 16) & 0xFFFF0000); in __encode_table_ras_info_to_buf() 314 __decode_table_ras_info_from_buf(struct amdgpu_ras_eeprom_table_ras_info *rai, in __decode_table_ras_info_from_buf() argument 321 rai->rma_status = tmp & 0xFF; in __decode_table_ras_info_from_buf() 322 rai->health_percent = (tmp >> 8) & 0xFF; in __decode_table_ras_info_from_buf() 323 rai->ecc_page_threshold = (tmp >> 16) & 0xFFFF; in __decode_table_ras_info_from_buf() 451 struct amdgpu_ras_eeprom_table_ras_info *rai = &control->tbl_rai; in amdgpu_ras_eeprom_reset_table() local 465 rai in amdgpu_ras_eeprom_reset_table() 1440 struct amdgpu_ras_eeprom_table_ras_info *rai = &control->tbl_rai; __read_table_ras_info() local [all...]
7 * Harninder Rai <harninder.rai@nxp.com>