Home
last modified time | relevance | path

Searched refs:_lm_device_t (Results 1 – 25 of 69) sorted by relevance

123

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h79 struct _lm_device_t;
156 struct _lm_device_t *pdev);
169 struct _lm_device_t *pdev);
178 struct _lm_device_t *pdev);
187 struct _lm_device_t *pdev);
190 lm_status_t lm_service_eq_intr(struct _lm_device_t * pdev);
222 void lm_abort( IN OUT struct _lm_device_t* pdev,
235 struct _lm_device_t *pdev);
245 struct _lm_device_t *pdev);
248 struct _lm_device_t *pdev, u32_t cid);
[all …]
H A Dcommand.h31 static __inline void _lm_sq_post(struct _lm_device_t *pdev,struct sq_pending_command * pending) in _lm_sq_post()
79 static __inline void lm_sq_post_fill_entry(struct _lm_device_t* pdev, in lm_sq_post_fill_entry()
124 lm_status_t lm_sq_post_entry(struct _lm_device_t * pdev,
135 lm_status_t lm_sq_post(struct _lm_device_t *pdev,
157 void lm_sq_complete(struct _lm_device_t *pdev, u8_t priority,
170 lm_status_t lm_sq_post_pending(struct _lm_device_t *pdev);
177 static __inline lm_status_t lm_command_post( struct _lm_device_t* pdev, in lm_command_post()
196 void lm_sq_change_state(struct _lm_device_t *pdev, lm_sq_state_t state);
208 void lm_sq_complete_pending_requests(struct _lm_device_t *pdev);
221 lm_status_t lm_sq_flush(struct _lm_device_t *pdev);
[all …]
H A Dlm_stats.h115 void lm_stats_on_timer ( struct _lm_device_t* pdev) ;
116 lm_status_t lm_stats_dmae ( struct _lm_device_t* pdev) ;
117 lm_status_t lm_stats_hw_setup ( struct _lm_device_t* pdev) ;
118 void lm_stats_fw_setup ( struct _lm_device_t* pdev) ;
119 void lm_stats_fw_reset ( struct _lm_device_t* pdev) ;
120 lm_status_t lm_stats_alloc_fw_resc (struct _lm_device_t *pdev);
121 lm_status_t lm_stats_alloc_resc( struct _lm_device_t* pdev) ;
122 lm_status_t lm_stats_on_link_update( struct _lm_device_t *pdev, const u8_t b_is_link_up );
124 void lm_stats_fw_assign ( struct _lm_device_t* pdev, IN u32_t stats_flags_done, OUT u32_t* p…
127 void lm_pf_stats_vf_fw_assign(struct _lm_device_t *pdev, u32_t stats_flags_done, u32_t* ptr_…
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_linux.h104 void MM_ACQUIRE_SPQ_LOCK_IMP(struct _lm_device_t *_pdev);
105 void MM_RELEASE_SPQ_LOCK_IMP(struct _lm_device_t *_pdev);
106 void MM_ACQUIRE_SPQ_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
107 void MM_RELEASE_SPQ_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
109 void MM_ACQUIRE_CID_LOCK_IMP(struct _lm_device_t *_pdev);
110 void MM_RELEASE_CID_LOCK_IMP(struct _lm_device_t *_pdev);
112 void MM_ACQUIRE_REQUEST_LOCK_IMP(struct _lm_device_t *_pdev);
113 void MM_RELEASE_REQUEST_LOCK_IMP(struct _lm_device_t *_pdev);
115 void MM_ACQUIRE_REQUEST_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
116 void MM_RELEASE_REQUEST_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
[all …]
H A Dmm_ndismono.h92 mm_dcb_mp_l2_is_enable(struct _lm_device_t *pdev);
95 void MM_ACQUIRE_SPQ_LOCK_IMP(struct _lm_device_t *_pdev);
96 void MM_RELEASE_SPQ_LOCK_IMP(struct _lm_device_t *_pdev);
97 void MM_ACQUIRE_SPQ_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
98 void MM_RELEASE_SPQ_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
100 void MM_ACQUIRE_CID_LOCK_IMP(struct _lm_device_t *_pdev);
101 void MM_RELEASE_CID_LOCK_IMP(struct _lm_device_t *_pdev);
103 void MM_ACQUIRE_REQUEST_LOCK_IMP(struct _lm_device_t *_pdev);
104 void MM_RELEASE_REQUEST_LOCK_IMP(struct _lm_device_t *_pdev);
109 void MM_ACQUIRE_PHY_LOCK_IMP(struct _lm_device_t * pDev);
[all …]
H A Dmm_vbd.h56 lm_status_t mm_get_bar_offset_imp(struct _lm_device_t *pdev,
60 lm_status_t mm_get_bar_size_imp(struct _lm_device_t *pdev,
116 void MM_ACQUIRE_SPQ_LOCK_IMP(struct _lm_device_t *_pdev);
117 void MM_RELEASE_SPQ_LOCK_IMP(struct _lm_device_t *_pdev);
118 void MM_ACQUIRE_SPQ_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
119 void MM_RELEASE_SPQ_LOCK_DPC_IMP(struct _lm_device_t *_pdev);
121 void MM_ACQUIRE_CID_LOCK_IMP(struct _lm_device_t *_pdev);
122 void MM_RELEASE_CID_LOCK_IMP(struct _lm_device_t *_pdev);
124 void MM_ACQUIRE_REQUEST_LOCK_IMP(struct _lm_device_t *_pdev);
125 void MM_RELEASE_REQUEST_LOCK_IMP(struct _lm_device_t *_pdev);
[all …]
H A Dmm_solaris.h101 void MM_ACQUIRE_SPQ_LOCK_IMP(struct _lm_device_t * pDev);
102 void MM_RELEASE_SPQ_LOCK_IMP(struct _lm_device_t * pDev);
103 void MM_ACQUIRE_SPQ_LOCK_DPC_IMP(struct _lm_device_t * pDev);
104 void MM_RELEASE_SPQ_LOCK_DPC_IMP(struct _lm_device_t * pDev);
106 void MM_ACQUIRE_CID_LOCK_IMP(struct _lm_device_t * pDev);
107 void MM_RELEASE_CID_LOCK_IMP(struct _lm_device_t * pDev);
109 void MM_ACQUIRE_REQUEST_LOCK_IMP(struct _lm_device_t * pDev);
110 void MM_RELEASE_REQUEST_LOCK_IMP(struct _lm_device_t * pDev);
112 void MM_ACQUIRE_PHY_LOCK_IMP(struct _lm_device_t * pDev);
113 void MM_RELEASE_PHY_LOCK_IMP(struct _lm_device_t * pDev);
[all …]
H A Dmm.h54 typedef void lm_generic_workitem_function(struct _lm_device_t *pdev);
55 lm_status_t mm_register_lpme(struct _lm_device_t *_pdev,
61 lm_status_t mm_i2c_update(struct _lm_device_t *pdev);
160 void mm_init_lock(struct _lm_device_t *_pdev, mm_spin_lock_t *spinlock);
211 void mm_wait(struct _lm_device_t *pdev,
215 lm_status_t mm_read_pci(struct _lm_device_t *pdev,
220 lm_status_t mm_write_pci(struct _lm_device_t *pdev,
229 void * mm_map_io_base(struct _lm_device_t *pdev,
235 lm_status_t mm_get_user_config(struct _lm_device_t *pdev);
238 u32_t mm_desc_size(struct _lm_device_t *pdev,
[all …]
H A Dmm_uefi.h198 static __inline void mm_init_lock(struct _lm_device_t *_pdev, in mm_init_lock()
265 void mm_bar_read_byte(struct _lm_device_t *pdev,
270 void mm_bar_read_word(struct _lm_device_t *pdev,
275 void mm_bar_read_dword(struct _lm_device_t *pdev,
280 void mm_bar_read_ddword(struct _lm_device_t *pdev,
285 void mm_bar_write_byte(struct _lm_device_t *pdev,
290 void mm_bar_write_word(struct _lm_device_t *pdev,
295 void mm_bar_write_dword(struct _lm_device_t *pdev,
300 void mm_bar_write_ddword(struct _lm_device_t *pdev,
306 struct _lm_device_t * _pdev,
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4if.h8 struct _lm_device_t *pdev);
11 struct _lm_device_t *pdev);
13 lm_status_t lm_tcp_init_resc(struct _lm_device_t *pdev, u8_t b_is_init );
14 lm_status_t lm_tcp_init_chip(struct _lm_device_t *pdev);
15 lm_status_t lm_tcp_start_chip(struct _lm_device_t *pdev);
19 struct _lm_device_t *pdev,
24 struct _lm_device_t *pdev,
32 struct _lm_device_t *pdev,
41 struct _lm_device_t *pdev,
57 struct _lm_device_t *pdev,
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/include/
H A Dlm_l5if.h14 IN struct _lm_device_t *pdev
20 IN struct _lm_device_t *pdev
25 IN struct _lm_device_t *pdev);
29 IN struct _lm_device_t *pdev
40 IN struct _lm_device_t *pdev,
46 IN struct _lm_device_t *pdev,
54 IN struct _lm_device_t *pdev,
60 IN struct _lm_device_t *pdev,
68 struct _lm_device_t *pdev,
75 struct _lm_device_t *pdev,
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h12 u8_t lm_vf_is_function_after_flr(struct _lm_device_t * pdev);
14 lm_status_t lm_vf_setup_alloc_resc(struct _lm_device_t *pdev, u8_t b_is_alloc);
16 lm_status_t lm_vf_allocate_resc_in_pf(struct _lm_device_t *pdev);
19 lm_vf_init_dev_info(struct _lm_device_t *pdev);
22 lm_vf_chip_init(struct _lm_device_t *pdev);
25 lm_vf_chip_reset(struct _lm_device_t *pdev, lm_reason_t reason);
28 lm_vf_recycle_resc_in_pf(struct _lm_device_t *pdev);
31 lm_vf_get_intr_blk_info(struct _lm_device_t *pdev);
34 lm_vf_get_bar_offset(struct _lm_device_t *pdev, u8_t bar_num, lm_address_t * bar_addr);
37 lm_vf_get_vf_id(struct _lm_device_t * pdev);
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dcontext.h16 void * lm_get_context(struct _lm_device_t *pdev, u32_t cid);
19 u64_t lm_get_context_phys(struct _lm_device_t *pdev, u32_t cid);
22 lm_status_t lm_alloc_context_pool(struct _lm_device_t *pdev);
23 lm_status_t lm_setup_context_pool(struct _lm_device_t *pdev);
24 void lm_release_context_pool(struct _lm_device_t *pdev);
41 lm_status_t lm_allocate_cid(struct _lm_device_t *pdev, u32_t type, void * cookie, s32_t * cid);
44 lm_status_t lm_get_context_size(struct _lm_device_t *pdev, s32_t * context_size);
56 lm_status_t lm_set_cdu_validation_data(struct _lm_device_t *pdev, s32_t cid, u8_t invalidate);
60 void lm_free_cid(struct _lm_device_t *pdev, u32_t type, u32_t cid, u8_t notify_fw);
66 lm_status_t lm_searcher_mirror_hash_insert(struct _lm_device_t *pdev, u32_t cid, lm_4tuple_t *tuple…
[all …]
H A Dlm_sp_req_mgr.h11 struct _lm_device_t;
22 struct _lm_device_t *pdev,
44 IN struct _lm_device_t *pdev,
52 IN struct _lm_device_t *pdev,
58 IN struct _lm_device_t *pdev,
64 IN struct _lm_device_t *pdev,
71 IN struct _lm_device_t *pdev,
79 IN struct _lm_device_t *pdev,
85 IN struct _lm_device_t *pdev,
H A Dlm_dmae.h354 lm_status_t lm_dmae_locking_policy_create( struct _lm_device_t* pdev,
373 lm_status_t lm_dmae_locking_policy_lock(struct _lm_device_t* pdev, lm_dmae_locking_policy_t* lockin…
390 lm_status_t lm_dmae_locking_policy_unlock(struct _lm_device_t* pdev, lm_dmae_locking_policy_t* lock…
410 lm_dmae_context_t* lm_dmae_context_create( struct _lm_device_t* pdev,
430 lm_dmae_context_t* lm_dmae_context_create_sgl( struct _lm_device_t* pdev,
465 lm_status_t lm_dmae_context_acquire(struct _lm_device_t* pdev, lm_dmae_context_t *context);
484 lm_status_t lm_dmae_context_release(struct _lm_device_t* pdev, lm_dmae_context_t *context);
500 lm_status_t lm_dmae_context_execute(struct _lm_device_t* pdev, lm_dmae_context_t *context, lm_dmae_…
516 lm_status_t lm_dmae_context_execute_unsafe(struct _lm_device_t* pdev, lm_dmae_context_t *context, l…
549 lm_status_t lm_dmae_operation_create( struct _lm_device_t* pdev,
[all …]
H A Dlm_dmae.c84 static u8_t lm_dmae_locking_policy_hwlock_id_for_resource(struct _lm_device_t* pdev, IN const u32_t… in lm_dmae_locking_policy_hwlock_id_for_resource()
103 lm_status_t lm_dmae_locking_policy_create( struct _lm_device_t* pdev, in lm_dmae_locking_policy_create()
132 lm_status_t lm_dmae_locking_policy_lock(struct _lm_device_t* pdev, lm_dmae_locking_policy_t* lockin… in __drv_setsIRQL()
174 lm_status_t lm_dmae_locking_policy_unlock(struct _lm_device_t* pdev, lm_dmae_locking_policy_t* lock… in lm_dmae_locking_policy_unlock()
244 lm_dmae_opcode( struct _lm_device_t* pdev, in lm_dmae_opcode()
280 lm_dmae_command_set_block( struct _lm_device_t* pdev, in lm_dmae_command_set_block()
316 lm_dmae_initialize_command_by_block(struct _lm_device_t* pdev, in lm_dmae_initialize_command_by_block()
334 lm_status_t lm_dmae_operation_create( struct _lm_device_t* pdev, in lm_dmae_operation_create()
391 lm_dmae_initialize_sgl_loader_command( struct _lm_device_t* pdev, in lm_dmae_initialize_sgl_loader_command()
425 lm_dmae_operation_t* lm_dmae_operation_create_sgl( struct _lm_device_t* pdev, in lm_dmae_operation_create_sgl()
[all …]
H A Dlm_dcbx_mp.c94 lm_mp_cos_from_chain(IN struct _lm_device_t *pdev, in lm_mp_cos_from_chain()
127 lm_mp_get_chain_type(IN struct _lm_device_t *pdev, in lm_mp_get_chain_type()
154 lm_mp_get_eth_chain_cosx_start_offset(IN struct _lm_device_t *pdev, in lm_mp_get_eth_chain_cosx_start_offset()
188 lm_mp_get_reg_chain_from_chain(IN struct _lm_device_t *pdev, in lm_mp_get_reg_chain_from_chain()
217 IN struct _lm_device_t *pdev, in lm_mp_get_cos_chain_from_reg_chain()
244 IN struct _lm_device_t *pdev) in lm_mp_max_cos_chain_used()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h28 struct _lm_device_t *pdev,
33 struct _lm_device_t *pdev,
38 void MM_ACQUIRE_TOE_LOCK(struct _lm_device_t *_pdev);
39 void MM_RELEASE_TOE_LOCK(struct _lm_device_t *_pdev);
40 void MM_ACQUIRE_TOE_GRQ_LOCK(struct _lm_device_t *_pdev, u8_t idx);
41 void MM_RELEASE_TOE_GRQ_LOCK(struct _lm_device_t *_pdev, u8_t idx);
42 void MM_ACQUIRE_TOE_GRQ_LOCK_DPC(struct _lm_device_t *_pdev, u8_t idx);
43 void MM_RELEASE_TOE_GRQ_LOCK_DPC(struct _lm_device_t *_pdev, u8_t idx);
99 struct _lm_device_t *pdev, in mm_acquire_tcp_lock()
106 struct _lm_device_t *pdev, in mm_release_tcp_lock()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.h68 struct _lm_device_t;
142 int (*wait_comp)(struct _lm_device_t *pdev,
222 typedef int (*exe_q_validate)(struct _lm_device_t *pdev,
226 typedef int (*exe_q_remove)(struct _lm_device_t *pdev,
233 typedef int (*exe_q_optimize)(struct _lm_device_t *pdev,
236 typedef int (*exe_q_execute)(struct _lm_device_t *pdev,
379 int (*get_n_elements)(struct _lm_device_t *pdev,
389 int (*check_add)(struct _lm_device_t *pdev,
399 (*check_del)(struct _lm_device_t *pdev,
408 BOOL (*check_move)(struct _lm_device_t *pdev,
[all …]
H A Decore_init_ops.h31 static int ecore_gunzip(struct _lm_device_t *pdev, const u8 *zbuf, int len);
32 static void ecore_reg_wr_ind(struct _lm_device_t *pdev, u32 addr, u32 val);
33 static void ecore_write_dmae_phys_len(struct _lm_device_t *pdev,
37 static void ecore_init_str_wr(struct _lm_device_t *pdev, u32 addr, in ecore_init_str_wr()
46 static void ecore_init_ind_wr(struct _lm_device_t *pdev, u32 addr, in ecore_init_ind_wr()
55 static void ecore_write_big_buf(struct _lm_device_t *pdev, u32 addr, u32 len, in ecore_write_big_buf()
70 static void ecore_init_fill(struct _lm_device_t *pdev, u32 addr, int fill, in ecore_init_fill()
86 static void ecore_write_big_buf_wb(struct _lm_device_t *pdev, u32 addr, u32 len) in ecore_write_big_buf_wb()
100 static void ecore_init_wr_64(struct _lm_device_t *pdev, u32 addr, in ecore_init_wr_64()
139 static const u8 *ecore_sel_blob(struct _lm_device_t *pdev, u32 addr, in ecore_sel_blob()
[all …]
H A Decore_sp_verbs.c268 static INLINE void ecore_exe_queue_init(struct _lm_device_t *pdev, in ecore_exe_queue_init()
299 static INLINE void ecore_exe_queue_free_elem(struct _lm_device_t *pdev, in ecore_exe_queue_free_elem()
336 static INLINE int ecore_exe_queue_add(struct _lm_device_t *pdev, in ecore_exe_queue_add()
375 struct _lm_device_t *pdev, in __ecore_exe_queue_reset_pending()
399 static INLINE int ecore_exe_queue_step(struct _lm_device_t *pdev, in ecore_exe_queue_step()
477 struct _lm_device_t *pdev) in ecore_exe_queue_alloc_elem()
521 static INLINE int ecore_state_wait(struct _lm_device_t *pdev, int state, in ecore_state_wait()
574 static int ecore_raw_wait(struct _lm_device_t *pdev, struct ecore_raw_obj *raw) in ecore_raw_wait()
687 static int __ecore_vlan_mac_h_write_trylock(struct _lm_device_t *pdev, in __ecore_vlan_mac_h_write_trylock()
709 static void __ecore_vlan_mac_h_exec_pending(struct _lm_device_t *pdev, in __ecore_vlan_mac_h_exec_pending()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.h10 IN struct _lm_device_t * pdev);
13 IN struct _lm_device_t * pdev,
20 IN struct _lm_device_t * pdev,
24 IN struct _lm_device_t * pdev,
29 IN struct _lm_device_t * pdev,
34 IN struct _lm_device_t * pdev,
39 IN struct _lm_device_t * pdev,
44 IN struct _lm_device_t * pdev,
62 u8_t lm_tcp_rx_fill_grq(struct _lm_device_t * pdev, u8_t sb_idx, d_list_t * bypass_gen_pool_list, u…
63 void lm_tcp_update_isles_cnts(struct _lm_device_t * pdev, s16_t number_of_isles, s32_t number_of_ge…
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm_l4.c92 struct _lm_device_t * pdev, in mm_tcp_complete_path_upload_request()
101 struct _lm_device_t * pdev, in mm_tcp_complete_neigh_upload_request()
110 struct _lm_device_t *pdev, in mm_tcp_comp_slow_path_request()
119 struct _lm_device_t *pdev, in mm_tcp_complete_bufs()
139 IN struct _lm_device_t * pdev, /* device handle */ in mm_tcp_abort_bufs()
159 IN struct _lm_device_t * pdev, /* device handle */ in mm_tcp_indicate_fin_received()
168 IN struct _lm_device_t * pdev, /* device handle */ in mm_tcp_graceful_disconnect_done()
178 struct _lm_device_t * pdev, in mm_tcp_rx_indicate_gen_buf()
190 struct _lm_device_t * pdev, in mm_tcp_rx_indicate_gen()
214 struct _lm_device_t * pdev, in mm_tcp_get_gen_bufs()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c8 u8_t lm_vf_is_function_after_flr(struct _lm_device_t * pdev) in lm_vf_is_function_after_flr()
19 static u8_t lm_vf_get_free_sbs(struct _lm_device_t * pf_dev, u8_t num_rss) in lm_vf_get_free_sbs()
32 static u8_t lm_vf_get_free_clients(struct _lm_device_t * pf_dev, u8_t num_rss) in lm_vf_get_free_clients()
45 static u8_t lm_vf_get_free_stats(struct _lm_device_t * pf_dev) in lm_vf_get_free_stats()
60 static u8_t lm_vf_get_free_cam_offset(struct _lm_device_t * pf_dev) in lm_vf_get_free_cam_offset()
74 lm_status_t lm_vf_prep(struct _lm_device_t * pf_dev, struct _lm_device_t * vf_dev) in lm_vf_prep()
84 lm_status_t lm_vf_get_bar_offset(struct _lm_device_t *pdev, u8_t bar_num, lm_address_t * bar_addr) in lm_vf_get_bar_offset()
94 lm_status_t lm_vf_get_vf_id(struct _lm_device_t * pdev) in lm_vf_get_vf_id()
119 lm_status_t lm_vf_get_intr_blk_info(struct _lm_device_t *pdev) in lm_vf_get_intr_blk_info()
125 lm_status_t lm_vf_en(struct _lm_device_t * pf_dev, u16_t vf_num) in lm_vf_en()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5sp.c9 IN struct _lm_device_t *pdev, in lm_sc_post_init_request()
27 IN struct _lm_device_t *pdev, in lm_sc_post_update_request()
57 IN struct _lm_device_t *pdev, in lm_sc_post_slow_path_request()
106 struct _lm_device_t *pdev, in lm_sc_init_iscsi_state()
135 struct _lm_device_t *pdev, in lm_sc_del_iscsi_state()
175 struct _lm_device_t *pdev, in lm_fc_del_fcoe_state()
201 struct _lm_device_t *pdev, in lm_fc_init_fcoe_state()
222 struct _lm_device_t * pdev, in lm_sc_init_sp_req_type()

123