Lines Matching refs:BP_PORT

485 	opcode |= (BP_PORT(bp) ? DMAE_CMD_PORT_1 : DMAE_CMD_PORT_0);  in bnx2x_dmae_opcode()
835 int port = BP_PORT(bp); in bnx2x_hc_int_disable()
1447 TM_REG_LIN0_VNIC_UC + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1452 TM_REG_LIN0_NUM_SCANS + 4*BP_PORT(bp), in bnx2x_poll_hw_usage_counters()
1543 int port = BP_PORT(bp); in bnx2x_hc_int_enable()
2334 USTORM_ETH_PAUSE_ENABLED_OFFSET(BP_PORT(bp)), in bnx2x_init_dropless_fc()
2537 int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); in bnx2x_read_mf_cfg()
2625 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_set_local_cmng()
2698 bp->link_params.port = BP_PORT(bp); in bnx2x__link_status_update()
2934 REG_WR(bp, NIG_REG_LLH0_FUNC_VLAN_ID + BP_PORT(bp) * 8, in bnx2x_handle_update_svid_cmd()
2962 int port = BP_PORT(bp); in bnx2x_pmf_update()
3330 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_pf_init()
3343 int port = BP_PORT(bp); in bnx2x_e1h_disable()
3352 int port = BP_PORT(bp); in bnx2x_e1h_enable()
3543 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_config_mf_bw()
3970 int port = BP_PORT(bp); in bnx2x_attn_int_asserted()
4092 int port = BP_PORT(bp); in bnx2x_fan_failure()
4117 int port = BP_PORT(bp); in bnx2x_attn_int_deasserted0()
4170 int port = BP_PORT(bp); in bnx2x_attn_int_deasserted1()
4214 int port = BP_PORT(bp); in bnx2x_attn_int_deasserted2()
4972 int port = BP_PORT(bp); in bnx2x_chk_parity_attn()
5059 int port = BP_PORT(bp); in bnx2x_attn_int_deasserted()
5983 int port = BP_PORT(bp); in bnx2x_init_def_sb()
6476 bp->common.shmem2_base, BP_PORT(bp)); in bnx2x_pre_irq_nic_init()
6502 REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 + BP_PORT(bp)*4) & in bnx2x_post_irq_nic_init()
6937 (u32)offsetof(struct shmem2_region, lfa_host_addr[BP_PORT(bp)])) in bnx2x__common_init_phy()
7448 int port = BP_PORT(bp); in bnx2x_init_hw_port()
7513 REG_WR(bp, (BP_PORT(bp) ? in bnx2x_init_hw_port()
7521 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7524 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7527 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7535 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7614 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7618 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7624 REG_WR(bp, BP_PORT(bp) ? in bnx2x_init_hw_port()
7648 REG_WR(bp, (BP_PORT(bp) ? NIG_REG_LLH1_CLS_TYPE : in bnx2x_init_hw_port()
7745 int port = BP_PORT(bp); in bnx2x_init_searcher()
7779 int rc, i, port = BP_PORT(bp); in bnx2x_reset_nic_mode()
7885 int port = BP_PORT(bp); in bnx2x_init_hw_func()
8161 BP_PORT(bp) * (main_mem_size * 4); in bnx2x_init_hw_func()
8852 int port = BP_PORT(bp); in bnx2x_reset_func()
8933 int port = BP_PORT(bp); in bnx2x_reset_port()
9016 int port = BP_PORT(bp); in bnx2x_send_unload_req()
9163 int port = BP_PORT(bp); in bnx2x_disable_ptp()
9205 int port = BP_PORT(bp); in bnx2x_chip_cleanup()
9355 int port = BP_PORT(bp); in bnx2x_disable_close_the_gate()
9456 offsetof(struct shmem_region, validity_map[BP_PORT(bp)]); in bnx2x_reset_mcp_prep()
9492 val = SHMEM_RD(bp, validity_map[BP_PORT(bp)]); in bnx2x_init_shmem()
10182 u8 port = BP_PORT(bp); in bnx2x_prev_unload_close_mac()
10195 base_addr = BP_PORT(bp) ? NIG_REG_INGRESS_BMAC1_MEM in bnx2x_prev_unload_close_mac()
10216 vals->emac_addr = NIG_REG_NIG_EMAC0_EN + BP_PORT(bp)*4; in bnx2x_prev_unload_close_mac()
10223 base_addr = BP_PORT(bp) ? GRCBASE_XMAC1 : GRCBASE_XMAC0; in bnx2x_prev_unload_close_mac()
10279 addr = BNX2X_PREV_UNDI_PROD_ADDR(BP_PORT(bp)); in bnx2x_prev_unload_undi_inc()
10291 BP_PORT(bp), BP_FUNC(bp), addr, bd, rcq); in bnx2x_prev_unload_undi_inc()
10378 val = !!(entry && (entry->undi & (1 << BP_PORT(bp)))); in bnx2x_port_after_undi()
10422 tmp_list->undi = after_undi ? (1 << BP_PORT(bp)) : 0; in bnx2x_prev_mark_path()
10626 (MCPR_NVM_SW_ARB_ARB_REQ_CLR1 << BP_PORT(bp))); in bnx2x_prev_unload()
10770 (u32)offsetof(struct shmem2_region, lfa_host_addr[BP_PORT(bp)])) in bnx2x_get_common_hwinfo()
10774 lfa_host_addr[BP_PORT(bp)])); in bnx2x_get_common_hwinfo()
10842 dev_info.port_feature_config[BP_PORT(bp)].mba_config) & in bnx2x_get_common_hwinfo()
10938 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported()
11233 int port = BP_PORT(bp); in bnx2x_get_port_hwinfo()
11318 int port = BP_PORT(bp); in bnx2x_get_iscsi_info()
11402 int port = BP_PORT(bp); in bnx2x_get_fcoe_info()
11482 int port = BP_PORT(bp); in bnx2x_get_cnic_mac_hwinfo()
11574 int port = BP_PORT(bp); in bnx2x_get_mac_hwinfo()
11633 tmp = BP_PORT(bp); in bnx2x_get_dropless_info()
11730 bp->base_fw_ndsb = BP_PORT(bp) * FP_SB_MAX_E1x + BP_L_ID(bp); in bnx2x_get_hwinfo()
11891 u8 other_port = !BP_PORT(bp); in bnx2x_get_hwinfo()
14296 int port = BP_PORT(bp); in bnx2x_drv_ctl()
14533 offset += USTORM_RX_PRODS_E1X_OFFSET(BP_PORT(bp), fp->cl_id); in bnx2x_rx_ustorm_prods_offset()
14560 int port = BP_PORT(bp); in bnx2x_ptp_task()
14597 int port = BP_PORT(bp); in bnx2x_set_rx_ts()
14622 int port = BP_PORT(bp); in bnx2x_cyclecounter_read()
14699 int port = BP_PORT(bp); in bnx2x_configure_ptp_filters()
14815 int rc, port = BP_PORT(bp); in bnx2x_configure_ptp()