Home
last modified time | relevance | path

Searched refs:current_rate (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/clk/sunxi-ng/
H A Dccu_common.c44 unsigned long current_rate, in ccu_is_better_rate() argument
51 if (current_rate > max_rate) in ccu_is_better_rate()
54 if (current_rate < min_rate) in ccu_is_better_rate()
58 return abs(current_rate - target_rate) < abs(best_rate - target_rate); in ccu_is_better_rate()
60 return current_rate <= target_rate && current_rate > best_rate; in ccu_is_better_rate()
H A Dccu_common.h61 unsigned long current_rate,
/linux/drivers/clk/
H A Dclk-multiplier.c71 unsigned long parent_rate, current_rate, best_rate = ~0; in __bestmult() local
103 current_rate = parent_rate * i; in __bestmult()
105 if (__is_best_rate(rate, current_rate, best_rate, flags)) { in __bestmult()
107 best_rate = current_rate; in __bestmult()
/linux/drivers/staging/vt6655/
H A Drxtx.c195 unsigned short current_rate) in get_rtscts_time() argument
203 data_time = bb_get_frame_time(priv->preamble_type, pkt_type, frame_length, current_rate); in get_rtscts_time()
903 tx_buffer_head->current_rate = cpu_to_le16(wCurrentRate); in s_vGenerateTxParameter()
1230 u16 tx_body_size = skb->len, current_rate; in vnt_generate_fifo_header() local
1240 current_rate = rate->hw_value; in vnt_generate_fifo_header()
1241 if (priv->wCurrentRate != current_rate && in vnt_generate_fifo_header()
1243 priv->wCurrentRate = current_rate; in vnt_generate_fifo_header()
1249 if (current_rate > RATE_11M) { in vnt_generate_fifo_header()
1327 tx_buffer_head->current_rate = cpu_to_le16(current_rate); in vnt_generate_fifo_header()
1330 if (current_rate >= RATE_18M && ieee80211_is_data(hdr->frame_control)) { in vnt_generate_fifo_header()
[all …]
H A Drxtx.h167 __le16 current_rate; member
/linux/drivers/staging/vt6656/
H A Drxtx.c595 tx_buffer_head->current_rate = cpu_to_le16(rate->hw_value); in vnt_tx_packet()
627 u16 current_rate; in vnt_beacon_xmit() local
646 current_rate = RATE_6M; in vnt_beacon_xmit()
649 vnt_get_phy_field(priv, frame_size, current_rate, in vnt_beacon_xmit()
654 vnt_time_stamp_off(priv, current_rate); in vnt_beacon_xmit()
656 current_rate = RATE_1M; in vnt_beacon_xmit()
660 vnt_get_phy_field(priv, frame_size, current_rate, in vnt_beacon_xmit()
665 vnt_time_stamp_off(priv, current_rate); in vnt_beacon_xmit()
H A Drxtx.h157 __le16 current_rate; member
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c835 rs_fill_link_cmd(priv, lq_sta, tbl->current_rate); in rs_bt_update_lq()
1258 tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, rate, is_green); in rs_switch_to_mimo2()
1261 tbl->current_rate, is_green); in rs_switch_to_mimo2()
1314 tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, rate, is_green); in rs_switch_to_mimo3()
1317 tbl->current_rate, is_green); in rs_switch_to_mimo3()
1364 tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, rate, is_green); in rs_switch_to_siso()
1366 tbl->current_rate, is_green); in rs_switch_to_siso()
1456 &search_tbl->current_rate, search_tbl)) { in rs_move_legacy_other()
1622 &search_tbl->current_rate, search_tbl)) { in rs_move_siso_to_other()
1674 search_tbl->current_rate = in rs_move_siso_to_other()
[all …]
H A Drs.h299 u32 current_rate; /* rate_n_flags, uCode API format */ member
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-rs.c1200 tbl->current_rate = in il4965_rs_switch_to_mimo2()
1203 D_RATE("LQ: Switch to new mcs %X idx is green %X\n", tbl->current_rate, in il4965_rs_switch_to_mimo2()
1248 tbl->current_rate = in il4965_rs_switch_to_siso()
1250 D_RATE("LQ: Switch to new mcs %X idx is green %X\n", tbl->current_rate, in il4965_rs_switch_to_siso()
1300 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_legacy_other()
1416 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_siso_to_other()
1470 search_tbl->current_rate = in il4965_rs_move_siso_to_other()
1536 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_mimo2_to_other()
1594 search_tbl->current_rate = in il4965_rs_move_mimo2_to_other()
1827 idx = il4965_hwrate_to_plcp_idx(tbl->current_rate); in il4965_rs_rate_scale_perform()
[all …]
H A Dcommon.h2766 u32 current_rate; /* rate_n_flags, uCode API format */ member
/linux/sound/pci/oxygen/
H A Dxonar_pcm179x.c217 unsigned int current_rate; member
331 data->current_rate = 48000; in pcm1796_init()
605 if (data->current_rate <= 48000 && !data->h6) in update_pcm1796_oversampling()
620 if (data->current_rate == 48000) in update_pcm1796_deemph()
622 else if (data->current_rate == 44100) in update_pcm1796_deemph()
624 else if (data->current_rate == 32000) in update_pcm1796_deemph()
636 data->current_rate = params_rate(params); in set_pcm1796_params()
/linux/drivers/clk/ti/
H A Dfapll.c354 unsigned long current_rate, frac_rate; in ti_fapll_synth_get_frac_rate() local
357 current_rate = ti_fapll_synth_recalc_rate(hw, parent_rate); in ti_fapll_synth_get_frac_rate()
359 frac_rate = current_rate * post_div_m; in ti_fapll_synth_get_frac_rate()
/linux/net/netfilter/
H A Dxt_hashlimit.c107 u_int64_t current_rate; member
546 ((dh->rateinfo.current_rate * interval) > in rateinfo_recalc()
548 dh->rateinfo.current_rate = 0; in rateinfo_recalc()
579 dh->rateinfo.current_rate = 0; in rateinfo_init()
761 dh->rateinfo.current_rate += cost; in hashlimit_mt_common()
764 (dh->rateinfo.current_rate <= dh->rateinfo.burst)) { in hashlimit_mt_common()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_link_training.c1208 static int reduce_link_rate(struct intel_dp *intel_dp, int current_rate) in reduce_link_rate() argument
1218 current_rate); in reduce_link_rate()
1226 if (drm_dp_is_uhbr_rate(current_rate) != drm_dp_is_uhbr_rate(new_rate)) in reduce_link_rate()
1693 int current_rate = -1; in i915_dp_force_link_rate_show() local
1703 current_rate = intel_dp->link_rate; in i915_dp_force_link_rate_show()
1716 intel_dp->source_rates[i] == current_rate ? "*" : "", in i915_dp_force_link_rate_show()
/linux/sound/pci/rme9652/
H A Dhdsp.c1109 int current_rate; in hdsp_set_rate() local
1142 current_rate = hdsp->system_sample_rate; in hdsp_set_rate()
1159 if (current_rate > 48000) in hdsp_set_rate()
1164 if (current_rate > 48000) in hdsp_set_rate()
1169 if (current_rate > 48000) in hdsp_set_rate()
1174 if (current_rate <= 48000 || current_rate > 96000) in hdsp_set_rate()
1179 if (current_rate <= 48000 || current_rate > 96000) in hdsp_set_rate()
1184 if (current_rate <= 48000 || current_rate > 96000) in hdsp_set_rate()
1189 if (current_rate < 128000) in hdsp_set_rate()
1194 if (current_rate < 128000) in hdsp_set_rate()
[all …]
H A Dhdspm.c1631 int current_rate; in hdspm_set_rate() local
1674 current_rate = hdspm->system_sample_rate; in hdspm_set_rate()
1686 if (current_rate <= 48000) in hdspm_set_rate()
1688 else if (current_rate <= 96000) in hdspm_set_rate()
1750 if (AES32 == hdspm->io_type && rate != current_rate) in hdspm_set_rate()
/linux/sound/usb/
H A Dquirks.c1763 u32 current_rate; in mbox3_set_format_quirk() local
1768 current_rate = le32_to_cpu(buff4); in mbox3_set_format_quirk()
1770 "MBOX3: Current configured sample rate: %d", current_rate); in mbox3_set_format_quirk()
1771 if (current_rate == new_rate) { in mbox3_set_format_quirk()
1774 current_rate, new_rate); in mbox3_set_format_quirk()
/linux/drivers/memory/tegra/
H A Dtegra210-emc-core.c1813 unsigned long current_rate; in tegra210_emc_probe() local
1881 current_rate = clk_get_rate(emc->clk) / 1000; in tegra210_emc_probe()
1884 if (emc->timings[i].rate == current_rate) { in tegra210_emc_probe()
1892 current_rate); in tegra210_emc_probe()
/linux/Documentation/networking/
H A Dip-sysctl.rst957 to current rate. (current_rate = cwnd * mss / srtt)
966 to current rate. (current_rate = cwnd * mss / srtt)