Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c489 opcode |= (BP_PORT(bp) ? DMAE_CMD_PORT_1 : DMAE_CMD_PORT_0); in bnx2x_dmae_opcode()
844 int port = BP_PORT(bp); in bnx2x_hc_int_disable()
1450 TM_REG_LIN0_VNIC_UC + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1455 TM_REG_LIN0_NUM_SCANS + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1546 int port = BP_PORT(bp); in bnx2x_hc_int_enable()
2326 USTORM_ETH_PAUSE_ENABLED_OFFSET(BP_PORT(bp)), in bnx2x_init_dropless_fc()
2533 int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); in bnx2x_read_mf_cfg()
2621 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_set_local_cmng()
2694 bp->link_params.port = BP_PORT(bp); in bnx2x__link_status_update()
2934 REG_WR(bp, NIG_REG_LLH0_FUNC_VLAN_ID + BP_PORT(bp) * 8, in bnx2x_handle_update_svid_cmd()
[all …]
Dbnx2x_cmn.h661 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_sb()
700 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_int()
908 return 2 * vn + BP_PORT(bp); in func_by_vn()
1058 return fp->cl_id + BP_PORT(bp) * FP_SB_MAX_E1x; in bnx2x_stats_id()
1112 func_mf_config[BP_PORT(bp) + 2 * i]. in bnx2x_get_path_func_num()
1158 return fp->cl_id + BP_PORT(fp->bp) * ETH_MAX_RX_CLIENTS_E1H; in bnx2x_fp_qzone_id()
Dbnx2x_init_ops.h29 #ifndef BP_PORT
30 #define BP_PORT(bp) 0 macro
858 int port = BP_PORT(bp); in bnx2x_qm_init_cid_count()
917 int port = BP_PORT(bp); in bnx2x_src_init_t2()
Dbnx2x_stats.c268 int port = BP_PORT(bp); in bnx2x_port_stats_init()
858 u32 lpi_reg = BP_PORT(bp) ? MISC_REG_CPMU_LP_SM_ENT_CNT_P1 in bnx2x_hw_stats_update()
865 SHMEM_RD(bp, port_mb[BP_PORT(bp)].stat_nig_timer); in bnx2x_hw_stats_update()
1474 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1488 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1503 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1598 int /*abs*/port = BP_PORT(bp); in bnx2x_stats_init()
1626 port = BP_PORT(bp); in bnx2x_stats_init()
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()
Dbnx2x.h1361 #define BP_PORT(bp) (bp->pfid & 1) macro
1367 #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\
2190 #define INIT_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2192 #define PMF_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2225 #define HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
Dbnx2x_ethtool.c1259 int port = BP_PORT(bp); in bnx2x_acquire_nvram_lock()
1295 int port = BP_PORT(bp); in bnx2x_release_nvram_lock()
1805 int port = BP_PORT(bp); in bnx2x_set_eeprom()
2114 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_get_eee()
2151 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_set_eee()
2234 int port = BP_PORT(bp); in bnx2x_test_registers()
3051 int port = BP_PORT(bp); in bnx2x_self_test()
Dbnx2x_cmn.c2521 int i, rc, port = BP_PORT(bp); in bnx2x_load_cnic()
2609 int port = BP_PORT(bp); in bnx2x_nic_load()
4514 dev_info.port_hw_config[BP_PORT(bp)]. in bnx2x_alloc_fp_mem_at()
5107 int port = BP_PORT(bp); in bnx2x_update_coalesce_sb_index()
Dbnx2x_dcb.c408 offset += BP_PORT(bp) * mib_size; in bnx2x_dcbx_read_mib()
825 BP_PORT(bp)*sizeof(struct lldp_admin_mib))
Dbnx2x_sp.c804 u32 reg_offset = BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM : in bnx2x_set_mac_in_nig()
827 REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : in bnx2x_set_mac_in_nig()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dcnic.h405 #define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))
Dcnic.c1702 u8 port = BP_PORT(bp); in cnic_setup_bnx2x_ctx()
3055 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp) * 32 + in cnic_ack_bnx2x_int()
4239 u32 port = BP_PORT(bp); in cnic_cm_init_bnx2x_hw()
5196 USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); in cnic_init_rings()