Home
last modified time | relevance | path

Searched refs:ioc_status (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c344 u16 ioc_status = MPI3_IOCSTATUS_SUCCESS; in mpi3mr_process_admin_reply_desc() local
361 ioc_status = le16_to_cpu(status_desc->ioc_status); in mpi3mr_process_admin_reply_desc()
362 if (ioc_status & in mpi3mr_process_admin_reply_desc()
365 ioc_status &= MPI3_REPLY_DESCRIPT_STATUS_IOCSTATUS_STATUS_MASK; in mpi3mr_process_admin_reply_desc()
374 ioc_status = le16_to_cpu(def_reply->ioc_status); in mpi3mr_process_admin_reply_desc()
375 if (ioc_status & in mpi3mr_process_admin_reply_desc()
378 ioc_status &= MPI3_REPLY_DESCRIPT_STATUS_IOCSTATUS_STATUS_MASK; in mpi3mr_process_admin_reply_desc()
398 cmdptr->ioc_status = ioc_status; in mpi3mr_process_admin_reply_desc()
999 u32 ioc_status, code, code1, code2, code3; in mpi3mr_print_fault_info() local
1001 ioc_status = readl(&mrioc->sysif_regs->ioc_status); in mpi3mr_print_fault_info()
[all …]
Dmpi3mr_transport.c38 u16 *ioc_status) in mpi3mr_post_transport_req() argument
52 mrioc->transport_cmds.ioc_status = 0; in mpi3mr_post_transport_req()
73 *ioc_status = mrioc->transport_cmds.ioc_status & in mpi3mr_post_transport_req()
75 if ((*ioc_status) != MPI3_IOCSTATUS_SUCCESS) in mpi3mr_post_transport_req()
78 *ioc_status, mrioc->transport_cmds.ioc_loginfo); in mpi3mr_post_transport_req()
147 u16 ioc_status; in mpi3mr_report_manufacture() local
192 MPI3MR_INTADMCMD_TIMEOUT, &ioc_status); in mpi3mr_report_manufacture()
198 ioc_status); in mpi3mr_report_manufacture()
200 if (ioc_status != MPI3_IOCSTATUS_SUCCESS) { in mpi3mr_report_manufacture()
298 u16 ioc_status; in mpi3mr_get_sas_address() local
[all …]
Dmpi3mr.h813 u16 ioc_status; member
1345 int mpi3mr_cfg_get_dev_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status,
1347 int mpi3mr_cfg_get_sas_phy_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status,
1350 int mpi3mr_cfg_get_sas_phy_pg1(struct mpi3mr_ioc *mrioc, u16 *ioc_status,
1353 int mpi3mr_cfg_get_sas_exp_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status,
1356 int mpi3mr_cfg_get_sas_exp_pg1(struct mpi3mr_ioc *mrioc, u16 *ioc_status,
1359 int mpi3mr_cfg_get_enclosure_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status,
Dmpi3mr_os.c2091 __func__, drv_cmd->dev_handle, drv_cmd->ioc_status, in mpi3mr_dev_rmhs_complete_iou()
2093 if (drv_cmd->ioc_status != MPI3_IOCSTATUS_SUCCESS) { in mpi3mr_dev_rmhs_complete_iou()
2166 mrioc->name, drv_cmd->dev_handle, drv_cmd->ioc_status, in mpi3mr_dev_rmhs_complete_tm()
2310 if (drv_cmd->ioc_status != MPI3_IOCSTATUS_SUCCESS) { in mpi3mr_complete_evt_ack()
2313 (drv_cmd->ioc_status & MPI3_IOCSTATUS_STATUS_MASK), in mpi3mr_complete_evt_ack()
3019 u16 ioc_status) in mpi3mr_map_eedp_error() argument
3023 switch (ioc_status) { in mpi3mr_map_eedp_error()
3061 u16 ioc_status = MPI3_IOCSTATUS_SUCCESS; in mpi3mr_process_op_reply_desc() local
3087 ioc_status = le16_to_cpu(status_desc->ioc_status); in mpi3mr_process_op_reply_desc()
3088 if (ioc_status & in mpi3mr_process_op_reply_desc()
[all …]
Dmpi3mr_app.c77 if ((mrioc->pel_abort_cmd.ioc_status & MPI3_IOCSTATUS_STATUS_MASK) in mpi3mr_bsg_pel_abort()
81 __func__, (mrioc->pel_abort_cmd.ioc_status & in mpi3mr_bsg_pel_abort()
1327 if ((mrioc->bsg_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK) in mpi3mr_bsg_process_mpt_cmds()
1332 (mrioc->bsg_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK), in mpi3mr_bsg_process_mpt_cmds()
1357 status_desc->ioc_status = mrioc->bsg_cmds.ioc_status; in mpi3mr_bsg_process_mpt_cmds()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_config.c305 u32 ioc_status = UINT_MAX; in _config_request() local
438 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) in _config_request()
446 if ((ioc_status == MPI2_IOCSTATUS_SUCCESS) && in _config_request()
1389 u16 ioc_status; in mpt3sas_config_get_number_hba_phys() local
1412 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_config_get_number_hba_phys()
1414 if (ioc_status == MPI2_IOCSTATUS_SUCCESS) in mpt3sas_config_get_number_hba_phys()
1807 u16 ioc_status; in mpt3sas_config_get_number_pds() local
1829 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_config_get_number_pds()
1831 if (ioc_status == MPI2_IOCSTATUS_SUCCESS) in mpt3sas_config_get_number_pds()
2015 u16 flags, ioc_status; in mpt3sas_config_update_driver_trigger_pg0() local
[all …]
Dmpt3sas_warpdrive.c60 u16 ioc_status; in _warpdrive_disable_ddio() local
66 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _warpdrive_disable_ddio()
68 if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE) in _warpdrive_disable_ddio()
92 u16 ioc_status; in mpt3sas_get_num_volumes() local
97 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_get_num_volumes()
99 if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE) in mpt3sas_get_num_volumes()
Dmpt3sas_scsih.c297 u16 ioc_status; member
515 u32 ioc_status; in _scsih_get_sas_address() local
526 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address()
527 if (ioc_status == MPI2_IOCSTATUS_SUCCESS) { in _scsih_get_sas_address()
541 if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE) in _scsih_get_sas_address()
546 handle, ioc_status, __FILE__, __LINE__, __func__); in _scsih_get_sas_address()
2176 u32 ioc_status; in _scsih_display_sata_capabilities() local
2187 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities()
2189 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_display_sata_capabilities()
5091 _scsih_eedp_error_handling(struct scsi_cmnd *scmd, u16 ioc_status) in _scsih_eedp_error_handling() argument
[all …]
Dmpt3sas_trigger_diag.c411 mpt3sas_trigger_mpi(struct MPT3SAS_ADAPTER *ioc, u16 ioc_status, u32 loginfo) in mpt3sas_trigger_mpi() argument
437 __func__, ioc_status, loginfo)); in mpt3sas_trigger_mpi()
449 if (mpi_trigger->IOCStatus != ioc_status) in mpt3sas_trigger_mpi()
467 event_data.u.mpi.IOCStatus = ioc_status; in mpt3sas_trigger_mpi()
Dmpt3sas_base.c974 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _base_sas_ioc_info() local
986 if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE) in _base_sas_ioc_info()
1003 switch (ioc_status) { in _base_sas_ioc_info()
1196 desc, ioc_status, request_hdr, func_str); in _base_sas_ioc_info()
1383 u16 ioc_status; in _base_display_reply_info() local
1392 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _base_display_reply_info()
1394 if ((ioc_status & MPI2_IOCSTATUS_MASK) && in _base_display_reply_info()
1400 if (ioc_status & MPI2_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE) { in _base_display_reply_info()
1405 if (ioc_status || loginfo) { in _base_display_reply_info()
1406 ioc_status &= MPI2_IOCSTATUS_MASK; in _base_display_reply_info()
[all …]
Dmpt3sas_transport.c208 u32 ioc_status; in _transport_set_identify() local
222 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify()
224 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _transport_set_identify()
226 handle, ioc_status, __FILE__, __LINE__, __func__); in _transport_set_identify()
1759 u16 ioc_status; in _transport_phy_enable() local
1801 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1803 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _transport_phy_enable()
1842 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1844 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _transport_phy_enable()
1899 u16 ioc_status; in _transport_phy_speed() local
[all …]
Dmpt3sas_ctl.c1568 u16 ioc_status; in _ctl_diag_register_2() local
1777 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in _ctl_diag_register_2()
1779 if (ioc_status == MPI2_IOCSTATUS_SUCCESS) { in _ctl_diag_register_2()
1786 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_diag_register_2()
2135 u16 ioc_status; in mpt3sas_send_diag_release() local
2206 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpt3sas_send_diag_release()
2208 if (ioc_status == MPI2_IOCSTATUS_SUCCESS) { in mpt3sas_send_diag_release()
2215 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo)); in mpt3sas_send_diag_release()
2329 u16 ioc_status; in _ctl_diag_read_buffer() local
2466 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in _ctl_diag_read_buffer()
[all …]
Dmpt3sas_base.h2036 void mpt3sas_trigger_mpi(struct MPT3SAS_ADAPTER *ioc, u16 ioc_status,
/linux-6.1.9/drivers/scsi/mpi3mr/mpi/
Dmpi30_transport.h37 __le32 ioc_status; member
243 __le16 ioc_status; member
365 __le16 ioc_status; member
Dmpi30_sas.h41 __le16 ioc_status; member
Dmpi30_init.h69 __le16 ioc_status; member
Dmpi30_ioc.h306 __le16 ioc_status; member
887 __le16 ioc_status; member
935 __le16 ioc_status; member
1056 __le16 ioc_status; member
Dmpi30_cnfg.h1323 __le16 ioc_status; member
/linux-6.1.9/drivers/message/fusion/
Dmptctl.h391 u32 ioc_status; member
414 u32 ioc_status; member
Dmptscsih.c438 u16 ioc_status; in mptscsih_info_scsiio() local
441 ioc_status = le16_to_cpu(pScsiReply->IOCStatus) & MPI_IOCSTATUS_MASK; in mptscsih_info_scsiio()
443 switch (ioc_status) { in mptscsih_info_scsiio()
548 ioc->name, desc, ioc_status, desc1, pScsiReply->SCSIStatus, in mptscsih_info_scsiio()
740 u16 ioc_status = in mptscsih_io_done() local
742 if ((ioc_status & in mptscsih_io_done()
Dmptctl.c2425 karg.ioc_status = HP_STATUS_OK; in mptctl_hp_hostinfo()
2429 karg.ioc_status = HP_STATUS_FAILED; in mptctl_hp_hostinfo()
2435 karg.ioc_status = HP_STATUS_OTHER; in mptctl_hp_hostinfo()
Dmptbase.c208 static void mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf);
8144 mpt_iocstatus_info_config(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) in mpt_iocstatus_info_config() argument
8161 if (ioc_status == MPI_IOCSTATUS_CONFIG_INVALID_PAGE) { in mpt_iocstatus_info_config()
8179 switch (ioc_status) { in mpt_iocstatus_info_config()
8210 ioc->name, ioc_status, desc, extend_desc)); in mpt_iocstatus_info_config()
8222 mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) in mpt_iocstatus_info() argument
8224 u32 status = ioc_status & MPI_IOCSTATUS_MASK; in mpt_iocstatus_info()
/linux-6.1.9/include/uapi/scsi/
Dscsi_bsg_mpi3mr.h488 __le16 ioc_status; member
539 __le16 ioc_status; member