Home
last modified time | relevance | path

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

/linux-6.6.21/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))
2203 BP_VN(bp))
2238 (BP_VN(bp) << BNX2X_SWCID_SHIFT) | \
2442 ((bp)->mf_config[BP_VN(bp)] & FUNC_MF_CFG_PROTOCOL_MASK)
Dbnx2x_main.c504 opcode |= ((BP_VN(bp) << DMAE_CMD_E1HVN_SHIFT) | in bnx2x_dmae_opcode()
505 (BP_VN(bp) << DMAE_COMMAND_DST_VN_SHIFT)); in bnx2x_dmae_opcode()
1617 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_hc_int_enable()
1678 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_igu_int_enable()
2561 if (bp->mf_config[BP_VN(bp)] & FUNC_MF_CFG_FUNC_DISABLED) { in bnx2x_read_mf_cfg()
2856 bp->mf_config[BP_VN(bp)] = mf_config; in bnx2x_handle_afex_cmd()
2870 bp->mf_config[BP_VN(bp)] = mf_config; in bnx2x_handle_afex_cmd()
2872 bnx2x_calc_vn_max(bp, BP_VN(bp), &cmng_input); in bnx2x_handle_afex_cmd()
2874 cmng_input.vnic_max_rate[BP_VN(bp)]; in bnx2x_handle_afex_cmd()
3000 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.c1187 bp->mf_config[BP_VN(bp)]); in bnx2x_get_mf_speed()
1607 u32 mf_cfg = bp->mf_config[BP_VN(bp)]; in bnx2x_update_max_mf_config()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dcnic.h406 (BP_VN(bp) << 17) | (x))