Searched refs:eeprom_info_cpu_addr (Results 1 – 1 of 1) sorted by relevance
1003 void *eeprom_info_cpu_addr; in hl_fw_get_eeprom_data() local1008 eeprom_info_cpu_addr = hl_cpu_accessible_dma_pool_alloc(hdev, max_size, in hl_fw_get_eeprom_data()1010 if (!eeprom_info_cpu_addr) { in hl_fw_get_eeprom_data()1016 memset(eeprom_info_cpu_addr, 0, max_size); in hl_fw_get_eeprom_data()1034 memcpy(data, eeprom_info_cpu_addr, min((size_t)result, max_size)); in hl_fw_get_eeprom_data()1037 hl_cpu_accessible_dma_pool_free(hdev, max_size, eeprom_info_cpu_addr); in hl_fw_get_eeprom_data()