Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c504 opcode |= (BP_PORT(bp) ? DMAE_CMD_PORT_1 : DMAE_CMD_PORT_0); in bnx2x_dmae_opcode()
857 int port = BP_PORT(bp); in bnx2x_hc_int_disable()
1471 TM_REG_LIN0_VNIC_UC + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1476 TM_REG_LIN0_NUM_SCANS + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1567 int port = BP_PORT(bp); in bnx2x_hc_int_enable()
2347 USTORM_ETH_PAUSE_ENABLED_OFFSET(BP_PORT(bp)), in bnx2x_init_dropless_fc()
2554 int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); in bnx2x_read_mf_cfg()
2642 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_set_local_cmng()
2715 bp->link_params.port = BP_PORT(bp); in bnx2x__link_status_update()
2955 REG_WR(bp, NIG_REG_LLH0_FUNC_VLAN_ID + BP_PORT(bp) * 8, in bnx2x_handle_update_svid_cmd()
[all …]
Dbnx2x_cmn.h659 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_sb()
698 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp)*32 + in bnx2x_hc_ack_int()
906 return 2 * vn + BP_PORT(bp); in func_by_vn()
1056 return fp->cl_id + BP_PORT(bp) * FP_SB_MAX_E1x; in bnx2x_stats_id()
1156 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
860 int port = BP_PORT(bp); in bnx2x_qm_init_cid_count()
919 int port = BP_PORT(bp); in bnx2x_src_init_t2()
Dbnx2x_stats.c270 int port = BP_PORT(bp); in bnx2x_port_stats_init()
861 u32 lpi_reg = BP_PORT(bp) ? MISC_REG_CPMU_LP_SM_ENT_CNT_P1 in bnx2x_hw_stats_update()
868 SHMEM_RD(bp, port_mb[BP_PORT(bp)].stat_nig_timer); in bnx2x_hw_stats_update()
1477 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1491 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1506 cur_query_entry->index = BP_PORT(bp); in bnx2x_prep_fw_stats_req()
1601 int /*abs*/port = BP_PORT(bp); in bnx2x_stats_init()
1629 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) +\
2201 #define INIT_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2203 #define PMF_DMAE_C(bp) (BP_PORT(bp) * MAX_DMAE_C_PER_PORT + \
2236 #define HW_CID(bp, x) ((BP_PORT(bp) << 23) | \
Dbnx2x_ethtool.c1253 int port = BP_PORT(bp); in bnx2x_acquire_nvram_lock()
1289 int port = BP_PORT(bp); in bnx2x_release_nvram_lock()
1799 int port = BP_PORT(bp); in bnx2x_set_eeprom()
2116 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_get_eee()
2153 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_set_eee()
2236 int port = BP_PORT(bp); in bnx2x_test_registers()
3053 int port = BP_PORT(bp); in bnx2x_self_test()
Dbnx2x_cmn.c2528 int i, rc, port = BP_PORT(bp); in bnx2x_load_cnic()
2616 int port = BP_PORT(bp); in bnx2x_nic_load()
4517 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.c806 u32 reg_offset = BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM : in bnx2x_set_mac_in_nig()
829 REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : in bnx2x_set_mac_in_nig()
/linux-6.1.9/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()
3054 u32 hc_addr = (HC_REG_COMMAND_REG + BP_PORT(bp) * 32 + in cnic_ack_bnx2x_int()
4237 u32 port = BP_PORT(bp); in cnic_cm_init_bnx2x_hw()
5192 USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), cli)); in cnic_init_rings()