Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1184 #define BP_VN(bp) ((bp)->pfid >> 1) macro
1186 #define BP_L_ID(bp) (BP_VN(bp) << 2)
1189 #define BP_FW_MB_IDX(bp) BP_FW_MB_IDX_VN(bp, BP_VN(bp))
1874 BP_VN(bp))
1900 (BP_VN(bp) << BNX2X_SWCID_SHIFT) | \
2114 ((bp)->mf_config[BP_VN(bp)] & FUNC_MF_CFG_PROTOCOL_MASK)
Dbnx2x_main.c409 opcode |= ((BP_VN(bp) << DMAE_CMD_E1HVN_SHIFT) | in bnx2x_dmae_opcode()
410 (BP_VN(bp) << DMAE_COMMAND_DST_VN_SHIFT)); in bnx2x_dmae_opcode()
1410 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_hc_int_enable()
1462 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_igu_int_enable()
2558 val = (0xff0f | (1 << (BP_VN(bp) + 4))); in bnx2x_pmf_update()
2838 BP_FUNC(bp) : BP_VN(bp))*4, 0); in bnx2x_pf_init()
2844 BP_FUNC(bp) : BP_VN(bp))*4, 0); in bnx2x_pf_init()
3124 if (bp->mf_config[BP_VN(bp)] & FUNC_MF_CFG_FUNC_DISABLED) { in bnx2x_dcc_event()
3609 bp->mf_config[BP_VN(bp)] = MF_CFG_RD(bp, in bnx2x_attn_int_deasserted3()
5030 sb_data_e2.common.p_func.vnic_id = BP_VN(bp); in bnx2x_init_sb()
[all …]
Dbnx2x_cmn.h1630 if (vn == BP_VN(bp)) in bnx2x_link_sync_notify()
Dbnx2x_cmn.c881 bp->mf_config[BP_VN(bp)]); in bnx2x_get_mf_speed()
1190 u32 mf_cfg = bp->mf_config[BP_VN(bp)]; in bnx2x_update_max_mf_config()