Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 25 of 120) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_init_reset.c351 function_for_clean_up = IS_VFDEV(pdev) ? FW_VFID(pdev) : FUNC_ID(pdev); in lm_cleanup_after_flr()
1264 if (!CHIP_IS_E1x(pdev) && VNIC_ID(pdev) == 3) in uninit_pxp2_blk()
1296 if (IS_MULTI_VNIC(pdev) && IS_PMF(pdev)) in lm_reset_function_part()
1895 if (CHIP_IS_E2(pdev) || CHIP_IS_E1H(pdev)) in lm_chip_reset()
2573 if (CHIP_IS_E2(pdev) || CHIP_IS_E1H(pdev)) in init_misc_common()
3063 if (CHIP_REV_IS_EMUL(pdev) || (CHIP_REV_IS_FPGA(pdev) && CHIP_IS_E1(pdev))) in init_brb_port()
3826 mm_wait(pdev,10 * pdev->vars.clk_factor); in prs_brb_mem_setup()
3845 mm_wait(pdev,10 * pdev->vars.clk_factor); in prs_brb_mem_setup()
3914 mm_wait(pdev,100 * pdev->vars.clk_factor); in prs_brb_mem_setup()
4389 …elink_init_mod_abs_int(pdev, &pdev->vars.link, CHIP_ID(pdev), pdev->hw_info.shmem_base, pdev->hw_i… in init_port_part()
[all …]
H A Dlm_hw_attn.c72 if (!pdev->params.enable_error_recovery || CHIP_IS_E1x(pdev)) in lm_recoverable_error()
906 REG_WR(pdev, port_reg_name, pdev->vars.aeu_mask_attn_func); in lm_handle_assertion_processing()
908 lm_hw_unlock(pdev, HW_LOCK_RESOURCE_PORT0_ATT_MASK + PORT_ID(pdev)); in lm_handle_assertion_processing()
1092 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_spio5_attn_everest_processing()
1132 elink_link_status_update(&pdev->params.link,&pdev->vars.link); in lm_pmf_or_link_event()
1253 DbgBreakIf(!IS_SD_UFP_MODE(pdev) && (!IS_MULTI_VNIC(pdev) || !pdev->vars.is_pmf)); in lm_set_bandwidth_event()
1271 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_set_bandwidth_event()
1345 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_ufp_pf_disable()
1644 call_pmf_or_link = IS_MULTI_VNIC(pdev) && !pdev->vars.is_pmf; in lm_generic_event()
1779 DbgMessage(pdev, in lm_get_attn_info()
[all …]
H A Dlm_devinfo.c225 pdev->params.pfunc_abs = (pdev->params.pfunc_rel << 1) | pdev->params.path_id; in lm_get_function_num()
229 pdev->params.pfunc_abs = pdev->params.pfunc_rel | pdev->params.path_id; in lm_get_function_num()
268 if (IS_PFDEV(pdev) || IS_CHANNEL_VFDEV(pdev)) in lm_get_pcicfg_info()
2341 if ( CHIP_IS_E1x(pdev) || IS_SD_UFP_MODE(pdev) || IS_SD_BD_MODE(pdev)) in lm_get_shmem_mf_mac_info()
2674 else if (FUNC_ID(pdev) != PORT_ID(pdev)) in lm_get_shmem_info()
2713 pdev->params.link.cb = pdev; in init_link_params()
2859pdev->params.base_offset_in_cam_table = ((num_ports == 2)? FUNC_ID(pdev) : VNIC_ID(pdev)) * LM_CAM… in lm_init_cam_params()
3253pdev->params.max_rss_chains = ((IS_PFDEV(pdev) && IGU_U_NDSB_OFFSET(pdev)) ? min(IGU_U_NDSB_OFFSET… in lm_init_params()
3286 pdev->params.l4_base_fw_rss_id = VNIC_ID(pdev) * pdev->params.sb_cnt; in lm_init_params()
3309pdev->params.mac_addr[4] = pdev->hw_info.mac_addr[4] = 0x70 + (IS_PFDEV(pdev) ? 0 : (1 + 64*PATH_I… in lm_init_params()
[all …]
H A Dlm_sb.c44 lm_device_t *pdev, in lm_read_isr32() argument
63 lm_device_t *pdev, in lm_read_isr64() argument
104 intr_status = REG_RD(pdev, INTR_BLK_SIMD_ADDR_WOMASK(pdev)); in lm_get_interrupt_status_wo_mask()
120 intr_status = REG_RD(pdev, INTR_BLK_SIMD_ADDR_WMASK(pdev)); in lm_get_interrupt_status()
360 if (!pdev || IS_VFDEV(pdev)) in lm_is_def_sb_updated()
553 mm_memset(pdev->vars.c_hc_ack, 0, sizeof(pdev->vars.c_hc_ack)); in lm_reset_sb_ack_values()
554 mm_memset(pdev->vars.u_hc_ack, 0, sizeof(pdev->vars.u_hc_ack)); in lm_reset_sb_ack_values()
1025 …lm_int_igu_ack_sb(pdev, IGU_DSB_ID(pdev), HC_SEG_ACCESS_DEF, DEF_SB_INDEX(pdev), IGU_INT_DISABLE, … in lm_int_ack_def_sb_disable()
1042 …lm_int_igu_ack_sb(pdev, IGU_DSB_ID(pdev), HC_SEG_ACCESS_DEF, DEF_SB_INDEX(pdev), IGU_INT_ENABLE, 1… in lm_int_ack_def_sb_enable()
1149 REG_WR(pdev, HC_REG_INT_MASK + PORT_ID(pdev)*4, 0x1FFFF); in lm_enable_hc_int()
[all …]
H A Dlm_phy.c809 elink_lfa_reset(&pdev->params.link,&pdev->vars.link); in lm_reset_link()
831 if (!IS_PMF(pdev) && !IS_MF_AFEX_MODE(pdev)) in lm_cmng_update()
844 if( IS_MULTI_VNIC(pdev) && pdev->hw_info.mcp_detected ) in lm_reload_link_and_cmng()
894 if (IS_PMF(pdev) && pdev->params.l2_fw_flow_ctrl) in lm_link_report()
902 pdev->vars.mac_type = pdev->vars.link.mac_type; in lm_link_report()
914 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_link_report()
930 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_link_report()
936 if (IS_MULTI_VNIC(pdev) && IS_PMF(pdev)) in lm_link_report()
961 elink_link_update(&pdev->params.link,&pdev->vars.link); in lm_link_update()
1317 if (CHIP_IS_E1x(pdev) || CHIP_IS_E2(pdev)) in lm_init_phy()
[all …]
H A Dlm_sp.c165 DbgBreakIf(!pdev); in lm_is_eq_completion()
166 if (!pdev || IS_VFDEV(pdev)) in lm_is_eq_completion()
225 if(IS_MF_SD_MODE(pdev) && (IS_SD_UFP_MODE(pdev) || IS_SD_BD_MODE(pdev)) && general->is_fcoe_flg) in lm_eth_init_client_init_general_data()
430 if (IS_MF_SI_MODE(pdev) && pdev->params.npar_vm_switching_enable && in lm_eth_init_client_init_tx_data()
431 (cid != FWD_CID(pdev)) && (cid != FCOE_CID(pdev)) && (cid != ISCSI_CID(pdev))) in lm_eth_init_client_init_tx_data()
957 lm_sq_post(pdev, in lm_tpa_send_ramrod()
2828 lm_set_con_state(pdev, FWD_CID(pdev), LM_CON_STATE_OPEN); in lm_eq_handle_fwd_setup_eqe()
3121 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_eq_handle_function_update_eqe()
3128 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_eq_handle_function_update_eqe()
3162 mm_indicate_link(pdev, pdev->vars.link_status, pdev->vars.medium); in lm_eq_handle_function_update_eqe()
[all …]
H A Dlm_er.c89 if (CHIP_IS_E2(pdev) || CHIP_IS_E3(pdev)) in lm_er_disable_close_the_gate()
127 if (!CHIP_IS_E1(pdev)) in lm_er_pxp_prep()
241 mm_wait(pdev, 1000); in lm_er_empty_tetris_buffer()
275 mm_wait(pdev, 1000); in lm_er_poll_igu_vq()
311 lm_er_set_234_gates(pdev, TRUE); in lm_er_process_kill()
328 mm_wait(pdev, 1000); in lm_er_process_kill()
339 lm_er_pxp_prep(pdev); in lm_er_process_kill()
358 lm_loader_reset(pdev); in lm_er_process_kill()
420 lm_pretend_func(pdev, ABS_FUNC_ID(pdev)); in lm_er_leader_reset()
451 lm_pretend_func(pdev, ABS_FUNC_ID(pdev)); in lm_er_notify_other_path()
[all …]
H A Dlm_resc.c338 pdev, in lm_alloc_txq()
646 …const u8_t byte_counter_id = CHIP_IS_E1x(pdev)? LM_FW_SB_ID(pdev, sb_id) : LM_FW_DHC_QZONE_ID(pdev in lm_setup_txq()
844 if (IS_PFDEV(pdev) && CHIP_IS_E2E3(pdev)) { in lm_setup_rcq()
973 …lm_clear_chain_sb_cons_idx(pdev, sb_id, &LM_TXQ(pdev, cid).hc_sb_info, &LM_TXQ(pdev, cid).hw_con_i… in lm_clear_eth_con_resc()
1470pdev->sq_info.sq_chain.last_bd = pdev->sq_info.sq_chain.prod_bd + pdev->sq_info.sq_chain.bd_left ; in lm_setup_sq()
1513 …it_mac_credit_pool(pdev, &pdev->slowpath_info.macs_pool, FUNC_ID(pdev), CHIP_IS_E1x(pdev)? VNICS_P… in lm_init_sp_objs()
1514 …t_vlan_credit_pool(pdev, &pdev->slowpath_info.vlans_pool, FUNC_ID(pdev), CHIP_IS_E1x(pdev)? VNICS_… in lm_init_sp_objs()
2219 mm_mem_zero(&pdev->toe_info, sizeof(pdev->toe_info)); in lm_alloc_resc()
2228 pdev->tx_info.catchup_chain_idx = FWD_CID(pdev); in lm_alloc_resc()
2238 pdev->tx_info.catchup_chain_idx = FWD_CID(pdev); in lm_alloc_resc()
[all …]
H A Dbnxe_context.c64 if ( CHK_NULL(pdev) || CHK_NULL( pdev->context_info ) ) in lm_setup_searcher_hash_info()
138 if CHK_NULL(pdev) in lm_alloc_searcher_hash_info()
172 if CHK_NULL(pdev) in lm_init_cid_resc()
202 if CHK_NULL(pdev) in lm_setup_context_pool()
301 if CHK_NULL(pdev) in lm_alloc_context_pool()
915pdev->cid_recycled_callbacks[type](pdev, pdev->context_info->array[cid].cid_resc.cookies[type], ci… in lm_recycle_cid()
977 if (!pdev || cid > pdev->params.max_func_connections) { in lm_map_cid_to_proto()
1003 context = lm_get_context(PFDEV(pdev), VF_TO_PF_CID(pdev,sw_cid)); in lm_init_connection_context()
1022 if CHK_NULL(pdev) in lm_set_cid_resc()
1102 if CHK_NULL(pdev) in lm_cid_sp_req_mgr()
[all …]
H A Dl2_dbg.c190 DbgBreakIf(!pdev); in dbg_def_sb_dpc()
284 DbgBreakIf(!pdev); in dbg_sb_dpc()
343 lm_sq_post_pending(pdev); in dbg_sb_dpc()
354 DbgBreakIf(!pdev); in dbg_isr()
387 dbg_def_sb_dpc(pdev); in dbg_isr()
421 print_sb_info(pdev); in dbg_sb_ints_test_suite()
424 dbg_def_sb_dpc(pdev); in dbg_sb_ints_test_suite()
429 dbg_sb_dpc(pdev, index); in dbg_sb_ints_test_suite()
446 dbg_isr(pdev, 0x15555); in dbg_sb_ints_test_suite()
476 dbg_isr(pdev, 0x1); in dbg_sb_ints_test_suite()
[all …]
H A Dlm_hw_access.c73 if(IS_MULTI_VNIC(pdev) && pdev->params.cmng_enable) in lm_cmng_init()
195 lm_device_t *pdev, in lm_initialize_nig_entry() argument
242 lm_device_t *pdev, in lm_find_nig_entry_for_addr() argument
262 lm_device_t *pdev, in lm_insert_nig_entry() argument
306 lm_device_t *pdev, in lm_remove_nig_entry() argument
362 …is_required |= elink_fan_failure_det_req(pdev, pdev->hw_info.shmem_base, pdev->hw_info.shmem_base2… in lm_setup_fan_failure_detection()
1212 val = REG_RD(pdev, HC_REG_INT_MASK + 4*PORT_ID(pdev) ); in lm_is_57710A0_dbg_intr()
1236 if(IS_CHIP_REV_A0(pdev) && lm_is_57710A0_dbg_intr(pdev)) in lm_57710A0_dbg_intr()
1256 …elink_res = elink_set_led( &pdev->params.link, &pdev->vars.link, led_mode, pdev->vars.link.line_sp… in lm_set_led_wrapper()
1409 …if (CHIP_IS_E1x(pdev) || !IS_MULTI_VNIC(pdev) || IS_MF_SD_MODE(pdev) || offset >= MAX_MAC_OFFSET_I… in lm_set_mac_in_nig()
[all …]
H A Dlm_mcp.c267 lm_device_t *pdev) in acquire_split_alr() argument
313 lm_device_t *pdev) in release_split_alr() argument
341 if CHK_NULL(pdev) in lm_send_driver_pulse()
389 if CHK_NULL(pdev) in lm_driver_pulse_always_alive()
593 …if( ERR_IF(PORT_ID(pdev) > 1) || ERR_IF(( FUNC_ID(pdev)) >= ARRSIZE(g_lm_loader.path_arr[PATH_ID(p… in lm_loader_lock()
626 else if( LM_LOADER_IS_FIRST_ON_COMMON(pdev,PATH_ID(pdev)) ) in lm_loader_lock()
630 else if( LM_LOADER_IS_FIRST_ON_PORT( pdev, PATH_ID(pdev), PORT_ID(pdev) ) ) in lm_loader_lock()
642 if( LM_LOADER_IS_LAST_ON_COMMON(pdev,PATH_ID(pdev)) ) in lm_loader_lock()
646 else if( LM_LOADER_IS_LAST_ON_PORT( pdev, PATH_ID(pdev), PORT_ID(pdev) ) ) in lm_loader_lock()
682 if CHK_NULL(pdev) in lm_loader_unlock()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_phy.c978 pdev, in init_5708_serdes()
983 pdev, in init_5708_serdes()
990 pdev, in init_5708_serdes()
997 pdev, in init_5708_serdes()
1016 pdev, in init_5708_serdes()
1023 pdev, in init_5708_serdes()
2263 pdev, in lm_init_remote_phy()
2269 pdev, in lm_init_remote_phy()
2275 pdev, in lm_init_remote_phy()
2289 pdev, in lm_init_remote_phy()
[all …]
H A Dbnx_hw_reset.c86 pdev, in fw_reset_sync()
99 pdev, in fw_reset_sync()
383 pdev, in alloc_bad_rbuf_5706_a0_wa()
499 pdev, in lm_chip_reset()
533 pdev, in lm_chip_reset()
736 pdev, in lm_chip_reset()
751 pdev, in lm_chip_reset()
890 pdev, in l4_reset_setup()
897 pdev, in l4_reset_setup()
904 pdev, in l4_reset_setup()
[all …]
H A Dbnx_hw_nvram.c173 lm_device_t *pdev) in acquire_nvram_lock() argument
221 lm_device_t *pdev) in release_nvram_lock() argument
260 lm_device_t *pdev) in enable_nvram_write() argument
309 lm_device_t *pdev) in disable_nvram_write() argument
368 pdev, in enable_nvram_access()
392 pdev, in disable_nvram_access()
718 mm_wait(pdev, 1); in find_stm_size()
725 mm_wait(pdev, 1); in find_stm_size()
735 mm_wait(pdev, 1); in find_stm_size()
752 mm_wait(pdev, 1); in find_stm_size()
[all …]
H A Dbnx_hw_misc.c26 lm_device_t *pdev, in lm_set_mac_addr() argument
63 lm_device_t *pdev, in lm_reg_rd_ind() argument
91 lm_device_t *pdev, in lm_reg_wr_ind() argument
114 lm_device_t *pdev, in lm_ctx_wr() argument
170 lm_device_t *pdev, in lm_ctx_rd() argument
229 lm_device_t *pdev) in lm_disable_int() argument
266 lm_device_t *pdev) in lm_enable_int() argument
300 lm_device_t *pdev, in lm_reg_rd_blk() argument
475 pdev, in lm_submit_fw_cmd()
490 pdev, in lm_submit_fw_cmd()
[all …]
H A Dbnx_lm_main.c229 pdev, in get_max_conns()
237 pdev, in get_max_conns()
311 pdev, in get_max_conns()
561 pdev, in lm_get_dev_info()
577 pdev, in lm_get_dev_info()
593 pdev, in lm_get_dev_info()
609 pdev, in lm_get_dev_info()
763 REG_RD(pdev, misc.misc_id, &pdev->hw_info.chip_id); in lm_get_dev_info()
1499 ofld->pdev = pdev; in init_ofld_resc()
2437 set_mc_hash_reg(pdev, &pdev->mc_table); in lm_set_rx_mask()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c11 …res = (PFDEV(pdev)->vars.connections[VF_TO_PF_CID(pdev,LM_SW_LEADING_RSS_CID(pdev))].con_state != … in lm_vf_is_function_after_flr()
13 DbgMessage2(pdev, FATAL, "VF[%d(%d)] was FLRed\n", ABS_VFID(pdev), REL_VFID(pdev)); in lm_vf_is_function_after_flr()
87 REL_VFID(pdev)*pdev->hw_info.bar_size[bar_num]; in lm_vf_get_bar_offset()
88 DbgMessage3(pdev, FATAL, "VF[%d(%d)]-bar[%d]:\n", ABS_VFID(pdev),REL_VFID(pdev),bar_num); in lm_vf_get_bar_offset()
306 pdev->params.base_fw_client_id = lm_vf_get_free_clients(PFDEV(pdev),pdev->params.sb_cnt); in lm_vf_allocate_resc_in_pf()
307 pdev->params.base_fw_ndsb = lm_vf_get_free_sbs(PFDEV(pdev),pdev->params.sb_cnt); in lm_vf_allocate_resc_in_pf()
329pdev->params.base_fw_client_id, pdev->params.base_fw_ndsb, pdev->params.base_cam_offset, pdev->par… in lm_vf_allocate_resc_in_pf()
480 DbgMessage2(pdev,FATAL,"Wrong Path[%d], VF[%d]\n",PATH_ID(pdev),ABS_VFID(pdev)); in lm_vf_enable_vf()
588 DbgMessage2(pdev, FATAL, "Set FLR flag for VF[%d(%d)]\n", ABS_VFID(pdev), REL_VFID(pdev)); in lm_vf_fl_reset_set_inprogress()
596 DbgMessage2(pdev, FATAL, "Clear FLR flag for VF[%d(%d)]\n", ABS_VFID(pdev), REL_VFID(pdev)); in lm_vf_fl_reset_clear_inprogress()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_user_mode_debug.h69 #define MM_ACQUIRE_SPQ_LOCK_IMP(pdev) \ argument
71 #define MM_RELEASE_SPQ_LOCK_IMP(pdev) \ argument
73 #define MM_ACQUIRE_SPQ_LOCK_DPC_IMP(pdev) \ argument
78 #define MM_ACQUIRE_CID_LOCK_IMP(pdev) \ argument
80 #define MM_RELEASE_CID_LOCK_IMP(pdev) \ argument
88 #define MM_ACQUIRE_PHY_LOCK_IMP(pdev) \ argument
90 #define MM_RELEASE_PHY_LOCK_IMP(pdev) \ argument
97 #define MM_ACQUIRE_MCP_LOCK_IMP(pdev) argument
98 #define MM_RELEASE_MCP_LOCK_IMP(pdev) argument
155 #define MM_ACQUIRE_PF_LOCK_IMP(pdev) \ argument
[all …]
H A Dmm.h118 #define MM_ACQUIRE_SPQ_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SPQ_LOCK_IMP(pdev) argument
119 #define MM_RELEASE_SPQ_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_SPQ_LOCK_IMP(pdev) argument
120 #define MM_ACQUIRE_SPQ_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SPQ_LOCK_DPC(pdev) argument
121 #define MM_RELEASE_SPQ_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_SPQ_LOCK_DPC(pdev) argument
123 #define MM_ACQUIRE_CID_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_CID_LOCK_IMP(pdev) argument
124 #define MM_RELEASE_CID_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_CID_LOCK_IMP(pdev) argument
132 #define MM_ACQUIRE_PHY_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_PHY_LOCK_IMP(pdev) argument
137 #define MM_ACQUIRE_MCP_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_MCP_LOCK_IMP(pdev) argument
138 #define MM_RELEASE_MCP_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_MCP_LOCK_IMP(pdev) argument
184 #define MM_ACQUIRE_PF_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_PF_LOCK_IMP(pdev) argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h156 struct _lm_device_t *pdev);
178 struct _lm_device_t *pdev);
187 struct _lm_device_t *pdev);
430 struct _lm_device_t *pdev,
441 struct _lm_device_t *pdev,
456 struct _lm_device_t *pdev,
464 struct _lm_device_t *pdev,
474 struct _lm_device_t *pdev,
485 struct _lm_device_t *pdev
925 #define PHY_HW_LOCK(pdev) lm_hw_lock(pdev, HW_LOCK_RESOURCE_MDIO, TRUE); argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c882 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev))); in lm_vf_pf_send_message_to_hw_channel()
966 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev))); in lm_vf_pf_channel_send()
1292 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) && pdev->pf_vf_acquiring_resp)); in lm_vf_pf_get_sb_running_index()
1314 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) && pdev->pf_vf_acquiring_resp)); in lm_vf_pf_get_sb_index()
1334 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) && pdev->pf_vf_acquiring_resp)); in lm_vf_get_doorbell_size()
1874 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) in lm_vf_pf_setup_q()
2018 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) in lm_vf_pf_tear_q_down()
2065 …DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) && (vf_qid < LM_SB_CNT(pdev)) && pdev->pf_vf_acquiring… in lm_vf_pf_set_q_filters()
2289 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) && pdev->pf_vf_acquiring_resp)); in lm_vf_pf_update_rss()
2346 DbgBreakIf(!(pdev && IS_CHANNEL_VFDEV(pdev) && pdev->pf_vf_acquiring_resp)); in lm_vf_pf_update_rsc()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_init_ops.h58 if (DMAE_READY(pdev)) in ecore_write_big_buf()
59 ecore_write_dmae_phys_len(pdev, GUNZIP_PHYS(pdev), addr, len); in ecore_write_big_buf()
63 ecore_init_ind_wr(pdev, addr, GUNZIP_BUF(pdev), len); in ecore_write_big_buf()
67 ecore_init_str_wr(pdev, addr, GUNZIP_BUF(pdev), len); in ecore_write_big_buf()
88 if (DMAE_READY(pdev)) in ecore_write_big_buf_wb()
89 ecore_write_dmae_phys_len(pdev, GUNZIP_PHYS(pdev), addr, len); in ecore_write_big_buf_wb()
93 ecore_init_ind_wr(pdev, addr, GUNZIP_BUF(pdev), len); in ecore_write_big_buf_wb()
97 ecore_init_str_wr(pdev, addr, GUNZIP_BUF(pdev), len); in ecore_write_big_buf_wb()
693 if (!rc && CNIC_SUPPORT(pdev) && !CONFIGURE_NIC_MODE(pdev)) in ecore_ilt_mem_op()
758 REG_WR(pdev, start_reg + PDEV_FUNC(pdev)*4, in ecore_ilt_boundry_init_op()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c302 if(CHK_NULL(pdev)) in lm_fc_alloc_eq_pbl()
487 if CHK_NULL(pdev) in lm_sc_alloc_resc()
586 if CHK_NULL(pdev) in lm_fc_clear_d0_resc()
609 if CHK_NULL(pdev) in lm_fc_clear_resc()
615 pdev, in lm_fc_clear_resc()
658 if CHK_NULL(pdev) in lm_sc_clear_d0_resc()
687 pdev, in lm_sc_clear_resc()
716 HW_CID(pdev, OOO_CID(pdev)), in lm_sc_ooo_chain_establish()
721 LM_FW_CLI_ID(pdev,OOO_CID(pdev)), in lm_sc_ooo_chain_establish()
950 (pdev->params.sb_cnt < pdev->fcoe_info.run_time.num_of_cqs)) in lm_fc_init()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm_l4.c39 lm_device_t *pdev, in mm_acquire_tcp_lock() argument
48 lm_device_t *pdev, in mm_release_tcp_lock() argument
92 struct _lm_device_t * pdev, in mm_tcp_complete_path_upload_request() argument
101 struct _lm_device_t * pdev, in mm_tcp_complete_neigh_upload_request() argument
110 struct _lm_device_t *pdev, in mm_tcp_comp_slow_path_request() argument
119 struct _lm_device_t *pdev, in mm_tcp_complete_bufs() argument
178 struct _lm_device_t * pdev, in mm_tcp_rx_indicate_gen_buf() argument
205 um_device_t * pdev, in _schedule_work_item_for_free_gen_bufs() argument
226 lm_device_t * pdev, in mm_tcp_return_gen_bufs() argument
248 lm_device_t * pdev, in mm_tcp_copy_to_tcp_buf() argument
[all …]

12345