Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dpm_helpers.c163 const struct bw_tbl *bw_tbl; in mbs_to_bw() local
174 bw_tbl = res->bw_tbl_enc; in mbs_to_bw()
177 bw_tbl = res->bw_tbl_dec; in mbs_to_bw()
182 if (!bw_tbl || num_rows == 0) in mbs_to_bw()
186 if (mbs > bw_tbl[i].mbs_per_sec) in mbs_to_bw()
190 *avg = bw_tbl[i].avg_10bit; in mbs_to_bw()
191 *peak = bw_tbl[i].peak_10bit; in mbs_to_bw()
193 *avg = bw_tbl[i].avg; in mbs_to_bw()
194 *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.c530 static const struct bw_tbl sdm845_bw_table_enc[] = {
537 static const struct bw_tbl sdm845_bw_table_dec[] = {
606 static const struct bw_tbl sc7180_bw_table_enc[] = {
612 static const struct bw_tbl sc7180_bw_table_dec[] = {
/kernel/linux/linux-5.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