Searched refs:__cpu_to_be16 (Results 1 – 3 of 3) sorted by relevance
87 fft_sample->tlv.length = __cpu_to_be16(length); in ath10k_spectral_process_fft()118 fft_sample->max_magnitude = __cpu_to_be16(peak_mag); in ath10k_spectral_process_fft()124 fft_sample->total_gain_db = __cpu_to_be16(total_gain_db); in ath10k_spectral_process_fft()125 fft_sample->base_pwr_db = __cpu_to_be16(base_pwr_db); in ath10k_spectral_process_fft()129 fft_sample->freq1 = __cpu_to_be16(freq1); in ath10k_spectral_process_fft()130 fft_sample->freq2 = __cpu_to_be16(freq2); in ath10k_spectral_process_fft()134 fft_sample->noise = __cpu_to_be16(phyerr->nf_chains[chain_idx]); in ath10k_spectral_process_fft()
62 #define __cpu_to_be16(x) htobe16(x) macro63 #define cpu_to_be16(x) __cpu_to_be16(x)
660 fft_sample->tlv.length = __cpu_to_be16(length); in ath11k_spectral_process_fft()663 fft_sample->max_magnitude = __cpu_to_be16(search.peak_mag); in ath11k_spectral_process_fft()668 fft_sample->rssi = __cpu_to_be16(summary->inb_pwr_db); in ath11k_spectral_process_fft()672 fft_sample->freq1 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()675 fft_sample->freq2 = __cpu_to_be16(freq); in ath11k_spectral_process_fft()