Searched refs:extract_u32_until_given_char (Results 1 – 1 of 1) sorted by relevance
/drivers/accel/habanalabs/common/ |
D | firmware_if.c | 82 static char *extract_u32_until_given_char(char *str, u32 *ver_num, char given_char) in extract_u32_until_given_char() function 138 start = extract_u32_until_given_char(start, &hdev->fw_sw_major_ver, '.'); in hl_get_sw_major_minor_subminor() 143 start = extract_u32_until_given_char(start, &hdev->fw_sw_minor_ver, '.'); in hl_get_sw_major_minor_subminor() 148 start = extract_u32_until_given_char(start, &hdev->fw_sw_sub_minor_ver, '-'); in hl_get_sw_major_minor_subminor() 173 preboot_ver = extract_u32_until_given_char(preboot_ver, &hdev->fw_inner_major_ver, '.'); in hl_get_preboot_major_minor() 181 preboot_ver = extract_u32_until_given_char(preboot_ver, &hdev->fw_inner_minor_ver, '.'); in hl_get_preboot_major_minor()
|