/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_sp_req_mgr.c | 16 if CHK_NULL(pdev) in lm_sp_req_manager_init() 22 if CHK_NULL(sp_req_mgr) in lm_sp_req_manager_init() 46 if CHK_NULL(pdev) in lm_sp_req_manager_shutdown() 52 if CHK_NULL(sp_req_mgr) in lm_sp_req_manager_shutdown() 82 if (CHK_NULL(pdev) || CHK_NULL(sp_req)) in lm_sp_req_manager_post() 88 if CHK_NULL(sp_req_mgr) in lm_sp_req_manager_post() 137 if (CHK_NULL(pdev) || CHK_NULL(sp_req)) in lm_sp_req_manager_complete() 145 if CHK_NULL(sp_req_mgr) in lm_sp_req_manager_complete() 156 if CHK_NULL(sp_req_mgr->posted_req) in lm_sp_req_manager_complete() 181 if (CHK_NULL(*sp_req)) in lm_sp_req_manager_complete() [all …]
|
H A D | bnxe_context.c | 64 if ( CHK_NULL(pdev) || CHK_NULL( pdev->context_info ) ) in lm_setup_searcher_hash_info() 74 if CHK_NULL( hash_info->searcher_table) in lm_setup_searcher_hash_info() 138 if CHK_NULL(pdev) in lm_alloc_searcher_hash_info() 151 if CHK_NULL(hash_info) in lm_alloc_searcher_hash_info() 159 if CHK_NULL( hash_info->searcher_table ) in lm_alloc_searcher_hash_info() 172 if CHK_NULL(pdev) in lm_init_cid_resc() 178 if CHK_NULL(cid_resc) in lm_init_cid_resc() 202 if CHK_NULL(pdev) in lm_setup_context_pool() 210 if CHK_NULL(context) in lm_setup_context_pool() 238 if CHK_NULL(context->array) in lm_setup_context_pool() [all …]
|
H A D | lm_resc.c | 62 if (CHK_NULL(pdev) || CHK_NULL(hc_sb_info) || CHK_NULL(hw_con_idx_ptr)) in lm_clear_chain_sb_cons_idx() 173 if(CHK_NULL(pdev) || CHK_NULL(txq)) in lm_allocate_coalesce_buffers() 309 if(CHK_NULL(pdev) || in lm_alloc_txq() 360 if(CHK_NULL(pdev) || in lm_alloc_rxq() 410 if(CHK_NULL(pdev) || in lm_alloc_rcq() 469 if(CHK_NULL(pdev) || in lm_alloc_tpa_chain() 507 if(CHK_NULL(sge_chain->active_descq_array)) in lm_alloc_tpa_chain() 520 if(CHK_NULL(sge_chain->mask_array)) in lm_alloc_tpa_chain() 531 if(CHK_NULL(tpa_chain->ramrod_data_virt)) in lm_alloc_tpa_chain() 584 if(CHK_NULL(pdev) || in lm_setup_txq() [all …]
|
H A D | lm_send.c | 274 if (ERR_IF(CHK_NULL(pdev) || CHK_NULL(txq) || !buf_size)) { in lm_get_coalesce_buffer() 318 if (ERR_IF(CHK_NULL(pdev) || CHK_NULL(txq) || CHK_NULL(coalesce_buf))) { in lm_put_coalesce_buffer() 356 if (ERR_IF(CHK_NULL(pdev) || CHK_NULL(txq) || in lm_copy_packet_to_coalesce_buffer() 357 CHK_NULL(lmpkt) || CHK_NULL(frags))) in lm_copy_packet_to_coalesce_buffer() 889 if (CHK_NULL(parse_bd_ptr)) { in lm_send_packet()
|
H A D | lm_mcp.c | 341 if CHK_NULL(pdev) in lm_send_driver_pulse() 389 if CHK_NULL(pdev) in lm_driver_pulse_always_alive() 682 if CHK_NULL(pdev) in lm_loader_unlock() 763 if CHK_NULL(pdev) in lm_mcp_cmd_init() 929 if CHK_NULL( p_seq ) in lm_mcp_cmd_send() 977 if ( CHK_NULL(p_fw_resp) ) in lm_mcp_cmd_response() 1005 if CHK_NULL( p_seq ) in lm_mcp_cmd_response()
|
H A D | lm_dmae.c | 438 if (CHK_NULL(operation)) in lm_dmae_operation_create_sgl() 600 if (CHK_NULL(context)) in lm_dmae_context_create() 647 if (CHK_NULL(context)) in lm_dmae_context_create_sgl() 780 if ( CHK_NULL(pdev) || CHK_NULL(command)) in lm_dmae_post_command() 1015 if ( CHK_NULL(pdev) || ERR_IF( 0 == operation->blocks[0].length ) ) in lm_dmae_context_execute_single_block()
|
H A D | bd_chain.h | 157 if CHK_NULL(mem_virt) in lm_bd_chain_set_next_ptrs() 337 if (CHK_NULL(buf_base_virt) || in lm_bd_chain_pbl_set_ptrs() 338 CHK_NULL(pbl_phys_table) || in lm_bd_chain_pbl_set_ptrs() 339 CHK_NULL(pbl_virt_table) || in lm_bd_chain_pbl_set_ptrs()
|
H A D | lm_pf.c | 207 if CHK_NULL(pdev) in lm_pf_allocate_vfs() 225 if CHK_NULL(pdev->vfs_set.vfs_array) in lm_pf_allocate_vfs() 235 if CHK_NULL(pdev->vfs_set.req_resp_virt_addr) in lm_pf_allocate_vfs() 244 if CHK_NULL(pdev->vfs_set.pf_fw_stats_set_virt_data) in lm_pf_allocate_vfs() 252 if CHK_NULL(pdev->vfs_set.mirror_stats_fw_set) in lm_pf_allocate_vfs() 261 if CHK_NULL(pdev->vfs_set.rss_update_virt_addr) in lm_pf_allocate_vfs() 740 if CHK_NULL(client_init_data_virt) in lm_pf_init_vf_client_init_data() 1062 if CHK_NULL(client_update_data_virt) in lm_pf_update_vf_default_vlan()
|
H A D | lm_hw_access.c | 418 if ( CHK_NULL(pdev) || CHK_NULL(value_ptr) ) in lm_gpio_read() 525 if( CHK_NULL(pdev) ) in lm_gpio_write() 607 if( CHK_NULL(pdev) ) in lm_gpio_mult_write() 810 if CHK_NULL(pdev) in lm_spio_write() 1171 if (CHK_NULL(pdev)){ in lm_reset_led() 1304 if CHK_NULL( b10_transceiver_data ) in lm_get_transceiver_data()
|
H A D | lm_stats.c | 478 if CHK_NULL( pdev ) in lm_stats_on_timer() 699 if CHK_NULL( pdev ) in lm_stats_clear_emac_stats() 738 if CHK_NULL( pdev ) in lm_stats_on_update_state() 779 if CHK_NULL( pdev ) in lm_stats_on_link_update() 870 if CHK_NULL( stats_hw->u.s.addr_emac_stats_query ) in lm_stats_alloc_hw_query() 895 if CHK_NULL( stats_hw->u.addr_mstat_stats_query ) in lm_stats_alloc_hw_query() 1018 if CHK_NULL(pdev ) in lm_stats_alloc_resc() 1086 if (CHK_NULL(stats_dmae_context_info->context)) in lm_stats_alloc_resc() 1652 if CHK_NULL( ptr_stats_flags_done ) in lm_stats_fw_check_update_done() 1718 if CHK_NULL( pdev ) in lm_stats_fw_complete() [all …]
|
H A D | lm_sp.c | 548 if CHK_NULL(tx_queue_init_data_virt) in lm_eth_init_tx_queue_data() 589 if CHK_NULL(client_init_data_virt) in lm_eth_init_client_init_data() 638 if CHK_NULL(client_update_data_virt) in lm_update_eth_client() 913 if((CHK_NULL(tpa_chain->ramrod_data_virt)) || in lm_tpa_send_ramrod() 1375 if (CHK_NULL(cid_resc)) in lm_eth_wait_state_change() 3503 if ( CHK_NULL(pdev) || in lm_cid_recycled_cb_register() 3504 CHK_NULL(cb) || in lm_cid_recycled_cb_register() 3520 if ( CHK_NULL(pdev) || in lm_cid_recycled_cb_deregister() 3522 CHK_NULL(pdev->cid_recycled_callbacks[type]) ) in lm_cid_recycled_cb_deregister() 3683 if ( CHK_NULL(pdev) || in lm_sq_comp_cb_register() [all …]
|
H A D | lm_util.c | 268 …if( CHK_NULL( crc32_packet) || ERR_IF( 0 == crc32_length ) || ERR_IF( 0 != ( crc32_length % 8 ) ) ) in calc_crc32()
|
H A D | lm_phy.c | 946 if CHK_NULL( pdev ) in lm_link_update() 1011 if (CHK_NULL(pdev)) in lm_set_phy_priority_mode() 1269 if CHK_NULL( pdev ) in lm_init_phy() 1784 if ( CHK_NULL( sz_version ) || CHK_NULL( pdev ) ) in lm_get_external_phy_fw_version()
|
H A D | lm_power.c | 65 if CHK_NULL(pdev) in init_nwuf_57710() 301 if CHK_NULL(pdev) in lm_set_d3_mpkt()
|
H A D | lm_dcbx.c | 229 if(CHK_NULL(pdev->dcbx_info.pfc_fw_cfg_virt)) in lm_dcbx_fw_struct() 2620 if(CHK_NULL(local_mib) || CHK_NULL(local_mib_ext)) in lm_get_dcbx_drv_param() 4511 if (CHK_NULL(pdev->dcbx_info.pfc_fw_cfg_virt)) in lm_dcbx_get_pfc_fw_cfg_phys_mem() 4520 if CHK_NULL(pdev->dcbx_info.pfc_fw_cfg_virt) in lm_dcbx_get_pfc_fw_cfg_phys_mem() 4815 DbgBreakIf(CHK_NULL(pdev->dcbx_info.pfc_fw_cfg_virt)); in lm_dcbx_pmf_migration() 5362 if(CHK_NULL(classif_params_copy->classif_table)) in lm_dcbx_ie_copy_alloc_classif_buffer() 6016 if(CHK_NULL(cee_app_pri_tbl)) in lm_dcbx_ie_classif_parse_cee_arrray() 6358 if(CHK_NULL(indicate_newest_params.classif_params.classif_table)) in lm_dcbx_ie_check_if_param_change_common() 6520 if(CHK_NULL(p_local_mib) || CHK_NULL(p_local_mib_ext)) in lm_dcbx_ie_check_if_param_change_local() 6762 if(CHK_NULL(indicate_event->remote_params.classif_params.classif_table)) in lm_dcbx_ie_initialize() [all …]
|
H A D | lm_devinfo.c | 50 if ( CHK_NULL(pdev) ) in lm_get_max_supported_toe_cons() 59 if ( CHK_NULL(pdev) ) in lm_get_toe_rss_possibility() 97 if ( CHK_NULL( iscsi_info_block_hdr_ptr ) ) in lm_get_iscsi_boot_info_block() 3944 if ( CHK_NULL(pdev) ) in lm_verify_validity_map()
|
H A D | lm_recv.c | 1040 if CHK_NULL( pkt ) in lm_get_packets_rcvd()
|
H A D | lm_hw_init_reset.c | 1992 if (CHK_NULL(pdev) || CHK_NULL(pdev->slowpath_info.slowpath_data.func_start_data)) in lm_function_start()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 38 if (CHK_NULL(pdev) || (pbl_entries == 0) || in lm_alloc_pbl_mem() 39 CHK_NULL(pbl_virt) || CHK_NULL(pbl_phy) || in lm_alloc_pbl_mem() 40 CHK_NULL(pbl_size)) in lm_alloc_pbl_mem() 55 if CHK_NULL(*pbl_virt) in lm_alloc_pbl_mem() 66 if CHK_NULL(*pbl_virt_table) in lm_alloc_pbl_mem() 83 if CHK_NULL(*pbl_virt) in lm_alloc_pbl_mem() 94 if CHK_NULL(*pbl_virt_table) in lm_alloc_pbl_mem() 123 if (CHK_NULL(pdev) || CHK_NULL(buf_base_virt) || in lm_create_pbl() 124 CHK_NULL(buf_base_phy) || CHK_NULL(pbl_virt) || in lm_create_pbl() 125 CHK_NULL(pbl_phy) || CHK_NULL(pbl_virt_table) || in lm_create_pbl() [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | debug.h | 839 #define CHK_NULL(p) ((p==NULL) ? (dbg_out(NULL, WARN, DBG_ERR_STR" %s is NULL\n",#p), TRUE): FAL… macro 881 #define CHK_NULL(p) (p==NULL) macro
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 287 if(CHK_NULL(vf_info->vf_chains[q_id].tpa_ramrod_data_virt)) in lm_pf_vf_fill_setup_q_response() 1098 if CHK_NULL(pdev->vars.vf_pf_mess.message_virt_addr) in lm_vf_pf_channel_get_message_to_send() 1577 if CHK_NULL(pdev->pf_vf_acquiring_resp) in lm_vf_pf_acquire_msg() 1688 if CHK_NULL(pdev->pf_vf_acquiring_resp) in lm_vf_pf_acquire_msg() 2555 if CHK_NULL( pdev ) in lm_vf_setup_alloc_resc() 2614 if CHK_NULL(p_sb) in lm_vf_setup_alloc_resc() 2643 if CHK_NULL( pdev->params.mac_config[LM_CLI_IDX_NDIS] ) in lm_vf_setup_alloc_resc() 2660 if CHK_NULL( pdev->params.mcast_config ) in lm_vf_setup_alloc_resc() 3561 if((CHK_NULL(tpa_chain->tpa_ramrod_data_virt))) in lm_pf_tpa_send_vf_ramrod()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 214 if CHK_NULL( pdev ) in lm_vf_setup_alloc_resc() 238 if CHK_NULL(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e1x_sb) in lm_vf_setup_alloc_resc()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4rx.c | 1104 if CHK_NULL(gen_buf) in lm_tcp_rx_complete_tcp_fp() 2067 if CHK_NULL(head_of_indication) in _lm_tcp_rx_get_buffered_data() 2486 if(CHK_NULL(pdev) || in lm_tcp_calc_gen_buf_size()
|
H A D | lm_l4sp.c | 1605 if CHK_NULL(sp_req_mgr) in lm_tcp_init_tcp_sp_data_mem() 1822 if(CHK_NULL(pdev) || in lm_tcp_get_virt_size()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 4372 if (CHK_NULL(pdev)) in lm_set_virt_mode() 4425 if (CHK_NULL(pdev)) in lm_set_virt_channel_type() 4445 if (CHK_NULL(pdev)) in lm_reset_virt_mode()
|