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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c946 * Invalidate all the sp_pri_to_cos.
949 static void bnx2x_ets_e3b0_sp_pri_to_cos_init(u8 *sp_pri_to_cos) bnx2x_ets_e3b0_sp_pri_to_cos_init() argument
953 sp_pri_to_cos[pri] = DCBX_INVALID_COS; bnx2x_ets_e3b0_sp_pri_to_cos_init()
958 * according to sp_pri_to_cos.
962 u8 *sp_pri_to_cos, const u8 pri, bnx2x_ets_e3b0_sp_pri_to_cos_set()
976 if (sp_pri_to_cos[pri] != DCBX_INVALID_COS) { bnx2x_ets_e3b0_sp_pri_to_cos_set()
983 sp_pri_to_cos[pri] = cos_entry; bnx2x_ets_e3b0_sp_pri_to_cos_set()
1040 * according to sp_pri_to_cos.(which COS has higher priority)
1044 u8 *sp_pri_to_cos) bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1061 if (sp_pri_to_cos[i] != DCBX_INVALID_COS) { bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1062 if (sp_pri_to_cos[i] >= DCBX_MAX_NUM_COS) { bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1070 sp_pri_to_cos[i], pri_set); bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1073 sp_pri_to_cos[i], pri_set); bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1074 pri_bitmask = 1 << sp_pri_to_cos[i]; bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1148 u8 sp_pri_to_cos[DCBX_MAX_NUM_COS] = {0}; bnx2x_ets_e3b0_config() local
1166 bnx2x_ets_e3b0_sp_pri_to_cos_init(sp_pri_to_cos); bnx2x_ets_e3b0_config()
1201 sp_pri_to_cos, bnx2x_ets_e3b0_config()
1219 sp_pri_to_cos); bnx2x_ets_e3b0_config()
961 bnx2x_ets_e3b0_sp_pri_to_cos_set(const struct link_params *params, u8 *sp_pri_to_cos, const u8 pri, const u8 cos_entry) bnx2x_ets_e3b0_sp_pri_to_cos_set() argument
1043 bnx2x_ets_e3b0_sp_set_pri_cli_reg(const struct link_params *params, u8 *sp_pri_to_cos) bnx2x_ets_e3b0_sp_set_pri_cli_reg() argument

Completed in 93 milliseconds