Home
last modified time | relevance | path

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

/linux/drivers/media/platform/qcom/venus/
H A Dcore.c648 static const struct bw_tbl sdm660_bw_table_enc[] = {
658 static const struct bw_tbl sdm660_bw_table_dec[] = {
705 static const struct bw_tbl sdm845_bw_table_enc[] = {
712 static const struct bw_tbl sdm845_bw_table_dec[] = {
779 static const struct bw_tbl sc7180_bw_table_enc[] = {
785 static const struct bw_tbl sc7180_bw_table_dec[] = {
826 static const struct bw_tbl sm8250_bw_table_enc[] = {
833 static const struct bw_tbl sm8250_bw_table_dec[] = {
882 static const struct bw_tbl sc7280_bw_table_enc[] = {
889 static const struct bw_tbl sc7280_bw_table_dec[] = {
H A Dpm_helpers.c179 const struct bw_tbl *bw_tbl; in mbs_to_bw() local
190 bw_tbl = res->bw_tbl_enc; in mbs_to_bw()
193 bw_tbl = res->bw_tbl_dec; in mbs_to_bw()
198 if (!bw_tbl || num_rows == 0) in mbs_to_bw()
202 if (i != 0 && mbs > bw_tbl[i].mbs_per_sec) in mbs_to_bw()
206 *avg = bw_tbl[i].avg_10bit; in mbs_to_bw()
207 *peak = bw_tbl[i].peak_10bit; in mbs_to_bw()
209 *avg = bw_tbl[i].avg; in mbs_to_bw()
210 *peak = bw_tbl[i].peak; in mbs_to_bw()
H A Dcore.h42 struct bw_tbl { struct
62 const struct bw_tbl *bw_tbl_enc; argument
64 const struct bw_tbl *bw_tbl_dec;
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c295 cos_params[i].bw_tbl = DCBX_INVALID_COS_BW; in bnx2x_dcbx_get_ets_feature()
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()
593 (u8)ets->cos_params[i].bw_tbl; in bnx2x_dcbx_update_ets_config()
1796 p->bw_tbl = cos_data.data[i].cos_bw; in bnx2x_dcbx_fill_cos_params()
[all …]
H A Dbnx2x_dcb.h39 u32 bw_tbl; member