Searched refs:patch_length (Results 1 – 1 of 1) sorted by relevance
301 u16 patch_length, num_patches; in rtlbt_parse_firmware() local412 patch_length = get_unaligned_le16(patch_length_base + in rtlbt_parse_firmware()426 BT_DBG("length=%x offset=%x index %d", patch_length, patch_offset, i); in rtlbt_parse_firmware()427 min_size = patch_offset + patch_length; in rtlbt_parse_firmware()434 len = patch_length; in rtlbt_parse_firmware()435 buf = kvmalloc(patch_length, GFP_KERNEL); in rtlbt_parse_firmware()439 memcpy(buf, btrtl_dev->fw_data + patch_offset, patch_length - 4); in rtlbt_parse_firmware()440 memcpy(buf + patch_length - 4, &epatch_info->fw_version, 4); in rtlbt_parse_firmware()