Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clk/
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-6.6.21/drivers/staging/vt6655/
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 …]
Drxtx.h168 __le16 current_rate; member
/linux-6.6.21/drivers/clk/sunxi-ng/
Dccu_common.c44 unsigned long current_rate, in ccu_is_better_rate() argument
48 return abs(current_rate - target_rate) < abs(best_rate - target_rate); in ccu_is_better_rate()
50 return current_rate <= target_rate && current_rate > best_rate; in ccu_is_better_rate()
Dccu_common.h58 unsigned long current_rate,
/linux-6.6.21/drivers/staging/vt6656/
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()
Drxtx.h157 __le16 current_rate; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
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 …]
Drs.h299 u32 current_rate; /* rate_n_flags, uCode API format */ member
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
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 …]
Dcommon.h2754 u32 current_rate; /* rate_n_flags, uCode API format */ member
/linux-6.6.21/sound/pci/oxygen/
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-6.6.21/drivers/clk/ti/
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-6.6.21/net/netfilter/
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-6.6.21/sound/pci/rme9652/
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 …]
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-6.6.21/drivers/memory/tegra/
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-6.6.21/drivers/staging/ks7010/
Dks_wlan.h466 u8 current_rate; member
Dks_hostif.c936 priv->current_rate = (link_speed & RATE_MASK); in hostif_phy_information_confirm()
2242 priv->current_rate = 4; in hostif_status_init()
Dks_wlan_net.c648 vwrq->bitrate.value = ((priv->current_rate) & RATE_MASK) * 500000; in ks_wlan_get_rate()
/linux-6.6.21/Documentation/networking/
Dip-sysctl.rst936 to current rate. (current_rate = cwnd * mss / srtt)
945 to current rate. (current_rate = cwnd * mss / srtt)