Home
last modified time | relevance | path

Searched defs:_pdev (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h13 #define mm_acquire_tcp_lock(_pdev, con) LOCK() argument
14 #define mm_release_tcp_lock(_pdev, con) UNLOCK() argument
16 #define MM_ACQUIRE_TOE_LOCK(_pdev) LOCK() argument
17 #define MM_RELEASE_TOE_LOCK(_pdev) UNLOCK() argument
19 #define MM_ACQUIRE_TOE_GRQ_LOCK(_pdev, idx) LOCK() argument
20 #define MM_RELEASE_TOE_GRQ_LOCK(_pdev, idx) UNLOCK() argument
22 #define MM_ACQUIRE_TOE_GRQ_LOCK_DPC(_pdev, idx) LOCK() argument
23 #define MM_RELEASE_TOE_GRQ_LOCK_DPC(_pdev, idx) UNLOCK() argument
112 #define MM_ACQUIRE_TOE_LOCK(_pdev) DbgMessage(pdev, INFORMl4, "Acquiring global toe lock\n… argument
113 #define MM_RELEASE_TOE_LOCK(_pdev) DbgMessage(pdev, INFORMl4, "Releasing global toe lock\n… argument
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dcbx_mp.c46 #define MAX_NUM_OF_ACTIVE_ETH_CONS_PER_COS(_pdev) LM_SB_CNT(_pdev) argument
47 #define ETH_CHAIN_COS0_START_OFFSET(_pdev) (0) argument
48 #define ETH_CHAIN_COS1_START_OFFSET(_pdev) (ETH_CHAIN_COS0_START_OFFSET(_pdev) + LM_SB… argument
49 #define ETH_CHAIN_COS2_START_OFFSET(_pdev) (ETH_CHAIN_COS1_START_OFFSET(_pdev) + LM_SB… argument
54 #define ETH_IS_CHAIN_IN_COS0_RANGE(_pdev, _chain) ( lm_mp_eth_is_chain_in_cosx_range(_pdev, _chai… argument
55 #define ETH_IS_CHAIN_IN_COS1_RANGE(_pdev, _chain) ( lm_mp_eth_is_chain_in_cosx_range(_pdev, _chai… argument
56 #define ETH_IS_CHAIN_IN_COS2_RANGE(_pdev, _chain) ( lm_mp_eth_is_chain_in_cosx_range(_pdev, _chai… argument
57 #define ETH_CID_COSX_END_OFFSET(_pdev, _val) (_val + MAX_NUM_OF_ACTIVE_ETH_CONS_PER_COS(pdev… argument
H A Dcontext.h10 #define LM_CONN_MAX_FUNC(_pdev,_conn) (((_pdev)->context_info->proto_end[_conn]- \ argument
13 #define LM_CONN_BASE(_pdev,_conn) ((_pdev)->context_info->proto_start[_conn]) argument
H A Dlm_mcp.c424 #define LM_LOADER_IS_FIRST_ON_PORT(_pdev,_path_idx,_port_idx) \ argument
431 #define LM_LOADER_IS_LAST_ON_PORT(_pdev,_path_idx,_port_idx) \ argument
438 #define LM_LOADER_IS_FIRST_ON_COMMON(_pdev,_path_idx) (LM_LOADER_IS_FIRST_ON_PORT(_pdev,_path_idx,0… argument
439 #define LM_LOADER_IS_LAST_ON_COMMON(_pdev,_path_idx) (LM_LOADER_IS_LAST_ON_PORT(_pdev,_path_idx,0)… argument
441 #define LM_LOADER_IS_FIRST_ON_CHIP(_pdev) (LM_LOADER_IS_FIRST_ON_COMMON(_pdev,0) && LM_LOADER_IS_FI… argument
442 #define LM_LOADER_IS_LAST_ON_CHIP(_pdev) (LM_LOADER_IS_LAST_ON_COMMON(_pdev,0) && LM_LOADER_IS_LA… argument
532 #define IS_MCP_ON(_pdev) ( TEST_MODE_NO_MCP != GET_FLAGS(_pdev->params.test_mode, TEST_MODE_NO_MCP … argument
H A Dlm_stats.c49 #define LM_STATS_IS_HW_ACTIVE(_pdev) ( _pdev->vars.stats.stats_collect.stats_hw.b_collect_enabled &… argument
54 #define LM_STATS_DO_IF_SF(_pdev,_cmd) if( !_pdev->hw_info.mf_info.multi_vnics_mode ){ _cmd; } ; argument
191 #define LM_STATS_ERROR_DISCARD_SUM( _pdev, _i ) _pdev->vars.stats.stats_mirror.stats_fw.eth_tstorm… in lm_get_stats() argument
H A Dlm_devinfo.c2900 #define PARAM_VAL(_pdev, _entry) \ in lm_init_params() argument
2902 #define SET_PARAM_VAL(_pdev, _entry, _val) \ in lm_init_params() argument
H A Dlm_hw_init_reset.c102 #define ECORE_INIT_COMN(_pdev, _block) \ argument
105 #define ECORE_INIT_PORT(_pdev, _block) \ argument
108 #define ECORE_INIT_FUNC(_pdev, _block) \ argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_vbd.h112 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
140 #define MM_ACQUIRE_RAMROD_COMP_LOCK_IMP(_pdev) argument
141 #define MM_RELEASE_RAMROD_COMP_LOCK_IMP(_pdev) argument
232 #define RESOURCE_TRACE_INC(_pdev, _cli_idx, _type, _field) \ argument
241 #define RESOURCE_TRACE_DEC(_pdev, _cli_idx, _type, _field) \ argument
250 #define RESOURCE_TRACE_ADD(_pdev, _cli_idx, _type, _field, _size) \ argument
259 #define RESOURCE_TRACE_SUB(_pdev, _cli_idx, _type, _field, _size) \ argument
262 #define RESOURCE_TRACE_UPDATE_PEAK(_pdev, _cli_idx, _type) \ argument
299 #define MM_DCB_INDICATE_EVENT(_pdev,_event,_event_buf, _event_buf_size) mm_dcb_indicate_event(_… argument
303 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (mm_dcb_mp_l2_is_enable(pdev)) argument
H A Dmm_linux.h99 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
102 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (FALSE) argument
169 #define mm_register_dpc_imp(_pdev, _func) \ argument
174 #define mm_dbus_start_if_enabled_imp(_pdev) argument
175 #define mm_dbus_stop_if_started_imp(_pdev) argument
H A Dmm_ndismono.h88 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
93 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (mm_dcb_mp_l2_is_enable(pdev)) argument
119 #define MM_ACQUIRE_RAMROD_COMP_LOCK_IMP(_pdev) argument
120 #define MM_RELEASE_RAMROD_COMP_LOCK_IMP(_pdev) argument
160 #define mm_register_dpc_imp(_pdev, _func) \ argument
H A Dmm_dos.h134 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
168 #define MM_ACQUIRE_RAMROD_COMP_LOCK_IMP(_pdev) LOCK() argument
169 #define MM_RELEASE_RAMROD_COMP_LOCK_IMP(_pdev) UNLOCK() argument
180 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (FALSE) argument
194 static __inline void mm_init_lock(struct _lm_device_t *_pdev, in mm_init_lock()
217 #define mm_register_dpc_imp(_pdev, _func) \ argument
H A Dmm_uefi.h140 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
171 #define MM_ACQUIRE_RAMROD_COMP_LOCK_IMP(_pdev) LOCK() argument
172 #define MM_RELEASE_RAMROD_COMP_LOCK_IMP(_pdev) UNLOCK() argument
198 static __inline void mm_init_lock(struct _lm_device_t *_pdev, in mm_init_lock()
224 #define mm_register_dpc_imp(_pdev, _func) \ argument
263 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (FALSE) argument
H A Dmm_user_mode_debug.h65 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
134 static void mm_init_lock(struct _lm_device_t *_pdev, in mm_init_lock()
175 #define mm_register_dpc_imp(_pdev, _func) \ argument
215 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (FALSE) argument
H A Dmm_solaris.h95 #define MM_REGISTER_LPME_IMP(_pdev, _func, _b_fw_access, _b_queue_for_fw) \ argument
99 #define MM_DCB_MP_L2_IS_ENABLE(_pdev) (FALSE) argument
161 #define mm_register_dpc_imp(_pdev, _func) \ argument
H A Dmm.h115 #define MM_REGISTER_LPME(/* struct _lm_device_t* */_pdev, /* lm_generic_workitem_function */_func, … argument
198 #define MM_REGISTER_DPC(/* struct _lm_device_t* */_pdev, /* lm_generic_dpc_func */_func) \ argument
277 #define mm_alloc_mem(_pdev, _mem_size, cli_idx) \ argument
288 #define mm_alloc_phys_mem(_pdev, _mem_size, _phys_mem, _mem_type, cli_idx) \ argument
297 #define mm_rt_alloc_mem(_pdev, _mem_size, cli_idx) \ argument
310 #define mm_alloc_phys_mem_align(_pdev, _mem_size, _phys_mem, _alignment, _mem_type, cli_idx) \ argument
322 #define mm_rt_alloc_phys_mem(_pdev, _mem_size, _phys_mem, _flush_type, cli_idx) \ argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h142 #define LM_VF_CID_WND_SIZE(_pdev) (((_pdev)->hw_info.sriov_info.max_chains_per_vf) ? (_pde… argument
143 #define LM_VF_CHAINS_PER_PF(_pdev) (((_pdev)->hw_info.sriov_info.max_chains_per_vf) ? (_pde… argument
145 #define LM_VF_NUM_CIDS_MASK(_pdev) ((1 << LM_VF_CID_WND_SIZE(_pdev)) - 1) argument
147 #define LM_VF_CID_BASE(_pdev) (1 << (LM_VF_MAX_RVFID_SIZE + LM_VF_CID_WND_SIZE(_pdev))) argument
177 #define LM_TRIGGER_PCIE(_pdev) \ argument
184 #define LM_GENERAL_ATTN_INTERRUPT_SET(_pdev,_func) REG_WR((_pdev),MISC_REG_AEU_GENER… argument
267 #define MAX_TX_CHAIN(_pdev) (3U*LM_SB_CNT(_pdev) + MAX_NON_RSS_CHAINS) argument
268 #define MAX_RX_CHAIN(_pdev) (1U*LM_SB_CNT(_pdev) + MAX_NON_RSS_CHAINS) argument
270 #define MAX_TX_CHAIN(_pdev) (MAX_ETH_CONS) argument
271 #define MAX_RX_CHAIN(_pdev) (MAX_ETH_REG_CONS) argument
[all …]
H A Dlm_stats.h61 #define HAS_MSTAT(_pdev) CHIP_IS_E3(_pdev) argument
79 #define LM_STATS_HW_GET_MACS_U64(_pdev, field_name) ( _pdev->vars.stats.stats_mirror.stats_hw.macs[… argument
94 #define LM_STATS_VERIFY_COUNTER(_pdev, _counter ) ( _pdev->vars.stats.stats_collect.stats_fw.drv_co… argument
112 #define LM_STATS_CNT_ID(_pdev) (IS_VFDEV(_pdev) ? (_pdev)->params.base_fw_stats_id : FUNC_ID(_pdev)) argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.h32 #define LM_SW_CID_TO_SW_QID(_pdev, _cid) (_cid) argument
33 #define LM_SW_QID_TO_SW_CID(_pdev, _qid) (_qid) argument
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm_l5.c69 mm_sc_is_omgr_enabled(struct _lm_device_t *_pdev) in mm_sc_is_omgr_enabled()
78 IN struct _lm_device_t *_pdev, in mm_sc_omgr_flush_rx()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/include/
H A Dlm_l5st.h112 #define LM_SC_EQ(_pdev, _idx) (_pdev)->iscsi_info.run_time.eq_chain[_idx] argument
139 … #define LM_EQ_ADDR_SAVE_SC(_pdev, _idx) (_pdev)->iscsi_info.eq_addr_save.eq_addr[_idx] argument
260 #define LM_FC_PBL(_pdev, _idx) ((_pdev)->fcoe_info.bind.pbl[_idx]) argument
277 #define LM_FC_EQ(_pdev, _idx) (_pdev)->fcoe_info.run_time.eq_chain[_idx] argument
297 … #define LM_EQ_ADDR_SAVE_FC(_pdev, _idx) (_pdev)->fcoe_info.eq_addr_save.eq_addr[_idx] argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c49 #define ECORE_ZALLOC(_size, _flags, _pdev) mm_rt_zalloc_mem(_pdev, _size) argument
50 #define ECORE_CALLOC(_len, _size, _flags, _pdev) mm_rt_zalloc_mem(_pdev, _len * _size) argument
51 #define ECORE_FREE(_pdev, _buf, _size) mm_rt_free_mem(_pdev, _buf, _size, 0) argument
66 #define ecore_sp_post(_pdev, _cmd , _cid, _data, _con_type) \ argument
70 #define ECORE_SET_CTX_VALIDATION(_pdev, _cxt, _cid) \ argument
75 #define ECORE_TODO_FW_COMMAND(_pdev, _drv_msg_code, _val) (-1) argument
229 #define ECORE_SPIN_LOCK_INIT(_spin, _pdev) mm_init_lock(_pdev, _spin) argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h79 #define LM_VF_Q_ID_TO_PF_CID(_pdev,_vf_info, _q_id) ((((1 << LM_VF_MAX_RVFID_SIZE) | (_vf_info)->ab… argument