Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/include/common/
H A Dhl_boot_if.h16 #define VERSION_MAX_LEN 128 macro
566 char fuse_ver[VERSION_MAX_LEN];
567 char cur_fw_ver[VERSION_MAX_LEN];
569 char reserved0[VERSION_MAX_LEN];
591 char fuse_ver[VERSION_MAX_LEN];
592 char cur_fw_ver[VERSION_MAX_LEN];
594 char reserved0[VERSION_MAX_LEN];
756 __u8 version[VERSION_MAX_LEN];
774 __u8 component[VERSION_MAX_LEN];
775 __u8 fw_os[VERSION_MAX_LEN];
H A Dcpucp_if.h1145 __u8 kernel_version[VERSION_MAX_LEN];
1151 __u8 fuse_version[VERSION_MAX_LEN];
1152 __u8 thermal_version[VERSION_MAX_LEN];
1153 __u8 cpucp_version[VERSION_MAX_LEN];
1171 __u8 fw_os_version[VERSION_MAX_LEN];
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dfirmware_if.c48 fw_ver = kmalloc(VERSION_MAX_LEN, GFP_KERNEL); in extract_fw_ver_from_str()
52 str = strnstr(fw_str, "fw-", VERSION_MAX_LEN); in extract_fw_ver_from_str()
61 whitespace = strnstr(str, " ", VERSION_MAX_LEN - ver_offset); in extract_fw_ver_from_str()
115 end = strnstr(fw_str, "-rc-", VERSION_MAX_LEN); in hl_get_sw_major_minor_subminor()
120 end = strnstr(fw_str, "-fw-", VERSION_MAX_LEN); in hl_get_sw_major_minor_subminor()
1596 VERSION_MAX_LEN); in hl_fw_static_read_device_fw_version()
1600 strscpy(dest, "unavailable", VERSION_MAX_LEN); in hl_fw_static_read_device_fw_version()
1612 VERSION_MAX_LEN); in hl_fw_static_read_device_fw_version()
2276 strscpy(prop->uboot_ver, fw_version, VERSION_MAX_LEN); in hl_fw_dynamic_read_device_fw_version()
2285 strscpy(prop->preboot_ver, fw_version, VERSION_MAX_LEN); in hl_fw_dynamic_read_device_fw_version()
[all …]
H A Dhabanalabs.h698 char uboot_ver[VERSION_MAX_LEN];
699 char preboot_ver[VERSION_MAX_LEN];
H A Dhabanalabs_ioctl.c85 min(VERSION_MAX_LEN, HL_INFO_VERSION_MAX_LEN)); in hw_ip_info()
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c2557 static_loader->preboot_version_max_off = SRAM_SIZE - VERSION_MAX_LEN; in goya_init_static_firmware_loader()
2558 static_loader->boot_fit_version_max_off = SRAM_SIZE - VERSION_MAX_LEN; in goya_init_static_firmware_loader()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c3735 static_loader->preboot_version_max_off = SRAM_SIZE - VERSION_MAX_LEN; in gaudi_init_static_firmware_loader()
3736 static_loader->boot_fit_version_max_off = SRAM_SIZE - VERSION_MAX_LEN; in gaudi_init_static_firmware_loader()