Lines Matching refs:p_entry
1456 struct rtk_epatch_entry *p_entry = NULL; in get_fw_patch_entry() local
1463 p_entry = kzalloc(sizeof(*p_entry), GFP_KERNEL); in get_fw_patch_entry()
1464 if (!p_entry) { in get_fw_patch_entry()
1468 p_entry->chip_id = 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()
1475 … coex_date = ((p_entry->coex_version >> 16) & 0x7ff) + ((p_entry->coex_version >> 27) * 10000); in get_fw_patch_entry()
1476 coex_ver = p_entry->coex_version & 0xffff; in get_fw_patch_entry()
1479 …coex_date, coex_ver, p_entry->svn_version, p_entry->fw_version, VERSION, p_entry->chip_id, p_entry… in get_fw_patch_entry()
1484 return p_entry; in get_fw_patch_entry()