Searched refs:pg_help_data (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c40 struct pg_help_data *help_data);
42 struct pg_help_data *help_data,
248 struct pg_help_data pg_help_data; bnx2x_dcbx_get_ets_feature() local
252 memset(&pg_help_data, 0, sizeof(struct pg_help_data)); bnx2x_dcbx_get_ets_feature()
280 &pg_help_data); bnx2x_dcbx_get_ets_feature()
282 bnx2x_dcbx_fill_cos_params(bp, &pg_help_data, bnx2x_dcbx_get_ets_feature()
1087 struct pg_help_data *help_data) bnx2x_dcbx_get_num_pg_traf_type()
1203 struct pg_help_data *pg_help_data, bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1218 if (pg_help_data->data[0].pg < DCBX_MAX_NUM_PG_BW_ENTRIES) { bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1337 struct pg_help_data *pg_help_data, bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1353 pg_help_data->data[0].pg_priority) || bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1355 pg_help_data->data[1].pg_priority)) { bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1370 pg_help_data->data[0].pg_priority)) { bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1373 pg_help_data->data[0].pg_priority; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1374 pg[0] = pg_help_data->data[0].pg; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1376 pg_help_data->data[1].pg_priority; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1377 pg[1] = pg_help_data->data[1].pg; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1380 pg_help_data->data[1].pg_priority; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1381 pg[0] = pg_help_data->data[1].pg; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1383 pg_help_data->data[0].pg_priority; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1384 pg[1] = pg_help_data->data[0].pg; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1393 pg_help_data->data[0].pg_priority; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1394 pg[0] = pg_help_data->data[0].pg; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1396 pg_help_data->data[1].pg_priority; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1397 pg[1] = pg_help_data->data[1].pg; bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1414 struct pg_help_data *pg_help_data, bnx2x_dcbx_join_pgs()
1417 u8 entry_joined = pg_help_data->num_of_pg - 1; bnx2x_dcbx_join_pgs()
1421 if (required_num_of_pg == 0 || ARRAY_SIZE(pg_help_data->data) bnx2x_dcbx_join_pgs()
1422 <= pg_help_data->num_of_pg) { bnx2x_dcbx_join_pgs()
1428 while (required_num_of_pg < pg_help_data->num_of_pg) { bnx2x_dcbx_join_pgs()
1429 entry_joined = pg_help_data->num_of_pg - 2; bnx2x_dcbx_join_pgs()
1432 entry_removed %= ARRAY_SIZE(pg_help_data->data); bnx2x_dcbx_join_pgs()
1434 pg_help_data->data[entry_joined].pg_priority |= bnx2x_dcbx_join_pgs()
1435 pg_help_data->data[entry_removed].pg_priority; bnx2x_dcbx_join_pgs()
1437 pg_help_data->data[entry_joined].num_of_dif_pri += bnx2x_dcbx_join_pgs()
1438 pg_help_data->data[entry_removed].num_of_dif_pri; bnx2x_dcbx_join_pgs()
1440 if (pg_help_data->data[entry_joined].pg == DCBX_STRICT_PRI_PG || bnx2x_dcbx_join_pgs()
1441 pg_help_data->data[entry_removed].pg == DCBX_STRICT_PRI_PG) bnx2x_dcbx_join_pgs()
1443 pg_help_data->data[entry_joined].pg = bnx2x_dcbx_join_pgs()
1448 pg_help_data->data[entry_joined].pg) + bnx2x_dcbx_join_pgs()
1450 pg_help_data->data[entry_removed].pg); bnx2x_dcbx_join_pgs()
1453 pg_help_data->data[entry_joined].pg, pg_joined); bnx2x_dcbx_join_pgs()
1456 pg_help_data->num_of_pg--; bnx2x_dcbx_join_pgs()
1464 struct pg_help_data *pg_help_data, bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1543 struct pg_help_data *help_data, bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1584 BNX2X_ERR("Wrong pg_help_data.num_of_pg\n"); bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1663 struct pg_help_data *help_data, bnx2x_dcbx_cee_fill_cos_params()
1720 struct pg_help_data *help_data, bnx2x_dcbx_fill_cos_params()
1202 bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params(struct bnx2x *bp, struct pg_help_data *pg_help_data, struct cos_help_data *cos_data, u32 pri_join_mask, u8 num_of_dif_pri) bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params() argument
1335 bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params( struct bnx2x *bp, struct pg_help_data *pg_help_data, struct dcbx_ets_feature *ets, struct cos_help_data *cos_data, u32 *pg_pri_orginal_spread, u32 pri_join_mask, u8 num_of_dif_pri) bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() argument
1411 bnx2x_dcbx_join_pgs( struct bnx2x *bp, struct dcbx_ets_feature *ets, struct pg_help_data *pg_help_data, u8 required_num_of_pg) bnx2x_dcbx_join_pgs() argument
1462 bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params( struct bnx2x *bp, struct pg_help_data *pg_help_data, struct dcbx_ets_feature *ets, struct cos_help_data *cos_data, u32 *pg_pri_orginal_spread, u32 pri_join_mask, u8 num_of_dif_pri) bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params() argument
H A Dbnx2x_dcb.h177 struct pg_help_data { struct

Completed in 170 milliseconds