Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/interconnect/
H A Dtrace.h20 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 Dcore.c40 n->name, n->avg_bw, n->peak_bw); in icc_summary_show_one()
60 u32 avg_bw = 0, peak_bw = 0; in icc_summary_show() local
66 avg_bw = r->avg_bw; in icc_summary_show()
71 dev_name(r->dev), r->tag, avg_bw, peak_bw); in icc_summary_show()
94 seq_printf(s, "\n\t\t\t|avg_bw=%ukBps", n->avg_bw); in icc_graph_show_node()
273 u32 avg_bw, peak_bw; in aggregate_requests() local
275 node->avg_bw = 0; in aggregate_requests()
283 avg_bw = r->avg_bw; in aggregate_requests()
286 avg_bw = 0; in aggregate_requests()
289 p->aggregate(node, r->tag, avg_bw, peak_bw, in aggregate_requests()
[all …]
H A Ddebugfs-client.c28 static u32 avg_bw; variable
126 ret = icc_set_bw(cur_path, avg_bw, peak_bw); in icc_commit_set()
153 debugfs_create_u32("avg_bw", 0600, client_dir, &avg_bw); in icc_debugfs_client_init()
H A Dinternal.h28 u32 avg_bw; member
H A Dbulk.c68 ret = icc_set_bw(paths[i].path, paths[i].avg_bw, paths[i].peak_bw); in icc_bulk_set_bw()
/openbmc/linux/include/linux/
H A Dinterconnect-provider.h64 int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw,
107 u32 avg_bw; member
116 int icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw,
132 static inline int icc_std_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in icc_std_aggregate() argument
H A Dinterconnect.h37 u32 avg_bw; member
50 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
93 static inline int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) in icc_set_bw() argument
/openbmc/linux/drivers/interconnect/qcom/
H A Dicc-rpmh.c49 int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in qcom_icc_aggregate() argument
62 qn->sum_avg[i] += avg_bw; in qcom_icc_aggregate()
72 *agg_avg += avg_bw; in qcom_icc_aggregate()
H A Dicc-rpmh.h123 int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw,
H A Dicc-rpm.c271 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()
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c216 u64 avg_bw; in _dpu_core_perf_crtc_update_bus() local
238 avg_bw = perf.bw_ctl; in _dpu_core_perf_crtc_update_bus()
239 do_div(avg_bw, (kms->num_paths * 1000)); /*Bps_to_icc*/ in _dpu_core_perf_crtc_update_bus()
242 icc_set_bw(kms->path[i], avg_bw, perf.max_per_pipe_ib); in _dpu_core_perf_crtc_update_bus()
/openbmc/linux/drivers/interconnect/samsung/
H A Dexynos.c64 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()
/openbmc/linux/drivers/memory/tegra/
H A Dtegra234.c972 bwmgr_req.bwmgr_calc_set_req.niso_bw = src->avg_bw; in tegra234_mc_icc_set()
974 bwmgr_req.bwmgr_calc_set_req.iso_bw = src->avg_bw; in tegra234_mc_icc_set()
1008 static int tegra234_mc_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, in tegra234_mc_icc_aggregate() argument
1024 *agg_avg += avg_bw; in tegra234_mc_icc_aggregate()
H A Dtegra20-emc.c985 unsigned long long avg_bw = icc_units_to_bps(dst->avg_bw); in emc_icc_set() local
986 unsigned long long rate = max(avg_bw, peak_bw); in emc_icc_set()
H A Dtegra20.c374 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 Dtegra124.c1154 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()
H A Dtegra124-emc.c1320 unsigned long long avg_bw = icc_units_to_bps(dst->avg_bw); in emc_icc_set() local
1321 unsigned long long rate = max(avg_bw, peak_bw); in emc_icc_set()
/openbmc/linux/drivers/interconnect/imx/
H A Dimx.c70 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()
/openbmc/linux/Documentation/driver-api/
H A Dinterconnect.rst134 echo 1000000 > avg_bw
137 # Vote for avg_bw and peak_bw on the latest path from "get".
/openbmc/linux/include/soc/tegra/
H A Dmc.h170 int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw,
/openbmc/linux/drivers/soc/qcom/
H A Dqcom-geni-se.c839 se->icc_paths[i].avg_bw, se->icc_paths[i].avg_bw); in geni_icc_set_bw()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-qcom-geni.c842 gi2c->se.icc_paths[GENI_TO_CORE].avg_bw = GENI_DEFAULT_BW; in geni_i2c_probe()
843 gi2c->se.icc_paths[CPU_TO_GENI].avg_bw = GENI_DEFAULT_BW; in geni_i2c_probe()
845 gi2c->se.icc_paths[GENI_TO_DDR].avg_bw = Bps_to_icc(gi2c->clk_freq_out); in geni_i2c_probe()
/openbmc/linux/drivers/net/ipa/
H A Dipa_power.c86 interconnect->avg_bw = data->average_bandwidth; in ipa_interconnect_init()
/openbmc/linux/drivers/tty/serial/
H A Dqcom_geni_serial.c1285 port->se.icc_paths[GENI_TO_CORE].avg_bw = avg_bw_core; in qcom_geni_serial_set_termios()
1286 port->se.icc_paths[CPU_TO_GENI].avg_bw = Bps_to_icc(baud); in qcom_geni_serial_set_termios()
1665 port->se.icc_paths[GENI_TO_CORE].avg_bw = GENI_DEFAULT_BW; in qcom_geni_serial_probe()
1666 port->se.icc_paths[CPU_TO_GENI].avg_bw = GENI_DEFAULT_BW; in qcom_geni_serial_probe()
/openbmc/linux/drivers/spi/
H A Dspi-geni-qcom.c389 se->icc_paths[CPU_TO_GENI].avg_bw = Bps_to_icc(mas->cur_speed_hz); in geni_spi_set_clock_and_bw()
1126 mas->se.icc_paths[GENI_TO_CORE].avg_bw = Bps_to_icc(CORE_2X_50_MHZ); in spi_geni_probe()
1127 mas->se.icc_paths[CPU_TO_GENI].avg_bw = GENI_DEFAULT_BW; in spi_geni_probe()

12