Home
last modified time | relevance | path

Searched refs:ver_off (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/misc/habanalabs/goya/
Dgoya.c2223 u32 ver_off; in goya_read_device_fw_version() local
2228 ver_off = RREG32(mmUBOOT_VER_OFFSET); in goya_read_device_fw_version()
2233 ver_off = RREG32(mmPREBOOT_VER_OFFSET); in goya_read_device_fw_version()
2242 ver_off &= ~((u32)SRAM_BASE_ADDR); in goya_read_device_fw_version()
2244 if (ver_off < SRAM_SIZE - VERSION_MAX_LEN) { in goya_read_device_fw_version()
2245 memcpy_fromio(dest, hdev->pcie_bar[SRAM_CFG_BAR_ID] + ver_off, in goya_read_device_fw_version()
2249 name, ver_off); in goya_read_device_fw_version()