Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_main.c538 opcode |= (BP_PORT(bp) ? DMAE_CMD_PORT_1 : DMAE_CMD_PORT_0); in bnx2x_dmae_opcode()
1097 int port = BP_PORT(bp); in bnx2x_hc_int_enable()
1221 int port = BP_PORT(bp); in bnx2x_hc_int_disable()
1960 int func = 2*vn + BP_PORT(bp); in bnx2x_init_vn_minmax()
2058 int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); in bnx2x_read_mf_cfg()
2108 int port = BP_PORT(bp); in bnx2x_link_sync_notify()
2136 int port = BP_PORT(bp); in bnx2x_link_attn()
2164 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_link_attn()
2201 int port = BP_PORT(bp); in bnx2x_pmf_update()
2598 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_pf_init()
[all …]
Dbnx2x_cmn.h571 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_sb()
622 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_int()
1010 BP_PORT(bp)*(CHIP_IS_E2(bp) ? ETH_MAX_RX_CLIENTS_E2 : in bnx2x_init_fcoe_fp()
1015 USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), bnx2x_fcoe_fp(bp)->cl_id); in bnx2x_init_fcoe_fp()
Dbnx2x_dcb.c345 offset += BP_PORT(bp) * mib_size; in bnx2x_dcbx_read_mib()
382 if (BP_PORT(bp)) { in bnx2x_pfc_set_pfc()
635 #define LLDP_STATS_OFFSET(bp) (BP_PORT(bp)*\
639 #define LLDP_PARAMS_OFFSET(bp) (BP_PORT(bp)*sizeof(struct lldp_params))
642 BP_PORT(bp)*sizeof(struct lldp_admin_mib))
949 XSTORM_CMNG_PER_PORT_VARS_OFFSET(BP_PORT(bp)) + in bnx2x_dcb_init_intmem_pfc()
957 XSTORM_CMNG_PER_PORT_VARS_OFFSET(BP_PORT(bp)) + in bnx2x_dcb_init_intmem_pfc()
963 XSTORM_CMNG_PER_PORT_VARS_OFFSET(BP_PORT(bp)) + in bnx2x_dcb_init_intmem_pfc()
Dbnx2x.h999 #define BP_PORT(bp) (bp->pfid & 1) macro
1006 #define BP_FW_MB_IDX(bp) (BP_PORT(bp) +\
1599 #define INIT_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
1601 #define PMF_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
1625 #define HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
Dbnx2x_ethtool.c722 int port = BP_PORT(bp); in bnx2x_acquire_nvram_lock()
753 int port = BP_PORT(bp); in bnx2x_release_nvram_lock()
1080 int port = BP_PORT(bp); in bnx2x_set_eeprom()
1403 int port = BP_PORT(bp); in bnx2x_test_registers()
1840 config->hdr.offset = (BP_PORT(bp) ? 32 : 0); in bnx2x_test_intr()
1887 int port = BP_PORT(bp); in bnx2x_self_test()
Dbnx2x_stats.c291 int port = BP_PORT(bp); in bnx2x_port_stats_init()
736 SHMEM_RD(bp, port_mb[BP_PORT(bp)].stat_nig_timer); in bnx2x_hw_stats_update()
1300 int mb_idx = !CHIP_IS_E2(bp) ? 2*vn + BP_PORT(bp) : vn; in bnx2x_func_stats_base_init()
1344 int port = BP_PORT(bp); in bnx2x_stats_init()
Dbnx2x_init_ops.h782 int port = BP_PORT(bp); in bnx2x_qm_init_cid_count()
847 int port = BP_PORT(bp); in bnx2x_src_init_t2()
Dbnx2x_cmn.c1392 int port = BP_PORT(bp); in bnx2x_nic_load()
1487 REG_WR(bp, TM_REG_EN_LINEAR0_TIMER + BP_PORT(bp)*4, 1); in bnx2x_nic_load()
1570 REG_WR(bp, TM_REG_EN_LINEAR0_TIMER + BP_PORT(bp)*4, 0); in bnx2x_nic_load()