Home
last modified time | relevance | path

Searched refs:max_exp (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c50 u8 max_exp; in ath_cmn_max_idx_verify_ht20_fft() local
66 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_fft()
75 if ((sample[max_index] & 0xf8) != ((max_magnitude >> max_exp) & 0xf8)) in ath_cmn_max_idx_verify_ht20_fft()
88 u8 max_exp; in ath_cmn_max_idx_verify_ht20_40_fft() local
108 max_exp = mag_info->max_exp & 0xf; in ath_cmn_max_idx_verify_ht20_40_fft()
119 ((upper_mag >> max_exp) & 0xf8)) || in ath_cmn_max_idx_verify_ht20_40_fft()
121 ((lower_mag >> max_exp) & 0xf8))) in ath_cmn_max_idx_verify_ht20_40_fft()
146 u8 max_index, bitmap_w, max_exp; in ath_cmn_process_ht20_fft() local
167 max_exp = mag_info->max_exp & 0xf; in ath_cmn_process_ht20_fft()
168 fft_sample_20.max_exp = max_exp; in ath_cmn_process_ht20_fft()
[all …]
H A Dcommon-spectral.h56 u8 max_exp; member
85 u8 max_exp; member
/linux/drivers/net/wireless/ath/
H A Dspectral_common.h52 u8 max_exp; member
90 u8 max_exp; member
109 u8 max_exp; member
118 u8 max_exp; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dspectral.c28 u8 max_exp; in get_max_exp() local
36 for (max_exp = 0; max_exp < 8; max_exp++) { in get_max_exp()
37 if (data[dc_pos + max_index] == (max_magnitude >> max_exp)) in get_max_exp()
42 if (data[dc_pos + max_index] != (max_magnitude >> max_exp)) in get_max_exp()
45 return max_exp; in get_max_exp()
144 fft_sample->max_exp = get_max_exp(fft_sample->max_index, peak_mag, in ath10k_spectral_process_fft()
/linux/drivers/iio/proximity/
H A Disl29501.c352 unsigned int max_exp, in isl29501_find_corr_exp() argument
373 if (exp > max_exp) in isl29501_find_corr_exp()
374 return max_exp; in isl29501_find_corr_exp()
388 int max_exp = 0; in isl29501_write_ext() local
434 max_exp = max(max_exp, corr_exp); in isl29501_write_ext()
450 mantissa = corr >> max_exp; in isl29501_write_ext()
457 ret = isl29501_register_write(isl29501, REG_PHASE_EXP, max_exp); in isl29501_write_ext()
/linux/drivers/net/wireless/ath/ath11k/
H A Dspectral.c534 u8 max_exp; in ath11k_spectral_get_max_exp() local
542 for (max_exp = 0; max_exp < 8; max_exp++) { in ath11k_spectral_get_max_exp()
543 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
548 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
551 return max_exp; in ath11k_spectral_get_max_exp()
683 fft_sample->max_exp = ath11k_spectral_get_max_exp(fft_sample->max_index, in ath11k_spectral_process_fft()
/linux/drivers/media/i2c/
H A Dalvium-csi2.c812 u64 dft_exp, min_exp, max_exp, inc_exp; in alvium_get_exposure_params() local
817 alvium_read(alvium, REG_BCRM_EXPOSURE_TIME_MAX_R, &max_exp, &ret); in alvium_get_exposure_params()
824 alvium->max_exp = max_exp; in alvium_get_exposure_params()
2145 alvium->max_exp, in alvium_ctrl_init()
H A Dalvium-csi2.h415 u64 max_exp; member
/linux/drivers/media/usb/gspca/
H A Dcpia1.c1309 int max_exp = FIRMWARE_VERSION(1, 2) ? MAX_EXP_102 : in monitor_exposure() local
1323 sd->params.flickerControl.coarseJump < max_exp) in monitor_exposure()