Searched refs:eeprom_info_cpu_addr (Results 1 – 1 of 1) sorted by relevance
1011 void *eeprom_info_cpu_addr; in hl_fw_get_eeprom_data() local1016 eeprom_info_cpu_addr = hl_cpu_accessible_dma_pool_alloc(hdev, max_size, in hl_fw_get_eeprom_data()1018 if (!eeprom_info_cpu_addr) { in hl_fw_get_eeprom_data()1024 memset(eeprom_info_cpu_addr, 0, max_size); in hl_fw_get_eeprom_data()1041 memcpy(data, eeprom_info_cpu_addr, min((size_t)result, max_size)); in hl_fw_get_eeprom_data()1044 hl_cpu_accessible_dma_pool_free(hdev, max_size, eeprom_info_cpu_addr); in hl_fw_get_eeprom_data()