Searched refs:patch_length (Results 1 – 1 of 1) sorted by relevance
650 u16 patch_length, num_patches; in rtlbt_parse_firmware() local780 patch_length = get_unaligned_le16(patch_length_base + in rtlbt_parse_firmware()794 BT_DBG("length=%x offset=%x index %d", patch_length, patch_offset, i); in rtlbt_parse_firmware()795 min_size = patch_offset + patch_length; in rtlbt_parse_firmware()802 len = patch_length; in rtlbt_parse_firmware()803 buf = kvmalloc(patch_length, GFP_KERNEL); in rtlbt_parse_firmware()807 memcpy(buf, btrtl_dev->fw_data + patch_offset, patch_length - 4); in rtlbt_parse_firmware()808 memcpy(buf + patch_length - 4, &epatch_info->fw_version, 4); in rtlbt_parse_firmware()