Lines Matching refs:pg_help_data
42 struct pg_help_data *help_data);
44 struct pg_help_data *help_data,
254 struct pg_help_data pg_help_data; in bnx2x_dcbx_get_ets_feature() local
258 memset(&pg_help_data, 0, sizeof(struct pg_help_data)); in bnx2x_dcbx_get_ets_feature()
287 &pg_help_data); in bnx2x_dcbx_get_ets_feature()
289 bnx2x_dcbx_fill_cos_params(bp, &pg_help_data, in bnx2x_dcbx_get_ets_feature()
1056 struct pg_help_data *help_data) in bnx2x_dcbx_get_num_pg_traf_type()
1172 struct pg_help_data *pg_help_data, in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params() argument
1187 if (pg_help_data->data[0].pg < DCBX_MAX_NUM_PG_BW_ENTRIES) { in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1306 struct pg_help_data *pg_help_data, in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() argument
1322 pg_help_data->data[0].pg_priority) || in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1324 pg_help_data->data[1].pg_priority)) { in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1339 pg_help_data->data[0].pg_priority)) { in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1342 pg_help_data->data[0].pg_priority; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1343 pg[0] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1345 pg_help_data->data[1].pg_priority; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1346 pg[1] = pg_help_data->data[1].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1349 pg_help_data->data[1].pg_priority; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1350 pg[0] = pg_help_data->data[1].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1352 pg_help_data->data[0].pg_priority; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1353 pg[1] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1362 pg_help_data->data[0].pg_priority; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1363 pg[0] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1365 pg_help_data->data[1].pg_priority; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1366 pg[1] = pg_help_data->data[1].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1383 struct pg_help_data *pg_help_data, in bnx2x_dcbx_join_pgs() argument
1386 u8 entry_joined = pg_help_data->num_of_pg - 1; in bnx2x_dcbx_join_pgs()
1390 if (required_num_of_pg == 0 || ARRAY_SIZE(pg_help_data->data) in bnx2x_dcbx_join_pgs()
1391 <= pg_help_data->num_of_pg) { in bnx2x_dcbx_join_pgs()
1397 while (required_num_of_pg < pg_help_data->num_of_pg) { in bnx2x_dcbx_join_pgs()
1398 entry_joined = pg_help_data->num_of_pg - 2; in bnx2x_dcbx_join_pgs()
1401 entry_removed %= ARRAY_SIZE(pg_help_data->data); in bnx2x_dcbx_join_pgs()
1403 pg_help_data->data[entry_joined].pg_priority |= in bnx2x_dcbx_join_pgs()
1404 pg_help_data->data[entry_removed].pg_priority; in bnx2x_dcbx_join_pgs()
1406 pg_help_data->data[entry_joined].num_of_dif_pri += in bnx2x_dcbx_join_pgs()
1407 pg_help_data->data[entry_removed].num_of_dif_pri; in bnx2x_dcbx_join_pgs()
1409 if (pg_help_data->data[entry_joined].pg == DCBX_STRICT_PRI_PG || in bnx2x_dcbx_join_pgs()
1410 pg_help_data->data[entry_removed].pg == DCBX_STRICT_PRI_PG) in bnx2x_dcbx_join_pgs()
1412 pg_help_data->data[entry_joined].pg = in bnx2x_dcbx_join_pgs()
1417 pg_help_data->data[entry_joined].pg) + in bnx2x_dcbx_join_pgs()
1419 pg_help_data->data[entry_removed].pg); in bnx2x_dcbx_join_pgs()
1422 pg_help_data->data[entry_joined].pg, pg_joined); in bnx2x_dcbx_join_pgs()
1425 pg_help_data->num_of_pg--; in bnx2x_dcbx_join_pgs()
1433 struct pg_help_data *pg_help_data, in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params() argument
1511 struct pg_help_data *help_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1633 struct pg_help_data *help_data, in bnx2x_dcbx_cee_fill_cos_params()
1690 struct pg_help_data *help_data, in bnx2x_dcbx_fill_cos_params()