Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbt_fw.c316 uint8_t *patch_buf; in rtlbt_parse_fwfile_v1() local
356 patch_buf = malloc(patch_length); in rtlbt_parse_fwfile_v1()
357 if (patch_buf == NULL) { in rtlbt_parse_fwfile_v1()
362 memcpy(patch_buf, fw->buf + patch_offset, patch_length - 4); in rtlbt_parse_fwfile_v1()
363 memcpy(patch_buf + patch_length - 4, &fw_header->fw_version, 4); in rtlbt_parse_fwfile_v1()
366 fw->buf = patch_buf; in rtlbt_parse_fwfile_v1()
469 uint8_t *section_data, *patch_buf; in rtlbt_parse_fwfile_v2() local
530 patch_buf = calloc(1, len); in rtlbt_parse_fwfile_v2()
531 if (patch_buf == NULL) { in rtlbt_parse_fwfile_v2()
542 memcpy(patch_buf + patch_len, entry->data, entry->len); in rtlbt_parse_fwfile_v2()
[all …]