Lines Matching refs:QLA_SUCCESS
208 if (rval != QLA_SUCCESS) { in qla24xx_async_abort_cmd()
217 QLA_SUCCESS : QLA_ERR_FROM_FW; in qla24xx_async_abort_cmd()
379 if (rval != QLA_SUCCESS) { in qla2x00_async_login()
435 if (rval != QLA_SUCCESS) in qla2x00_async_logout()
494 if (rval != QLA_SUCCESS) in qla2x00_async_prlo()
641 if (rval != QLA_SUCCESS) in qla2x00_async_adisc()
683 rval = QLA_SUCCESS; in qla2x00_find_new_loop_id()
697 if (rval == QLA_SUCCESS) in qla2x00_find_new_loop_id()
1126 if (qla24xx_post_gnl_work(vha, fcport) == QLA_SUCCESS) in qla24xx_async_gnl_sp_done()
1158 return QLA_SUCCESS; in qla24xx_async_gnl()
1190 if (rval != QLA_SUCCESS) in qla24xx_async_gnl()
1344 if (rval != QLA_SUCCESS) { in qla24xx_async_prli()
1438 if (rval != QLA_SUCCESS) in qla24xx_async_gpdb()
2047 if (res != QLA_SUCCESS) in qla_marker_sp_done()
2124 if (rval != QLA_SUCCESS) { in qla26xx_marker()
2133 if (rval != QLA_SUCCESS) { in qla26xx_marker()
2213 if (rval != QLA_SUCCESS) in __qla2x00_async_tm_cmd()
2219 if (rval != QLA_SUCCESS) { in __qla2x00_async_tm_cmd()
2322 int rval = QLA_SUCCESS; in qla2x00_async_tm_cmd()
2614 int rval = QLA_SUCCESS; in qla83xx_nic_core_fw_load()
2628 if (__qla83xx_set_drv_presence(vha) != QLA_SUCCESS) { in qla83xx_nic_core_fw_load()
2828 if (qla2x00_isp_firmware(vha) != QLA_SUCCESS) { in qla2x00_initialize_adapter()
2850 if (rval != QLA_SUCCESS) in qla2x00_initialize_adapter()
2855 if (rval == QLA_SUCCESS && IS_QLA84XX(ha)) { in qla2x00_initialize_adapter()
2858 if (rval != QLA_SUCCESS) { in qla2x00_initialize_adapter()
2912 return QLA_SUCCESS; in qla2100_pci_config()
2994 return QLA_SUCCESS; in qla2300_pci_config()
3038 return QLA_SUCCESS; in qla24xx_pci_config()
3069 return QLA_SUCCESS; in qla25xx_pci_config()
3094 if (rval == QLA_SUCCESS) { in qla2x00_isp_firmware()
3252 return QLA_SUCCESS; in qla2x00_reset_chip()
3267 return QLA_SUCCESS; in qla81xx_reset_mpi()
3280 int rc = QLA_SUCCESS; in qla_chk_risc_recovery()
3330 int rval = QLA_SUCCESS; in qla24xx_reset_risc()
3362 rval == QLA_SUCCESS; cnt--) { in qla24xx_reset_risc()
3370 if (rval == QLA_SUCCESS) in qla24xx_reset_risc()
3398 if (qla81xx_reset_mpi(vha) != QLA_SUCCESS) { in qla24xx_reset_risc()
3424 for (cnt = 300; wd != 0 && rval == QLA_SUCCESS; cnt--) { in qla24xx_reset_risc()
3440 if (rval == QLA_SUCCESS) in qla24xx_reset_risc()
3677 rval = QLA_SUCCESS; in qla2x00_chip_diag()
3704 return QLA_SUCCESS; in qla24xx_chip_diag()
3714 rval = QLA_SUCCESS; in qla24xx_chip_diag()
3966 return QLA_SUCCESS; in qla81xx_mpi_sync()
3969 if (rval != QLA_SUCCESS) { in qla81xx_mpi_sync()
3977 if (rval != QLA_SUCCESS) { in qla81xx_mpi_sync()
3989 if (rval != QLA_SUCCESS) { in qla81xx_mpi_sync()
3995 if (rval != QLA_SUCCESS) { in qla81xx_mpi_sync()
4009 return QLA_SUCCESS; in qla2x00_alloc_outstanding_cmds()
4043 return QLA_SUCCESS; in qla2x00_alloc_outstanding_cmds()
4284 if (rval == QLA_SUCCESS) { in qla2x00_setup_chip()
4304 if (rval == QLA_SUCCESS) { in qla2x00_setup_chip()
4309 if (rval == QLA_SUCCESS) { in qla2x00_setup_chip()
4322 if (rval == QLA_SUCCESS) { in qla2x00_setup_chip()
4338 if (rval != QLA_SUCCESS) in qla2x00_setup_chip()
4342 if (rval != QLA_SUCCESS) in qla2x00_setup_chip()
4350 if (rval != QLA_SUCCESS) in qla2x00_setup_chip()
4371 if (rval != QLA_SUCCESS) in qla2x00_setup_chip()
4410 else if (rval == QLA_SUCCESS && IS_FAC_REQUIRED(ha)) { in qla2x00_setup_chip()
4414 if (rval == QLA_SUCCESS) { in qla2x00_setup_chip()
4425 rval = QLA_SUCCESS; in qla2x00_setup_chip()
4639 if (rval != QLA_SUCCESS) { in qla24xx_update_fw_options()
4921 if (rval == QLA_SUCCESS) { in qla2x00_fw_ready()
4936 if (rval != QLA_SUCCESS) { in qla2x00_fw_ready()
4959 rval = QLA_SUCCESS; in qla2x00_fw_ready()
5036 if (rval != QLA_SUCCESS) { in qla2x00_configure_hba()
5049 if (qla24xx_link_initialize(vha) == QLA_SUCCESS) in qla2x00_configure_hba()
5230 rval = QLA_SUCCESS; in qla2x00_nvram_config()
5634 if (rval != QLA_SUCCESS) { in qla_get_login_template()
5665 rval = QLA_SUCCESS; in qla2x00_configure_loop()
5670 if (rval != QLA_SUCCESS) { in qla2x00_configure_loop()
5718 if (rval == QLA_SUCCESS && test_bit(RSCN_UPDATE, &flags)) { in qla2x00_configure_loop()
5728 if (rval == QLA_SUCCESS) { in qla2x00_configure_loop()
5794 return QLA_SUCCESS; in qla2x00_configure_n2n_loop()
5817 if (rval == QLA_SUCCESS) { in qla_reinitialize_link()
5860 if (rval != QLA_SUCCESS) in qla2x00_configure_local_loop()
5879 if (rc == QLA_SUCCESS && loop_map_entries > 1) { in qla2x00_configure_local_loop()
5945 if (rval2 != QLA_SUCCESS) { in qla2x00_configure_local_loop()
6072 if (rval != QLA_SUCCESS) { in qla2x00_iidma_fcport()
6317 if (rval != QLA_SUCCESS) { in qla2x00_configure_fabric()
6322 return (QLA_SUCCESS); in qla2x00_configure_fabric()
6327 if (rval != QLA_SUCCESS) in qla2x00_configure_fabric()
6333 if (rval != QLA_SUCCESS) in qla2x00_configure_fabric()
6346 if (rval != QLA_SUCCESS || mb[0] != MBS_COMMAND_COMPLETE) { in qla2x00_configure_fabric()
6417 if (rval != QLA_SUCCESS) in qla2x00_configure_fabric()
6460 rval = QLA_SUCCESS; in qla2x00_find_all_fabric_devs()
6473 if (qla2x00_gid_pt(vha, swl) != QLA_SUCCESS) { in qla2x00_find_all_fabric_devs()
6477 } else if (qla2x00_gpn_id(vha, swl) != QLA_SUCCESS) { in qla2x00_find_all_fabric_devs()
6481 } else if (qla2x00_gnn_id(vha, swl) != QLA_SUCCESS) { in qla2x00_find_all_fabric_devs()
6485 } else if (qla2x00_gfpn_id(vha, swl) != QLA_SUCCESS) { in qla2x00_find_all_fabric_devs()
6557 if (rval != QLA_SUCCESS) { in qla2x00_find_all_fabric_devs()
6561 rval = QLA_SUCCESS; in qla2x00_find_all_fabric_devs()
6807 if (rval != QLA_SUCCESS) { in qla2x00_fabric_login()
6863 rval = QLA_SUCCESS; in qla2x00_fabric_login()
6871 if (rval != QLA_SUCCESS) { in qla2x00_fabric_login()
6935 if (rval == QLA_SUCCESS) { in qla2x00_local_device_login()
6960 int rval = QLA_SUCCESS; in qla2x00_loop_resync()
7099 int rval = QLA_SUCCESS; in __qla83xx_set_drv_ack()
7104 if (rval == QLA_SUCCESS) { in __qla83xx_set_drv_ack()
7115 int rval = QLA_SUCCESS; in __qla83xx_clear_drv_ack()
7120 if (rval == QLA_SUCCESS) { in __qla83xx_clear_drv_ack()
7197 return QLA_SUCCESS; in qla83xx_initiating_reset()
7220 return QLA_SUCCESS; in qla83xx_check_driver_presence()
7228 int rval = QLA_SUCCESS; in qla83xx_nic_core_reset()
7242 if (qla83xx_check_driver_presence(vha) != QLA_SUCCESS) { in qla83xx_nic_core_reset()
7258 if (rval == QLA_SUCCESS) { in qla83xx_nic_core_reset()
7261 if (rval == QLA_SUCCESS) in qla83xx_nic_core_reset()
7301 if (rval != QLA_SUCCESS) { in qla2xxx_mctp_dump()
7369 != QLA_SUCCESS); in qla2x00_quiesce_io()
7543 if (qla83xx_clear_drv_presence(vha) != QLA_SUCCESS) in qla2x00_abort_isp()
7682 if (qla83xx_set_drv_presence(vha) != QLA_SUCCESS) in qla2x00_abort_isp()
7758 if (ret != QLA_SUCCESS) in qla25xx_init_queues()
7774 if (ret != QLA_SUCCESS) in qla25xx_init_queues()
7811 return QLA_SUCCESS; in qla2x00_reset_adapter()
7822 return QLA_SUCCESS; in qla24xx_reset_adapter()
7837 return QLA_SUCCESS; in qla24xx_reset_adapter()
7875 rval = QLA_SUCCESS; in qla24xx_nvram_config()
8341 QLA_SUCCESS) { in qla27xx_get_active_image()
8516 return QLA_SUCCESS; in qla24xx_load_risc_flash()
8586 return QLA_SUCCESS; in qla24xx_load_risc_flash()
8593 return QLA_SUCCESS; in qla24xx_load_risc_flash()
8620 rval = QLA_SUCCESS; in qla2x00_load_risc()
8648 while (*seg && rval == QLA_SUCCESS) { in qla2x00_load_risc()
8663 while (risc_size > 0 && rval == QLA_SUCCESS) { in qla2x00_load_risc()
8780 return QLA_SUCCESS; in qla24xx_load_risc_blob()
8842 return QLA_SUCCESS; in qla24xx_load_risc_blob()
8849 return QLA_SUCCESS; in qla24xx_load_risc_blob()
8866 if (rval == QLA_SUCCESS) in qla24xx_load_risc()
8942 for (retries = 5; ret != QLA_SUCCESS && ret != QLA_FUNCTION_TIMEOUT && in qla2x00_try_to_stop_firmware()
8945 if (ha->isp_ops->chip_diag(vha) != QLA_SUCCESS) in qla2x00_try_to_stop_firmware()
8947 if (qla2x00_setup_chip(vha) != QLA_SUCCESS) in qla2x00_try_to_stop_firmware()
8961 int rval = QLA_SUCCESS; in qla24xx_configure_vhba()
8972 if (rval == QLA_SUCCESS) { in qla24xx_configure_vhba()
8982 if (rval2 != QLA_SUCCESS || mb[0] != MBS_COMMAND_COMPLETE) { in qla24xx_configure_vhba()
9074 return rval != QLA_SUCCESS || status[0] ? QLA_FUNCTION_FAILED : in qla84xx_init_chip()
9075 QLA_SUCCESS; in qla84xx_init_chip()
9094 rval = QLA_SUCCESS; in qla81xx_nvram_config()
9613 return QLA_SUCCESS; in qla24xx_update_fcport_fcp_prio()
9617 if (ret == QLA_SUCCESS) { in qla24xx_update_fcport_fcp_prio()
9830 if (ret != QLA_SUCCESS) in qla2xxx_delete_qpair()
9834 if (ret != QLA_SUCCESS) in qla2xxx_delete_qpair()
9864 return QLA_SUCCESS; in qla2xxx_delete_qpair()