| /freebsd/sys/contrib/dev/iwlwifi/mld/tests/ |
| H A D | utils.h | 37 #define CHANNEL(_name, _band, _freq) \ argument 40 .center_freq = (_freq), \ 41 .hw_value = (_freq), \
|
| /freebsd/sys/arm64/freescale/imx/ |
| H A D | imx_ccm.h | 108 #define FIXED(_id, _name, _freq) \ argument 115 .freq = _freq, \
|
| /freebsd/sys/dev/clk/rockchip/ |
| H A D | rk_cru.h | 60 #define FRATE(_id, _name, _freq) \ argument 69 .freq = _freq, \
|
| /freebsd/sys/dev/qcom_gcc/ |
| H A D | qcom_gcc_ipq4018_clock.c | 66 #define F_RATE(_id, cname, _freq) \ argument 73 .freq = _freq, \
|
| /freebsd/sys/arm64/nvidia/tegra210/ |
| H A D | tegra210_car.c | 152 #define FRATE(_id, cname, _freq) \ argument 159 .freq = _freq, \
|
| /freebsd/sys/arm/nvidia/tegra124/ |
| H A D | tegra124_car.c | 151 #define FRATE(_id, cname, _freq) \ argument 158 .freq = _freq, \
|
| /freebsd/sys/contrib/dev/rtw88/ |
| H A D | main.c | 62 #define RTW88_DEF_CHAN(_freq, _hw_val, _flags, _band) \ argument 63 { .center_freq = _freq, .hw_value = _hw_val, .flags = _flags, .band = _band, } 64 #define RTW88_DEF_CHAN_2G(_freq, _hw_val) \ argument 65 RTW88_DEF_CHAN(_freq, _hw_val, 0, NL80211_BAND_2GHZ) 66 #define RTW88_DEF_CHAN_5G(_freq, _hw_val) \ argument 67 RTW88_DEF_CHAN(_freq, _hw_val, 0, NL80211_BAND_5GHZ) 68 #define RTW88_DEF_CHAN_5G_NO_HT40MINUS(_freq, _hw_val) \ argument 69 RTW88_DEF_CHAN(_freq, _hw_val, IEEE80211_CHAN_NO_HT40MINUS, NL80211_BAND_5GHZ)
|
| /freebsd/sys/dev/clk/allwinner/ |
| H A D | aw_clk.h | 588 _freq, _mult, _div, _flags) \ argument 596 .freq = _freq, \
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mac80211.c | 15 #define CHAN2G(_idx, _freq) { \ argument 17 .center_freq = (_freq), \ 22 #define CHAN5G(_idx, _freq) { \ argument 24 .center_freq = (_freq), \ 29 #define CHAN6G(_idx, _freq) { \ argument 31 .center_freq = (_freq), \
|
| /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300.h | 62 #define CHANSEL_2G(_freq) (((_freq) * 0x10000) / CHANSEL_DIV) argument 63 #define CHANSEL_5G(_freq) (((_freq) * 0x8000) / CHANSEL_DIV) argument
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | core.c | 48 #define RTW89_DEF_CHAN(_freq, _hw_val, _flags, _band) \ argument 49 { .center_freq = _freq, .hw_value = _hw_val, .flags = _flags, .band = _band, } 50 #define RTW89_DEF_CHAN_2G(_freq, _hw_val) \ argument 51 RTW89_DEF_CHAN(_freq, _hw_val, 0, NL80211_BAND_2GHZ) 52 #define RTW89_DEF_CHAN_5G(_freq, _hw_val) \ argument 53 RTW89_DEF_CHAN(_freq, _hw_val, 0, NL80211_BAND_5GHZ) 54 #define RTW89_DEF_CHAN_5G_NO_HT40MINUS(_freq, _hw_val) \ argument 55 RTW89_DEF_CHAN(_freq, _hw_val, IEEE80211_CHAN_NO_HT40MINUS, NL80211_BAND_5GHZ) 56 #define RTW89_DEF_CHAN_6G(_freq, _hw_val) \ argument 57 RTW89_DEF_CHAN(_freq, _hw_val, 0, NL80211_BAND_6GHZ)
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211.c | 1056 #define IS_FREQ_IN_PSB(_freq) ((_freq) > 4940 && (_freq) < 4990) in ieee80211_mhz2ieee() argument
|
| /freebsd/sys/dev/ath/ath_hal/ar5212/ |
| H A D | ar5212_reset.c | 1763 #define CHAN_TO_SPUR(_f, _freq) ( ((_freq) - ((_f) ? 2300 : 4900)) * 10 ) in ar5212SetSpurMitigation() argument
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | mac.c | 28 #define CHAN2G(_channel, _freq, _flags) { \ argument 31 .center_freq = (_freq), \ 37 #define CHAN5G(_channel, _freq, _flags) { \ argument 40 .center_freq = (_freq), \ 46 #define CHAN6G(_channel, _freq, _flags) { \ argument 49 .center_freq = (_freq), \
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | mac.c | 27 #define CHAN2G(_channel, _freq, _flags) { \ argument 30 .center_freq = (_freq), \ 36 #define CHAN5G(_channel, _freq, _flags) { \ argument 39 .center_freq = (_freq), \ 45 #define CHAN6G(_channel, _freq, _flags) { \ argument 48 .center_freq = (_freq), \
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | mac.c | 9566 #define CHAN2G(_channel, _freq, _flags) { \ argument 9569 .center_freq = (_freq), \ 9575 #define CHAN5G(_channel, _freq, _flags) { \ argument 9578 .center_freq = (_freq), \
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 191 #define CHAN2G(_channel, _freq) { \ argument 193 .center_freq = (_freq), \
|