Home
last modified time | relevance | path

Searched refs:freq_kHz (Results 1 – 2 of 2) sorted by relevance

/drivers/media/dvb-frontends/
Ddibx000_common.h58 #define BAND_OF_FREQUENCY(freq_kHz) ((freq_kHz) <= 170000 ? BAND_CBAND : \ argument
59 (freq_kHz) <= 115000 ? BAND_FM : \
60 (freq_kHz) <= 250000 ? BAND_VHF : \
61 (freq_kHz) <= 863000 ? BAND_UHF : \
62 (freq_kHz) <= 2000000 ? BAND_LBAND : BAND_SBAND )
/drivers/iio/light/
Das73211.c446 int reg_bits, freq_kHz = val / HZ_PER_KHZ; /* 1024, 2048, ... */ in _as73211_write_raw() local
449 if (val < 0 || (freq_kHz * HZ_PER_KHZ) != val || in _as73211_write_raw()
450 !is_power_of_2(freq_kHz) || val2) in _as73211_write_raw()
454 reg_bits = ilog2(freq_kHz) - 10; in _as73211_write_raw()