Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Drc.c381 static int ath_rc_get_rateindex(const struct ath_rate_table *rate_table,
384 static void ath_rc_sort_validrates(const struct ath_rate_table *rate_table, in ath_rc_sort_validrates() argument
394 if (rate_table->info[idx].ratekbps > in ath_rc_sort_validrates()
395 rate_table->info[idx_next].ratekbps) { in ath_rc_sort_validrates()
419 int ath_rc_get_nextvalid_txrate(const struct ath_rate_table *rate_table, in ath_rc_get_nextvalid_txrate() argument
458 ath_rc_get_lower_rix(const struct ath_rate_table *rate_table, in ath_rc_get_lower_rix() argument
475 const struct ath_rate_table *rate_table, in ath_rc_init_validrates() argument
480 for (i = 0; i < rate_table->rate_cnt; i++) { in ath_rc_init_validrates()
481 if (rate_table->info[i].rate_flags & RC_LEGACY) { in ath_rc_init_validrates()
482 u32 phy = rate_table->info[i].phy; in ath_rc_init_validrates()
[all …]
Drc.h218 const struct ath_rate_table *rate_table; member
/linux-2.6.39/sound/pci/ac97/
Dac97_pcm.c168 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg()
321 static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *… in get_pslots() argument
353 *rate_table = 0; in get_pslots()
366 *rate_table = 1; in get_pslots()
372 *rate_table = 2; in get_pslots()
391 *rate_table = 0; in get_pslots()
451 unsigned char rate_table[2][4]; in snd_ac97_pcm_assign() local
461 memset(rate_table, 0, sizeof(rate_table)); in snd_ac97_pcm_assign()
467 avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]); in snd_ac97_pcm_assign()
514 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign()
[all …]
/linux-2.6.39/arch/arm/mach-omap2/
Dclkt2xxx_virt_prcm_set.c47 const struct prcm_config *rate_table; variable
74 for (ptr = rate_table; ptr->mpu_speed; ptr++) { in omap2_round_to_table_rate()
97 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2_select_table_rate()
184 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2_clk_init_cpufreq_table()
217 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2_clk_init_cpufreq_table()
Dopp2xxx.h426 extern const struct prcm_config *rate_table;
Dclock2420_data.c1916 rate_table = omap2420_rate_table; in omap2420_clk_init()
1941 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2420_clk_init()
Dclock2430_data.c2016 rate_table = omap2430_rate_table; in omap2430_clk_init()
2041 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2430_clk_init()
/linux-2.6.39/sound/usb/
Dformat.c166 fp->rate_table = kmalloc(sizeof(int) * nr_rates, GFP_KERNEL); in parse_audio_format_rates_v1()
167 if (fp->rate_table == NULL) { in parse_audio_format_rates_v1()
190 fp->rate_table[fp->nr_rates] = rate; in parse_audio_format_rates_v1()
246 if (fp->rate_table) in parse_uac2_sample_rate_range()
247 fp->rate_table[nr_rates] = rate; in parse_uac2_sample_rate_range()
321 kfree(fp->rate_table); in parse_audio_format_rates_v2()
322 fp->rate_table = NULL; in parse_audio_format_rates_v2()
331 fp->rate_table = kmalloc(sizeof(int) * fp->nr_rates, GFP_KERNEL); in parse_audio_format_rates_v2()
332 if (!fp->rate_table) { in parse_audio_format_rates_v2()
Dquirks.c130 unsigned *rate_table = NULL; in create_fixed_stream_quirk() local
138 rate_table = kmalloc(sizeof(int) * fp->nr_rates, GFP_KERNEL); in create_fixed_stream_quirk()
139 if (!rate_table) { in create_fixed_stream_quirk()
143 memcpy(rate_table, fp->rate_table, sizeof(int) * fp->nr_rates); in create_fixed_stream_quirk()
144 fp->rate_table = rate_table; in create_fixed_stream_quirk()
152 kfree(rate_table); in create_fixed_stream_quirk()
158 kfree(rate_table); in create_fixed_stream_quirk()
Dendpoint.c49 kfree(fp->rate_table); in free_substream()
428 kfree(fp->rate_table); in snd_usb_parse_audio_endpoints()
437 kfree(fp->rate_table); in snd_usb_parse_audio_endpoints()
Dcard.h27 unsigned int *rate_table; /* rate table */ member
Dquirks-table.h1986 .rate_table = (unsigned int[]) {
2010 .rate_table = (unsigned int[]) {
2053 .rate_table = (unsigned int[]) {
2077 .rate_table = (unsigned int[]) {
2528 .rate_table = (unsigned int[]) {
Dproc.c106 snd_iprintf(buffer, "%d", fp->rate_table[i]); in proc_dump_substream_formats()
Dpcm.c74 if (fp->rate_table[i] == rate) in find_format()
692 subs->rate_list.list[count++] = fp->rate_table[i]; in snd_usb_pcm_check_knot()
/linux-2.6.39/sound/soc/codecs/
Dmax98088.c1249 } rate_table[] = { variable
1266 for (i = 0; i < ARRAY_SIZE(rate_table); i++) { in rate_value()
1267 if (rate_table[i].rate >= rate) { in rate_value()
1268 *value = rate_table[i].sr; in rate_value()
1272 *value = rate_table[0].sr; in rate_value()
/linux-2.6.39/include/sound/
Dac97_codec.h636 unsigned char rate_table[4]; member
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_lcn.c1618 u32 rate_table[WLC_NUM_RATES_CCK + WLC_NUM_RATES_OFDM + in wlc_lcnphy_txpower_recalc_target() local
1624 for (i = 0, j = 0; i < ARRAY_SIZE(rate_table); i++, j++) { in wlc_lcnphy_txpower_recalc_target()
1629 rate_table[i] = (u32) ((s32) (-pi->tx_power_offset[j])); in wlc_lcnphy_txpower_recalc_target()
1634 tab.tbl_len = ARRAY_SIZE(rate_table); in wlc_lcnphy_txpower_recalc_target()
1635 tab.tbl_ptr = rate_table; in wlc_lcnphy_txpower_recalc_target()