Home
last modified time | relevance | path

Searched refs:bands (Results 1 - 25 of 381) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/net/sched/
H A Dsch_prio.c22 int bands; member
62 if (band >= q->bands) in prio_classify()
102 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
136 for (prio = 0; prio < q->bands; prio++) in prio_reset()
153 opt.replace_params.bands = qopt->bands; in prio_offload()
172 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
181 int oldbands = q->bands, i; in prio_tune()
188 if (qopt->bands > TCQ_PRIO_BAND in prio_tune()
[all...]
H A Dsch_multiq.c20 u16 bands; member
53 if (band >= q->bands) in multiq_classify()
94 for (band = 0; band < q->bands; band++) { in multiq_dequeue()
95 /* cycle through bands to ensure fairness */ in multiq_dequeue()
97 if (q->curband >= q->bands) in multiq_dequeue()
126 for (band = 0; band < q->bands; band++) { in multiq_peek()
127 /* cycle through bands to ensure fairness */ in multiq_peek()
129 if (curband >= q->bands) in multiq_peek()
153 for (band = 0; band < q->bands; band++) in multiq_reset()
165 for (band = 0; band < q->bands; ban in multiq_destroy()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_prio.c22 int bands; member
62 if (band >= q->bands) in prio_classify()
102 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
136 for (prio = 0; prio < q->bands; prio++) in prio_reset()
153 opt.replace_params.bands = qopt->bands; in prio_offload()
172 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
181 int oldbands = q->bands, i; in prio_tune()
188 if (qopt->bands > TCQ_PRIO_BAND in prio_tune()
[all...]
H A Dsch_multiq.c20 u16 bands; member
53 if (band >= q->bands) in multiq_classify()
94 for (band = 0; band < q->bands; band++) { in multiq_dequeue()
95 /* cycle through bands to ensure fairness */ in multiq_dequeue()
97 if (q->curband >= q->bands) in multiq_dequeue()
126 for (band = 0; band < q->bands; band++) { in multiq_peek()
127 /* cycle through bands to ensure fairness */ in multiq_peek()
129 if (curband >= q->bands) in multiq_peek()
153 for (band = 0; band < q->bands; band++) in multiq_reset()
165 for (band = 0; band < q->bands; ban in multiq_destroy()
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-tea5777.c138 static const struct v4l2_frequency_band bands[] = { variable
178 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq()
179 bands[tea->band].rangehigh); in radio_tea5777_set_freq()
271 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || in vidioc_enum_freq_bands()
275 *band = bands[band->index]; in vidioc_enum_freq_bands()
302 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner()
303 bands[BAND_FM].rangelow; in vidioc_g_tuner()
304 v->rangehigh = bands[BAND_FM].rangehigh; in vidioc_g_tuner()
386 for (i = 0; i < ARRAY_SIZE(bands); i++) { in vidioc_s_hw_freq_seek()
389 if (bands[ in vidioc_s_hw_freq_seek()
[all...]
H A Dtea575x.c49 static const struct v4l2_frequency_band bands[] = { variable
170 return clamp(freq * 16, bands[tea->band].rangelow, in snd_tea575x_val_to_freq()
171 bands[tea->band].rangehigh); /* from kHz */ in snd_tea575x_val_to_freq()
257 *band = bands[index]; in snd_tea575x_enum_freq_bands()
287 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner()
350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, in vidioc_s_frequency()
351 bands[tea->band].rangehigh); in vidioc_s_frequency()
371 for (i = 0; i < ARRAY_SIZE(bands); i++) { in snd_tea575x_s_hw_freq_seek()
376 if (bands[i].rangelow == a->rangelow && in snd_tea575x_s_hw_freq_seek()
377 bands[ in snd_tea575x_s_hw_freq_seek()
[all...]
H A Dradio-cadet.c94 static const struct v4l2_frequency_band bands[] = { variable
220 freq = clamp(freq, bands[dev->is_fm_band].rangelow, in cadet_setfreq()
221 bands[dev->is_fm_band].rangehigh); in cadet_setfreq()
372 v->capability = bands[0].capability | bands[1].capability; in vidioc_g_tuner()
373 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */ in vidioc_g_tuner()
374 v->rangehigh = bands[1].rangehigh; /* 108.0 MHz (end of FM band) */ in vidioc_g_tuner()
404 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
406 *band = bands[band->index]; in vidioc_enum_freq_bands()
431 f->frequency >= (bands[ in vidioc_s_frequency()
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-tea5777.c138 static const struct v4l2_frequency_band bands[] = { variable
178 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq()
179 bands[tea->band].rangehigh); in radio_tea5777_set_freq()
271 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || in vidioc_enum_freq_bands()
275 *band = bands[band->index]; in vidioc_enum_freq_bands()
302 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner()
303 bands[BAND_FM].rangelow; in vidioc_g_tuner()
304 v->rangehigh = bands[BAND_FM].rangehigh; in vidioc_g_tuner()
386 for (i = 0; i < ARRAY_SIZE(bands); i++) { in vidioc_s_hw_freq_seek()
389 if (bands[ in vidioc_s_hw_freq_seek()
[all...]
H A Dtea575x.c49 static const struct v4l2_frequency_band bands[] = { variable
170 return clamp(freq * 16, bands[tea->band].rangelow, in snd_tea575x_val_to_freq()
171 bands[tea->band].rangehigh); /* from kHz */ in snd_tea575x_val_to_freq()
257 *band = bands[index]; in snd_tea575x_enum_freq_bands()
287 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner()
350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, in vidioc_s_frequency()
351 bands[tea->band].rangehigh); in vidioc_s_frequency()
371 for (i = 0; i < ARRAY_SIZE(bands); i++) { in snd_tea575x_s_hw_freq_seek()
376 if (bands[i].rangelow == a->rangelow && in snd_tea575x_s_hw_freq_seek()
377 bands[ in snd_tea575x_s_hw_freq_seek()
[all...]
H A Dradio-cadet.c94 static const struct v4l2_frequency_band bands[] = { variable
220 freq = clamp(freq, bands[dev->is_fm_band].rangelow, in cadet_setfreq()
221 bands[dev->is_fm_band].rangehigh); in cadet_setfreq()
372 v->capability = bands[0].capability | bands[1].capability; in vidioc_g_tuner()
373 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */ in vidioc_g_tuner()
374 v->rangehigh = bands[1].rangehigh; /* 108.0 MHz (end of FM band) */ in vidioc_g_tuner()
404 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
406 *band = bands[band->index]; in vidioc_enum_freq_bands()
431 f->frequency >= (bands[ in vidioc_s_frequency()
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/si470x/
H A Dradio-si470x-common.c133 static const struct v4l2_frequency_band bands[] = { variable
268 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq()
281 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq()
282 bands[radio->band].rangehigh); in si470x_set_freq()
284 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq()
304 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek()
305 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek()
306 bands[band].rangehigh == seek->rangehigh) in si470x_set_seek()
309 if (band == ARRAY_SIZE(bands)) in si470x_set_seek()
711 if (freq->frequency < bands[radi in si470x_vidioc_s_frequency()
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/si470x/
H A Dradio-si470x-common.c133 static const struct v4l2_frequency_band bands[] = { variable
268 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq()
281 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq()
282 bands[radio->band].rangehigh); in si470x_set_freq()
284 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq()
304 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek()
305 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek()
306 bands[band].rangehigh == seek->rangehigh) in si470x_set_seek()
309 if (band == ARRAY_SIZE(bands)) in si470x_set_seek()
711 if (freq->frequency < bands[radi in si470x_vidioc_s_frequency()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ets.c33 if (params->bands != NUM_PRIO_QUEUES) in lan966x_ets_add()
36 for (i = 0; i < params->bands; ++i) { in lan966x_ets_add()
51 for (i = 0; i < params->bands; ++i) { in lan966x_ets_add()
58 for (i = 0; i < params->bands; ++i) { in lan966x_ets_add()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c56 u8 bands, u16 mcs_map) in mwifiex_convert_mcsmap_to_maxrate()
63 if (bands & BAND_AAC) in mwifiex_convert_mcsmap_to_maxrate()
99 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info()
103 if (bands & BAND_A) in mwifiex_fill_vht_cap_info()
112 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv()
119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
141 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
163 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
55 mwifiex_convert_mcsmap_to_maxrate(struct mwifiex_private *priv, u8 bands, u16 mcs_map) mwifiex_convert_mcsmap_to_maxrate() argument
98 mwifiex_fill_vht_cap_info(struct mwifiex_private *priv, struct ieee80211_vht_cap *vht_cap, u8 bands) mwifiex_fill_vht_cap_info() argument
111 mwifiex_fill_vht_cap_tlv(struct mwifiex_private *priv, struct ieee80211_vht_cap *vht_cap, u8 bands) mwifiex_fill_vht_cap_tlv() argument
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c44 u8 bands, u16 mcs_map) in mwifiex_convert_mcsmap_to_maxrate()
51 if (bands & BAND_AAC) in mwifiex_convert_mcsmap_to_maxrate()
87 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info()
91 if (bands & BAND_A) in mwifiex_fill_vht_cap_info()
100 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv()
107 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
129 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
151 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
43 mwifiex_convert_mcsmap_to_maxrate(struct mwifiex_private *priv, u8 bands, u16 mcs_map) mwifiex_convert_mcsmap_to_maxrate() argument
86 mwifiex_fill_vht_cap_info(struct mwifiex_private *priv, struct ieee80211_vht_cap *vht_cap, u8 bands) mwifiex_fill_vht_cap_info() argument
99 mwifiex_fill_vht_cap_tlv(struct mwifiex_private *priv, struct ieee80211_vht_cap *vht_cap, u8 bands) mwifiex_fill_vht_cap_tlv() argument
/kernel/linux/linux-5.10/drivers/media/tuners/
H A Dmsi001.c14 static const struct v4l2_frequency_band bands[] = { variable
337 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency()
342 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency()
356 if (band->index >= ARRAY_SIZE(bands)) in msi001_enum_freq_bands()
359 band->capability = bands[band->index].capability; in msi001_enum_freq_bands()
360 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands()
361 band->rangehigh = bands[band->index].rangehigh; in msi001_enum_freq_bands()
436 dev->f_tuner = bands[ in msi001_probe()
[all...]
H A Dfc2580.c361 static const struct v4l2_frequency_band bands[] = { variable
398 v->rangelow = bands[0].rangelow; in fc2580_g_tuner()
399 v->rangehigh = bands[0].rangehigh; in fc2580_g_tuner()
432 bands[0].rangelow, bands[0].rangehigh); in fc2580_s_frequency()
445 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands()
448 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands()
449 band->rangelow = bands[band->index].rangelow; in fc2580_enum_freq_bands()
450 band->rangehigh = bands[band->index].rangehigh; in fc2580_enum_freq_bands()
572 dev->f_frequency = bands[ in fc2580_probe()
[all...]
H A De4000.c261 static const struct v4l2_frequency_band bands[] = { variable
305 v->rangelow = bands[0].rangelow; in e4000_g_tuner()
306 v->rangehigh = bands[1].rangehigh; in e4000_g_tuner()
339 bands[0].rangelow, bands[1].rangehigh); in e4000_s_frequency()
352 if (band->index >= ARRAY_SIZE(bands)) in e4000_enum_freq_bands()
355 band->capability = bands[band->index].capability; in e4000_enum_freq_bands()
356 band->rangelow = bands[band->index].rangelow; in e4000_enum_freq_bands()
357 band->rangehigh = bands[band->index].rangehigh; in e4000_enum_freq_bands()
690 dev->f_frequency = bands[ in e4000_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/tuners/
H A Dmsi001.c14 static const struct v4l2_frequency_band bands[] = { variable
337 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency()
342 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency()
356 if (band->index >= ARRAY_SIZE(bands)) in msi001_enum_freq_bands()
359 band->capability = bands[band->index].capability; in msi001_enum_freq_bands()
360 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands()
361 band->rangehigh = bands[band->index].rangehigh; in msi001_enum_freq_bands()
436 dev->f_tuner = bands[ in msi001_probe()
[all...]
H A De4000.c261 static const struct v4l2_frequency_band bands[] = { variable
305 v->rangelow = bands[0].rangelow; in e4000_g_tuner()
306 v->rangehigh = bands[1].rangehigh; in e4000_g_tuner()
339 bands[0].rangelow, bands[1].rangehigh); in e4000_s_frequency()
352 if (band->index >= ARRAY_SIZE(bands)) in e4000_enum_freq_bands()
355 band->capability = bands[band->index].capability; in e4000_enum_freq_bands()
356 band->rangelow = bands[band->index].rangelow; in e4000_enum_freq_bands()
357 band->rangehigh = bands[band->index].rangehigh; in e4000_enum_freq_bands()
689 dev->f_frequency = bands[ in e4000_probe()
[all...]
H A Dfc2580.c361 static const struct v4l2_frequency_band bands[] = { variable
398 v->rangelow = bands[0].rangelow; in fc2580_g_tuner()
399 v->rangehigh = bands[0].rangehigh; in fc2580_g_tuner()
432 bands[0].rangelow, bands[0].rangehigh); in fc2580_s_frequency()
445 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands()
448 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands()
449 band->rangelow = bands[band->index].rangelow; in fc2580_enum_freq_bands()
450 band->rangehigh = bands[band->index].rangehigh; in fc2580_enum_freq_bands()
571 dev->f_frequency = bands[ in fc2580_probe()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c711 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal()
1051 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes()
1052 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes()
1053 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes()
1054 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes()
1055 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes()
1056 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes()
1057 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes()
1067 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels = in rt2x00lib_probe_hw_modes()
1069 rt2x00dev->bands[NL80211_BAND_5GH in rt2x00lib_probe_hw_modes()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c710 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal()
1046 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes()
1047 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes()
1048 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes()
1049 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes()
1050 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes()
1051 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes()
1052 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes()
1062 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels = in rt2x00lib_probe_hw_modes()
1064 rt2x00dev->bands[NL80211_BAND_5GH in rt2x00lib_probe_hw_modes()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c142 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags()
145 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags()
190 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags()
192 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags()
242 if (!wiphy->bands[NL80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags()
245 sband = wiphy->bands[NL80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c142 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags()
145 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags()
190 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags()
192 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags()
242 if (!wiphy->bands[NL80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags()
245 sband = wiphy->bands[NL80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags()

Completed in 18 milliseconds

12345678910>>...16