Home
last modified time | relevance | path

Searched refs:patch_length (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/bluetooth/
H A Dbtrtl.c629 u16 patch_length, num_patches; in rtlbt_parse_firmware() local
757 patch_length = get_unaligned_le16(patch_length_base + in rtlbt_parse_firmware()
771 BT_DBG("length=%x offset=%x index %d", patch_length, patch_offset, i); in rtlbt_parse_firmware()
772 min_size = patch_offset + patch_length; in rtlbt_parse_firmware()
779 len = patch_length; in rtlbt_parse_firmware()
780 buf = kvmalloc(patch_length, GFP_KERNEL); in rtlbt_parse_firmware()
784 memcpy(buf, btrtl_dev->fw_data + patch_offset, patch_length - 4); in rtlbt_parse_firmware()
785 memcpy(buf + patch_length - 4, &epatch_info->fw_version, 4); in rtlbt_parse_firmware()