Home
last modified time | relevance | path

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

/linux-6.1.9/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) | \
2441 ((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()
1618 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_hc_int_enable()
1679 val = (0xee0f | (1 << (BP_VN(bp) + 4))); in bnx2x_igu_int_enable()
2562 if (bp->mf_config[BP_VN(bp)] & FUNC_MF_CFG_FUNC_DISABLED) { in bnx2x_read_mf_cfg()
2857 bp->mf_config[BP_VN(bp)] = mf_config; in bnx2x_handle_afex_cmd()
2871 bp->mf_config[BP_VN(bp)] = mf_config; in bnx2x_handle_afex_cmd()
2873 bnx2x_calc_vn_max(bp, BP_VN(bp), &cmng_input); in bnx2x_handle_afex_cmd()
2875 cmng_input.vnic_max_rate[BP_VN(bp)]; in bnx2x_handle_afex_cmd()
3001 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.c1175 bp->mf_config[BP_VN(bp)]); in bnx2x_get_mf_speed()
1595 u32 mf_cfg = bp->mf_config[BP_VN(bp)]; in bnx2x_update_max_mf_config()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.h406 (BP_VN(bp) << 17) | (x))