Home
last modified time | relevance | path

Searched refs:BP_PORT (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c856 int port = BP_PORT(bp); in bnx2x_hc_int_disable()
1566 int port = BP_PORT(bp); in bnx2x_hc_int_enable()
2982 int port = BP_PORT(bp); in bnx2x_pmf_update()
3354 int port = BP_PORT(bp); in bnx2x_e1h_disable()
3363 int port = BP_PORT(bp); in bnx2x_e1h_enable()
4016 int port = BP_PORT(bp); in bnx2x_attn_int_asserted()
4138 int port = BP_PORT(bp); in bnx2x_fan_failure()
4163 int port = BP_PORT(bp); in bnx2x_attn_int_deasserted0()
5027 int port = BP_PORT(bp); in bnx2x_chk_parity_attn()
10431 u8 port = BP_PORT(bp); in bnx2x_prev_unload_close_mac()
[all …]
H A Dbnx2x_cmn.h659 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_sb()
698 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_int()
906 return 2 * vn + BP_PORT(bp); in func_by_vn()
1056 return fp->cl_id + BP_PORT(bp) * FP_SB_MAX_E1x; in bnx2x_stats_id()
1156 return fp->cl_id + BP_PORT(fp->bp) * ETH_MAX_RX_CLIENTS_E1H; in bnx2x_fp_qzone_id()
H A Dbnx2x_init_ops.h29 #ifndef BP_PORT
30 #define BP_PORT(bp) 0 macro
860 int port = BP_PORT(bp); in bnx2x_qm_init_cid_count()
919 int port = BP_PORT(bp); in bnx2x_src_init_t2()
H A Dbnx2x_stats.c270 int port = BP_PORT(bp); in bnx2x_port_stats_init()
861 u32 lpi_reg = BP_PORT(bp) ? MISC_REG_CPMU_LP_SM_ENT_CNT_P1 in bnx2x_hw_stats_update()
868 SHMEM_RD(bp, port_mb[BP_PORT(bp)].stat_nig_timer); in bnx2x_hw_stats_update()
1477 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1491 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1506 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1601 int /*abs*/port = BP_PORT(bp); in bnx2x_stats_init()
1629 port = BP_PORT(bp); in bnx2x_stats_init()
H A Dbnx2x_init.h220 if (BP_PORT(bp)) { in bnx2x_map_q_cos()
229 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos()
H A Dbnx2x.h1361 #define BP_PORT(bp) (bp->pfid & 1) macro
1367 #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\
2202 #define INIT_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2204 #define PMF_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2237 #define HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
H A Dbnx2x_ethtool.c1253 int port = BP_PORT(bp); in bnx2x_acquire_nvram_lock()
1289 int port = BP_PORT(bp); in bnx2x_release_nvram_lock()
1799 int port = BP_PORT(bp); in bnx2x_set_eeprom()
2116 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_get_eee()
2153 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_set_eee()
2236 int port = BP_PORT(bp); in bnx2x_test_registers()
3053 int port = BP_PORT(bp); in bnx2x_self_test()
H A Dbnx2x_cmn.c2540 int i, rc, port = BP_PORT(bp); in bnx2x_load_cnic()
2628 int port = BP_PORT(bp); in bnx2x_nic_load()
4534 dev_info.port_hw_config[BP_PORT(bp)]. in bnx2x_alloc_fp_mem_at()
5124 int port = BP_PORT(bp); in bnx2x_update_coalesce_sb_index()
H A Dbnx2x_dcb.c408 offset += BP_PORT(bp) * mib_size; in bnx2x_dcbx_read_mib()
825 BP_PORT(bp)*sizeof(struct lldp_admin_mib))
H A Dbnx2x_sp.c806 u32 reg_offset = BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM : in bnx2x_set_mac_in_nig()
829 REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : in bnx2x_set_mac_in_nig()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dcnic.h405 #define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))
H A Dcnic.c1700 u8 port = BP_PORT(bp); in cnic_setup_bnx2x_ctx()
3052 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp) * 32 + in cnic_ack_bnx2x_int()
4235 u32 port = BP_PORT(bp); in cnic_cm_init_bnx2x_hw()
5190 USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); in cnic_init_rings()