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.c323 uint8_t *patch_buf; in rtlbt_parse_fwfile_v1() local
363 patch_buf = malloc(patch_length); in rtlbt_parse_fwfile_v1()
364 if (patch_buf == NULL) { in rtlbt_parse_fwfile_v1()
369 memcpy(patch_buf, fw->buf + patch_offset, patch_length - 4); in rtlbt_parse_fwfile_v1()
370 memcpy(patch_buf + patch_length - 4, &fw_header->fw_version, 4); in rtlbt_parse_fwfile_v1()
373 fw->buf = patch_buf; in rtlbt_parse_fwfile_v1()
476 uint8_t *section_data, *patch_buf; in rtlbt_parse_fwfile_v2() local
537 patch_buf = calloc(1, len); in rtlbt_parse_fwfile_v2()
538 if (patch_buf == NULL) { in rtlbt_parse_fwfile_v2()
549 memcpy(patch_buf + patch_len, entry->data, entry->len); in rtlbt_parse_fwfile_v2()
[all …]