Searched refs:EEPROM_TABLE_RECORD_SIZE (Results 1 – 1 of 1) sorted by relevance
41 #define EEPROM_TABLE_RECORD_SIZE 24 macro57 …e EEPROM_MAX_RECORD_NUM ((EEPROM_SIZE_BYTES - EEPROM_TABLE_HEADER_SIZE) / EEPROM_TABLE_RECORD_SIZE)312 EEPROM_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_init()401 uint32_t next_address = curr_address + EEPROM_TABLE_RECORD_SIZE; in __correct_eeprom_dest_address()486 buffs = kcalloc(num, EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE, in amdgpu_ras_eeprom_process_recods()520 if (write && (control->next_addr + EEPROM_TABLE_RECORD_SIZE * num > EEPROM_SIZE_BYTES)) in amdgpu_ras_eeprom_process_recods()529 buff = &buffs[i * (EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()542 msg->len = EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_process_recods()557 control->next_addr += EEPROM_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_process_recods()571 buff = &buffs[i*(EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()[all …]