Searched refs:bin_len (Results 1 – 3 of 3) sorted by relevance
184 int bin_off, bin_len; in __ol_transfer_bin_file() local449 bin_len = sign_header->rampatch_len - bin_off; in __ol_transfer_bin_file()450 if (bin_len <= 0 || bin_len > fw_entry_size - bin_off) { in __ol_transfer_bin_file()458 bin_len = fw_entry_size; in __ol_transfer_bin_file()461 bin_len = fw_entry_size; in __ol_transfer_bin_file()468 bin_len, ol_ctx); in __ol_transfer_bin_file()477 + bin_off, bin_len, ol_ctx); in __ol_transfer_bin_file()482 bin_off += bin_len; in __ol_transfer_bin_file()483 bin_len = sign_header->total_len - sign_header->rampatch_len; in __ol_transfer_bin_file()485 if (bin_len > 0 && bin_len <= fw_entry_size - bin_off) { in __ol_transfer_bin_file()[all …]
936 uint32_t bin_len, tmp_len; in fill_host_afc_response_buffer() local972 bin_len = sizeof(*host_afc) + sizeof(*afc_bin); in fill_host_afc_response_buffer()974 if (bin_len + sizeof(*freq_psd) * afc_bin->num_frequency_obj > in fill_host_afc_response_buffer()981 ((uint8_t *)host_afc + bin_len); in fill_host_afc_response_buffer()989 bin_len += sizeof(*freq_psd) * afc_bin->num_frequency_obj; in fill_host_afc_response_buffer()991 tmp_len = bin_len; in fill_host_afc_response_buffer()1002 ((uint8_t *)host_afc + bin_len); in fill_host_afc_response_buffer()