/kernel/linux/linux-6.6/sound/soc/mediatek/mt6797/ |
H A D | mt6797-afe-pcm.c | 184 .rates = MTK_PCM_RATES, 196 .rates = MTK_PCM_RATES, 208 .rates = MTK_PCM_RATES, 220 .rates = MTK_PCM_RATES, 232 .rates = MTK_PCM_RATES, 244 .rates = MTK_PCM_RATES, 256 .rates = MTK_PCM_DAI_RATES, 268 .rates = MTK_PCM_DAI_RATES,
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
H A D | rx1950_uda1380.c | 31 static const unsigned int rates[] = { variable 38 .count = ARRAY_SIZE(rates), 39 .list = rates,
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.c | 38 /* This table contains the hardware specific values for the modulation rates. */ 81 * Zydas retry rates table. Each line is listed in the same order as 83 * starting with a given rates. Let's consider an example : 86 * - packet is sent using 4 different rates 454 first_idx = info->status.rates[0].idx; in zd_mac_tx_status() 459 info->status.rates[0].idx = retries->rate[0]; in zd_mac_tx_status() 460 info->status.rates[0].count = 1; // (retry > 1 ? 2 : 1); in zd_mac_tx_status() 463 info->status.rates[i].idx = retries->rate[i]; in zd_mac_tx_status() 464 info->status.rates[i].count = 1; // ((i==retry-1) && success ? 1:2); in zd_mac_tx_status() 467 info->status.rates[ in zd_mac_tx_status() [all...] |
/kernel/linux/linux-5.10/sound/drivers/ |
H A D | dummy.c | 111 unsigned int rates; member 188 .rates = SNDRV_PCM_RATE_48000, 202 .rates = SNDRV_PCM_RATE_48000|SNDRV_PCM_RATE_96000|SNDRV_PCM_RATE_192000, 511 .rates = USE_RATE, 915 static const int rates[] = { in print_rates() local 921 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_CONTINUOUS) in print_rates() 923 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) in print_rates() 925 for (i = 0; i < ARRAY_SIZE(rates); i++) in print_rates() 926 if (dummy->pcm_hw.rates & (1 << i)) in print_rates() 927 snd_iprintf(buffer, " %d", rates[ in print_rates() [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | cs47l35.c | 1360 .rates = MADERA_RATES, 1367 .rates = MADERA_RATES, 1382 .rates = MADERA_RATES, 1389 .rates = MADERA_RATES, 1404 .rates = MADERA_RATES, 1411 .rates = MADERA_RATES, 1425 .rates = MADERA_RATES, 1432 .rates = MADERA_RATES, 1444 .rates = MADERA_RATES, 1451 .rates [all...] |
H A D | wm8997.c | 961 .rates = WM8997_RATES, 968 .rates = WM8997_RATES, 983 .rates = WM8997_RATES, 990 .rates = WM8997_RATES, 1004 .rates = WM8997_RATES, 1011 .rates = WM8997_RATES, 1023 .rates = WM8997_RATES, 1030 .rates = WM8997_RATES, 1042 .rates = WM8997_RATES, 1049 .rates [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.c | 38 /* This table contains the hardware specific values for the modulation rates. */ 81 * Zydas retry rates table. Each line is listed in the same order as 83 * starting with a given rates. Let's consider an example : 86 * - packet is sent using 4 different rates 454 first_idx = info->status.rates[0].idx; in zd_mac_tx_status() 459 info->status.rates[0].idx = retries->rate[0]; in zd_mac_tx_status() 460 info->status.rates[0].count = 1; // (retry > 1 ? 2 : 1); in zd_mac_tx_status() 463 info->status.rates[i].idx = retries->rate[i]; in zd_mac_tx_status() 464 info->status.rates[i].count = 1; // ((i==retry-1) && success ? 1:2); in zd_mac_tx_status() 467 info->status.rates[ in zd_mac_tx_status() [all...] |
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | dummy.c | 118 unsigned int rates; member 195 .rates = SNDRV_PCM_RATE_48000, 209 .rates = SNDRV_PCM_RATE_48000|SNDRV_PCM_RATE_96000|SNDRV_PCM_RATE_192000, 518 .rates = USE_RATE, 914 static const int rates[] = { in print_rates() local 920 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_CONTINUOUS) in print_rates() 922 if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) in print_rates() 924 for (i = 0; i < ARRAY_SIZE(rates); i++) in print_rates() 925 if (dummy->pcm_hw.rates & (1 << i)) in print_rates() 926 snd_iprintf(buffer, " %d", rates[ in print_rates() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | cs47l35.c | 1364 .rates = MADERA_RATES, 1371 .rates = MADERA_RATES, 1386 .rates = MADERA_RATES, 1393 .rates = MADERA_RATES, 1408 .rates = MADERA_RATES, 1415 .rates = MADERA_RATES, 1429 .rates = MADERA_RATES, 1436 .rates = MADERA_RATES, 1448 .rates = MADERA_RATES, 1455 .rates [all...] |
H A D | wm8997.c | 961 .rates = WM8997_RATES, 968 .rates = WM8997_RATES, 983 .rates = WM8997_RATES, 990 .rates = WM8997_RATES, 1004 .rates = WM8997_RATES, 1011 .rates = WM8997_RATES, 1023 .rates = WM8997_RATES, 1030 .rates = WM8997_RATES, 1042 .rates = WM8997_RATES, 1049 .rates [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
H A D | main.c | 390 struct ieee80211_sta_rates *rates; in mt76_sta_rate_tbl_update() local 394 rates = rcu_dereference(sta->rates); in mt76_sta_rate_tbl_update() 396 if (!rates) in mt76_sta_rate_tbl_update() 399 rate.idx = rates->rate[0].idx; in mt76_sta_rate_tbl_update() 400 rate.flags = rates->rate[0].flags; in mt76_sta_rate_tbl_update()
|
/kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
H A D | cs5535audio_pcm.c | 36 .rates = ( 63 .rates = ( 86 runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_FRONT_DAC]; in snd_cs5535audio_playback_open() 341 runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_ADC]; in snd_cs5535audio_capture_open()
|
/kernel/linux/linux-5.10/sound/usb/line6/ |
H A D | podhd.c | 64 .rates = SNDRV_PCM_RATE_48000, 81 .rates = SNDRV_PCM_RATE_48000, 91 .rates = { 106 .rates = SNDRV_PCM_RATE_48000, 123 .rates = SNDRV_PCM_RATE_48000, 136 .rates = {
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/ |
H A D | main.c | 390 struct ieee80211_sta_rates *rates; in mt76_sta_rate_tbl_update() local 394 rates = rcu_dereference(sta->rates); in mt76_sta_rate_tbl_update() 396 if (!rates) in mt76_sta_rate_tbl_update() 399 rate.idx = rates->rate[0].idx; in mt76_sta_rate_tbl_update() 400 rate.flags = rates->rate[0].flags; in mt76_sta_rate_tbl_update()
|
/kernel/linux/linux-6.6/sound/pci/cs5535audio/ |
H A D | cs5535audio_pcm.c | 36 .rates = ( 63 .rates = ( 86 runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_FRONT_DAC]; in snd_cs5535audio_playback_open() 340 runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_ADC]; in snd_cs5535audio_capture_open()
|
/kernel/linux/linux-6.6/sound/usb/line6/ |
H A D | podhd.c | 64 .rates = SNDRV_PCM_RATE_48000, 81 .rates = SNDRV_PCM_RATE_48000, 91 .rates = { 106 .rates = SNDRV_PCM_RATE_48000, 123 .rates = SNDRV_PCM_RATE_48000, 136 .rates = {
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 2418 struct ipw_supported_rates *rates) in ipw_send_supported_rates() 2420 if (!priv || !rates) { in ipw_send_supported_rates() 2425 return ipw_send_cmd_pdu(priv, IPW_CMD_SUPPORTED_RATES, sizeof(*rates), in ipw_send_supported_rates() 2426 rates); in ipw_send_supported_rates() 4142 * rate match to B rates */ in ipw_get_max_rate() 4146 /* TODO: Verify that the rate is supported by the current rates in ipw_get_max_rate() 5346 struct ipw_supported_rates *rates) in ipw_compatible_rates() 5350 memset(rates, 0, sizeof(*rates)); in ipw_compatible_rates() 5352 rates in ipw_compatible_rates() 2417 ipw_send_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) ipw_send_supported_rates() argument 5344 ipw_compatible_rates(struct ipw_priv *priv, const struct libipw_network *network, struct ipw_supported_rates *rates) ipw_compatible_rates() argument 5412 ipw_add_cck_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_cck_scan_rates() argument 5435 ipw_add_ofdm_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_ofdm_scan_rates() argument 5476 struct ipw_supported_rates rates; global() member 5484 struct ipw_supported_rates rates; ipw_find_adhoc_network() local 5660 struct ipw_supported_rates rates; ipw_best_network() local 7267 ipw_associate_network(struct ipw_priv *priv, struct libipw_network *network, struct ipw_supported_rates *rates, int roaming) ipw_associate_network() argument 7526 struct ipw_supported_rates *rates; ipw_associate() local 10755 init_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) init_supported_rates() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 2386 struct ipw_supported_rates *rates) in ipw_send_supported_rates() 2388 if (!priv || !rates) { in ipw_send_supported_rates() 2393 return ipw_send_cmd_pdu(priv, IPW_CMD_SUPPORTED_RATES, sizeof(*rates), in ipw_send_supported_rates() 2394 rates); in ipw_send_supported_rates() 4096 * rate match to B rates */ in ipw_get_max_rate() 4100 /* TODO: Verify that the rate is supported by the current rates in ipw_get_max_rate() 5300 struct ipw_supported_rates *rates) in ipw_compatible_rates() 5304 memset(rates, 0, sizeof(*rates)); in ipw_compatible_rates() 5306 rates in ipw_compatible_rates() 2385 ipw_send_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) ipw_send_supported_rates() argument 5298 ipw_compatible_rates(struct ipw_priv *priv, const struct libipw_network *network, struct ipw_supported_rates *rates) ipw_compatible_rates() argument 5366 ipw_add_cck_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_cck_scan_rates() argument 5389 ipw_add_ofdm_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_ofdm_scan_rates() argument 5430 struct ipw_supported_rates rates; global() member 5438 struct ipw_supported_rates rates; ipw_find_adhoc_network() local 5614 struct ipw_supported_rates rates; ipw_best_network() local 7221 ipw_associate_network(struct ipw_priv *priv, struct libipw_network *network, struct ipw_supported_rates *rates, int roaming) ipw_associate_network() argument 7480 struct ipw_supported_rates *rates; ipw_associate() local 10709 init_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) init_supported_rates() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A D | pio.c | 497 retry_limit = info->status.rates[0].count; in b43legacy_pio_handle_txstatus() 511 info->status.rates[0].count = 0; in b43legacy_pio_handle_txstatus() 512 info->status.rates[1].count = status->frame_count; in b43legacy_pio_handle_txstatus() 515 info->status.rates[0].count = retry_limit; in b43legacy_pio_handle_txstatus() 516 info->status.rates[1].count = status->frame_count - in b43legacy_pio_handle_txstatus() 520 info->status.rates[0].count = status->frame_count; in b43legacy_pio_handle_txstatus() 521 info->status.rates[1].idx = -1; in b43legacy_pio_handle_txstatus()
|
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_pcm.c | 29 .rates = SNDRV_PCM_RATE_CONTINUOUS, 50 .rates = SNDRV_PCM_RATE_CONTINUOUS, 71 .rates = 90 .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_CONTINUOUS, // SNDRV_PCM_RATE_48000, 156 runtime->hw.rates = SNDRV_PCM_RATE_32000; in snd_vortex_pcm_open() 159 runtime->hw.rates = SNDRV_PCM_RATE_44100; in snd_vortex_pcm_open() 162 runtime->hw.rates = SNDRV_PCM_RATE_48000; in snd_vortex_pcm_open()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
H A D | pio.c | 497 retry_limit = info->status.rates[0].count; in b43legacy_pio_handle_txstatus() 511 info->status.rates[0].count = 0; in b43legacy_pio_handle_txstatus() 512 info->status.rates[1].count = status->frame_count; in b43legacy_pio_handle_txstatus() 515 info->status.rates[0].count = retry_limit; in b43legacy_pio_handle_txstatus() 516 info->status.rates[1].count = status->frame_count - in b43legacy_pio_handle_txstatus() 520 info->status.rates[0].count = status->frame_count; in b43legacy_pio_handle_txstatus() 521 info->status.rates[1].idx = -1; in b43legacy_pio_handle_txstatus()
|
/kernel/linux/linux-6.6/sound/usb/ |
H A D | format.c | 168 fp->rates = rate_bits; in set_fixed_rate() 173 /* set up rate_min, rate_max and rates from the rate table */ 181 fp->rates = 0; in set_rate_table_min_max() 186 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in set_rate_table_min_max() 191 * parse the format descriptor and stores the possible sample rates 248 "%u:%d: All rates were zero\n", in parse_audio_format_rates_v1() 254 /* continuous rates */ in parse_audio_format_rates_v1() 255 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1() 273 * rates per altsetting but reports the full set each time. 274 * If we don't filter out the unsupported rates an [all...] |
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_pcm.c | 29 .rates = SNDRV_PCM_RATE_CONTINUOUS, 50 .rates = SNDRV_PCM_RATE_CONTINUOUS, 71 .rates = 90 .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_CONTINUOUS, // SNDRV_PCM_RATE_48000, 156 runtime->hw.rates = SNDRV_PCM_RATE_32000; in snd_vortex_pcm_open() 159 runtime->hw.rates = SNDRV_PCM_RATE_44100; in snd_vortex_pcm_open() 162 runtime->hw.rates = SNDRV_PCM_RATE_48000; in snd_vortex_pcm_open()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
H A D | mt8183-afe-pcm.c | 188 .rates = MTK_PCM_RATES, 200 .rates = MTK_PCM_RATES, 212 .rates = MTK_PCM_RATES, 224 .rates = MTK_PCM_RATES, 236 .rates = MTK_PCM_RATES, 248 .rates = MTK_PCM_RATES, 260 .rates = MTK_PCM_RATES, 272 .rates = MTK_PCM_DAI_RATES, 284 .rates = MTK_PCM_RATES,
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/ |
H A D | mt8183-afe-pcm.c | 188 .rates = MTK_PCM_RATES, 200 .rates = MTK_PCM_RATES, 212 .rates = MTK_PCM_RATES, 224 .rates = MTK_PCM_RATES, 236 .rates = MTK_PCM_RATES, 248 .rates = MTK_PCM_RATES, 260 .rates = MTK_PCM_RATES, 272 .rates = MTK_PCM_DAI_RATES, 284 .rates = MTK_PCM_RATES,
|