Home
last modified time | relevance | path

Searched refs:lm_status (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_er.c300 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_er_process_kill() local
304 lm_status = lm_er_empty_tetris_buffer(pdev); in lm_er_process_kill()
305 if (lm_status != LM_STATUS_SUCCESS) in lm_er_process_kill()
307 return lm_status; in lm_er_process_kill()
314 lm_status = lm_er_poll_igu_vq(pdev); in lm_er_process_kill()
315 if (lm_status != LM_STATUS_SUCCESS) in lm_er_process_kill()
317 return lm_status; in lm_er_process_kill()
350 lm_status = lm_reset_mcp_comp(pdev, magic_val); in lm_er_process_kill()
351 if (lm_status != LM_STATUS_SUCCESS) in lm_er_process_kill()
353 return lm_status; in lm_er_process_kill()
[all …]
H A Dlm_nvram.c54 lm_status_t lm_status; in acquire_nvram_lock() local
83 lm_status = LM_STATUS_SUCCESS; in acquire_nvram_lock()
90 lm_status = LM_STATUS_BUSY; in acquire_nvram_lock()
93 return lm_status; in acquire_nvram_lock()
148 lm_status_t lm_status;
150 lm_status = LM_STATUS_SUCCESS;
164 lm_status = LM_STATUS_BUSY;
173 lm_status = LM_STATUS_SUCCESS;
178 return lm_status;
193 lm_status_t lm_status;
[all …]
H A Dlm_dmae.c134 lm_status_t lm_status = LM_STATUS_SUCCESS; in __drv_setsIRQL() local
136 lm_status = mm_acquire_lock(&locking_policy->spinlock); in __drv_setsIRQL()
137 if (LM_STATUS_SUCCESS != lm_status) in __drv_setsIRQL()
140 return lm_status; in __drv_setsIRQL()
145 lm_status = lm_hw_lock(pdev, locking_policy->hwlock, TRUE); in __drv_setsIRQL()
146 if (LM_STATUS_SUCCESS != lm_status) in __drv_setsIRQL()
150 lm_status = mm_release_lock(&locking_policy->spinlock); in __drv_setsIRQL()
151 if (LM_STATUS_SUCCESS != lm_status) in __drv_setsIRQL()
154 return lm_status; in __drv_setsIRQL()
157 return lm_status; in __drv_setsIRQL()
[all …]
H A Dlm_niv.c46 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_niv_set_loopback_mode_imp() local
62lm_status = lm_niv_post_command(pdev,RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE, data_phys.as_u64, initi… in lm_niv_set_loopback_mode_imp()
75 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_niv_clients_update() local
96lm_status = lm_update_eth_client(pdev, client_id, silent_vlan_value, silent_vlan_mask, 1, 1); in lm_niv_clients_update()
98 if((LM_STATUS_ABORTED != lm_status) && in lm_niv_clients_update()
99 (LM_STATUS_SUCCESS != lm_status)) in lm_niv_clients_update()
101 return lm_status; in lm_niv_clients_update()
111 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_niv_set_loopback_mode_enable() local
122 lm_status = lm_niv_clients_update(pdev); in lm_niv_set_loopback_mode_enable()
124 if (LM_STATUS_SUCCESS != lm_status) in lm_niv_set_loopback_mode_enable()
[all …]
H A Dlm_sp.c71 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_empty_ramrod_eth() local
82 lm_status = lm_sq_post(pdev, in lm_empty_ramrod_eth()
89 if (lm_status != LM_STATUS_SUCCESS) in lm_empty_ramrod_eth()
91 return lm_status; in lm_empty_ramrod_eth()
97 lm_status = lm_wait_state_change(pdev, in lm_empty_ramrod_eth()
101 if ((lm_status != LM_STATUS_SUCCESS) && (lm_status != LM_STATUS_ABORTED)) in lm_empty_ramrod_eth()
109 return lm_status; in lm_empty_ramrod_eth()
116 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_ecore_status_to_lm_status() local
121 lm_status = LM_STATUS_SUCCESS; in lm_ecore_status_to_lm_status()
125 lm_status = LM_STATUS_TIMEOUT; in lm_ecore_status_to_lm_status()
[all …]
H A Dlm_resc.c877 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_setup_client_con_resc() local
896 lm_status = lm_setup_txq(pdev, cid); in lm_setup_client_con_resc()
897 if (lm_status != LM_STATUS_SUCCESS) in lm_setup_client_con_resc()
899 return lm_status; in lm_setup_client_con_resc()
906 lm_status = lm_setup_rxq(pdev, cid); in lm_setup_client_con_resc()
907 if (lm_status != LM_STATUS_SUCCESS) in lm_setup_client_con_resc()
909 return lm_status; in lm_setup_client_con_resc()
912 lm_status = lm_setup_rcq(pdev, cid); in lm_setup_client_con_resc()
913 if (lm_status != LM_STATUS_SUCCESS) in lm_setup_client_con_resc()
915 return lm_status; in lm_setup_client_con_resc()
[all …]
H A Dlm_mcp.c159 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_reset_mcp_comp() local
174 lm_status = LM_STATUS_FAILURE; in lm_reset_mcp_comp()
210 lm_status = LM_STATUS_FAILURE; in lm_reset_mcp_comp()
222 return lm_status; in lm_reset_mcp_comp()
232 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_reset_mcp() local
259 lm_status = lm_reset_mcp_comp(pdev, magic_val); in lm_reset_mcp()
261 return lm_status; in lm_reset_mcp()
269 lm_status_t lm_status; in acquire_split_alr() local
296 lm_status = LM_STATUS_SUCCESS; in acquire_split_alr()
302 lm_status = LM_STATUS_BUSY; in acquire_split_alr()
[all …]
H A Dlm_dcbx.c626 lm_status_t lm_status = LM_STATUS_SUCCESS ; in lm_dcbx_event() local
643 lm_status = MM_REGISTER_LPME(pdev, in lm_dcbx_event()
648 if (LM_STATUS_SUCCESS != lm_status) in lm_dcbx_event()
652 if(LM_STATUS_REQUEST_NOT_ACCEPTED == lm_status) in lm_dcbx_event()
662 lm_status = lm_mcp_cmd_send_recieve( pdev, in lm_dcbx_event()
669 DbgBreakIf( lm_status != LM_STATUS_SUCCESS ); in lm_dcbx_event()
684 lm_status = lm_mcp_cmd_send_recieve( pdev, in lm_dcbx_event()
691 DbgBreakIf( lm_status != LM_STATUS_SUCCESS ); in lm_dcbx_event()
973 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_dcbx_join_pgs() local
1015 return lm_status; in lm_dcbx_join_pgs()
[all …]
H A Dlm_stats.c157 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_get_stats() local
382 lm_status = LM_STATUS_INVALID_PARAMETER; in lm_get_stats()
386 return lm_status; in lm_get_stats()
434 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_stats_fw_post_request() local
459 lm_status = lm_sq_post_entry(pdev,&(stats_fw->stats_sp_list_command),CMD_PRIORITY_HIGH); in lm_stats_fw_post_request()
461 DbgBreakIf( LM_STATUS_SUCCESS != lm_status ) ; in lm_stats_fw_post_request()
463 if (lm_status == LM_STATUS_SUCCESS) in lm_stats_fw_post_request()
469 return lm_status; in lm_stats_fw_post_request()
475 lm_status_t lm_status = LM_STATUS_SUCCESS ; in lm_stats_on_timer() local
546 lm_status = lm_stats_fw_post_request(pdev); in lm_stats_on_timer()
[all …]
H A Dlm_devinfo.c243 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_get_pcicfg_mps_mrrs() local
248 lm_status = mm_read_pci(pdev, PCICFG_DEVICE_CONTROL, &val); in lm_get_pcicfg_mps_mrrs()
249 if (lm_status != LM_STATUS_SUCCESS) in lm_get_pcicfg_mps_mrrs()
251 return lm_status; in lm_get_pcicfg_mps_mrrs()
260 return lm_status ; in lm_get_pcicfg_mps_mrrs()
265 lm_status_t lm_status; in lm_get_pcicfg_info() local
270 lm_status = mm_read_pci(pdev, PCICFG_VENDOR_ID_OFFSET, &val); in lm_get_pcicfg_info()
271 if (lm_status != LM_STATUS_SUCCESS) in lm_get_pcicfg_info()
273 return lm_status; in lm_get_pcicfg_info()
293 lm_status = mm_read_pci(pdev, PCICFG_SUBSYSTEM_VENDOR_ID_OFFSET, &val); in lm_get_pcicfg_info()
[all …]
H A Dlm_pf.c88 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_pf_download_standard_request() local
122 lm_status = LM_STATUS_PENDING; in lm_pf_download_standard_request()
131 lm_status = LM_STATUS_INVALID_PARAMETER; in lm_pf_download_standard_request()
135 lm_status = LM_STATUS_INVALID_PARAMETER; in lm_pf_download_standard_request()
137 return lm_status; in lm_pf_download_standard_request()
141 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_pf_upload_standard_response() local
159 lm_status = LM_STATUS_FAILURE; in lm_pf_upload_standard_response()
190 return lm_status; in lm_pf_upload_standard_response()
195 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_pf_upload_standard_request() local
197 return lm_status; in lm_pf_upload_standard_request()
[all …]
H A Dlm_sp_req_mgr.c80 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_sp_req_manager_post() local
103 lm_status = LM_STATUS_PENDING; in lm_sp_req_manager_post()
117 lm_status = ((req_post_function)sp_req->req_post_func)(pdev, sp_req->req_post_ctx, sp_req); in lm_sp_req_manager_post()
121 return lm_status; in lm_sp_req_manager_post()
135 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_sp_req_manager_complete() local
202lm_status = ((req_post_function)(*sp_req)->req_post_func)(pdev, (*sp_req)->req_post_ctx, *sp_req); in lm_sp_req_manager_complete()
206 return lm_status; in lm_sp_req_manager_complete()
251 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_sp_req_manager_unblock() local
295 lm_status = ((req_post_function)(*sp_req)->req_post_func)(pdev, (*sp_req)->req_post_ctx, *sp_req); in lm_sp_req_manager_unblock()
299 return lm_status; in lm_sp_req_manager_unblock()
H A Dlm_hw_attn.c1174 lm_status_t lm_status = LM_STATUS_FAILURE ; in lm_dcc_event() local
1208 lm_status = LM_STATUS_SUCCESS ; in lm_dcc_event()
1221 lm_status = LM_STATUS_SUCCESS ; in lm_dcc_event()
1229lm_status = lm_mcp_cmd_send_recieve( pdev, lm_mcp_mb_header, DRV_MSG_CODE_DCC_FAILURE, 0, MCP_CMD_… in lm_dcc_event()
1234 if( LM_STATUS_SUCCESS == lm_status ) in lm_dcc_event()
1242lm_status = lm_mcp_cmd_send_recieve( pdev, lm_mcp_mb_header, DRV_MSG_CODE_DCC_OK, 0, MCP_CMD_DEFAU… in lm_dcc_event()
1245 DbgBreakIf( lm_status != LM_STATUS_SUCCESS ); in lm_dcc_event()
1251 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_set_bandwidth_event() local
1266 lm_status = LM_STATUS_FAILURE; in lm_set_bandwidth_event()
1278 return lm_status; in lm_set_bandwidth_event()
[all …]
H A Dlm_phy.c243 lm_status_t lm_status; in lm_mwrite() local
286 lm_status = LM_STATUS_FAILURE; in lm_mwrite()
290 lm_status = LM_STATUS_SUCCESS; in lm_mwrite()
302 return lm_status; in lm_mwrite()
317 lm_status_t lm_status; in lm_mread() local
361 lm_status = LM_STATUS_FAILURE; in lm_mread()
365 lm_status = LM_STATUS_SUCCESS; in lm_mread()
379 return lm_status; in lm_mread()
397 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_phy45_read() local
405 ELINK_STATUS_TO_LM_STATUS( rc, lm_status ); in lm_phy45_read()
[all …]
H A Dlm_hw_access.c266 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_insert_nig_entry() local
279 lm_status = lm_initialize_nig_entry(pdev, offset, addr); in lm_insert_nig_entry()
280 DbgBreakIf (lm_status != LM_STATUS_SUCCESS); in lm_insert_nig_entry()
282 lm_status = lm_set_mac_in_nig(pdev, addr, LM_CLI_IDX_NDIS, offset); in lm_insert_nig_entry()
283 if (lm_status != LM_STATUS_SUCCESS) in lm_insert_nig_entry()
285 return lm_status; in lm_insert_nig_entry()
291 return lm_status; in lm_insert_nig_entry()
310 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_remove_nig_entry() local
326 lm_status = lm_set_mac_in_nig(pdev, NULL, LM_CLI_IDX_NDIS, offset); in lm_remove_nig_entry()
327 if (lm_status != LM_STATUS_SUCCESS) in lm_remove_nig_entry()
[all …]
H A Dlm_util.c203 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_wait_state_change() local
210 return lm_status; in lm_wait_state_change()
231 lm_status = LM_STATUS_ABORTED; in lm_wait_state_change()
245 lm_status = LM_STATUS_TIMEOUT; in lm_wait_state_change()
249 return lm_status; in lm_wait_state_change()
H A Dlm_hw_init_reset.c251 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_cleanup_after_flr() local
333 lm_status = lm_pretend_func(PFDEV(pdev), pretend_value); in lm_cleanup_after_flr()
334 if (lm_status == LM_STATUS_SUCCESS) in lm_cleanup_after_flr()
342 DbgMessage(pdev, FATAL, "lm_pretend_func(%x) returns %d\n",pretend_value,lm_status); in lm_cleanup_after_flr()
344 return lm_status; in lm_cleanup_after_flr()
566 lm_status = lm_vf_recycle_resc_in_pf(pdev); in lm_cleanup_after_flr()
573 return lm_status; in lm_cleanup_after_flr()
1102 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_disable_function_in_nig() local
1139 return lm_status; in lm_disable_function_in_nig()
1154 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_function_stop() local
[all …]
H A Dbnxe_context.c452 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_searcher_mirror_hash_insert() local
489 lm_status = LM_STATUS_FAILURE; in lm_searcher_mirror_hash_insert()
511 return lm_status; in lm_searcher_mirror_hash_insert()
575 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_allocate_cid() local
606 lm_status = LM_STATUS_RESOURCE; in lm_allocate_cid()
627 lm_status = LM_STATUS_PENDING; in lm_allocate_cid()
638 lm_status = LM_STATUS_SUCCESS; in lm_allocate_cid()
643 if(LM_STATUS_SUCCESS == lm_status) in lm_allocate_cid()
693 lm_status = LM_STATUS_RESOURCE; in lm_allocate_cid()
697 return lm_status; in lm_allocate_cid()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_nvram.c175 lm_status_t lm_status; in acquire_nvram_lock() local
201 lm_status = LM_STATUS_SUCCESS; in acquire_nvram_lock()
207 lm_status = LM_STATUS_BUSY; in acquire_nvram_lock()
209 return lm_status; in acquire_nvram_lock()
263 lm_status_t lm_status; in enable_nvram_write() local
268 lm_status = LM_STATUS_SUCCESS; in enable_nvram_write()
281 lm_status = LM_STATUS_BUSY; in enable_nvram_write()
290 lm_status = LM_STATUS_SUCCESS; in enable_nvram_write()
296 return lm_status; in enable_nvram_write()
311 lm_status_t lm_status; in disable_nvram_write() local
[all …]
H A Dbnx_lm_main.c553 lm_status_t lm_status; in lm_get_dev_info() local
560 lm_status = mm_read_pci( in lm_get_dev_info()
564 if(lm_status != LM_STATUS_SUCCESS) in lm_get_dev_info()
566 return lm_status; in lm_get_dev_info()
576 lm_status = mm_read_pci( in lm_get_dev_info()
580 if(lm_status != LM_STATUS_SUCCESS) in lm_get_dev_info()
582 return lm_status; in lm_get_dev_info()
592 lm_status = mm_read_pci( in lm_get_dev_info()
596 if(lm_status != LM_STATUS_SUCCESS) in lm_get_dev_info()
598 return lm_status; in lm_get_dev_info()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c121 lm_status_t lm_status; in lm_create_pbl() local
133lm_status = lm_alloc_pbl_mem(pdev, *pbl_entries, pbl_virt, pbl_phy, pbl_virt_table, rt_mem, pbl_si… in lm_create_pbl()
134 if (lm_status != LM_STATUS_SUCCESS) in lm_create_pbl()
138 return lm_status; in lm_create_pbl()
141lm_status = lm_bd_chain_pbl_set_ptrs(buf_base_virt, *buf_base_phy, *pbl_virt, *pbl_virt_table, *pb… in lm_create_pbl()
142 if (lm_status != LM_STATUS_SUCCESS) in lm_create_pbl()
153 return lm_status; in lm_create_pbl()
299 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_fc_alloc_eq_pbl() local
312 lm_status = lm_create_pbl(pdev, in lm_fc_alloc_eq_pbl()
324 if (lm_status != LM_STATUS_SUCCESS) in lm_fc_alloc_eq_pbl()
[all …]
H A Dlm_l5sp.c61 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_sc_post_slow_path_request() local
72 lm_status = lm_sc_post_init_request(pdev, iscsi, request, &command, &data); in lm_sc_post_slow_path_request()
76 lm_status = lm_sc_post_update_request(pdev, iscsi, request, &command, &data); in lm_sc_post_slow_path_request()
80 lm_status = LM_STATUS_FAILURE; in lm_sc_post_slow_path_request()
85 if (lm_status == LM_STATUS_PENDING) in lm_sc_post_slow_path_request()
93 request->status = lm_status; in lm_sc_post_slow_path_request()
94 return lm_status; in lm_sc_post_slow_path_request()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c96 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_pf_vf_fill_acquire_response() local
114 return lm_status; in lm_pf_vf_fill_acquire_response()
173 return lm_status; in lm_pf_vf_fill_acquire_response()
178 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_pf_vf_fill_init_vf_response() local
243 lm_status = lm_pf_enable_vf_igu_int(pdev, vf_info->abs_vf_id); in lm_pf_vf_fill_init_vf_response()
245 if (lm_status == LM_STATUS_SUCCESS) { in lm_pf_vf_fill_init_vf_response()
252 return lm_status; in lm_pf_vf_fill_init_vf_response()
258 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_pf_vf_fill_setup_q_response() local
300 lm_status = lm_pf_init_vf_client_init_data(pdev, vf_info, q_id, rxq_params, txq_params); in lm_pf_vf_fill_setup_q_response()
301 if (lm_status == LM_STATUS_SUCCESS) { in lm_pf_vf_fill_setup_q_response()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c128 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_vf_en() local
132 lm_status = mm_vf_en(pf_dev, vf_num); in lm_vf_en()
134 if (lm_status == LM_STATUS_SUCCESS) { in lm_vf_en()
148 return lm_status; in lm_vf_en()
154 lm_status_t lm_status = LM_STATUS_SUCCESS; in lm_vf_dis() local
195 return lm_status; in lm_vf_dis()
212 lm_status_t lm_status = LM_STATUS_FAILURE; in lm_vf_setup_alloc_resc() local
247 lm_status = lm_alloc_setup_slowpath_resc(pdev, b_is_alloc); in lm_vf_setup_alloc_resc()
248 if (lm_status != LM_STATUS_SUCCESS) in lm_vf_setup_alloc_resc()
250 DbgMessage1(pdev, FATAL, "lm_alloc_client_info failed lm-status = %d\n", lm_status); in lm_vf_setup_alloc_resc()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c1167 lm_status_t lm_status; in lm_tcp_init() local
1180 lm_status = lm_tcp_alloc_resc(pdev); in lm_tcp_init()
1181 DbgBreakIf((lm_status!=LM_STATUS_SUCCESS) && DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); in lm_tcp_init()
1182 if (lm_status != LM_STATUS_SUCCESS) { in lm_tcp_init()
1183 return lm_status; in lm_tcp_init()
1187 lm_status = lm_tcp_init_resc(pdev, TRUE); in lm_tcp_init()
1188 DbgBreakIf(lm_status!=LM_STATUS_SUCCESS); in lm_tcp_init()
1189 if (lm_status != LM_STATUS_SUCCESS) { in lm_tcp_init()
1190 return lm_status; in lm_tcp_init()
1194 lm_status = lm_tcp_init_chip(pdev); in lm_tcp_init()
[all …]

12