Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h655 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_sb()
695 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_int()
899 return 2 * vn + BP_PORT(bp); in func_by_vn()
1008 return fp->cl_id + BP_PORT(bp) * FP_SB_MAX_E1x; in bnx2x_stats_id()
1053 func_mf_config[BP_PORT(bp) + 2 * i]. in bnx2x_get_path_func_num()
1097 return fp->cl_id + BP_PORT(fp->bp) * ETH_MAX_RX_CLIENTS_E1H; in bnx2x_fp_qzone_id()
Dbnx2x_main.c485 opcode |= (BP_PORT(bp) ? DMAE_CMD_PORT_1 : DMAE_CMD_PORT_0); in bnx2x_dmae_opcode()
835 int port = BP_PORT(bp); in bnx2x_hc_int_disable()
1447 TM_REG_LIN0_VNIC_UC + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1452 TM_REG_LIN0_NUM_SCANS + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1543 int port = BP_PORT(bp); in bnx2x_hc_int_enable()
2334 USTORM_ETH_PAUSE_ENABLED_OFFSET(BP_PORT(bp)), in bnx2x_init_dropless_fc()
2537 int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); in bnx2x_read_mf_cfg()
2625 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_set_local_cmng()
2698 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_init_ops.h27 #ifndef BP_PORT
28 #define BP_PORT(bp) 0 macro
856 int port = BP_PORT(bp); in bnx2x_qm_init_cid_count()
915 int port = BP_PORT(bp); in bnx2x_src_init_t2()
Dbnx2x_stats.c266 int port = BP_PORT(bp); in bnx2x_port_stats_init()
856 u32 lpi_reg = BP_PORT(bp) ? MISC_REG_CPMU_LP_SM_ENT_CNT_P1 in bnx2x_hw_stats_update()
863 SHMEM_RD(bp, port_mb[BP_PORT(bp)].stat_nig_timer); in bnx2x_hw_stats_update()
1472 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1486 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1501 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1596 int /*abs*/port = BP_PORT(bp); in bnx2x_stats_init()
1624 port = BP_PORT(bp); in bnx2x_stats_init()
Dbnx2x_init.h218 if (BP_PORT(bp)) { in bnx2x_map_q_cos()
227 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos()
Dbnx2x.h1434 #define BP_PORT(bp) (bp->pfid & 1) macro
1440 #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\
2259 #define INIT_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2261 #define PMF_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2287 #define HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
Dbnx2x_ethtool.c1180 int port = BP_PORT(bp); in bnx2x_acquire_nvram_lock()
1215 int port = BP_PORT(bp); in bnx2x_release_nvram_lock()
1708 int port = BP_PORT(bp); in bnx2x_set_eeprom()
2008 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_get_eee()
2045 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_set_eee()
2128 int port = BP_PORT(bp); in bnx2x_test_registers()
2945 int port = BP_PORT(bp); in bnx2x_self_test()
Dbnx2x_cmn.c2497 int i, rc, port = BP_PORT(bp); in bnx2x_load_cnic()
2585 int port = BP_PORT(bp); in bnx2x_nic_load()
4430 dev_info.port_hw_config[BP_PORT(bp)]. in bnx2x_alloc_fp_mem_at()
5020 int port = BP_PORT(bp); in bnx2x_update_coalesce_sb_index()
Dbnx2x_dcb.c377 offset += BP_PORT(bp) * mib_size; in bnx2x_dcbx_read_mib()
794 BP_PORT(bp)*sizeof(struct lldp_admin_mib))
Dbnx2x_sp.c728 u32 reg_offset = BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM : in bnx2x_set_mac_in_nig()
751 REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : in bnx2x_set_mac_in_nig()
/linux-4.1.27/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.c1691 u8 port = BP_PORT(bp); in cnic_setup_bnx2x_ctx()
3046 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp) * 32 + in cnic_ack_bnx2x_int()
4227 u32 port = BP_PORT(bp); in cnic_cm_init_bnx2x_hw()
5184 USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); in cnic_init_rings()