Lines Matching refs:p_epatch_entry
1809 struct rtk_epatch_entry *p_epatch_entry = NULL; in load_firmware() local
1950 p_epatch_entry = get_fw_patch_entry(epatch_info, patch_entry->eversion); in load_firmware()
1951 if (p_epatch_entry == NULL) { in load_firmware()
1957 buf_len = p_epatch_entry->patch_length + config_len; in load_firmware()
1964 … memcpy(buf, &epatch_buf[p_epatch_entry->start_offset], p_epatch_entry->patch_length); in load_firmware()
1965 memcpy(&buf[p_epatch_entry->patch_length-4], &epatch_info->fw_version, 4); in load_firmware()
1966 kfree(p_epatch_entry); in load_firmware()
2011 struct rtk_epatch_entry *p_epatch_entry = NULL; in load_suspend_firmware() local
2111 p_epatch_entry = get_fw_patch_entry(epatch_info, patch_entry->eversion); in load_suspend_firmware()
2112 if (p_epatch_entry == NULL) { in load_suspend_firmware()
2118 buf_len = p_epatch_entry->patch_length + config_len; in load_suspend_firmware()
2125 … memcpy(buf, &epatch_buf[p_epatch_entry->start_offset], p_epatch_entry->patch_length); in load_suspend_firmware()
2126 memcpy(&buf[p_epatch_entry->patch_length-4], &epatch_info->fw_version, 4); in load_suspend_firmware()
2127 kfree(p_epatch_entry); in load_suspend_firmware()