Home
last modified time | relevance | path

Searched refs:max_rate (Results 1 – 25 of 48) sorted by relevance

12

/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c1100 u16 max_rate = 0; in rtw_mcs_rate() local
1104 max_rate = (bw_40MHz) ? ((short_GI_40) ? 1500 : 1350) : ((short_GI_20) ? 722 : 650); in rtw_mcs_rate()
1106 max_rate = (bw_40MHz) ? ((short_GI_40) ? 1350 : 1215) : ((short_GI_20) ? 650 : 585); in rtw_mcs_rate()
1108 max_rate = (bw_40MHz) ? ((short_GI_40) ? 1200 : 1080) : ((short_GI_20) ? 578 : 520); in rtw_mcs_rate()
1110 max_rate = (bw_40MHz) ? ((short_GI_40) ? 900 : 810) : ((short_GI_20) ? 433 : 390); in rtw_mcs_rate()
1112 max_rate = (bw_40MHz) ? ((short_GI_40) ? 600 : 540) : ((short_GI_20) ? 289 : 260); in rtw_mcs_rate()
1114 max_rate = (bw_40MHz) ? ((short_GI_40) ? 450 : 405) : ((short_GI_20) ? 217 : 195); in rtw_mcs_rate()
1116 max_rate = (bw_40MHz) ? ((short_GI_40) ? 300 : 270) : ((short_GI_20) ? 144 : 130); in rtw_mcs_rate()
1118 max_rate = (bw_40MHz) ? ((short_GI_40) ? 150 : 135) : ((short_GI_20) ? 72 : 65); in rtw_mcs_rate()
1122 max_rate = (bw_40MHz) ? ((short_GI_40) ? 3000 : 2700) : ((short_GI_20) ? 1444 : 1300); in rtw_mcs_rate()
[all …]
Drtw_ioctl_set.c566 u16 rate = 0, max_rate = 0; in rtw_get_cur_max_rate() local
595 max_rate = rtw_mcs_rate( in rtw_get_cur_max_rate()
606 if (rate > max_rate) in rtw_get_cur_max_rate()
607 max_rate = rate; in rtw_get_cur_max_rate()
611 max_rate = max_rate*10/2; in rtw_get_cur_max_rate()
614 return max_rate; in rtw_get_cur_max_rate()
/drivers/clk/imx/
Dclk-pllv3.c173 unsigned long max_rate = parent_rate * 108 / 2; in clk_pllv3_sys_round_rate() local
176 if (rate > max_rate) in clk_pllv3_sys_round_rate()
177 rate = max_rate; in clk_pllv3_sys_round_rate()
190 unsigned long max_rate = parent_rate * 108 / 2; in clk_pllv3_sys_set_rate() local
193 if (rate < min_rate || rate > max_rate) in clk_pllv3_sys_set_rate()
234 unsigned long max_rate = parent_rate * 54; in clk_pllv3_av_round_rate() local
239 if (rate > max_rate) in clk_pllv3_av_round_rate()
240 rate = max_rate; in clk_pllv3_av_round_rate()
262 unsigned long max_rate = parent_rate * 54; in clk_pllv3_av_set_rate() local
267 if (rate < min_rate || rate > max_rate) in clk_pllv3_av_set_rate()
/drivers/clk/tegra/
Dclk-audio-sync.c36 if (rate > sync->max_rate) in clk_sync_source_round_rate()
58 unsigned long rate, unsigned long max_rate) in tegra_clk_register_sync_source() argument
71 sync->max_rate = max_rate; in tegra_clk_register_sync_source()
Dclk-tegra-audio.c42 unsigned long max_rate; member
50 .max_rate = 24000000,\
175 data->rate, data->max_rate); in tegra_audio_clk_init()
/drivers/net/wireless/marvell/mwifiex/
D11ac.c59 u16 max_rate = 0; in mwifiex_convert_mcsmap_to_maxrate() local
83 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
84 if (!max_rate) in mwifiex_convert_mcsmap_to_maxrate()
86 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
88 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
89 if (!max_rate) in mwifiex_convert_mcsmap_to_maxrate()
91 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
94 return max_rate; in mwifiex_convert_mcsmap_to_maxrate()
/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c80 return (rate <= table->max_rate && rate >= table->min_rate); in mlx5_rl_is_in_range()
94 rate, table->min_rate, table->max_rate); in mlx5_rl_add_rate()
169 table->max_rate = MLX5_CAP_QOS(dev, packet_pacing_max_rate); in mlx5_init_rl_table()
187 table->max_rate >> 10); in mlx5_init_rl_table()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c488 int __always_unused min_rate, int max_rate) in fm10k_ndo_set_vf_bw() argument
499 if (max_rate && in fm10k_ndo_set_vf_bw()
500 (max_rate < FM10K_VF_TC_MIN || max_rate > FM10K_VF_TC_MAX)) in fm10k_ndo_set_vf_bw()
504 iov_data->vf_info[vf_idx].rate = max_rate; in fm10k_ndo_set_vf_bw()
507 hw->iov.ops.configure_tc(hw, vf_idx, max_rate); in fm10k_ndo_set_vf_bw()
/drivers/clk/
Dclk.c64 unsigned long max_rate; member
86 unsigned long max_rate; member
426 unsigned long *max_rate) in clk_core_get_boundaries() argument
431 *max_rate = core->max_rate; in clk_core_get_boundaries()
437 *max_rate = min(*max_rate, clk_user->max_rate); in clk_core_get_boundaries()
441 unsigned long max_rate) in clk_hw_set_rate_range() argument
444 hw->core->max_rate = max_rate; in clk_hw_set_rate_range()
897 clk_core_get_boundaries(hw->core, &req.min_rate, &req.max_rate); in clk_hw_round_rate()
927 clk_core_get_boundaries(clk->core, &req.min_rate, &req.max_rate); in clk_round_rate()
1341 unsigned long max_rate; in clk_calc_new_rates() local
[all …]
Dclk-qoriq.c703 unsigned long max_rate, in create_mux_common() argument
732 if (rate > max_rate) in create_mux_common()
765 u64 max_rate, pct80_rate; in create_one_cmux() local
793 max_rate = clk_get_rate(div->clk); in create_one_cmux()
794 pct80_rate = max_rate * 8; in create_one_cmux()
804 return create_mux_common(cg, hwc, &cmux_ops, min_rate, max_rate, in create_one_cmux()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c65 u16 max_rate, rate; in rtl819x_translate_scan() local
125 max_rate = 0; in rtl819x_translate_scan()
135 if (rate > max_rate) in rtl819x_translate_scan()
136 max_rate = rate; in rtl819x_translate_scan()
144 if (rate > max_rate) in rtl819x_translate_scan()
145 max_rate = rate; in rtl819x_translate_scan()
164 if (rate > max_rate) in rtl819x_translate_scan()
165 max_rate = rate; in rtl819x_translate_scan()
169 iwe.u.bitrate.value = max_rate * 500000; in rtl819x_translate_scan()
/drivers/staging/rtl8192e/
Drtllib_wx.c58 u16 max_rate, rate; in rtl819x_translate_scan() local
128 max_rate = 0; in rtl819x_translate_scan()
138 if (rate > max_rate) in rtl819x_translate_scan()
139 max_rate = rate; in rtl819x_translate_scan()
147 if (rate > max_rate) in rtl819x_translate_scan()
148 max_rate = rate; in rtl819x_translate_scan()
170 if (rate > max_rate) in rtl819x_translate_scan()
171 max_rate = rate; in rtl819x_translate_scan()
175 iwe.u.bitrate.value = max_rate * 500000; in rtl819x_translate_scan()
/drivers/clk/ti/
Dclkt_dpll.c304 if (dd->max_rate && target_rate > dd->max_rate) in omap2_dpll_round_rate()
305 target_rate = dd->max_rate; in omap2_dpll_round_rate()
Ddpll.c675 .max_rate = 1000000000, in of_ti_am3_no_gate_dpll_setup()
695 .max_rate = 2000000000, in of_ti_am3_jtype_dpll_setup()
714 .max_rate = 2000000000, in of_ti_am3_no_gate_jtype_dpll_setup()
735 .max_rate = 1000000000, in of_ti_am3_dpll_setup()
753 .max_rate = 1000000000, in of_ti_am3_core_dpll_setup()
/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.c66 else if (rate > pll->max_rate) in msm_dsi_pll_helper_clk_round_rate()
67 return pll->max_rate; in msm_dsi_pll_helper_clk_round_rate()
Ddsi_pll.h33 unsigned long max_rate; member
/drivers/net/irda/
Dbfin_sir.c20 static int max_rate = 57600; variable
22 static int max_rate = 115200; variable
742 switch (max_rate) { in bfin_sir_probe()
813 module_param(max_rate, int, 0);
814 MODULE_PARM_DESC(max_rate, "Maximum baud rate (115200, 57600, 38400, 19200, 9600)");
Dsa1100_ir.c45 static int max_rate = 4000000; variable
978 switch (max_rate) { in sa1100_irda_probe()
1142 module_param(max_rate, int, 0);
1149 MODULE_PARM_DESC(max_rate, "Maximum baud rate (4000000, 115200, 57600, 38400, 19200, 9600)");
/drivers/staging/media/omap4iss/
Diss_resizer.h74 unsigned int *max_rate);
Diss_ipipeif.h91 unsigned int *max_rate);
/drivers/media/platform/omap3isp/
Dispresizer.h131 unsigned int *max_rate);
Dispccdc.h175 unsigned int *max_rate);
Dispresizer.c501 unsigned int *max_rate) in omap3isp_resizer_max_rate() argument
510 *max_rate = div_u64((u64)clock * res->crop.active.width, ofmt->width); in omap3isp_resizer_max_rate()
578 cycles_per_request = div_u64((u64)l3_ick / 2 * 256 + pipe->max_rate - 1, in resizer_adjust_bandwidth()
579 pipe->max_rate); in resizer_adjust_bandwidth()
1550 omap3isp_resizer_max_rate(res, &pipe->max_rate); in resizer_link_validate()
/drivers/clk/bcm/
Dclk-bcm2835.c383 unsigned long max_rate; member
509 rate = clamp(rate, data->min_rate, data->max_rate); in bcm2835_pll_round_rate()
1407 .max_rate = 2400000000u,
1455 .max_rate = 3000000000u,
1484 .max_rate = 3000000000u,
1537 .max_rate = 2400000000u,
1590 .max_rate = 3000000000u,
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c112 u16 max_rate = 0, rate, ht_cap = false; in translate_scan() local
209 max_rate = 0; in translate_scan()
214 if (rate > max_rate) in translate_scan()
215 max_rate = rate; in translate_scan()
223 max_rate = (bw_40MHz) ? ((short_GI) ? 300 : 270) : ((short_GI) ? 144 : 130); in translate_scan()
227 max_rate = (bw_40MHz) ? ((short_GI) ? 150 : 135) : ((short_GI) ? 72 : 65); in translate_scan()
229 max_rate = max_rate*2;/* Mbps/2; */ in translate_scan()
235 iwe.u.bitrate.value = max_rate * 500000; in translate_scan()
1495 u16 max_rate = 0; in rtw_wx_get_rate() local
1497 max_rate = rtw_get_cur_max_rate((struct adapter *)rtw_netdev_priv(dev)); in rtw_wx_get_rate()
[all …]

12