Home
last modified time | relevance | path

Searched refs:rate_index (Results 1 – 17 of 17) sorted by relevance

/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsta_ioctl.c689 int rate_index, ret; in mwifiex_rate_ioctl_set_rate_value() local
721 rate_index = mwifiex_data_rate_to_index(rate_cfg->rate); in mwifiex_rate_ioctl_set_rate_value()
724 if (rate_index >= MWIFIEX_RATE_INDEX_HRDSSS0 && in mwifiex_rate_ioctl_set_rate_value()
725 rate_index <= MWIFIEX_RATE_INDEX_HRDSSS3) { in mwifiex_rate_ioctl_set_rate_value()
726 bitmap_rates[0] = 1 << rate_index; in mwifiex_rate_ioctl_set_rate_value()
728 rate_index -= 1; /* There is a 0x00 in the table */ in mwifiex_rate_ioctl_set_rate_value()
729 if (rate_index >= MWIFIEX_RATE_INDEX_OFDM0 && in mwifiex_rate_ioctl_set_rate_value()
730 rate_index <= MWIFIEX_RATE_INDEX_OFDM7) in mwifiex_rate_ioctl_set_rate_value()
731 bitmap_rates[1] = 1 << (rate_index - in mwifiex_rate_ioctl_set_rate_value()
/linux-3.4.99/sound/ppc/
Dpmac.c174 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()
214 int rate_index; in snd_pmac_pcm_prepare() local
222 rate_index = snd_pmac_rate_index(chip, rec, runtime->rate); in snd_pmac_pcm_prepare()
228 astr->cur_freqs = 1 << rate_index; in snd_pmac_pcm_prepare()
230 chip->rate_index = rate_index; in snd_pmac_pcm_prepare()
Dpmac.h124 int rate_index; member
Dawacs.c124 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
/linux-3.4.99/sound/pci/nm256/
Dnm256.c431 int rate_index = snd_nm256_fixed_rate(runtime->rate); in snd_nm256_set_format() local
432 unsigned char ratebits = (rate_index << 4) & NM_RATE_MASK; in snd_nm256_set_format()
444 runtime->rate = samplerates[rate_index]; in snd_nm256_set_format()
448 snd_nm256_load_coefficient(chip, 0, rate_index); /* 0 = playback */ in snd_nm256_set_format()
454 snd_nm256_load_coefficient(chip, 1, rate_index); /* 1 = record */ in snd_nm256_set_format()
/linux-3.4.99/drivers/misc/
Dbh1770glc.c216 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) in bh1770_lux_rate() argument
224 rate_index = 0; in bh1770_lux_rate()
228 rate_index); in bh1770_lux_rate()
/linux-3.4.99/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h326 unsigned int rate_index; member
/linux-3.4.99/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c2591 u32 rate_index, rate_count = 0, rate_count_diff = 0; in dm_fsync_timer_callback() local
2599 for (rate_index = 0; rate_index <= 27; rate_index++) { in dm_fsync_timer_callback()
2600 rate_bitmap = 1 << rate_index; in dm_fsync_timer_callback()
2604 [rate_index]; in dm_fsync_timer_callback()
Dr8192E_dev.c2127 u8 rate_index = 0; in rtl8192_update_ratr_table() local
2163 write_nic_dword(dev, RATR0+rate_index*4, ratr_value); in rtl8192_update_ratr_table()
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dwmi.c1143 ath6kl_dbg(ATH6KL_DBG_WMI, "rateindex %d\n", reply->rate_index); in ath6kl_wmi_bitrate_reply_rx()
1145 if (reply->rate_index == (s8) RATE_AUTO) { in ath6kl_wmi_bitrate_reply_rx()
1148 index = reply->rate_index & 0x7f; in ath6kl_wmi_bitrate_reply_rx()
1149 sgi = (reply->rate_index & 0x80) ? 1 : 0; in ath6kl_wmi_bitrate_reply_rx()
2947 s32 ath6kl_wmi_get_rate(s8 rate_index) in ath6kl_wmi_get_rate() argument
2949 if (rate_index == RATE_AUTO) in ath6kl_wmi_get_rate()
2952 return wmi_rate_tbl[(u32) rate_index][0]; in ath6kl_wmi_get_rate()
Dwmi.h1863 s8 rate_index; member
2470 s32 ath6kl_wmi_get_rate(s8 rate_index);
/linux-3.4.99/drivers/staging/rtl8192u/
Dr8192U_dm.c3355 u32 rate_index, rate_count = 0, rate_count_diff=0; in dm_fsync_timer_callback() local
3365 for(rate_index = 0; rate_index <= 27; rate_index++) in dm_fsync_timer_callback()
3367 rate_bitmap = 1 << rate_index; in dm_fsync_timer_callback()
3369 rate_count+= priv->stats.received_rate_histogram[1][rate_index]; in dm_fsync_timer_callback()
Dr8192U_core.c2538 u8 rate_index = 0; in rtl8192_update_ratr_table() local
2573 write_nic_dword(dev, RATR0+rate_index*4, ratr_value); in rtl8192_update_ratr_table()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c170 u8 rate_index = 0; in rtl92ce_set_hw_reg() local
178 rate_index++; in rtl92ce_set_hw_reg()
181 rate_index); in rtl92ce_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c105 u8 rate_index = 0; in rtl92se_set_hw_reg() local
120 rate_index++; in rtl92se_set_hw_reg()
122 rtl_write_byte(rtlpriv, INIRTSMCS_SEL, rate_index); in rtl92se_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192de/
Dhw.c193 u8 rate_index = 0; in rtl92de_set_hw_reg() local
204 rate_index++; in rtl92de_set_hw_reg()
208 rate_index); in rtl92de_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c1611 u8 rate_index = 0; in rtl92cu_set_hw_reg() local
1625 rate_index++; in rtl92cu_set_hw_reg()
1628 rate_index); in rtl92cu_set_hw_reg()