Searched refs:EEPROM_TABLE_RECORD_SIZE (Results 1 – 1 of 1) sorted by relevance
39 #define EEPROM_TABLE_RECORD_SIZE 24 macro52 …e EEPROM_MAX_RECORD_NUM ((EEPROM_SIZE_BYTES - EEPROM_TABLE_HEADER_SIZE) / EEPROM_TABLE_RECORD_SIZE)145 EEPROM_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_init()243 uint32_t next_address = curr_address + EEPROM_TABLE_RECORD_SIZE; in __correct_eeprom_dest_address()352 buffs = kcalloc(num, EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE, in amdgpu_ras_eeprom_process_recods()366 if (write && (control->next_addr + EEPROM_TABLE_RECORD_SIZE * num > EEPROM_SIZE_BYTES)) in amdgpu_ras_eeprom_process_recods()376 unsigned char *buff = &buffs[i * (EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()389 msg->len = EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_process_recods()404 control->next_addr += EEPROM_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_process_recods()418 unsigned char *buff = &buffs[i*(EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()[all …]