Searched refs:fwptr (Results 1 – 2 of 2) sorted by relevance
242 const unsigned char *fwptr, *chip_id_base; in rtlbt_parse_firmware() local264 fwptr = btrtl_dev->fw_data + btrtl_dev->fw_len - sizeof(extension_sig); in rtlbt_parse_firmware()265 if (memcmp(fwptr, extension_sig, sizeof(extension_sig)) != 0) { in rtlbt_parse_firmware()276 while (fwptr >= btrtl_dev->fw_data + (sizeof(*epatch_info) + 3)) { in rtlbt_parse_firmware()277 opcode = *--fwptr; in rtlbt_parse_firmware()278 length = *--fwptr; in rtlbt_parse_firmware()279 data = *--fwptr; in rtlbt_parse_firmware()296 fwptr -= length; in rtlbt_parse_firmware()
1991 u8 *fwptr; in rtl8xxxu_download_firmware() local2027 fwptr = priv->fw_data->data; in rtl8xxxu_download_firmware()2035 fwptr, RTL_FW_PAGE_SIZE); in rtl8xxxu_download_firmware()2041 fwptr += RTL_FW_PAGE_SIZE; in rtl8xxxu_download_firmware()2049 fwptr, remainder); in rtl8xxxu_download_firmware()