Searched refs:epatch_buf (Results 1 – 2 of 2) sorted by relevance
1193 static void rtk_get_patch_entry(uint8_t * epatch_buf, in rtk_get_patch_entry() argument1200 struct rtk_epatch *epatch_info = (struct rtk_epatch *)epatch_buf; in rtk_get_patch_entry()1210 if (get_unaligned_le16(epatch_buf + 14 + 2 * i) == in rtk_get_patch_entry()1213 entry->patch_length = get_unaligned_le16(epatch_buf + in rtk_get_patch_entry()1217 entry->start_offset = get_unaligned_le32(epatch_buf + in rtk_get_patch_entry()1232 svn_ver = get_unaligned_le32(epatch_buf + in rtk_get_patch_entry()1235 coex_ver = get_unaligned_le32(epatch_buf + in rtk_get_patch_entry()1469 uint8_t *buf = *buff, *config_file_buf = NULL, *epatch_buf = NULL; in load_firmware() local1493 epatch_buf = kzalloc(fw->size, GFP_KERNEL); in load_firmware()1494 if (NULL == epatch_buf) in load_firmware()[all …]
1455 uint8_t *epatch_buf = (uint8_t *)epatch_info; in get_fw_patch_entry() local1462 if (*(uint16_t *)(epatch_buf + 14 + 2*i) == eco_ver + 1) { in get_fw_patch_entry()1469 p_entry->patch_length = *(uint16_t*)(epatch_buf + 14 + 2*patch_num + 2*i); in get_fw_patch_entry()1470 p_entry->start_offset = *(uint32_t*)(epatch_buf + 14 + 4*patch_num + 4*i); in get_fw_patch_entry()1471 …p_entry->coex_version = *(uint32_t*)(epatch_buf + p_entry->start_offset + p_entry->patch_length - … in get_fw_patch_entry()1472 …p_entry->svn_version = *(uint32_t*)(epatch_buf + p_entry->start_offset + p_entry->patch_length - 8… in get_fw_patch_entry()1473 …p_entry->fw_version = *(uint32_t*)(epatch_buf + p_entry->start_offset + p_entry->patch_length - 4); in get_fw_patch_entry()1804 uint8_t *epatch_buf = NULL; in load_firmware() local1850 epatch_buf = vmalloc(fw->size); in load_firmware()1852 if (!epatch_buf) { in load_firmware()[all …]