Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Deeprom.c19 static inline u16 ath9k_hw_fbin2freq(u8 fbin, bool is2GHz) in ath9k_hw_fbin2freq() argument
21 if (fbin == AR5416_BCHAN_UNUSED) in ath9k_hw_fbin2freq()
22 return fbin; in ath9k_hw_fbin2freq()
24 return (u16) ((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in ath9k_hw_fbin2freq()
Dar9003_eeprom.c2940 static u16 ath9k_hw_fbin2freq(u8 fbin, bool is2GHz) in ath9k_hw_fbin2freq() argument
2942 if (fbin == AR5416_BCHAN_UNUSED) in ath9k_hw_fbin2freq()
2943 return fbin; in ath9k_hw_fbin2freq()
2945 return (u16) ((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in ath9k_hw_fbin2freq()