/linux-3.4.99/drivers/net/wireless/mwifiex/ |
D | cfp.c | 160 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) in mwifiex_get_active_data_rates() argument 163 return mwifiex_get_supported_rates(priv, rates); in mwifiex_get_active_data_rates() 165 return mwifiex_copy_rates(rates, 0, in mwifiex_get_active_data_rates() 268 u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates) in mwifiex_get_supported_rates() argument 277 k = mwifiex_copy_rates(rates, k, supported_rates_b, in mwifiex_get_supported_rates() 284 k = mwifiex_copy_rates(rates, k, supported_rates_g, in mwifiex_get_supported_rates() 294 k = mwifiex_copy_rates(rates, k, supported_rates_bg, in mwifiex_get_supported_rates() 301 k = mwifiex_copy_rates(rates, k, supported_rates_a, in mwifiex_get_supported_rates() 308 k = mwifiex_copy_rates(rates, k, supported_rates_a, in mwifiex_get_supported_rates() 314 k = mwifiex_copy_rates(rates, k, supported_rates_n, in mwifiex_get_supported_rates() [all …]
|
/linux-3.4.99/drivers/net/wireless/orinoco/ |
D | scan.c | 27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) in symbol_build_supp_rates() argument 34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates() 45 static int prism_build_supp_rates(u8 *buf, const u8 *rates) in prism_build_supp_rates() argument 52 if (rates[i] == 0x0) in prism_build_supp_rates() 54 buf[i + 2] = rates[i]; in prism_build_supp_rates() 60 if (i == 8 && rates[i] > 0) { in prism_build_supp_rates() 64 if (rates[i] == 0x0) in prism_build_supp_rates() 66 buf[i + 2] = rates[i]; in prism_build_supp_rates() 101 ie_len += symbol_build_supp_rates(ie, bss->s.rates); in orinoco_add_hostscan_result() 105 ie_len += prism_build_supp_rates(ie, bss->p.rates); in orinoco_add_hostscan_result()
|
/linux-3.4.99/arch/arm/mach-omap2/ |
D | clock44xx_data.c | 174 { .parent = &virt_12000000_ck, .rates = div_1_1_rates }, 175 { .parent = &virt_13000000_ck, .rates = div_1_2_rates }, 176 { .parent = &virt_16800000_ck, .rates = div_1_3_rates }, 177 { .parent = &virt_19200000_ck, .rates = div_1_4_rates }, 178 { .parent = &virt_26000000_ck, .rates = div_1_5_rates }, 179 { .parent = &virt_27000000_ck, .rates = div_1_6_rates }, 180 { .parent = &virt_38400000_ck, .rates = div_1_7_rates }, 228 { .parent = &sys_clkin_ck, .rates = div_1_0_rates }, 229 { .parent = &sys_32k_ck, .rates = div_1_1_rates }, 327 { .parent = &dpll_abe_x2_ck, .rates = div31_1to31_rates }, [all …]
|
D | clock2420_data.c | 174 { .parent = &apll54_ck, .rates = func_54m_apll54_rates, }, 175 { .parent = &alt_ck, .rates = func_54m_alt_rates, }, 220 { .parent = &apll96_ck, .rates = func_48m_apll96_rates }, 221 { .parent = &alt_ck, .rates = func_48m_alt_rates }, 285 { .parent = &core_ck, .rates = common_clkout_src_core_rates }, 286 { .parent = &sys_ck, .rates = common_clkout_src_sys_rates }, 287 { .parent = &func_96m_ck, .rates = common_clkout_src_96m_rates }, 288 { .parent = &func_54m_ck, .rates = common_clkout_src_54m_rates }, 318 { .parent = &sys_clkout_src, .rates = common_clkout_rates }, 353 { .parent = &sys_clkout2_src, .rates = common_clkout_rates }, [all …]
|
D | clock3xxx_data.c | 145 { .parent = &virt_12m_ck, .rates = osc_sys_12m_rates }, 146 { .parent = &virt_13m_ck, .rates = osc_sys_13m_rates }, 147 { .parent = &virt_16_8m_ck, .rates = osc_sys_16_8m_rates }, 148 { .parent = &virt_19_2m_ck, .rates = osc_sys_19_2m_rates }, 149 { .parent = &virt_26m_ck, .rates = osc_sys_26m_rates }, 150 { .parent = &virt_38_4m_ck, .rates = osc_sys_38_4m_rates }, 174 { .parent = &osc_sys_ck, .rates = div2_rates }, 323 { .parent = &dpll1_x2_ck, .rates = div16_dpll_rates }, 382 { .parent = &dpll2_ck, .rates = div16_dpll_rates }, 487 { .parent = &dpll3_ck, .rates = div31_dpll3_rates }, [all …]
|
/linux-3.4.99/net/mac80211/ |
D | status.c | 242 if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len() 243 !(info->status.rates[0].flags & IEEE80211_TX_RC_MCS)) in ieee80211_tx_radiotap_len() 253 if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len() 254 info->status.rates[0].flags & IEEE80211_TX_RC_MCS) in ieee80211_tx_radiotap_len() 286 if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header() 287 !(info->status.rates[0].flags & IEEE80211_TX_RC_MCS)) { in ieee80211_add_tx_radiotap_header() 289 *pos = sband->bitrates[info->status.rates[0].idx].bitrate / 5; in ieee80211_add_tx_radiotap_header() 300 if ((info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || in ieee80211_add_tx_radiotap_header() 301 (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) in ieee80211_add_tx_radiotap_header() 303 else if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in ieee80211_add_tx_radiotap_header() [all …]
|
D | rate.c | 267 info->control.rates[0].idx = in rate_control_send_low() 270 info->control.rates[0].idx = in rate_control_send_low() 272 info->control.rates[0].count = in rate_control_send_low() 278 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low() 282 rc_send_low_broadcast(&info->control.rates[0].idx, in rate_control_send_low() 448 info->control.rates[i].idx = -1; in rate_control_get_rate() 449 info->control.rates[i].flags = 0; in rate_control_get_rate() 450 info->control.rates[i].count = 0; in rate_control_get_rate() 480 if (info->control.rates[i].idx < 0) in rate_control_get_rate() 482 rate_idx_match_mask(&info->control.rates[i], txrc, in rate_control_get_rate() [all …]
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | ar9002_mac.c | 235 ACCESS_ONCE(ads->ds_ctl2) = set11nTries(i->rates, 0) in ar9002_set_txdesc() 236 | set11nTries(i->rates, 1) in ar9002_set_txdesc() 237 | set11nTries(i->rates, 2) in ar9002_set_txdesc() 238 | set11nTries(i->rates, 3) in ar9002_set_txdesc() 242 ACCESS_ONCE(ads->ds_ctl3) = set11nRate(i->rates, 0) in ar9002_set_txdesc() 243 | set11nRate(i->rates, 1) in ar9002_set_txdesc() 244 | set11nRate(i->rates, 2) in ar9002_set_txdesc() 245 | set11nRate(i->rates, 3); in ar9002_set_txdesc() 295 ACCESS_ONCE(ads->ds_ctl4) = set11nPktDurRTSCTS(i->rates, 0) in ar9002_set_txdesc() 296 | set11nPktDurRTSCTS(i->rates, 1); in ar9002_set_txdesc() [all …]
|
D | rc.c | 729 struct ieee80211_tx_rate *rates = tx_info->control.rates; in ath_rc_rate_set_rtscts() local 734 if (rates[i].count && (rates[i].idx >= 0)) { in ath_rc_rate_set_rtscts() 735 rix = ath_rc_get_rateindex(rate_table, &rates[i]); in ath_rc_rate_set_rtscts() 755 rates[0].flags |= IEEE80211_TX_RC_USE_CTS_PROTECT; in ath_rc_rate_set_rtscts() 770 struct ieee80211_tx_rate *rates = tx_info->control.rates; in ath_get_rate() local 812 ath_rc_rate_set_series(rate_table, &rates[i++], txrc, in ath_get_rate() 819 ath_rc_rate_set_series(rate_table, &rates[i++], txrc, in ath_get_rate() 825 ath_rc_rate_set_series(rate_table, &rates[i++], txrc, in ath_get_rate() 834 ath_rc_rate_set_series(rate_table, &rates[i], txrc, in ath_get_rate() 845 if ((rates[2].flags & IEEE80211_TX_RC_MCS) && in ath_get_rate() [all …]
|
D | xmit.c | 423 struct ieee80211_tx_rate rates[4]; in ath_tx_complete_aggr() local 436 memcpy(rates, tx_info->control.rates, sizeof(rates)); in ath_tx_complete_aggr() 440 retries += rates[i].count; in ath_tx_complete_aggr() 557 memcpy(tx_info->control.rates, rates, sizeof(rates)); in ath_tx_complete_aggr() 639 struct ieee80211_tx_rate *rates; in ath_lookup_legacy() local 644 rates = tx_info->control.rates; in ath_lookup_legacy() 647 if (!rates[i].count || rates[i].idx < 0) in ath_lookup_legacy() 650 if (!(rates[i].flags & IEEE80211_TX_RC_MCS)) in ath_lookup_legacy() 662 struct ieee80211_tx_rate *rates; in ath_lookup_rate() local 669 rates = tx_info->control.rates; in ath_lookup_rate() [all …]
|
D | ar9003_mac.c | 69 ACCESS_ONCE(ads->ctl13) = set11nTries(i->rates, 0) in ar9003_set_txdesc() 70 | set11nTries(i->rates, 1) in ar9003_set_txdesc() 71 | set11nTries(i->rates, 2) in ar9003_set_txdesc() 72 | set11nTries(i->rates, 3) in ar9003_set_txdesc() 76 ACCESS_ONCE(ads->ctl14) = set11nRate(i->rates, 0) in ar9003_set_txdesc() 77 | set11nRate(i->rates, 1) in ar9003_set_txdesc() 78 | set11nRate(i->rates, 2) in ar9003_set_txdesc() 79 | set11nRate(i->rates, 3); in ar9003_set_txdesc() 141 ACCESS_ONCE(ads->ctl15) = set11nPktDurRTSCTS(i->rates, 0) in ar9003_set_txdesc() 142 | set11nPktDurRTSCTS(i->rates, 1); in ar9003_set_txdesc() [all …]
|
/linux-3.4.99/sound/pci/ac97/ |
D | ac97_pcm.c | 411 unsigned int rates = ~0; in get_rates() local 426 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; in get_rates() 429 rates &= ~(SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | in get_rates() 431 return rates; in get_rates() 455 unsigned int rates; in snd_ac97_pcm_assign() local 491 rpcm->rates = ~0; in snd_ac97_pcm_assign() 496 rates = ~0; in snd_ac97_pcm_assign() 517 rates = SNDRV_PCM_RATE_48000; in snd_ac97_pcm_assign() 519 rates = get_rates(rpcm, j, tmp, 0); in snd_ac97_pcm_assign() 525 rpcm->rates &= rates; in snd_ac97_pcm_assign() [all …]
|
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/ |
D | rate.c | 284 if (rs->rates[idx] & BRCMS_RATE_FLAG) in brcms_c_rateset_valid() 316 r = (int)rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate() 319 rateset[r] = rs->rates[i]; /* preserve basic bit! */ in brcms_c_rate_hwrs_filter_sort_validate() 325 r = hw_rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate() 327 rs->rates[count++] = rateset[r]; in brcms_c_rate_hwrs_filter_sort_validate() 409 bool basic_only, u8 rates, uint xmask, bool mcsallow) in brcms_c_rateset_filter() argument 417 r = src->rates[i]; in brcms_c_rateset_filter() 420 if (rates == BRCMS_RATES_CCK && in brcms_c_rateset_filter() 423 if (rates == BRCMS_RATES_OFDM && in brcms_c_rateset_filter() 426 dst->rates[count++] = r & xmask; in brcms_c_rateset_filter() [all …]
|
/linux-3.4.99/sound/soc/ |
D | soc-pcm.c | 175 runtime->hw.rates = in soc_pcm_open() 176 codec_dai_drv->playback.rates & cpu_dai_drv->playback.rates; in soc_pcm_open() 177 if (codec_dai_drv->playback.rates in soc_pcm_open() 179 runtime->hw.rates |= cpu_dai_drv->playback.rates; in soc_pcm_open() 180 if (cpu_dai_drv->playback.rates in soc_pcm_open() 182 runtime->hw.rates |= codec_dai_drv->playback.rates; in soc_pcm_open() 198 runtime->hw.rates = in soc_pcm_open() 199 codec_dai_drv->capture.rates & cpu_dai_drv->capture.rates; in soc_pcm_open() 200 if (codec_dai_drv->capture.rates in soc_pcm_open() 202 runtime->hw.rates |= cpu_dai_drv->capture.rates; in soc_pcm_open() [all …]
|
/linux-3.4.99/drivers/net/wireless/b43/ |
D | xmit.c | 265 struct ieee80211_tx_rate *rates; in b43_generate_txhdr() local 378 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) in b43_generate_txhdr() 401 rates = info->control.rates; in b43_generate_txhdr() 417 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || in b43_generate_txhdr() 418 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { in b43_generate_txhdr() 419 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; in b43_generate_txhdr() 422 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count; in b43_generate_txhdr() 426 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || in b43_generate_txhdr() 427 (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) { in b43_generate_txhdr() 442 if (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in b43_generate_txhdr() [all …]
|
/linux-3.4.99/drivers/scsi/libsas/ |
D | sas_init.c | 325 struct sas_phy_linkrates *rates) in sas_set_phy_speed() argument 329 if ((rates->minimum_linkrate && in sas_set_phy_speed() 330 rates->minimum_linkrate > phy->maximum_linkrate) || in sas_set_phy_speed() 331 (rates->maximum_linkrate && in sas_set_phy_speed() 332 rates->maximum_linkrate < phy->minimum_linkrate)) in sas_set_phy_speed() 335 if (rates->minimum_linkrate && in sas_set_phy_speed() 336 rates->minimum_linkrate < phy->minimum_linkrate_hw) in sas_set_phy_speed() 337 rates->minimum_linkrate = phy->minimum_linkrate_hw; in sas_set_phy_speed() 339 if (rates->maximum_linkrate && in sas_set_phy_speed() 340 rates->maximum_linkrate > phy->maximum_linkrate_hw) in sas_set_phy_speed() [all …]
|
/linux-3.4.99/sound/pci/hda/ |
D | hda_eld.c | 176 a->rates = 0; in hdmi_update_short_audio_desc() 179 a->rates |= cea_sampling_frequencies[i + 1]; in hdmi_update_short_audio_desc() 411 hdmi_print_pcm_rates(a->rates, buf, sizeof(buf)); in hdmi_show_short_audio_desc() 470 hdmi_print_pcm_rates(a->rates, buf, sizeof(buf)); in hdmi_print_sad_info() 471 snd_iprintf(buffer, "sad%d_rates\t\t[0x%x]%s\n", i, a->rates, buf); in hdmi_print_sad_info() 585 e->sad[n].rates = val; in hdmi_write_eld_info() 633 u32 rates; in snd_hdmi_eld_update_pcm_info() local 642 rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | in snd_hdmi_eld_update_pcm_info() 649 rates |= a->rates; in snd_hdmi_eld_update_pcm_info() 667 hinfo->rates &= rates; in snd_hdmi_eld_update_pcm_info()
|
/linux-3.4.99/drivers/net/wireless/wl1251/ |
D | wl12xx_80211.h | 84 u8 rates[MAX_SUPPORTED_RATES]; member 113 struct wl12xx_ie_rates rates; member 138 struct wl12xx_ie_rates rates; member 149 struct wl12xx_ie_rates rates; member
|
/linux-3.4.99/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 195 .rates = PXA2XX_AC97_RATES, 201 .rates = PXA2XX_AC97_RATES, 212 .rates = PXA2XX_AC97_RATES, 218 .rates = PXA2XX_AC97_RATES, 229 .rates = PXA2XX_AC97_RATES,
|
/linux-3.4.99/sound/usb/6fire/ |
D | pcm.c | 30 static const int rates[] = { 44100, 48000, 88200, 96000, 176400, 192000 }; variable 56 .rates = SNDRV_PCM_RATE_44100 | 83 "setting samplerate %d.\n", rates[rt->rate]); in usb6fire_pcm_set_rate() 90 rates[rt->rate]); in usb6fire_pcm_set_rate() 99 rates[rt->rate]); in usb6fire_pcm_set_rate() 107 "setting samplerate %d.\n", rates[rt->rate]); in usb6fire_pcm_set_rate() 397 if (rt->rate < ARRAY_SIZE(rates)) in usb6fire_pcm_open() 398 alsa_rt->hw.rates = rates_alsaid[rt->rate]; in usb6fire_pcm_open() 402 if (rt->rate < ARRAY_SIZE(rates)) in usb6fire_pcm_open() 403 alsa_rt->hw.rates = rates_alsaid[rt->rate]; in usb6fire_pcm_open() [all …]
|
/linux-3.4.99/sound/soc/samsung/ |
D | s3c24xx_uda134x.c | 48 static unsigned int rates[33 * 2]; variable 51 .count = ARRAY_SIZE(rates), 52 .list = rates, 89 rates[i*33] = clk_get_rate(xtal) / fs; in s3c24xx_uda134x_startup() 91 rates[i*33 + j] = clk_get_rate(pclk) / in s3c24xx_uda134x_startup() 142 cerr = rates[i] - rate; in s3c24xx_uda134x_hw_params()
|
D | h1940_uda1380.c | 29 static unsigned int rates[] = { variable 36 .count = ARRAY_SIZE(rates), 37 .list = rates, 71 runtime->hw.rates = SNDRV_PCM_RATE_KNOT; in h1940_startup()
|
/linux-3.4.99/drivers/net/wireless/b43legacy/ |
D | xmit.c | 204 struct ieee80211_tx_rate *rates; in generate_txhdr_fw3() local 278 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) in generate_txhdr_fw3() 295 rates = info->control.rates; in generate_txhdr_fw3() 309 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || in generate_txhdr_fw3() 310 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { in generate_txhdr_fw3() 311 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; in generate_txhdr_fw3() 314 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count; in generate_txhdr_fw3() 318 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || in generate_txhdr_fw3() 319 (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) { in generate_txhdr_fw3() 332 if (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in generate_txhdr_fw3()
|
/linux-3.4.99/sound/atmel/ |
D | abdac.c | 101 unsigned int rates[MAX_NUM_RATES]; member 161 .rates = (SNDRV_PCM_RATE_KNOT), 178 atmel_abdac_hw.rate_max = dac->rates[dac->rates_num - 1]; in atmel_abdac_open() 179 atmel_abdac_hw.rate_min = dac->rates[0]; in atmel_abdac_open() 361 dac->rates[index] = new_rate / 256; in set_sample_rates() 373 unsigned int tmp = dac->rates[index - 1 - i]; in set_sample_rates() 374 dac->rates[index - 1 - i] = dac->rates[i]; in set_sample_rates() 375 dac->rates[i] = tmp; in set_sample_rates() 379 dac->constraints_rates.list = dac->rates; in set_sample_rates()
|
/linux-3.4.99/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 2676 struct ath5k_rate_pcal_info *rates) in ath5k_get_rate_pcal_data() argument 2732 rates->freq = target; in ath5k_get_rate_pcal_data() 2734 rates->target_power_6to24 = in ath5k_get_rate_pcal_data() 2740 rates->target_power_36 = in ath5k_get_rate_pcal_data() 2746 rates->target_power_48 = in ath5k_get_rate_pcal_data() 2752 rates->target_power_54 = in ath5k_get_rate_pcal_data() 3516 u16 *rates; in ath5k_setup_rate_powertable() local 3524 rates = ah->ah_txpower.txp_rates_power_table; in ath5k_setup_rate_powertable() 3528 rates[i] = min(max_pwr, rate_info->target_power_6to24); in ath5k_setup_rate_powertable() 3531 rates[5] = min(rates[0], rate_info->target_power_36); in ath5k_setup_rate_powertable() [all …]
|