Searched defs:bands (Results 1 - 22 of 22) sorted by path

/drivers/media/dvb-frontends/
H A Dcx24110.c247 static const u32 bands[]={5000000UL,15000000UL,90999000UL/2}; local
256 for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++)
301 dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]);
/drivers/media/radio/
H A Dradio-cadet.c93 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
219 freq = clamp(freq, bands[dev->is_fm_band].rangelow,
220 bands[dev->is_fm_band].rangehigh);
379 v->capability = bands[0].capability | bands[1].capability;
380 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */
381 v->rangehigh = bands[1].rangehigh; /* 108.0 MHz (end of FM band) */
411 if (band->index >= ARRAY_SIZE(bands))
413 *band = bands[band->index];
438 f->frequency >= (bands[
[all...]
H A Dradio-raremono.c85 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
210 if (band->index >= ARRAY_SIZE(bands))
213 *band = bands[band->index];
270 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh);
H A Dradio-tea5777.c152 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
192 freq = clamp(tea->freq, bands[tea->band].rangelow,
193 bands[tea->band].rangehigh);
288 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) ||
292 *band = bands[band->index];
319 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow :
320 bands[BAND_FM].rangelow;
321 v->rangehigh = bands[BAND_FM].rangehigh;
403 for (i = 0; i < ARRAY_SIZE(bands); i++) {
406 if (bands[
[all...]
H A Dtea575x.c64 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
185 return clamp(freq * 16, bands[tea->band].rangelow,
186 bands[tea->band].rangehigh); /* from kHz */
276 *band = bands[index];
299 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow;
353 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow,
354 bands[tea->band].rangehigh);
375 for (i = 0; i < ARRAY_SIZE(bands); i++) {
380 if (bands[i].rangelow == a->rangelow &&
381 bands[
[all...]
/drivers/media/radio/si470x/
H A Dradio-si470x-common.c148 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
273 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow;
286 freq = clamp(freq, bands[radio->band].rangelow,
287 bands[radio->band].rangehigh);
289 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio);
307 for (band = 0; band < ARRAY_SIZE(bands); band++) {
308 if (bands[band].rangelow == seek->rangelow &&
309 bands[band].rangehigh == seek->rangehigh)
312 if (band == ARRAY_SIZE(bands))
689 if (freq->frequency < bands[radi
[all...]
/drivers/media/tuners/
H A Dmsi001.c23 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
341 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2))
346 bands[band].rangelow, bands[band].rangehigh);
359 if (band->index >= ARRAY_SIZE(bands))
362 band->capability = bands[band->index].capability;
363 band->rangelow = bands[band->index].rangelow;
364 band->rangehigh = bands[band->index].rangehigh;
437 s->f_tuner = bands[
[all...]
/drivers/media/usb/airspy/
H A Dairspy.c58 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
724 v->rangelow = bands[0].rangelow;
725 v->rangehigh = bands[0].rangehigh;
773 bands[0].rangelow,
774 bands[0].rangehigh);
800 if (band->index >= ARRAY_SIZE(bands)) {
803 *band = bands[band->index];
997 s->f_adc = bands[0].rangelow;
/drivers/media/usb/msi2500/
H A Dmsi2500.c67 static const struct v4l2_frequency_band bands[] = { variable in typeref:struct:v4l2_frequency_band
1046 bands[0].rangelow,
1047 bands[0].rangehigh);
1069 if (band->index >= ARRAY_SIZE(bands)) {
1072 *band = bands[band->index];
1190 s->f_adc = bands[0].rangelow;
/drivers/net/wireless/ath/ath10k/
H A Dmac.c1139 sband = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band];
1672 struct ieee80211_supported_band **bands; local
1684 bands = hw->wiphy->bands;
1686 if (!bands[band])
1689 for (i = 0; i < bands[band]->n_channels; i++) {
1690 if (bands[band]->channels[i].flags &
1705 if (!bands[band])
1708 for (i = 0; i < bands[band]->n_channels; i++) {
1709 channel = &bands[ban
[all...]
/drivers/net/wireless/ath/carl9170/
H A Dmain.c1669 band = ar->hw->wiphy->bands[b];
1920 int bands = 0; local
1943 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
1946 bands++;
1949 ar->hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
1952 bands++;
1955 if (!bands)
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmain.c1323 * bands values are: BRCM_BAND_AUTO <--- Current band only
1326 * BRCM_BAND_ALL <--- All bands
1330 int bands)
1342 switch (bands) {
1343 /* Current band only or all bands,
1373 if (bands == BRCM_BAND_ALL) {
1734 * shmem is shared between bands
3860 /* Switch bands if necessary */
3922 /* Switch bands if necessary */
4513 /* check device id(srom, nvram etc.) to set bands */
1329 brcms_b_mhf(struct brcms_hardware *wlc_hw, u8 idx, u16 mask, u16 val, int bands) argument
[all...]
H A Dphy_shim.c111 u16 val, int bands)
113 brcms_b_mhf(physhim->wlc_hw, idx, mask, val, bands);
110 wlapi_bmac_mhf(struct phy_shim_info *physhim, u8 idx, u16 mask, u16 val, int bands) argument
/drivers/net/wireless/iwlegacy/
H A Dcommon.h314 * values apply to all channels within each of the bands.
317 * constant (i.e. same value applies to all channels/bands) while the
1150 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member in struct:il_priv
1960 return il->hw->wiphy->bands[band];
/drivers/net/wireless/iwlwifi/
H A Diwl-eeprom-parse.h97 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member in struct:iwl_nvm_data
/drivers/net/wireless/libertas/
H A Dcmd.c742 struct ieee80211_supported_band **bands = wiphy->bands; local
783 if (!bands[band])
787 (i < bands[band]->n_channels) && (num_triplet < MAX_11D_TRIPLETS);
789 ch = &bands[band]->channels[i];
/drivers/net/wireless/
H A Dmac80211_hwsim.c406 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member in struct:mac80211_hwsim_data
2077 struct ieee80211_supported_band *sband = &data->bands[band];
2108 hw->wiphy->bands[band] = sband;
/drivers/net/wireless/mwifiex/
H A D11ac.c56 u8 bands, u16 mcs_map)
63 if (bands & BAND_AAC)
99 struct ieee80211_vht_cap *vht_cap, u8 bands)
103 if (bands & BAND_A)
112 struct ieee80211_vht_cap *vht_cap, u8 bands)
119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands);
141 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result);
163 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result);
55 mwifiex_convert_mcsmap_to_maxrate(struct mwifiex_private *priv, u8 bands, u16 mcs_map) argument
98 mwifiex_fill_vht_cap_info(struct mwifiex_private *priv, struct ieee80211_vht_cap *vht_cap, u8 bands) argument
111 mwifiex_fill_vht_cap_tlv(struct mwifiex_private *priv, struct ieee80211_vht_cap *vht_cap, u8 bands) argument
/drivers/net/wireless/rt2x00/
H A Drt2x00.h393 * @supported_bands: Bitmask contained the supported bands (2.4GHz, 5.2GHz).
752 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member in struct:rt2x00_dev
/drivers/net/wireless/rtlwifi/
H A Dwifi.h1328 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; member in struct:rtl_mac
/drivers/net/wireless/ti/wlcore/
H A Dwlcore.h371 /* bands supported by this instance of wl12xx */
372 struct ieee80211_supported_band bands[WLCORE_NUM_BANDS]; member in struct:wl1271
/drivers/staging/rtl8723au/os_dep/
H A Dioctl_cfg80211.c3158 *hw->wiphy->bands[IEEE80211_BAND_2GHZ]
3188 struct ieee80211_supported_band *bands; local
3198 bands = wiphy->bands[IEEE80211_BAND_2GHZ];
3199 if (bands)
3200 rtw_cfg80211_init_ht_capab(&bands->ht_cap,
3207 bands = wiphy->bands[IEEE80211_BAND_5GHZ];
3208 if (bands)
3209 rtw_cfg80211_init_ht_capab(&bands
[all...]

Completed in 440 milliseconds