Lines Matching refs:help_data
42 struct pg_help_data *help_data);
44 struct pg_help_data *help_data,
1118 struct pg_help_data *help_data) in bnx2x_dcbx_get_num_pg_traf_type() argument
1123 struct pg_entry_help_data *data = help_data->data; /*shortcut*/ in bnx2x_dcbx_get_num_pg_traf_type()
1149 data[help_data->num_of_pg].pg = add_pg; in bnx2x_dcbx_get_num_pg_traf_type()
1150 data[help_data->num_of_pg].pg_priority = in bnx2x_dcbx_get_num_pg_traf_type()
1152 data[help_data->num_of_pg].num_of_dif_pri = 1; in bnx2x_dcbx_get_num_pg_traf_type()
1153 help_data->num_of_pg++; in bnx2x_dcbx_get_num_pg_traf_type()
1159 help_data->num_of_pg); in bnx2x_dcbx_get_num_pg_traf_type()
1573 struct pg_help_data *help_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params() argument
1583 switch (help_data->num_of_pg) { in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1587 help_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1595 help_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1606 help_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1693 struct pg_help_data *help_data, in bnx2x_dcbx_cee_fill_cos_params() argument
1708 if (help_data->num_of_pg > DCBX_COS_MAX_NUM_E3B0) { in bnx2x_dcbx_cee_fill_cos_params()
1709 if (bnx2x_dcbx_join_pgs(bp, ets, help_data, in bnx2x_dcbx_cee_fill_cos_params()
1718 for (i = 0 ; i < help_data->num_of_pg; i++) { in bnx2x_dcbx_cee_fill_cos_params()
1719 struct pg_entry_help_data *pg = &help_data->data[i]; in bnx2x_dcbx_cee_fill_cos_params()
1735 help_data->num_of_pg + 1); in bnx2x_dcbx_cee_fill_cos_params()
1750 struct pg_help_data *help_data, in bnx2x_dcbx_fill_cos_params() argument
1762 for (i = 0; i < help_data->num_of_pg ; i++) { in bnx2x_dcbx_fill_cos_params()
1763 if (DCBX_STRICT_PRIORITY != help_data->data[i].pg && in bnx2x_dcbx_fill_cos_params()
1764 DCBX_MAX_NUM_PG_BW_ENTRIES <= help_data->data[i].pg) in bnx2x_dcbx_fill_cos_params()
1766 help_data->data[i].pg); in bnx2x_dcbx_fill_cos_params()
1767 pri_join_mask |= help_data->data[i].pg_priority; in bnx2x_dcbx_fill_cos_params()
1768 num_of_dif_pri += help_data->data[i].num_of_dif_pri; in bnx2x_dcbx_fill_cos_params()
1781 bnx2x_dcbx_cee_fill_cos_params(bp, help_data, ets, in bnx2x_dcbx_fill_cos_params()
1785 help_data, ets, in bnx2x_dcbx_fill_cos_params()