Home
last modified time | relevance | path

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

1234

/linux/drivers/memory/tegra/
A Dtegra20-emc.c193 unsigned long min_rate; member
211 unsigned long min_rate; member
676 unsigned long min_rate, in emc_round_rate() argument
687 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
709 rate, min_rate, max_rate); in emc_round_rate()
739 min_rate = max(new_min_rate, min_rate); in emc_request_rate()
742 min_rate = max(req->min_rate, min_rate); in emc_request_rate()
747 if (min_rate > max_rate) { in emc_request_rate()
863 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
880 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
[all …]
A Dtegra30-emc.c338 unsigned long min_rate; member
369 unsigned long min_rate; member
1083 unsigned long min_rate, in emc_round_rate() argument
1094 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
1116 rate, min_rate, max_rate); in emc_round_rate()
1146 min_rate = max(new_min_rate, min_rate); in emc_request_rate()
1149 min_rate = max(req->min_rate, min_rate); in emc_request_rate()
1154 if (min_rate > max_rate) { in emc_request_rate()
1270 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1287 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
[all …]
A Dtegra186-emc.c29 unsigned long min_rate; member
106 *rate = emc->debugfs.min_rate; in tegra186_emc_debug_min_rate_get()
123 emc->debugfs.min_rate = rate; in tegra186_emc_debug_min_rate_set()
206 emc->debugfs.min_rate = ULONG_MAX; in tegra186_emc_probe()
224 if (emc->dvfs[i].rate < emc->debugfs.min_rate) in tegra186_emc_probe()
225 emc->debugfs.min_rate = emc->dvfs[i].rate; in tegra186_emc_probe()
234 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, in tegra186_emc_probe()
239 emc->debugfs.min_rate, emc->debugfs.max_rate, in tegra186_emc_probe()
A Dtegra124-emc.c477 unsigned long min_rate; member
500 unsigned long min_rate; member
1054 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()
1072 min_rate = max(new_min_rate, min_rate); in emc_request_rate()
1075 min_rate = max(req->min_rate, min_rate); in emc_request_rate()
1080 if (min_rate > max_rate) { in emc_request_rate()
1082 __func__, type, min_rate, max_rate); in emc_request_rate()
1090 err = dev_pm_opp_set_rate(emc->dev, min_rate); in emc_request_rate()
1185 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1202 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
[all …]
A Dtegra210-emc-core.c1643 *rate = emc->debugfs.min_rate; in tegra210_emc_debug_min_rate_get()
1660 emc->debugfs.min_rate = rate; in tegra210_emc_debug_min_rate_set()
1736 emc->debugfs.min_rate = ULONG_MAX; in tegra210_emc_debugfs_init()
1740 if (emc->timings[i].rate * 1000UL < emc->debugfs.min_rate) in tegra210_emc_debugfs_init()
1741 emc->debugfs.min_rate = emc->timings[i].rate * 1000UL; in tegra210_emc_debugfs_init()
1748 emc->debugfs.min_rate = clk_get_rate(emc->clk); in tegra210_emc_debugfs_init()
1749 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra210_emc_debugfs_init()
1752 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, in tegra210_emc_debugfs_init()
1756 emc->debugfs.min_rate, emc->debugfs.max_rate, in tegra210_emc_debugfs_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dqos.c19 u32 min_rate; member
114 if (group->min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
116 max_guarantee = group->min_rate; in esw_qos_calculate_min_rate_divider()
209 u32 min_rate, in mlx5_esw_qos_set_vport_min_rate() argument
220 if (min_rate && !min_rate_supported) in mlx5_esw_qos_set_vport_min_rate()
222 if (min_rate == evport->qos.min_rate) in mlx5_esw_qos_set_vport_min_rate()
226 evport->qos.min_rate = min_rate; in mlx5_esw_qos_set_vport_min_rate()
276 if (min_rate == group->min_rate) in esw_qos_set_group_min_rate()
279 previous_min_rate = group->min_rate; in esw_qos_set_group_min_rate()
280 group->min_rate = min_rate; in esw_qos_set_group_min_rate()
[all …]
A Dqos.h11 u32 min_rate,
/linux/drivers/clk/
A Dclk-scmi.c55 fmin = clk->info->range.min_rate; in scmi_clk_round_rate()
108 unsigned long min_rate, max_rate; in scmi_clk_ops_init() local
128 min_rate = sclk->info->list.rates[0]; in scmi_clk_ops_init()
131 min_rate = sclk->info->range.min_rate; in scmi_clk_ops_init()
135 clk_hw_set_rate_range(&sclk->hw, min_rate, max_rate); in scmi_clk_ops_init()
A Dclk.c78 unsigned long min_rate; member
102 unsigned long min_rate; member
624 *min_rate = core->min_rate; in clk_core_get_boundaries()
628 *min_rate = max(*min_rate, clk_user->min_rate); in clk_core_get_boundaries()
637 hw->core->min_rate = min_rate; in clk_hw_set_rate_range()
1939 unsigned long min_rate; in clk_calc_new_rates() local
1960 req.min_rate = min_rate; in clk_calc_new_rates()
2345 old_min = clk->min_rate; in clk_set_rate_range()
2347 clk->min_rate = min; in clk_set_rate_range()
2373 clk->min_rate = old_min; in clk_set_rate_range()
[all …]
/linux/drivers/clk/imx/
A Dclk-pllv3.c171 unsigned long min_rate = parent_rate * 54 / 2; in clk_pllv3_sys_round_rate() local
177 else if (rate < min_rate) in clk_pllv3_sys_round_rate()
178 rate = min_rate; in clk_pllv3_sys_round_rate()
188 unsigned long min_rate = parent_rate * 54 / 2; in clk_pllv3_sys_set_rate() local
192 if (rate < min_rate || rate > max_rate) in clk_pllv3_sys_set_rate()
232 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()
264 unsigned long min_rate = parent_rate * 27; in clk_pllv3_av_set_rate() local
271 if (rate < min_rate || rate > max_rate) in clk_pllv3_av_set_rate()
/linux/drivers/clk/sunxi-ng/
A Dccu_nm.h32 unsigned int min_rate; member
100 .min_rate = _min_rate, \
128 .min_rate = _min_rate, \
/linux/drivers/clk/bcm/
A Dclk-raspberrypi.c173 req->rate = clamp(req->rate, req->min_rate, req->max_rate); in raspberrypi_fw_dumb_determine_rate()
190 u32 min_rate, max_rate; in raspberrypi_clk_register() local
209 &min_rate); in raspberrypi_clk_register()
229 clk_hw_set_rate_range(&data->hw, min_rate, max_rate); in raspberrypi_clk_register()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.c134 u32 max_rate, u32 min_rate) in hinic_set_vf_tx_rate_max_min() argument
143 rate_cfg.min_rate = min_rate; in hinic_set_vf_tx_rate_max_min()
150 HW_VF_ID_TO_OS(vf_id), max_rate, min_rate, err, in hinic_set_vf_tx_rate_max_min()
157 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].min_rate = min_rate; in hinic_set_vf_tx_rate_max_min()
187 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].min_rate = 0; in hinic_set_vf_rate_limit()
193 u32 max_rate, u32 min_rate) in hinic_set_vf_tx_rate() argument
197 err = hinic_set_vf_tx_rate_max_min(hwdev, vf_id, max_rate, min_rate); in hinic_set_vf_tx_rate()
201 if (min_rate) { in hinic_set_vf_tx_rate()
244 vf_info->min_rate); in hinic_init_vf_config()
248 vf_info->min_rate); in hinic_init_vf_config()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_main.c405 u64 min_rate = mqprio->min_rate[i]; in aq_ndo_setup_tc() local
407 do_div(min_rate, AQ_MBPS_DIVISOR); in aq_ndo_setup_tc()
408 aq_nic_setup_tc_min_rate(aq_nic, i, (u32)min_rate); in aq_ndo_setup_tc()
/linux/net/sched/
A Dsch_mqprio.c26 u64 min_rate[TC_QOPT_MAX_QUEUE]; member
197 priv->min_rate[i] = *(u64 *)nla_data(attr); in mqprio_init()
259 mqprio.min_rate[i] = priv->min_rate[i]; in mqprio_init()
356 sizeof(priv->min_rate[i]), in dump_rates()
357 &priv->min_rate[i])) in dump_rates()
/linux/drivers/media/platform/qcom/camss/
A Dcamss-vfe.c455 u64 min_rate = 0; in vfe_set_clock_rates() local
473 if (min_rate < tmp) in vfe_set_clock_rates()
474 min_rate = tmp; in vfe_set_clock_rates()
477 camss_add_clock_margin(&min_rate); in vfe_set_clock_rates()
480 if (min_rate < clock->freq[j]) in vfe_set_clock_rates()
491 if (min_rate == 0) in vfe_set_clock_rates()
537 u64 min_rate = 0; in vfe_check_clock_rates() local
555 if (min_rate < tmp) in vfe_check_clock_rates()
556 min_rate = tmp; in vfe_check_clock_rates()
559 camss_add_clock_margin(&min_rate); in vfe_check_clock_rates()
[all …]
A Dcamss-csiphy.c145 u64 min_rate = link_freq / 4; in csiphy_set_clock_rates() local
148 camss_add_clock_margin(&min_rate); in csiphy_set_clock_rates()
151 if (min_rate < clock->freq[j]) in csiphy_set_clock_rates()
162 if (min_rate == 0) in csiphy_set_clock_rates()
A Dcamss-csid.c105 u64 min_rate = link_freq / 4; in csid_set_clock_rates() local
108 camss_add_clock_margin(&min_rate); in csid_set_clock_rates()
111 if (min_rate < clock->freq[j]) in csid_set_clock_rates()
122 if (min_rate == 0) in csid_set_clock_rates()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Drl.c165 return (rate <= table->max_rate && rate >= table->min_rate); in mlx5_rl_is_in_range()
255 rate, table->min_rate, table->max_rate); in mlx5_rl_add_rate_raw()
380 table->min_rate = MLX5_CAP_QOS(dev, packet_pacing_min_rate); in mlx5_init_rl_table()
384 table->min_rate >> 10, in mlx5_init_rl_table()
/linux/net/dccp/ccids/
A Dccid3.c117 __u64 min_rate = 2 * hc->tx_x_recv; in ccid3_hc_tx_update_x() local
128 min_rate = rfc3390_initial_rate(sk); in ccid3_hc_tx_update_x()
129 min_rate = max(min_rate, 2 * hc->tx_x_recv); in ccid3_hc_tx_update_x()
134 hc->tx_x = min(((__u64)hc->tx_x_calc) << 6, min_rate); in ccid3_hc_tx_update_x()
139 hc->tx_x = min(2 * hc->tx_x, min_rate); in ccid3_hc_tx_update_x()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_mqprio.c11 u64 min_rate = 0, max_rate = 0, max_link_rate; in cxgb4_mqprio_validate() local
77 min_rate += (mqprio->min_rate[i] * 8); in cxgb4_mqprio_validate()
84 if (min_rate > max_link_rate || max_rate > max_link_rate) { in cxgb4_mqprio_validate()
87 min_rate, max_rate, max_link_rate); in cxgb4_mqprio_validate()
341 p.u.params.minrate = div_u64(mqprio->min_rate[i] * 8, 1000); in cxgb4_mqprio_alloc_tc()
/linux/drivers/clk/at91/
A Dclk-generated.c137 unsigned long min_rate, parent_rate; in clk_generated_determine_rate() local
157 min_rate = DIV_ROUND_CLOSEST(parent_rate, GENERATED_MAX_DIV + 1); in clk_generated_determine_rate()
159 (gck->range.max && min_rate > gck->range.max)) in clk_generated_determine_rate()
/linux/drivers/clk/qcom/
A Dclk-hfpll.h27 unsigned long min_rate; member
/linux/include/linux/qed/
A Dqed_iov_if.h29 u32 min_rate, u32 max_rate);
/linux/drivers/clk/renesas/
A Dclk-div6.c122 max_div = req->min_rate ? min(prate / req->min_rate, 64UL) : 64; in cpg_div6_clock_determine_rate()

Completed in 76 milliseconds

1234