Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/habanalabs/common/
Dfirmware_if.c49 static int extract_fw_sub_versions(struct hl_device *hdev, char *preboot_ver) in extract_fw_sub_versions() argument
54 first_dot = strnstr(preboot_ver, ".", 10); in extract_fw_sub_versions()
56 strscpy(major, preboot_ver, first_dot - preboot_ver + 1); in extract_fw_sub_versions()
82 kfree(preboot_ver); in extract_fw_sub_versions()
1430 char *dest, *boot_ver, *preboot_ver; in hl_fw_static_read_device_fw_version() local
1446 dest = prop->preboot_ver; in hl_fw_static_read_device_fw_version()
1475 preboot_ver = strnstr(prop->preboot_ver, "Preboot", in hl_fw_static_read_device_fw_version()
1477 if (preboot_ver && preboot_ver != prop->preboot_ver) { in hl_fw_static_read_device_fw_version()
1478 strscpy(btl_ver, prop->preboot_ver, in hl_fw_static_read_device_fw_version()
1479 min((int) (preboot_ver - prop->preboot_ver), in hl_fw_static_read_device_fw_version()
[all …]
Dsysfs.c178 return sprintf(buf, "%s\n", hdev->asic_prop.preboot_ver); in preboot_btl_ver_show()
Dhabanalabs.h688 char preboot_ver[VERSION_MAX_LEN]; member