Searched refs:pia (Results 1 – 2 of 2) sorted by relevance
115 unsigned char buf[8], *pia; in amdgpu_fru_get_product_info() local183 pia = kzalloc(size, GFP_KERNEL); in amdgpu_fru_get_product_info()184 if (!pia) in amdgpu_fru_get_product_info()188 len = amdgpu_eeprom_read(adev->pm.fru_eeprom_i2c_bus, addr, pia, size); in amdgpu_fru_get_product_info()190 kfree(pia); in amdgpu_fru_get_product_info()196 csum += pia[size - 1]; in amdgpu_fru_get_product_info()199 kfree(pia); in amdgpu_fru_get_product_info()210 memcpy(fru_info->manufacturer_name, pia + addr + 1, in amdgpu_fru_get_product_info()212 pia[addr] & 0x3F)); in amdgpu_fru_get_product_info()217 addr += 1 + (pia[addr] & 0x3F); in amdgpu_fru_get_product_info()[all …]
24 struct pia { struct