Searched refs:BP_PORT (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 504 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 …]
|
D | bnx2x_cmn.h | 659 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()
|
D | bnx2x_init_ops.h | 29 #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()
|
D | bnx2x_stats.c | 270 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()
|
D | bnx2x_init.h | 220 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()
|
D | bnx2x.h | 1361 #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) | \
|
D | bnx2x_ethtool.c | 1253 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()
|
D | bnx2x_cmn.c | 2528 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()
|
D | bnx2x_dcb.c | 408 offset += BP_PORT(bp) * mib_size; in bnx2x_dcbx_read_mib() 825 BP_PORT(bp)*sizeof(struct lldp_admin_mib))
|
D | bnx2x_sp.c | 806 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/ |
D | cnic.h | 405 #define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \ 412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H))
|
D | cnic.c | 1702 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()
|