Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_usb_driver/
H A Drtk_misc.c700 int max_patch_size = 0; in get_max_patch_size() local
704 max_patch_size = 24 * 1024; in get_max_patch_size()
707 max_patch_size = 25 * 1024; in get_max_patch_size()
713 max_patch_size = 40 * 1024; in get_max_patch_size()
717 max_patch_size = 40 * 1024 + 529; in get_max_patch_size()
720 max_patch_size = 40 * 1024; in get_max_patch_size()
724 return max_patch_size; in get_max_patch_size()
734 int max_patch_size = 0; in download_patch() local
783 max_patch_size = get_max_patch_size(pinfo->chip_type); in download_patch()
784 if (xdata->fw_len > max_patch_size) { in download_patch()
[all …]
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Dhciattach_rtk.c1737 int max_patch_size = 0; in rtb_config() local
1890 max_patch_size = 25 * 1024; in rtb_config()
1897 max_patch_size = 40 * 1024; in rtb_config()
1900 max_patch_size = 0x114D0 + 529; /* 69.2KB */ in rtb_config()
1903 max_patch_size = 0xC4Cf + 529; /* 49.2KB */ in rtb_config()
1907 max_patch_size = 0x104D0 + 529; /* 65KB */ in rtb_config()
1910 max_patch_size = 0x130D0 + 529; /* 76.2KB */ in rtb_config()
1913 max_patch_size = 24 * 1024; in rtb_config()
1917 if (rtb_cfg.total_len > max_patch_size) { in rtb_config()
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Drtk_btusb.h632 uint32_t max_patch_size; member
H A Drtk_btusb.c2358 …fo->fw_len:%d max_patch_size %d", __func__, fw_info->fw_len, fw_info->patch_entry->max_patch_size); in download_patch()
2359 if (fw_info->fw_len > fw_info->patch_entry->max_patch_size) { in download_patch()
2360 …rger than max_patch_size 0x%08x", __func__, fw_info->fw_len, fw_info->patch_entry->max_patch_size); in download_patch()