Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/clk/imx/
Dclk-pllv3.c176 unsigned long min_rate = parent_rate * 54 / 2; in clk_pllv3_sys_round_rate() local
182 else if (rate < min_rate) in clk_pllv3_sys_round_rate()
183 rate = min_rate; in clk_pllv3_sys_round_rate()
193 unsigned long min_rate = parent_rate * 54 / 2; in clk_pllv3_sys_set_rate() local
197 if (rate < min_rate || rate > max_rate) in clk_pllv3_sys_set_rate()
237 unsigned long min_rate = parent_rate * 27; in clk_pllv3_av_round_rate() local
246 else if (rate < min_rate) in clk_pllv3_av_round_rate()
247 rate = min_rate; in clk_pllv3_av_round_rate()
269 unsigned long min_rate = parent_rate * 27; in clk_pllv3_av_set_rate() local
276 if (rate < min_rate || rate > max_rate) in clk_pllv3_av_set_rate()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c148 return (rate <= table->max_rate && rate >= table->min_rate); in mlx5_rl_is_in_range()
172 rl->rate, table->min_rate, table->max_rate); in mlx5_rl_add_rate()
253 table->min_rate = MLX5_CAP_QOS(dev, packet_pacing_min_rate); in mlx5_init_rl_table()
269 table->min_rate >> 10, in mlx5_init_rl_table()
Deswitch.h93 u32 min_rate; member
208 u32 max_rate, u32 min_rate);
Deswitch.c1901 ivi->min_tx_rate = evport->info.min_rate; in mlx5_eswitch_get_vport_config()
2005 if (!evport->enabled || evport->info.min_rate < max_guarantee) in calculate_vports_min_rate_divider()
2007 max_guarantee = evport->info.min_rate; in calculate_vports_min_rate_divider()
2027 vport_min_rate = evport->info.min_rate; in normalize_vports_min_rate()
2051 u32 max_rate, u32 min_rate) in mlx5_eswitch_set_vport_rate() argument
2066 if ((min_rate && !min_rate_supported) || (max_rate && !max_rate_supported)) in mlx5_eswitch_set_vport_rate()
2072 if (min_rate == evport->info.min_rate) in mlx5_eswitch_set_vport_rate()
2075 previous_min_rate = evport->info.min_rate; in mlx5_eswitch_set_vport_rate()
2076 evport->info.min_rate = min_rate; in mlx5_eswitch_set_vport_rate()
2080 evport->info.min_rate = previous_min_rate; in mlx5_eswitch_set_vport_rate()
/Linux-v4.19/drivers/clk/
Dclk.c66 unsigned long min_rate; member
89 unsigned long min_rate; member
501 unsigned long *min_rate, in clk_core_get_boundaries() argument
506 *min_rate = core->min_rate; in clk_core_get_boundaries()
510 *min_rate = max(*min_rate, clk_user->min_rate); in clk_core_get_boundaries()
516 void clk_hw_set_rate_range(struct clk_hw *hw, unsigned long min_rate, in clk_hw_set_rate_range() argument
519 hw->core->min_rate = min_rate; in clk_hw_set_rate_range()
1186 clk_core_get_boundaries(hw->core, &req.min_rate, &req.max_rate); in clk_hw_round_rate()
1219 clk_core_get_boundaries(clk->core, &req.min_rate, &req.max_rate); in clk_round_rate()
1642 unsigned long min_rate; in clk_calc_new_rates() local
[all …]
Dclk-scmi.c53 fmin = clk->info->range.min_rate; in scmi_clk_round_rate()
116 clk_hw_set_rate_range(&sclk->hw, sclk->info->range.min_rate, in scmi_clk_ops_init()
Dclk-qoriq.c772 unsigned long min_rate, in create_mux_common() argument
800 if (rate < min_rate) in create_mux_common()
834 unsigned long plat_rate, min_rate; in create_one_cmux() local
870 min_rate = plat_rate; in create_one_cmux()
872 min_rate = plat_rate / 2; in create_one_cmux()
874 return create_mux_common(cg, hwc, &cmux_ops, min_rate, max_rate, in create_one_cmux()
/Linux-v4.19/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
/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu_nm.h40 unsigned int min_rate; member
107 .min_rate = _min_rate, \
Dccu_mp.c231 req->min_rate *= 2; in ccu_mp_mmc_determine_rate()
240 req->min_rate /= 2; in ccu_mp_mmc_determine_rate()
Dccu_nm.c120 if (rate < nm->min_rate) { in ccu_nm_round_rate()
121 rate = nm->min_rate; in ccu_nm_round_rate()
/Linux-v4.19/net/dccp/ccids/
Dccid3.c127 __u64 min_rate = 2 * hc->tx_x_recv; in ccid3_hc_tx_update_x() local
138 min_rate = rfc3390_initial_rate(sk); in ccid3_hc_tx_update_x()
139 min_rate = max(min_rate, 2 * hc->tx_x_recv); in ccid3_hc_tx_update_x()
144 hc->tx_x = min(((__u64)hc->tx_x_calc) << 6, min_rate); in ccid3_hc_tx_update_x()
149 hc->tx_x = min(2 * hc->tx_x, min_rate); in ccid3_hc_tx_update_x()
/Linux-v4.19/net/sched/
Dsch_mqprio.c29 u64 min_rate[TC_QOPT_MAX_QUEUE]; member
199 priv->min_rate[i] = *(u64 *)nla_data(attr); in mqprio_init()
261 mqprio.min_rate[i] = priv->min_rate[i]; in mqprio_init()
358 sizeof(priv->min_rate[i]), in dump_rates()
359 &priv->min_rate[i])) in dump_rates()
/Linux-v4.19/drivers/clk/at91/
Dclk-generated.c139 unsigned long min_rate, parent_rate; in clk_generated_determine_rate() local
150 min_rate = DIV_ROUND_CLOSEST(parent_rate, GENERATED_MAX_DIV + 1); in clk_generated_determine_rate()
152 (gck->range.max && min_rate > gck->range.max)) in clk_generated_determine_rate()
Dclk-audio-pll.c258 req->min_rate = max(req->min_rate, AUDIO_PLL_FOUT_MIN); in clk_audio_pll_frac_determine_rate()
/Linux-v4.19/include/linux/qed/
Dqed_iov_if.h55 u32 min_rate, u32 max_rate);
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c123 u64 min_rate = pixel_clock * bpp / (2 * num_lanes * 4); in csiphy_set_clock_rates() local
126 camss_add_clock_margin(&min_rate); in csiphy_set_clock_rates()
129 if (min_rate < clock->freq[j]) in csiphy_set_clock_rates()
140 if (min_rate == 0) in csiphy_set_clock_rates()
Dcamss-vfe.c1117 u64 min_rate = 0; in vfe_set_clock_rates() local
1135 if (min_rate < tmp) in vfe_set_clock_rates()
1136 min_rate = tmp; in vfe_set_clock_rates()
1139 camss_add_clock_margin(&min_rate); in vfe_set_clock_rates()
1142 if (min_rate < clock->freq[j]) in vfe_set_clock_rates()
1153 if (min_rate == 0) in vfe_set_clock_rates()
1199 u64 min_rate = 0; in vfe_check_clock_rates() local
1217 if (min_rate < tmp) in vfe_check_clock_rates()
1218 min_rate = tmp; in vfe_check_clock_rates()
1221 camss_add_clock_margin(&min_rate); in vfe_check_clock_rates()
[all …]
Dcamss-csid.c484 u64 min_rate = pixel_clock * f->bpp / in csid_set_clock_rates() local
488 camss_add_clock_margin(&min_rate); in csid_set_clock_rates()
491 if (min_rate < clock->freq[j]) in csid_set_clock_rates()
502 if (min_rate == 0) in csid_set_clock_rates()
/Linux-v4.19/drivers/firmware/arm_scmi/
Dclock.c163 clk->range.min_rate = RATE_TO_U64(rlist->rate[0]); in scmi_clock_describe_rates_get()
167 clk->range.min_rate, clk->range.max_rate, in scmi_clock_describe_rates_get()
/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c225 common->min_rate = 0xffff; in rsi_set_default_parameters()
1176 u16 *selected_rates, min_rate; in rsi_send_auto_rate_request() local
1227 min_rate = RSI_RATE_MCS0; in rsi_send_auto_rate_request()
1229 min_rate = RSI_RATE_1; in rsi_send_auto_rate_request()
1233 min_rate = RSI_RATE_MCS0; in rsi_send_auto_rate_request()
1235 min_rate = RSI_RATE_6; in rsi_send_auto_rate_request()
1290 auto_rate->supported_rates[ii] = cpu_to_le16(min_rate); in rsi_send_auto_rate_request()
1338 if (common->min_rate == 0xffff) in rsi_inform_bss_status()
/Linux-v4.19/drivers/clk/bcm/
Dclk-bcm2835.c426 unsigned long min_rate; member
560 rate = clamp(rate, data->min_rate, data->max_rate); in bcm2835_pll_round_rate()
1624 .min_rate = 600000000u,
1675 .min_rate = 600000000u,
1705 .min_rate = 600000000u,
1762 .min_rate = 600000000u,
1817 .min_rate = 600000000u,
/Linux-v4.19/include/linux/
Dscmi_protocol.h46 u64 min_rate; member
/Linux-v4.19/drivers/clk/davinci/
Dpll.c139 if (rate < req->min_rate) in davinci_pll_determine_rate()
148 if (best_rate < req->min_rate) in davinci_pll_determine_rate()
165 if (r < req->min_rate) in davinci_pll_determine_rate()

123