Home
last modified time | relevance | path

Searched refs:bw_tbl (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/media/platform/qcom/venus/
Dpm_helpers.c165 const struct bw_tbl *bw_tbl; in mbs_to_bw() local
176 bw_tbl = res->bw_tbl_enc; in mbs_to_bw()
179 bw_tbl = res->bw_tbl_dec; in mbs_to_bw()
184 if (!bw_tbl || num_rows == 0) in mbs_to_bw()
188 if (mbs > bw_tbl[i].mbs_per_sec) in mbs_to_bw()
192 *avg = bw_tbl[i].avg_10bit; in mbs_to_bw()
193 *peak = bw_tbl[i].peak_10bit; in mbs_to_bw()
195 *avg = bw_tbl[i].avg; in mbs_to_bw()
196 *peak = bw_tbl[i].peak; in mbs_to_bw()
Dcore.h46 struct bw_tbl { struct
58 const struct bw_tbl *bw_tbl_enc; argument
60 const struct bw_tbl *bw_tbl_dec;
Dcore.c474 static const struct bw_tbl sdm845_bw_table_enc[] = {
481 static const struct bw_tbl sdm845_bw_table_dec[] = {
550 static const struct bw_tbl sc7180_bw_table_enc[] = {
556 static const struct bw_tbl sc7180_bw_table_dec[] = {
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c295 cos_params[i].bw_tbl = DCBX_INVALID_COS_BW; in bnx2x_dcbx_get_ets_feature()
521 (DCBX_INVALID_COS_BW == ets->cos_params[0].bw_tbl)) || in bnx2x_dcbx_2cos_limit_update_ets_config()
523 (DCBX_INVALID_COS_BW == ets->cos_params[1].bw_tbl))) { in bnx2x_dcbx_2cos_limit_update_ets_config()
530 ets->cos_params[0].bw_tbl, in bnx2x_dcbx_2cos_limit_update_ets_config()
532 ets->cos_params[1].bw_tbl); in bnx2x_dcbx_2cos_limit_update_ets_config()
536 if ((DCBX_INVALID_COS_BW != ets->cos_params[0].bw_tbl) && in bnx2x_dcbx_2cos_limit_update_ets_config()
537 (DCBX_INVALID_COS_BW != ets->cos_params[1].bw_tbl)) { in bnx2x_dcbx_2cos_limit_update_ets_config()
538 u32 bw_tbl_0 = ets->cos_params[0].bw_tbl; in bnx2x_dcbx_2cos_limit_update_ets_config()
539 u32 bw_tbl_1 = ets->cos_params[1].bw_tbl; in bnx2x_dcbx_2cos_limit_update_ets_config()
578 if (ets->cos_params[i].bw_tbl != DCBX_INVALID_COS_BW) { in bnx2x_dcbx_update_ets_config()
[all …]
Dbnx2x_dcb.h39 u32 bw_tbl; member