/drivers/net/wireless/b43legacy/ |
H A D | main.h | 86 int b43legacy_is_cck_rate(int rate) argument 88 return (rate == B43legacy_CCK_RATE_1MB || 89 rate == B43legacy_CCK_RATE_2MB || 90 rate == B43legacy_CCK_RATE_5MB || 91 rate == B43legacy_CCK_RATE_11MB); 95 int b43legacy_is_ofdm_rate(int rate) argument 97 return !b43legacy_is_cck_rate(rate);
|
/drivers/net/wireless/libertas/ |
H A D | tx.c | 22 * @rate: Input rate 25 static u32 convert_radiotap_rate_to_mv(u8 rate) argument 27 switch (rate) { 121 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate));
|
H A D | radiotap.h | 5 u8 rate; member in struct:tx_radiotap_hdr 35 u8 rate; member in struct:rx_radiotap_hdr
|
H A D | rx.c | 168 * @rate: Input rate 171 static u8 convert_mv_rate_to_radiotap(u8 rate) argument 173 switch (rate) { 200 pr_alert("Invalid Marvell WLAN rate %i\n", rate); 247 radiotap_hdr.rate = convert_mv_rate_to_radiotap(prxpd->rx_rate);
|
/drivers/usb/gadget/ |
H A D | u_uac1.h | 38 int rate; member in struct:gaudio_snd_dev
|
/drivers/ide/ |
H A D | ide-xfer-mode.c | 240 * ide_set_xfer_rate - set transfer rate 242 * @rate: speed to attempt to set 249 int ide_set_xfer_rate(ide_drive_t *drive, u8 rate) argument 258 rate = ide_rate_filter(drive, rate); 260 BUG_ON(rate < XFER_PIO_0); 262 if (rate >= XFER_PIO_0 && rate <= XFER_PIO_6) 263 return ide_set_pio_mode(drive, rate); 265 return ide_set_dma_mode(drive, rate); [all...] |
/drivers/net/wireless/b43/ |
H A D | main.h | 96 static inline int b43_is_cck_rate(int rate) argument 98 return (rate == B43_CCK_RATE_1MB || 99 rate == B43_CCK_RATE_2MB || 100 rate == B43_CCK_RATE_5MB || rate == B43_CCK_RATE_11MB); 103 static inline int b43_is_ofdm_rate(int rate) argument 105 return !b43_is_cck_rate(rate);
|
/drivers/base/power/ |
H A D | opp.c | 53 * @rate: Frequency in hertz 63 unsigned long rate; member in struct:opp 187 f = tmp_opp->rate; 262 temp_opp->rate == freq) { 303 if (temp_opp->available && temp_opp->rate >= *freq) { 305 *freq = opp->rate; 347 if (temp_opp->rate > *freq) 354 *freq = opp->rate; 419 new_opp->rate = freq; 426 if (new_opp->rate < op [all...] |
/drivers/clk/ |
H A D | clk-divider.c | 26 * rate - rate is adjustable. clk->rate = parent->rate / divisor 56 static int clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, argument 63 if (!rate) 64 rate = 1; 73 bestdiv = DIV_ROUND_UP(parent_rate, rate); 81 * unsigned long in rate * i below 83 maxdiv = min(ULONG_MAX / rate, maxdi 106 clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) argument 122 clk_divider_set_rate(struct clk_hw *hw, unsigned long rate) argument [all...] |
/drivers/cpufreq/ |
H A D | exynos4210-cpufreq.c | 236 unsigned long rate; local 250 rate = clk_get_rate(mout_mpll) / 1000; 278 info->mpll_freq_khz = rate;
|
H A D | exynos4x12-cpufreq.c | 436 unsigned long rate; local 452 rate = clk_get_rate(mout_mpll) / 1000; 513 info->mpll_freq_khz = rate;
|
H A D | exynos5250-cpufreq.c | 269 unsigned long rate; local 285 rate = clk_get_rate(mout_mpll) / 1000; 322 info->mpll_freq_khz = rate;
|
H A D | omap-cpufreq.c | 69 unsigned long rate; local 74 rate = clk_get_rate(mpu_clk) / 1000; 75 return rate;
|
/drivers/gpu/drm/radeon/ |
H A D | r600_audio.c | 74 * current sampling rate in HZ 126 int rate = r600_audio_rate(rdev); local 135 changes |= rate != rdev->audio_rate; 142 rdev->audio_rate = rate;
|
/drivers/net/wireless/ath/ath5k/ |
H A D | qcu.c | 371 /* Constant bit rate period */ 566 struct ieee80211_rate *rate; local 577 * Txtime of ack at lowest rate + SIFS + DIFS 598 * Also we have different lowest rate for 802.11a 601 rate = &ah->sbands[IEEE80211_BAND_5GHZ].bitrates[0]; 603 rate = &ah->sbands[IEEE80211_BAND_2GHZ].bitrates[0]; 605 ack_tx_time = ath5k_hw_get_frame_duration(ah, 10, rate, false);
|
/drivers/net/wireless/orinoco/ |
H A D | scan.c | 30 u8 rate; local 34 rate = le16_to_cpu(rates[i]); 36 if (rate == 0x0) 38 buf[i + 2] = rate;
|
/drivers/net/wireless/prism54/ |
H A D | islpci_eth.c | 260 u8 rate = hdr->rate; local 291 avs->datarate = cpu_to_be32(rate * 5);
|
H A D | islpci_eth.h | 31 u8 rate; member in struct:rfmon_header
|
/drivers/net/wireless/wl1251/ |
H A D | rx.h | 104 u8 rate; member in struct:wl1251_rx_descriptor
|
/drivers/net/wireless/wl12xx/ |
H A D | init.c | 145 u32 rate; local 156 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); 159 tmpl, sizeof(*tmpl), 0, rate); 172 u32 rate; local 189 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); 192 sizeof(*nullfunc), 0, rate); 205 u32 rate; local 222 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); 225 sizeof(*qosnull), 0, rate); 428 wl1271_debug(DEBUG_AP, "AP basic rate se [all...] |
/drivers/scsi/aic7xxx_old/ |
H A D | aic7xxx_proc.c | 276 int rate = (aic_dev->cur.width == local 283 sync_rate->rate[rate],
|
/drivers/ssb/ |
H A D | driver_mipscore.c | 209 u32 pll_type, n, m, rate = 0; local 222 rate = 200000000; 224 rate = ssb_calc_clock_rate(pll_type, n, m); 228 rate *= 2; 231 return rate;
|
/drivers/char/agp/ |
H A D | sis-agp.c | 80 int rate; local 88 rate = (command & 0x7) << 2; 96 pci_name(device), rate); 101 * Weird: on some sis chipsets any rate change in the target
|
/drivers/clocksource/ |
H A D | sh_mtu2.c | 41 unsigned long rate; member in struct:sh_mtu2_priv 136 p->rate = clk_get_rate(p->clk) / 64; 137 p->periodic = (p->rate + HZ/2) / HZ;
|
H A D | sh_tmu.c | 42 unsigned long rate; member in struct:sh_tmu_priv 129 p->rate = clk_get_rate(p->clk) / 4; 208 __clocksource_updatefreq_hz(cs, p->rate); 248 /* TODO: calculate good shift from rate and counter bit width */ 251 ced->mult = div_sc(p->rate, NSEC_PER_SEC, ced->shift); 256 p->periodic = (p->rate + HZ/2) / HZ;
|