Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1364 #define BP_VN(bp) ((bp)->pfid >> 1) macro
1366 #define BP_L_ID(bp) (BP_VN(bp) << 2)
1369 #define BP_FW_MB_IDX(bp) BP_FW_MB_IDX_VN(bp, BP_VN(bp))
2202 BP_VN(bp))
2237 (BP_VN(bp) << BNX2X_SWCID_SHIFT) | \
2442 ((bp)->mf_config[BP_VN(bp)] & FUNC_MF_CFG_PROTOCOL_MASK)
Dbnx2x_main.c505 opcode |= ((BP_VN(bp) << DMAE_CMD_E1HVN_SHIFT) | in bnx2x_dmae_opcode()
506 (BP_VN(bp) << DMAE_COMMAND_DST_VN_SHIFT)); in bnx2x_dmae_opcode()
1619 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_hc_int_enable()
1680 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_igu_int_enable()
2563 if (bp->mf_config[BP_VN(bp)] & FUNC_MF_CFG_FUNC_DISABLED) { in bnx2x_read_mf_cfg()
2858 bp->mf_config[BP_VN(bp)] = mf_config; in bnx2x_handle_afex_cmd()
2872 bp->mf_config[BP_VN(bp)] = mf_config; in bnx2x_handle_afex_cmd()
2874 bnx2x_calc_vn_max(bp, BP_VN(bp), &cmng_input); in bnx2x_handle_afex_cmd()
2876 cmng_input.vnic_max_rate[BP_VN(bp)]; in bnx2x_handle_afex_cmd()
3002 val = (0xff0f | (1 << (BP_VN(bp) + 4))); in bnx2x_pmf_update()
[all …]
Dbnx2x_cmn.h1331 if (vn == BP_VN(bp)) in bnx2x_link_sync_notify()
Dbnx2x_cmn.c1176 bp->mf_config[BP_VN(bp)]); in bnx2x_get_mf_speed()
1596 u32 mf_cfg = bp->mf_config[BP_VN(bp)]; in bnx2x_update_max_mf_config()
/drivers/net/ethernet/broadcom/
Dcnic.h406 (BP_VN(bp) << 17) | (x))