Symbol: PORT_ID
usr/src/lib/librstp/common/port.h
103
PORT_ID port_id; /* 17.18.16 */
usr/src/lib/librstp/common/rolesel.c
198
PORT_ID old_root_port; /* for tracing of root port changing */
usr/src/lib/librstp/common/stpm.c
344
STP_stpm_get_port_name_by_id (STPM_T* this, PORT_ID port_id)
usr/src/lib/librstp/common/stpm.h
118
STP_stpm_get_port_name_by_id (STPM_T* this, PORT_ID port_id);
usr/src/lib/librstp/common/stpm.h
64
PORT_ID rootPortId; /* 17.17.5 */
usr/src/lib/librstp/common/vector.c
52
IN PORT_ID design_port,
usr/src/lib/librstp/common/vector.c
53
IN PORT_ID bridge_port)
usr/src/lib/librstp/common/vector.h
42
PORT_ID design_port;
usr/src/lib/librstp/common/vector.h
43
PORT_ID bridge_port;
usr/src/lib/librstp/common/vector.h
51
IN PORT_ID design_port,
usr/src/lib/librstp/common/vector.h
52
IN PORT_ID bridge_port);
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1095
u32 reg_offset = PORT_ID(pdev) ? NIG_REG_LLH1_FUNC_MEM :
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1118
REG_WR(pdev, (PORT_ID(pdev) ? NIG_REG_LLH1_FUNC_MEM_ENABLE :
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
2791
offset += PORT_ID(pdev) * mib_size;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
2863
res_ext_offset += PORT_ID(pdev) * sizeof(lldp_local_mib_ext_t);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
3128
offset += PORT_ID(pdev) * sizeof(lldp_params_t);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
3176
offset += PORT_ID(pdev) * sizeof(mcp_dcbx_stat);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
3621
offset += PORT_ID(pdev) * sizeof(mcp_dcbx_stat);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
4461
PORT_ID(pdev) * sizeof(lldp_params_t);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
4703
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
4766
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dcbx.c
4873
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
1207
if (PORT_ID(pdev) == port)
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
1286
port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
1493
LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, port_mf_config[PATH_ID(pdev)][PORT_ID(pdev)].dynamic_cfg),&dynamic_cfg );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
1866
u8_t other_port = !PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
188
DbgMessage(pdev, WARN, "lm_get_shmem_info: PORT_ID: %d\n", PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
192
DbgMessage(pdev, WARN, "lm_get_shmem_info: ETH_PORT_ID: %d\n", PATH_ID(pdev) + 2*PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
196
DbgMessage(pdev, WARN, "lm_get_shmem_info: ETH_PORT_ID: %d\n", PATH_ID(pdev) + PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2013
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2118
u8_t other_port = !PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2365
OFFSETOF(shmem_region_t, dev_info.port_hw_config[PORT_ID(pdev)].mac_upper),&val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2367
OFFSETOF(shmem_region_t, dev_info.port_hw_config[PORT_ID(pdev)].mac_lower),&val2);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2372
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].iscsi_mac_upper),&val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2374
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].iscsi_mac_lower),&val2);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2379
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].fcoe_fip_mac_upper),&val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2381
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].fcoe_fip_mac_lower),&val2);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2385
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].fcoe_wwn_port_name_upper),&val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2387
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].fcoe_wwn_port_name_lower),&val2);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2393
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].fcoe_wwn_node_name_upper),&val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2395
OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].fcoe_wwn_node_name_lower),&val2);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2425
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2674
else if (FUNC_ID(pdev) != PORT_ID(pdev))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
2693
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
3193
port_base_aux_qzone = PORT_ID(pdev)* ((ETH_MAX_RX_CLIENTS_E2 - PXP_REG_HST_ZONE_PERMISSION_TABLE_SIZE)/PORT_MAX);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
3316
pdev->params.mac_addr[5] = pdev->hw_info.mac_addr[5] = 0x9a + PATH_ID(pdev)*8 + PORT_ID(pdev)*4 + VNIC_ID(pdev)*2;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
3952
LM_SHMEM_READ(pdev,OFFSETOF(shmem_region_t, validity_map[PORT_ID(pdev)]),&val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
957
blk_info->simd_addr_womask = HC_REG_COMMAND_REG + PORT_ID(pdev)*32 + COMMAND_REG_SIMD_NOMASK;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
963
blk_info->simd_addr_wmask = HC_REG_COMMAND_REG + PORT_ID(pdev)*32 + COMMAND_REG_SIMD_NOMASK;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_devinfo.c
967
blk_info->simd_addr_wmask = HC_REG_COMMAND_REG + PORT_ID(pdev)*32 + COMMAND_REG_SIMD_MASK;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dmae.c
259
opcode |= PORT_ID(pdev) << DMAE_CMD_PORT_SHIFT;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_dmae.c
90
return HW_LOCK_RESOURCE_PORT0_DMAE_COPY_CMD + PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
1175
port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
1212
val = REG_RD(pdev, HC_REG_INT_MASK + 4*PORT_ID(pdev) );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
1424
reg_offset = (PORT_ID(pdev)? NIG_REG_LLH1_FUNC_MEM: NIG_REG_LLH0_FUNC_MEM) + 8*offset;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
1428
reg_offset = (PORT_ID(pdev)? NIG_REG_P1_LLH_FUNC_MEM2: NIG_REG_P0_LLH_FUNC_MEM2) + 8*(offset - MAX_OFFSET_IN_MEM_1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
1443
reg_offset = (PORT_ID(pdev)? NIG_REG_LLH1_FUNC_MEM_ENABLE : NIG_REG_LLH0_FUNC_MEM_ENABLE) + 4*offset;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
1447
reg_offset = (PORT_ID(pdev)? NIG_REG_P1_LLH_FUNC_MEM2_ENABLE : NIG_REG_P0_LLH_FUNC_MEM2_ENABLE) + 4*(offset - MAX_OFFSET_IN_MEM_1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_access.c
67
const u8_t port_id = PORT_ID(pdev); // TBD: E1H - cmng params are currently per port, may change to be per function
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
1003
REG_WR(pdev, NIG_REG_MASK_INTERRUPT_PORT0 + 4*PORT_ID(pdev), nig_mask);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
1054
const u8_t port_id = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
1112
val = REG_RD(pdev, MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 + PORT_ID(pdev)*4);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
1149
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_TRAILING_EDGE_1 : HC_REG_TRAILING_EDGE_0), val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
1150
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_LEADING_EDGE_1 : HC_REG_LEADING_EDGE_0) , val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
1993
REG_WR(pdev, HC_REG_COMMAND_REG + PORT_ID(pdev)*32 + COMMAND_REG_ATTN_BITS_CLR,val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
2036
port_reg_name = PORT_ID(pdev) ? MISC_REG_AEU_MASK_ATTN_FUNC_1 : MISC_REG_AEU_MASK_ATTN_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
2038
lm_hw_lock(pdev, HW_LOCK_RESOURCE_PORT0_ATT_MASK + PORT_ID(pdev), TRUE);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
2051
lm_hw_unlock(pdev, HW_LOCK_RESOURCE_PORT0_ATT_MASK + PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
709
if (PORT_ID(pdev) == 0)
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
751
DbgBreakIf(PORT_ID(pdev) != 1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
798
if (PORT_ID(pdev) == 0)
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
838
DbgBreakIf(PORT_ID(pdev) != 1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
897
lm_hw_lock(pdev, HW_LOCK_RESOURCE_PORT0_ATT_MASK + PORT_ID(pdev), TRUE);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
898
port_reg_name = PORT_ID(pdev) ? MISC_REG_AEU_MASK_ATTN_FUNC_1 : MISC_REG_AEU_MASK_ATTN_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
908
lm_hw_unlock(pdev, HW_LOCK_RESOURCE_PORT0_ATT_MASK + PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
932
nig_mask = REG_RD(pdev, NIG_REG_MASK_INTERRUPT_PORT0 + 4*PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
933
REG_WR(pdev, NIG_REG_MASK_INTERRUPT_PORT0 + 4*PORT_ID(pdev), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_attn.c
954
REG_WR(pdev, HC_REG_COMMAND_REG + PORT_ID(pdev)*32 + COMMAND_REG_ATTN_BITS_SET,val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
106
ecore_init_block(_pdev, BLOCK_##_block, PHASE_PORT0 + PORT_ID(_pdev))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1106
const u32_t nig_mem_enable_base_offset = (PORT_ID(pdev) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : NIG_REG_LLH0_FUNC_MEM_ENABLE);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1107
const u32_t nig_mem2_enable_base_offset = (PORT_ID(pdev) ? NIG_REG_P1_LLH_FUNC_MEM2_ENABLE : NIG_REG_P0_LLH_FUNC_MEM2_ENABLE);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1118
REG_WR(pdev, (PORT_ID(pdev) ? NIG_REG_LLH1_FUNC_EN : NIG_REG_LLH0_FUNC_EN), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1291
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1303
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_LEADING_EDGE_1 : HC_REG_LEADING_EDGE_0), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1304
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_TRAILING_EDGE_1 : HC_REG_TRAILING_EDGE_0), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1393
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
1902
val = REG_RD( pdev, MISC_REG_E1HMF_MODE_P0 + PORT_ID(pdev)*4);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2021
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2127
REG_WR(pdev, TM_REG_EN_LINEAR0_TIMER + 4*PORT_ID(pdev),1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2140
REG_WR(pdev, TM_REG_EN_LINEAR0_TIMER + 4*PORT_ID(pdev),0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2199
port_mb[PORT_ID(pdev)].port_stx),
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2512
const u8_t port_id = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2640
REG_WR(pdev, (PORT_ID(pdev) ? MISC_REG_AEU_MASK_ATTN_FUNC_1 : MISC_REG_AEU_MASK_ATTN_FUNC_0), val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2647
offset = (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE1_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE1_FUNC_0_OUT_0) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2658
offset = (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE4_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE4_FUNC_0_OUT_0) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2934
REG_WR(pdev, (PORT_ID(pdev) ? QM_REG_CONNNUM_1 : QM_REG_CONNNUM_0), pdev->hw_info.max_common_conns/16 -1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2947
REG_WR(pdev,(PORT_ID(pdev) ? TM_REG_LIN1_SCAN_TIME : TM_REG_LIN0_SCAN_TIME), 20);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
2949
REG_WR(pdev,(PORT_ID(pdev) ? TM_REG_LIN1_MAX_ACTIVE_CID : TM_REG_LIN0_MAX_ACTIVE_CID), (pdev->hw_info.max_port_conns/32)-1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
304
pdev->flr_stats.tm_vnic_usage_counter = REG_WAIT_VERIFY_VAL(pdev, TM_REG_LIN0_VNIC_UC + 4*PORT_ID(pdev),0, wait_ms);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3056
port=PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
306
pdev->flr_stats.tm_vnic_usage_counter, DEFAULT_WAIT_INTERVAL_MICSEC, PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
308
pdev->flr_stats.tm_num_scans_usage_counter = REG_WAIT_VERIFY_VAL(pdev, TM_REG_LIN0_NUM_SCANS + 4*PORT_ID(pdev),0, wait_ms);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
310
pdev->flr_stats.tm_num_scans_usage_counter, DEFAULT_WAIT_INTERVAL_MICSEC, PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3100
REG_WR(pdev, (PORT_ID(pdev)? BRB1_REG_MAC_GUARANTIED_1 : BRB1_REG_MAC_GUARANTIED_0), 40);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3154
REG_WR(pdev, (0 == PORT_ID(pdev))? PRS_REG_HDRS_AFTER_BASIC_PORT_0 :PRS_REG_HDRS_AFTER_BASIC_PORT_1 , 0xE);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3155
REG_WR(pdev, (0 == PORT_ID(pdev))? PRS_REG_HDRS_AFTER_TAG_0_PORT_0 :PRS_REG_HDRS_AFTER_TAG_0_PORT_1 , 0x6);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3156
REG_WR(pdev, (0 == PORT_ID(pdev))? PRS_REG_MUST_HAVE_HDRS_PORT_0 :PRS_REG_MUST_HAVE_HDRS_PORT_1 , 0xA);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3164
REG_WR(pdev, (0 == PORT_ID(pdev))? PRS_REG_HDRS_AFTER_BASIC_PORT_0:PRS_REG_HDRS_AFTER_BASIC_PORT_1, (IS_MF_SD_MODE(pdev) ? 7 : 6)); //Bit-map indicating which L2 hdrs may appear after the basic Ethernet header.
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3263
REG_WR(pdev,(PORT_ID(pdev) ? PBF_REG_P1_PAUSE_ENABLE : PBF_REG_P0_PAUSE_ENABLE),0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3265
REG_WR(pdev,(PORT_ID(pdev) ? PBF_REG_P1_ARB_THRSH : PBF_REG_P0_ARB_THRSH),(MAXIMUM_PACKET_SIZE/16));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3267
REG_WR(pdev,(PORT_ID(pdev) ? PBF_REG_P1_INIT_CRD : PBF_REG_P0_INIT_CRD),(MAXIMUM_PACKET_SIZE/16) + 553 -22);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3269
REG_WR(pdev,(PORT_ID(pdev) ? PBF_REG_INIT_P1 : PBF_REG_INIT_P0),1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3271
REG_WR(pdev,(PORT_ID(pdev) ? PBF_REG_INIT_P1 : PBF_REG_INIT_P0),0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3307
REG_WR(pdev, (PORT_ID(pdev) ? SRC_REG_COUNTFREE1 : SRC_REG_COUNTFREE0) ,pdev->vars.searcher_t2_num_pages * pdev->params.ilt_client_page_size/64);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3308
REG_WR_IND(pdev, (PORT_ID(pdev) ? SRC_REG_FIRSTFREE1 : SRC_REG_FIRSTFREE0),pdev->vars.searcher_t2_phys_addr_table[0].as_u32.low);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3309
REG_WR_IND(pdev, (PORT_ID(pdev) ? SRC_REG_FIRSTFREE1 : SRC_REG_FIRSTFREE0)+4,pdev->vars.searcher_t2_phys_addr_table[0].as_u32.high);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3312
REG_WR_IND(pdev, (PORT_ID(pdev) ? SRC_REG_LASTFREE1 : SRC_REG_LASTFREE0),src_addr.as_u32.low);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3313
REG_WR_IND(pdev, (PORT_ID(pdev) ? SRC_REG_LASTFREE1 : SRC_REG_LASTFREE0)+4,src_addr.as_u32.high);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3314
REG_WR(pdev, (PORT_ID(pdev) ? SRC_REG_NUMBER_HASH_BITS1 : SRC_REG_NUMBER_HASH_BITS0),pdev->context_info->searcher_hash.num_hash_bits);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3401
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_LEADING_EDGE_1 : HC_REG_LEADING_EDGE_0), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3402
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_TRAILING_EDGE_1 : HC_REG_TRAILING_EDGE_0), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3420
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_LEADING_EDGE_1 : HC_REG_LEADING_EDGE_0), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3421
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_TRAILING_EDGE_1 : HC_REG_TRAILING_EDGE_0), 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3562
REG_WR(pdev,(PORT_ID(pdev) ? NIG_REG_XGXS_SERDES1_MODE_SEL : NIG_REG_XGXS_SERDES0_MODE_SEL),1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3570
REG_WR(pdev,(PORT_ID(pdev)? NIG_REG_LLH1_MF_MODE: NIG_REG_LLH_MF_MODE), IS_MULTI_VNIC(pdev) ? 1 : 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3579
u32_t mask_mf_reg = PORT_ID(pdev) ? NIG_REG_LLH1_BRB1_DRV_MASK_MF : NIG_REG_LLH0_BRB1_DRV_MASK_MF;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3590
REG_WR(pdev, (PORT_ID(pdev) ? NIG_REG_LLH1_CLS_TYPE : NIG_REG_LLH0_CLS_TYPE), 1);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3594
REG_WR(pdev, (PORT_ID(pdev) ? NIG_REG_LLH1_CLS_TYPE : NIG_REG_LLH0_CLS_TYPE), 2);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3603
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3984
DbgMessage(pdev, WARN, "writing reg: %p\n", SHMEM_ABSOLUTE_LICENSE_ADDRESS + (PORT_ID(pdev) * 0x1c));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
3985
LM_SHMEM_WRITE(pdev, SHMEM_ABSOLUTE_LICENSE_ADDRESS + (PORT_ID(pdev) * 0x1c), 0xffff);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
4013
LM_INTMEM_WRITE32(pdev,XSTORM_TCP_TX_SWITCHING_EN_OFFSET(PORT_ID(pdev)), 1, BAR_XSTRORM_INTMEM);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
4019
LM_INTMEM_WRITE32(pdev,XSTORM_TCP_TX_SWITCHING_EN_OFFSET(PORT_ID(pdev)), 0, BAR_XSTRORM_INTMEM);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
4196
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
4345
const u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_hw_init_reset.c
53
REG_WR(pdev,(PORT_ID(pdev) ? PXP2_REG_PSWRQ_##blk##1_L2P: PXP2_REG_PSWRQ_##blk##0_L2P),((last)<<10 | (first))); \
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_mcp.c
593
if( ERR_IF(PORT_ID(pdev) > 1) || ERR_IF(( FUNC_ID(pdev)) >= ARRSIZE(g_lm_loader.path_arr[PATH_ID(pdev)].func_arr)) )
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_mcp.c
630
else if( LM_LOADER_IS_FIRST_ON_PORT( pdev, PATH_ID(pdev), PORT_ID(pdev) ) )
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_mcp.c
646
else if( LM_LOADER_IS_LAST_ON_PORT( pdev, PATH_ID(pdev), PORT_ID(pdev) ) )
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_nvram.c
109
u8_t port_num = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_nvram.c
57
u8_t port_num = PORT_ID(pdev); /* TBD - E1H: nvram lock – DOES NOT scale to 8 functions! (only 4 clients)
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
1448
mm_event_log_generic(pdev, LM_LOG_ID_NO_10G_SUPPORT, PORT_ID(pdev) );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
1876
lm_gpio_write(pdev, MISC_REGISTERS_GPIO_0, MISC_REGISTERS_GPIO_HIGH, PORT_ID(pdev) );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
1967
lm_gpio_write(pdev, MISC_REGISTERS_GPIO_0, MISC_REGISTERS_GPIO_LOW, PORT_ID(pdev) );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
1973
elink_ext_phy_hw_reset( pdev, PORT_ID(pdev) );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
246
u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
320
u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
571
LM_SHMEM_READ(pdev,OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].default_cfg),&port_default_cfg);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
606
LM_SHMEM_READ(pdev,OFFSETOF(shmem_region_t,dev_info.port_hw_config[PORT_ID(pdev)].default_cfg),&default_cfg);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
778
const u8_t port_id = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_phy.c
900
LM_INTMEM_WRITE16(pdev,USTORM_ETH_PAUSE_ENABLED_OFFSET(PORT_ID(pdev)), pause_ena, BAR_USTRORM_INTMEM);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
100
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,5) : LM_NIG_ACPI_PAT_LEN_IDX(1,5) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
101
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,5) : LM_NIG_ACPI_PAT_CRC_IDX(1,5) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
104
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,6) : LM_NIG_ACPI_PAT_LEN_IDX(1,6) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
105
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,6) : LM_NIG_ACPI_PAT_CRC_IDX(1,6) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
108
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,7) : LM_NIG_ACPI_PAT_LEN_IDX(1,7) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
109
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,7) : LM_NIG_ACPI_PAT_CRC_IDX(1,7) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
135
reg_be = (0 == PORT_ID(pdev)) ? NIG_REG_LLH0_ACPI_BE_MEM_DATA : NIG_REG_LLH1_ACPI_BE_MEM_DATA ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
226
const u8_t port_id = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
315
emac_base = ( 0 == PORT_ID(pdev) ) ? GRCBASE_EMAC0 : GRCBASE_EMAC1 ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
80
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,0) : LM_NIG_ACPI_PAT_LEN_IDX(1,0) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
81
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,0) : LM_NIG_ACPI_PAT_CRC_IDX(1,0) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
84
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,1) : LM_NIG_ACPI_PAT_LEN_IDX(1,1) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
85
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,1) : LM_NIG_ACPI_PAT_CRC_IDX(1,1) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
88
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,2) : LM_NIG_ACPI_PAT_LEN_IDX(1,2) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
89
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,2) : LM_NIG_ACPI_PAT_CRC_IDX(1,2) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
92
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,3) : LM_NIG_ACPI_PAT_LEN_IDX(1,3) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
93
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,3) : LM_NIG_ACPI_PAT_CRC_IDX(1,3) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
96
reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,4) : LM_NIG_ACPI_PAT_LEN_IDX(1,4) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_power.c
97
reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,4) : LM_NIG_ACPI_PAT_CRC_IDX(1,4) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_resc.c
2175
DMAE_COPY_PCI_PCI_PORT_0_CMD + PORT_ID(pdev),
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_resc.c
767
rcq_chain->iro_prod_offset = USTORM_RX_PRODS_E1X_OFFSET(PORT_ID(pdev), LM_FW_CLI_ID(pdev, cid));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_resc.c
91
port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1112
reg_name = PORT_ID(pdev) ? HC_REG_CONFIG_1 : HC_REG_CONFIG_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1118
SET_FLAGS(val, (PORT_ID(pdev)? HC_CONFIG_1_REG_ATTN_BIT_EN_1 : HC_CONFIG_0_REG_ATTN_BIT_EN_0));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1149
REG_WR(pdev, HC_REG_INT_MASK + PORT_ID(pdev)*4, 0x1FFFF);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1170
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_TRAILING_EDGE_1 : HC_REG_TRAILING_EDGE_0), val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1171
REG_WR(pdev, (PORT_ID(pdev) ? HC_REG_LEADING_EDGE_1 : HC_REG_LEADING_EDGE_0), val);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1272
reg_name = PORT_ID(pdev) ? HC_REG_CONFIG_1 : HC_REG_CONFIG_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
1286
REG_WR(pdev, HC_REG_INT_MASK + PORT_ID(pdev)*4, 0);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
570
REG_WR(pdev, HC_REG_ATTN_MSG0_ADDR_L + 8*PORT_ID(pdev), host_sb_addr->as_u32.low);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
571
REG_WR(pdev, HC_REG_ATTN_MSG0_ADDR_H + 8*PORT_ID(pdev), host_sb_addr->as_u32.high);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
665
u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
679
REG_RD(pdev, (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE1_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE1_FUNC_0_OUT_0) + group_idx*16);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
681
REG_RD(pdev, (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE2_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE2_FUNC_0_OUT_0) + group_idx*16);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
683
REG_RD(pdev, (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE3_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE3_FUNC_0_OUT_0) + group_idx*16);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
685
REG_RD(pdev, (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE4_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE4_FUNC_0_OUT_0) + group_idx*16);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
689
REG_RD(pdev, (PORT_ID(pdev) ? MISC_REG_AEU_ENABLE5_FUNC_1_OUT_0 : MISC_REG_AEU_ENABLE5_FUNC_0_OUT_0) + group_idx*4);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
704
PORT_ID(pdev) ? MISC_REG_AEU_AFTER_INVERT_1_FUNC_1 : MISC_REG_AEU_AFTER_INVERT_1_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
706
PORT_ID(pdev) ? MISC_REG_AEU_AFTER_INVERT_2_FUNC_1 : MISC_REG_AEU_AFTER_INVERT_2_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
708
PORT_ID(pdev) ? MISC_REG_AEU_AFTER_INVERT_3_FUNC_1 : MISC_REG_AEU_AFTER_INVERT_3_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
710
PORT_ID(pdev) ? MISC_REG_AEU_AFTER_INVERT_4_FUNC_1 : MISC_REG_AEU_AFTER_INVERT_4_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
712
PORT_ID(pdev) ? MISC_REG_AEU_AFTER_INVERT_5_FUNC_1 : MISC_REG_AEU_AFTER_INVERT_5_FUNC_0;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_sb.c
896
REG_WR(pdev, HC_REG_COMMAND_REG + PORT_ID(pdev)*32 + COMMAND_REG_INT_ACK, result);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1050
switch (PORT_ID(pdev))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1066
DbgMessage(NULL, FATAL, "Invalid Port ID %d\n", PORT_ID(pdev));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1123
lm_dmae_address_t source = lm_dmae_address((0==PORT_ID(pdev))?NIG_REG_STAT0_BRB_DISCARD : NIG_REG_STAT1_BRB_DISCARD,
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1199
const u32_t emac_base = (PORT_ID(pdev)==0) ? GRCBASE_EMAC0 : GRCBASE_EMAC1;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1308
const u32_t port = PORT_ID(pdev) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1376
const u32_t port = PORT_ID(pdev) ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1501
cur_query_entry->index = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
1514
cur_query_entry->index = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
3690
u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
591
val = REG_RD(pdev, HC_REG_INT_MASK + 4*PORT_ID(pdev) );
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_stats.c
704
emac_base = ( 0 == PORT_ID(pdev) ) ? GRCBASE_EMAC0 : GRCBASE_EMAC1 ;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/bnxe_fw_funcs.c
53
if (PORT_ID(pdev)) {
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/bnxe_fw_funcs.c
62
ECORE_PF_Q_NUM(q_num, PORT_ID(pdev), vnic);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
1003
((LM_CHIP_PORT_MODE_NONE == CHIP_PORT_MODE(pdev))? PORT_ID(pdev) : (PATH_ID(pdev)+2*PORT_ID(pdev)))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
1010
#define FUNC_MAILBOX_ID(pdev) (FUNC_MAILBOX_ID_PARAM(PORT_ID(pdev) ,VNIC_ID(pdev),CHIP_NUM(pdev), CHIP_PORT_MODE(pdev)))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
1015
for ((func) = PORT_ID(pdev); (func) < (CHIP_IS_E1x(pdev) ? E1H_FUNC_MAX : E2_FUNC_MAX); (func)+= (CHIP_IS_E1x(pdev) ? 2 : 1))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
1993
PORT_ID(_pdev) * sizeof(lldp_admin_mib_t))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
4348
#define HW_CID(pdev,x) (x |(PORT_ID(pdev) << 23 | VNIC_ID(pdev) << 17))
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
992
#define PORT_ID(pdev) (PORT_ID_PARAM_FUNC_REL(PFDEV(pdev)->params.pfunc_rel)) //0 or 1
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/lm5710.h
997
for ((func) = PORT_ID(pdev); (func) < E1H_FUNC_MAX; (func)+=2)
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4rx.c
1594
LM_INTMEM_WRITE16(pdev, USTORM_TOE_CQ_PROD_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id) , PORT_ID(pdev)),
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4rx.c
1623
LM_INTMEM_WRITE16(pdev, USTORM_TOE_GRQ_PROD_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id) , PORT_ID(pdev)),
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
2679
SET_FLAGS( xtcp_st->flags,(PORT_ID(pdev) << XSTORM_COMMON_CONTEXT_SECTION_PBF_PORT_SHIFT));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
6228
LM_INTMEM_WRITE32(pdev, USTORM_TOE_GRQ_CONS_PTR_LO_OFFSET(LM_TOE_FW_RSS_ID(pdev,idx), PORT_ID(pdev)), 0, BAR_USTRORM_INTMEM);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
6229
LM_INTMEM_WRITE32(pdev, USTORM_TOE_GRQ_CONS_PTR_HI_OFFSET(LM_TOE_FW_RSS_ID(pdev,idx), PORT_ID(pdev)), 0, BAR_USTRORM_INTMEM);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
6381
LM_INTMEM_WRITE16(pdev, USTORM_TOE_GRQ_PROD_OFFSET(LM_TOE_FW_RSS_ID(pdev,i), PORT_ID(pdev)),
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
654
port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
747
port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
973
if (PORT_ID(pdev)) {
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4tx.c
543
LM_INTMEM_WRITE16(pdev, CSTORM_TOE_CQ_PROD_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id) , PORT_ID(pdev)),
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/lm_l5.c
942
port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/lm_vf.c
339
u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/lm_vf.c
392
u8_t port = PORT_ID(pdev);
usr/src/uts/common/io/bnxe/bnxe_mm.c
1493
(PATH_ID(pdev) + (2 * PORT_ID(pdev))) : \
usr/src/uts/common/io/bnxe/bnxe_mm.c
1494
(PATH_ID(pdev) + PORT_ID(pdev))