| /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), 28 __field(u32, avg_bw) 38 __entry->avg_bw = avg_bw; 40 __entry->node_avg_bw = n->avg_bw; 48 __entry->avg_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 68 avg_bw = r->avg_bw; in icc_summary_show() 73 dev_name(r->dev), r->tag, avg_bw, peak_bw); in icc_summary_show() 96 seq_printf(s, "\n\t\t\t|avg_bw=%ukBps", n->avg_bw); in icc_graph_show_node() 275 u32 avg_bw, peak_bw; in aggregate_requests() local 277 node->avg_bw = 0; in aggregate_requests() 285 avg_bw = r->avg_bw; in aggregate_requests() 288 avg_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 | 71 static int icc_test_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in icc_test_aggregate() argument 74 return icc_std_aggregate(node, tag, avg_bw, peak_bw, agg_avg, agg_peak); in icc_test_aggregate() 216 KUNIT_EXPECT_EQ(test, path_nodes[0]->avg_bw, 1000); in icc_test_set_bw() 218 KUNIT_EXPECT_EQ(test, path_nodes[1]->avg_bw, 1000); in icc_test_set_bw() 225 KUNIT_EXPECT_EQ(test, path_nodes[0]->avg_bw, 0); in icc_test_set_bw() 252 KUNIT_EXPECT_EQ(test, bus->avg_bw, 1000); in icc_test_aggregation() 258 KUNIT_EXPECT_EQ(test, bus->avg_bw, 3000); in icc_test_aggregation() 281 bulk[0].avg_bw = 500; in icc_test_bulk_ops() 285 bulk[1].avg_bw = 600; in icc_test_bulk_ops() 291 KUNIT_EXPECT_EQ(test, get_node(priv, NODE_BUS)->avg_bw, 0); in icc_test_bulk_ops() [all …]
|
| H A D | debugfs-client.c | 28 static u32 avg_bw; variable 131 ret = icc_set_bw(cur_path, avg_bw, peak_bw); in icc_commit_set() 163 debugfs_create_u32("avg_bw", 0600, client_dir, &avg_bw); in icc_debugfs_client_init()
|
| H A D | internal.h | 28 u32 avg_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 | 30 .avg_bw = 0, 35 .avg_bw = 0, 40 .avg_bw = 6000, 45 .avg_bw = 6000, 50 .avg_bw = 533333, 55 .avg_bw = 533333, 60 .avg_bw = 533333, 123 ppe_dev->icc_paths[i].avg_bw = ppe_icc_data[i].avg_bw ? : in ppe_clock_init_and_reset()
|
| /linux/tools/writeback/ |
| H A D | wb_monitor.py | 65 'avg_wb' : self.avg_bw, } 109 self.avg_bw = int(K(wb.avg_write_bandwidth)) 115 self.avg_bw = 0 121 self.avg_bw += wb_stats.avg_bw
|
| /linux/include/linux/ |
| H A D | interconnect-provider.h | 64 int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw, 108 u32 avg_bw; member 117 int icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, 136 static inline int icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in icc_std_aggregate() argument
|
| H A D | interconnect.h | 40 u32 avg_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 | 225 u32 avg_bw; in _dpu_core_perf_crtc_update_bus() local 232 avg_bw = 0; in _dpu_core_perf_crtc_update_bus() 235 avg_bw = kms->perf.fix_core_ab_vote; in _dpu_core_perf_crtc_update_bus() 240 avg_bw = div_u64(perf.bw_ctl, 1000); /*Bps_to_icc*/ in _dpu_core_perf_crtc_update_bus() 244 avg_bw /= kms->num_paths; 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/memory/tegra/ |
| H A D | tegra264.c | 231 bwmgr_req.bwmgr_calc_set_req.niso_bw = src->avg_bw; in tegra264_mc_icc_set() 233 bwmgr_req.bwmgr_calc_set_req.iso_bw = src->avg_bw; in tegra264_mc_icc_set() 263 static int tegra264_mc_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in tegra264_mc_icc_aggregate() argument 272 *agg_avg += avg_bw; in tegra264_mc_icc_aggregate()
|
| H A D | tegra234.c | 1062 bwmgr_req.bwmgr_calc_set_req.niso_bw = src->avg_bw; in tegra234_mc_icc_set() 1064 bwmgr_req.bwmgr_calc_set_req.iso_bw = src->avg_bw; in tegra234_mc_icc_set() 1098 static int tegra234_mc_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in tegra234_mc_icc_aggregate() argument 1114 *agg_avg += avg_bw; in tegra234_mc_icc_aggregate()
|
| H A D | tegra20-emc.c | 982 unsigned long long avg_bw = icc_units_to_bps(dst->avg_bw); in emc_icc_set() local 983 unsigned long long rate = max(avg_bw, peak_bw); in emc_icc_set()
|
| H A D | tegra20.c | 374 static int tegra20_mc_icc_aggreate(struct icc_node *node, u32 tag, u32 avg_bw, in tegra20_mc_icc_aggreate() argument 386 *agg_avg += avg_bw; in tegra20_mc_icc_aggreate()
|
| H A D | tegra124.c | 1154 static int tegra124_mc_icc_aggreate(struct icc_node *node, u32 tag, u32 avg_bw, in tegra124_mc_icc_aggreate() argument 1166 *agg_avg += avg_bw; in tegra124_mc_icc_aggreate()
|
| /linux/drivers/interconnect/mediatek/ |
| H A D | icc-emi.c | 21 static int mtk_emi_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in mtk_emi_icc_aggregate() argument 26 if (check_add_overflow(*agg_avg, avg_bw, agg_avg)) 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/qcom/ |
| H A D | icc-rpmh.c | 84 int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in qcom_icc_aggregate() argument 97 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate() 107 *agg_avg += avg_bw; in qcom_icc_aggregate()
|
| H A D | icc-rpmh.h | 159 int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw,
|
| H A D | icc-rpm.c | 271 static int qcom_icc_bw_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in qcom_icc_bw_aggregate() argument 284 qn->sum_avg[i] += avg_bw; in qcom_icc_bw_aggregate() 289 *agg_avg += avg_bw; in qcom_icc_bw_aggregate()
|
| /linux/drivers/interconnect/imx/ |
| H A D | imx.c | 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/Documentation/driver-api/ |
| H A D | interconnect.rst | 134 echo 1000000 > avg_bw 137 # Vote for avg_bw and peak_bw on the latest path from "get".
|
| /linux/include/soc/tegra/ |
| H A D | mc.h | 147 int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw,
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_power.c | 66 interconnect->avg_bw = data->average_bandwidth; in ipa_interconnect_init()
|