| /linux/drivers/interconnect/ |
| H A D | trace.h | 20 u32 avg_bw, u32 peak_bw), 22 TP_ARGS(p, n, i, avg_bw, peak_bw), 29 __field(u32, peak_bw) 39 __entry->peak_bw = peak_bw; 41 __entry->node_peak_bw = n->peak_bw; 49 __entry->peak_bw,
|
| H A D | core.c | 42 n->name, n->avg_bw, n->peak_bw); in icc_summary_show_one() 62 u32 avg_bw = 0, peak_bw = 0; in icc_summary_show() local 69 peak_bw = r->peak_bw; in icc_summary_show() 73 dev_name(r->dev), r->tag, avg_bw, peak_bw); in icc_summary_show() 97 seq_printf(s, "\n\t\t\t|peak_bw=%ukBps", n->peak_bw); in icc_graph_show_node() 275 u32 avg_bw, peak_bw; in aggregate_requests() local 278 node->peak_bw = 0; in aggregate_requests() 286 peak_bw = r->peak_bw; in aggregate_requests() 289 peak_bw = 0; in aggregate_requests() 291 p->aggregate(node, r->tag, avg_bw, peak_bw, in aggregate_requests() [all …]
|
| H A D | icc-kunit.c | 72 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in icc_test_aggregate() argument 74 return icc_std_aggregate(node, tag, avg_bw, peak_bw, agg_avg, agg_peak); in icc_test_aggregate() 217 KUNIT_EXPECT_EQ(test, path_nodes[0]->peak_bw, 2000); in icc_test_set_bw() 219 KUNIT_EXPECT_EQ(test, path_nodes[1]->peak_bw, 2000); in icc_test_set_bw() 260 KUNIT_EXPECT_EQ(test, bus->peak_bw, 2000); in icc_test_aggregation() 282 bulk[0].peak_bw = 500; in icc_test_bulk_ops() 286 bulk[1].peak_bw = 600; in icc_test_bulk_ops()
|
| H A D | debugfs-client.c | 29 static u32 peak_bw; variable 131 ret = icc_set_bw(cur_path, avg_bw, peak_bw); in icc_commit_set() 164 debugfs_create_u32("peak_bw", 0600, client_dir, &peak_bw); in icc_debugfs_client_init()
|
| H A D | icc-clk.c | 33 if (!src->peak_bw) { in icc_clk_set() 48 return clk_set_rate(qn->clk, icc_units_to_bps(src->peak_bw)); in icc_clk_set()
|
| H A D | internal.h | 29 u32 peak_bw; member
|
| H A D | bulk.c | 68 ret = icc_set_bw(paths[i].path, paths[i].avg_bw, paths[i].peak_bw); in icc_bulk_set_bw()
|
| /linux/drivers/net/ethernet/qualcomm/ppe/ |
| H A D | ppe.c | 31 .peak_bw = 0, 36 .peak_bw = 0, 41 .peak_bw = 6000, 46 .peak_bw = 6000, 51 .peak_bw = 533333, 56 .peak_bw = 533333, 61 .peak_bw = 533333, 130 ppe_dev->icc_paths[i].peak_bw = ppe_icc_data[i].peak_bw ? : in ppe_clock_init_and_reset()
|
| /linux/include/linux/ |
| H A D | interconnect-provider.h | 65 u32 peak_bw, u32 *agg_avg, u32 *agg_peak); 109 u32 peak_bw; member 118 u32 peak_bw, u32 *agg_avg, u32 *agg_peak); 137 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in icc_std_aggregate() argument
|
| H A D | interconnect.h | 41 u32 peak_bw; member 53 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw); 96 static inline int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) in icc_set_bw() argument
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_core_perf.c | 226 u32 peak_bw; in _dpu_core_perf_crtc_update_bus() local 233 peak_bw = 0; in _dpu_core_perf_crtc_update_bus() 236 peak_bw = kms->perf.fix_core_ib_vote; in _dpu_core_perf_crtc_update_bus() 241 peak_bw = perf.max_per_pipe_ib; in _dpu_core_perf_crtc_update_bus() 247 icc_set_bw(kms->path[i], avg_bw, peak_bw); in _dpu_core_perf_crtc_update_bus()
|
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_dp_dpia_bw.c | 306 void dpia_handle_usb4_bandwidth_allocation_for_link(struct dc_link *link, int peak_bw) in dpia_handle_usb4_bandwidth_allocation_for_link() argument 310 if (peak_bw > 0) { in dpia_handle_usb4_bandwidth_allocation_for_link() 312 link->dpia_bw_alloc_config.link_max_bw = peak_bw; in dpia_handle_usb4_bandwidth_allocation_for_link() 314 link_dpia_send_bw_alloc_request(link, peak_bw); in dpia_handle_usb4_bandwidth_allocation_for_link()
|
| H A D | link_dp_dpia_bw.h | 80 void dpia_handle_usb4_bandwidth_allocation_for_link(struct dc_link *link, int peak_bw);
|
| /linux/drivers/memory/tegra/ |
| H A D | tegra264.c | 238 bwmgr_req.bwmgr_calc_set_req.mc_floor = src->peak_bw; in tegra264_mc_icc_set() 264 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in tegra264_mc_icc_aggregate() argument 273 *agg_peak = max(*agg_peak, peak_bw); in tegra264_mc_icc_aggregate()
|
| H A D | tegra234.c | 1069 bwmgr_req.bwmgr_calc_set_req.mc_floor = src->peak_bw; in tegra234_mc_icc_set() 1099 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in tegra234_mc_icc_aggregate() argument 1111 peak_bw = peak_bw * mc->num_channels; in tegra234_mc_icc_aggregate() 1115 *agg_peak = max(*agg_peak, peak_bw); in tegra234_mc_icc_aggregate()
|
| H A D | tegra30.c | 1295 u64 peak_bandwidth = icc_units_to_bps(src->peak_bw); in tegra30_mc_icc_set() 1317 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in tegra30_mc_icc_aggreate() argument 1326 peak_bw = tegra_mc_scale_percents(peak_bw, 400); in tegra30_mc_icc_aggreate() 1329 *agg_peak = max(*agg_peak, peak_bw); in tegra30_mc_icc_aggreate()
|
| H A D | tegra20.c | 375 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in tegra20_mc_icc_aggreate() argument 384 peak_bw = tegra_mc_scale_percents(peak_bw, 300); in tegra20_mc_icc_aggreate() 387 *agg_peak = max(*agg_peak, peak_bw); in tegra20_mc_icc_aggreate()
|
| H A D | tegra124.c | 1155 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in tegra124_mc_icc_aggreate() argument 1164 peak_bw = tegra_mc_scale_percents(peak_bw, 400); in tegra124_mc_icc_aggreate() 1167 *agg_peak = max(*agg_peak, peak_bw); in tegra124_mc_icc_aggreate()
|
| /linux/drivers/interconnect/mediatek/ |
| H A D | icc-emi.c | 22 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in mtk_emi_icc_aggregate() argument 29 *agg_peak = max_t(u32, *agg_peak, peak_bw); in mtk_emi_icc_aggregate()
|
| /linux/drivers/interconnect/samsung/ |
| H A D | exynos.c | 64 s32 src_freq = max(src->avg_bw, src->peak_bw) / src_priv->bus_clk_ratio; in exynos_generic_icc_set() 65 s32 dst_freq = max(dst->avg_bw, dst->peak_bw) / dst_priv->bus_clk_ratio; in exynos_generic_icc_set()
|
| /linux/drivers/interconnect/imx/ |
| H A D | imx.c | 47 if (node_data->setting && node->peak_bw) { in imx_icc_node_set() 70 freq = (node->avg_bw + node->peak_bw) * node_data->desc->adj->bw_mul; in imx_icc_node_set() 74 node->avg_bw, node->peak_bw, freq); in imx_icc_node_set()
|
| /linux/drivers/interconnect/qcom/ |
| H A D | icc-rpmh.c | 85 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in qcom_icc_aggregate() argument 98 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate() 108 *agg_peak = max_t(u32, *agg_peak, peak_bw); in qcom_icc_aggregate()
|
| H A D | icc-rpmh.h | 160 u32 peak_bw, u32 *agg_avg, u32 *agg_peak);
|
| H A D | icc-rpm.c | 272 u32 peak_bw, u32 *agg_avg, u32 *agg_peak) in qcom_icc_bw_aggregate() argument 285 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_bw_aggregate() 290 *agg_peak = max_t(u32, *agg_peak, peak_bw); in qcom_icc_bw_aggregate()
|
| /linux/Documentation/driver-api/ |
| H A D | interconnect.rst | 135 echo 2000000 > peak_bw 137 # Vote for avg_bw and peak_bw on the latest path from "get".
|