Home
last modified time | relevance | path

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

/drivers/clk/imx/
Dclk-pllv3.c172 unsigned long min_rate = parent_rate * 54 / 2; in clk_pllv3_sys_round_rate() local
178 else if (rate < min_rate) in clk_pllv3_sys_round_rate()
179 rate = min_rate; in clk_pllv3_sys_round_rate()
189 unsigned long min_rate = parent_rate * 54 / 2; in clk_pllv3_sys_set_rate() local
193 if (rate < min_rate || rate > max_rate) in clk_pllv3_sys_set_rate()
233 unsigned long min_rate = parent_rate * 27; in clk_pllv3_av_round_rate() local
241 else if (rate < min_rate) in clk_pllv3_av_round_rate()
242 rate = min_rate; in clk_pllv3_av_round_rate()
261 unsigned long min_rate = parent_rate * 27; in clk_pllv3_av_set_rate() local
267 if (rate < min_rate || rate > max_rate) in clk_pllv3_av_set_rate()
/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()
170 table->min_rate = MLX5_CAP_QOS(dev, packet_pacing_min_rate); in mlx5_init_rl_table()
186 table->min_rate >> 10, in mlx5_init_rl_table()
/drivers/clk/
Dclk.c63 unsigned long min_rate; member
85 unsigned long min_rate; member
425 unsigned long *min_rate, in clk_core_get_boundaries() argument
430 *min_rate = core->min_rate; in clk_core_get_boundaries()
434 *min_rate = max(*min_rate, clk_user->min_rate); in clk_core_get_boundaries()
440 void clk_hw_set_rate_range(struct clk_hw *hw, unsigned long min_rate, in clk_hw_set_rate_range() argument
443 hw->core->min_rate = min_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()
1340 unsigned long min_rate; in clk_calc_new_rates() local
[all …]
Dclk-qoriq.c702 unsigned long min_rate, in create_mux_common() argument
730 if (rate < min_rate) in create_mux_common()
764 unsigned long plat_rate, min_rate; in create_one_cmux() local
800 min_rate = plat_rate; in create_one_cmux()
802 min_rate = plat_rate / 2; in create_one_cmux()
804 return create_mux_common(cg, hwc, &cmux_ops, min_rate, max_rate, in create_one_cmux()
/drivers/net/wireless/rsi/
Drsi_91x_pkt.c82 if (common->min_rate != 0xffff) { in rsi_send_data_pkt()
85 frame_desc[4] = cpu_to_le16(common->min_rate); in rsi_send_data_pkt()
91 if (common->min_rate & 0x100) /* Only MCS rates */ in rsi_send_data_pkt()
Drsi_91x_mgmt.c217 common->min_rate = 0xffff; in rsi_set_default_parameters()
1017 u16 *selected_rates, min_rate; in rsi_send_auto_rate_request() local
1050 min_rate = RSI_RATE_1; in rsi_send_auto_rate_request()
1053 min_rate = RSI_RATE_6; in rsi_send_auto_rate_request()
1106 auto_rate->supported_rates[ii] = cpu_to_le16(min_rate); in rsi_send_auto_rate_request()
1149 if (common->min_rate == 0xffff) in rsi_inform_bss_status()
Drsi_91x_mac80211.c928 common->min_rate = rsi_rates[ii].hw_value; in rsi_set_min_rate()
940 common->min_rate = rsi_mcsrates[ii]; in rsi_set_min_rate()
948 common->min_rate = 0xffff; in rsi_set_min_rate()
1004 common->min_rate = 0xffff; in rsi_mac80211_sta_remove()
Drsi_main.h196 u16 min_rate; member
/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.c64 if (rate < pll->min_rate) in msm_dsi_pll_helper_clk_round_rate()
65 return pll->min_rate; in msm_dsi_pll_helper_clk_round_rate()
Ddsi_pll.h32 unsigned long min_rate; member
Ddsi_pll_28nm_8960.c516 pll->min_rate = VCO_MIN_RATE; in msm_dsi_pll_28nm_8960_init()
Ddsi_pll_28nm.c615 pll->min_rate = VCO_MIN_RATE; in msm_dsi_pll_28nm_init()
/drivers/clk/at91/
Dclk-generated.c108 unsigned long tmp_rate, min_rate; in clk_generated_determine_rate() local
122 min_rate = DIV_ROUND_CLOSEST(parent_rate, GENERATED_MAX_DIV + 1); in clk_generated_determine_rate()
124 (gck->range.max && min_rate > gck->range.max)) in clk_generated_determine_rate()
/drivers/clk/bcm/
Dclk-bcm2835.c382 unsigned long min_rate; member
509 rate = clamp(rate, data->min_rate, data->max_rate); in bcm2835_pll_round_rate()
1406 .min_rate = 600000000u,
1454 .min_rate = 600000000u,
1483 .min_rate = 600000000u,
1536 .min_rate = 600000000u,
1589 .min_rate = 600000000u,
/drivers/firmware/
Darm_scpi.c190 __le32 min_rate; member
403 *min = le32_to_cpu(clk.min_rate); in scpi_clk_get_range()
/drivers/net/ethernet/intel/fm10k/
Dfm10k.h512 int __always_unused min_rate, int max_rate);
Dfm10k_iov.c488 int __always_unused min_rate, int max_rate) in fm10k_ndo_set_vf_bw() argument
/drivers/clk/tegra/
Dclk-emc.c140 if (timing->rate < req->min_rate) in emc_determine_rate()
/drivers/net/wireless/ti/wl1251/
Dacx.h577 u32 min_rate; member
Dacx.c578 param->min_rate = RATE_INDEX_24MBPS; in wl1251_acx_sg_cfg()
/drivers/net/wireless/ti/wlcore/
Dmain.c4001 u32 min_rate; in wlcore_set_beacon_template() local
4019 min_rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wlcore_set_beacon_template()
4025 min_rate); in wlcore_set_beacon_template()
4065 min_rate); in wlcore_set_beacon_template()
4071 min_rate); in wlcore_set_beacon_template()
/drivers/edac/
Damd64_edac.c171 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) in __set_scrub_rate() argument
190 if (scrubrates[i].scrubval < min_rate) in __set_scrub_rate()
/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c3722 int vfid, u32 min_rate, u32 max_rate) in qed_set_vf_rate() argument
3729 if (min_rate) in qed_set_vf_rate()
3730 rc_min = qed_iov_configure_min_tx_rate(cdev, vfid, min_rate); in qed_set_vf_rate()
Dqed_dev.c2878 u32 min_rate = p_link->min_pf_rate; in qed_configure_pf_min_bandwidth() local
2882 min_rate); in qed_configure_pf_min_bandwidth()
/drivers/cdrom/
Dcdrom.c1825 layer->min_rate = base[1] & 0xf; in dvd_read_physical()