BP_PORT 1367 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\ BP_PORT 2190 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define INIT_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \ BP_PORT 2192 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define PMF_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \ BP_PORT 2225 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define HW_CID(bp, x) ((BP_PORT(bp) << 23) | \ BP_PORT 2521 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int i, rc, port = BP_PORT(bp); BP_PORT 2609 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int port = BP_PORT(bp); BP_PORT 4514 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c dev_info.port_hw_config[BP_PORT(bp)]. BP_PORT 5107 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int port = BP_PORT(bp); BP_PORT 661 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + BP_PORT 700 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + BP_PORT 908 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h return 2 * vn + BP_PORT(bp); BP_PORT 1058 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h return fp->cl_id + BP_PORT(bp) * FP_SB_MAX_E1x; BP_PORT 1158 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h return fp->cl_id + BP_PORT(fp->bp) * ETH_MAX_RX_CLIENTS_E1H; BP_PORT 408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c offset += BP_PORT(bp) * mib_size; BP_PORT 825 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c BP_PORT(bp)*sizeof(struct lldp_admin_mib)) BP_PORT 1259 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int port = BP_PORT(bp); BP_PORT 1295 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int port = BP_PORT(bp); BP_PORT 1805 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int port = BP_PORT(bp); BP_PORT 2114 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { BP_PORT 2151 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { BP_PORT 2234 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int port = BP_PORT(bp); BP_PORT 3051 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int port = BP_PORT(bp); BP_PORT 220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h if (BP_PORT(bp)) { BP_PORT 229 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); BP_PORT 29 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h #ifndef BP_PORT BP_PORT 858 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h int port = BP_PORT(bp); BP_PORT 917 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h int port = BP_PORT(bp); BP_PORT 489 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c opcode |= (BP_PORT(bp) ? DMAE_CMD_PORT_1 : DMAE_CMD_PORT_0); BP_PORT 844 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 1450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c TM_REG_LIN0_VNIC_UC + 4*BP_PORT(bp), BP_PORT 1455 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c TM_REG_LIN0_NUM_SCANS + 4*BP_PORT(bp), BP_PORT 1546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 2326 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c USTORM_ETH_PAUSE_ENABLED_OFFSET(BP_PORT(bp)), BP_PORT 2533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); BP_PORT 2621 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); BP_PORT 2694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_params.port = BP_PORT(bp); BP_PORT 2934 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, NIG_REG_LLH0_FUNC_VLAN_ID + BP_PORT(bp) * 8, BP_PORT 2962 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 3321 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); BP_PORT 3334 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 3343 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 3544 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); BP_PORT 3996 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 4118 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 4143 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 4196 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 4240 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 5007 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 5094 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 6021 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 6520 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->common.shmem2_base, BP_PORT(bp)); BP_PORT 6545 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 + BP_PORT(bp)*4) & BP_PORT 6980 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (u32)offsetof(struct shmem2_region, lfa_host_addr[BP_PORT(bp)])) BP_PORT 7494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 7559 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, (BP_PORT(bp) ? BP_PORT 7567 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7570 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7573 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7581 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7660 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7664 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7670 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BP_PORT(bp) ? BP_PORT 7694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_CLS_TYPE : BP_PORT 7792 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 7826 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int rc, i, port = BP_PORT(bp); BP_PORT 7932 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 8208 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BP_PORT(bp) * (main_mem_size * 4); BP_PORT 8964 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 9045 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 9128 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 9275 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 9317 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 9489 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 9589 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c offsetof(struct shmem_region, validity_map[BP_PORT(bp)]); BP_PORT 9634 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = SHMEM_RD(bp, validity_map[BP_PORT(bp)]); BP_PORT 10496 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u8 port = BP_PORT(bp); BP_PORT 10509 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c base_addr = BP_PORT(bp) ? NIG_REG_INGRESS_BMAC1_MEM BP_PORT 10530 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c vals->emac_addr = NIG_REG_NIG_EMAC0_EN + BP_PORT(bp)*4; BP_PORT 10537 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c base_addr = BP_PORT(bp) ? GRCBASE_XMAC1 : GRCBASE_XMAC0; BP_PORT 10593 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c addr = BNX2X_PREV_UNDI_PROD_ADDR(BP_PORT(bp)); BP_PORT 10605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BP_PORT(bp), BP_FUNC(bp), addr, bd, rcq); BP_PORT 10692 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = !!(entry && (entry->undi & (1 << BP_PORT(bp)))); BP_PORT 10736 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp_list->undi = after_undi ? (1 << BP_PORT(bp)) : 0; BP_PORT 10940 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MCPR_NVM_SW_ARB_ARB_REQ_CLR1 << BP_PORT(bp))); BP_PORT 11084 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (u32)offsetof(struct shmem2_region, lfa_host_addr[BP_PORT(bp)])) BP_PORT 11088 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c lfa_host_addr[BP_PORT(bp)])); BP_PORT 11156 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev_info.port_feature_config[BP_PORT(bp)].mba_config) & BP_PORT 11252 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int cfg_size = 0, idx, port = BP_PORT(bp); BP_PORT 11560 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 11645 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 11729 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 11811 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 11903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 11962 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp = BP_PORT(bp); BP_PORT 12059 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->base_fw_ndsb = BP_PORT(bp) * FP_SB_MAX_E1x + BP_L_ID(bp); BP_PORT 12244 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u8 other_port = !BP_PORT(bp); BP_PORT 12494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c SHMEM2_RD(bp, dcbx_en[BP_PORT(bp)])) { BP_PORT 14875 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 14977 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c offset = SHMEM2_RD(bp, fc_npiv_nvram_tbl_addr[BP_PORT(bp)]); BP_PORT 15201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c offset += USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), fp->cl_id); BP_PORT 15228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 15280 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 15305 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 15395 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int port = BP_PORT(bp); BP_PORT 15511 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int rc, port = BP_PORT(bp); BP_PORT 804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u32 reg_offset = BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM : BP_PORT 827 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : BP_PORT 268 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c int port = BP_PORT(bp); BP_PORT 858 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c u32 lpi_reg = BP_PORT(bp) ? MISC_REG_CPMU_LP_SM_ENT_CNT_P1 BP_PORT 865 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c SHMEM_RD(bp, port_mb[BP_PORT(bp)].stat_nig_timer); BP_PORT 1474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = BP_PORT(bp); BP_PORT 1488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = BP_PORT(bp); BP_PORT 1503 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = BP_PORT(bp); BP_PORT 1598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c int /*abs*/port = BP_PORT(bp); BP_PORT 1626 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c port = BP_PORT(bp); BP_PORT 1702 drivers/net/ethernet/broadcom/cnic.c u8 port = BP_PORT(bp); BP_PORT 3055 drivers/net/ethernet/broadcom/cnic.c u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp) * 32 + BP_PORT 4239 drivers/net/ethernet/broadcom/cnic.c u32 port = BP_PORT(bp); BP_PORT 5196 drivers/net/ethernet/broadcom/cnic.c USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); BP_PORT 405 drivers/net/ethernet/broadcom/cnic.h #define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \ BP_PORT 412 drivers/net/ethernet/broadcom/cnic.h cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))