/freebsd/sys/dev/mpr/ |
H A D | mpr_config.c | 78 u16 ioc_status; in mpr_config_get_ioc_pg8() local 111 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpr_config_get_ioc_pg8() 113 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in mpr_config_get_ioc_pg8() 120 __func__, ioc_status); in mpr_config_get_ioc_pg8() 170 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpr_config_get_ioc_pg8() 172 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in mpr_config_get_ioc_pg8() 179 __func__, ioc_status); in mpr_config_get_ioc_pg8() 210 u16 ioc_status; in mpr_config_get_iounit_pg8() local 243 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpr_config_get_iounit_pg8() 245 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in mpr_config_get_iounit_pg8() [all …]
|
H A D | mpr_ioctl.h | 87 uint16_t ioc_status; member 95 uint16_t ioc_status; member 109 uint16_t ioc_status; member
|
H A D | mpr_user.c | 262 page_req->ioc_status = htole16(params.status); in mpr_user_read_cfg_header() 263 if ((page_req->ioc_status & MPI2_IOCSTATUS_MASK) == in mpr_user_read_cfg_header() 296 page_req->ioc_status = htole16(params.status); in mpr_user_read_cfg_page() 331 ext_page_req->ioc_status = htole16(params.status); in mpr_user_read_extcfg_header() 332 if ((ext_page_req->ioc_status & MPI2_IOCSTATUS_MASK) == in mpr_user_read_extcfg_header() 370 ext_page_req->ioc_status = htole16(params.status); in mpr_user_read_extcfg_page() 413 page_req->ioc_status = htole16(params.status); in mpr_user_write_cfg_page() 2445 uint16_t ioc_status; member 2453 uint16_t ioc_status; member 2467 uint16_t ioc_status; member [all …]
|
H A D | mpr_sas_lsi.c | 1047 u32 ioc_status; in mprsas_get_sas_address_for_sata_disk() local 1057 ioc_status = le16toh(mpi_reply.IOCStatus) in mprsas_get_sas_address_for_sata_disk() 1060 switch (ioc_status) { in mprsas_get_sas_address_for_sata_disk() 1076 (ioc_status && (ioc_status != MPI2_IOCSTATUS_SCSI_PROTOCOL_ERROR)) in mprsas_get_sas_address_for_sata_disk() 1079 if (rc == 0 && !ioc_status && !sas_status) { in mprsas_get_sas_address_for_sata_disk()
|
H A D | mpr_sas.c | 2166 u16 ioc_status = le16toh(mpi_reply->IOCStatus) & in mpr_sc_failed_io_info() local 2178 ioc_status); in mpr_sc_failed_io_info() 2183 le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status); in mpr_sc_failed_io_info()
|
/freebsd/sys/dev/mps/ |
H A D | mps_config.c | 78 u16 ioc_status; in mps_config_get_ioc_pg8() local 111 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mps_config_get_ioc_pg8() 113 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in mps_config_get_ioc_pg8() 120 __func__, ioc_status); in mps_config_get_ioc_pg8() 170 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mps_config_get_ioc_pg8() 172 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in mps_config_get_ioc_pg8() 179 __func__, ioc_status); in mps_config_get_ioc_pg8() 211 u16 ioc_status; in mps_config_get_man_pg10() local 246 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mps_config_get_man_pg10() 248 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in mps_config_get_man_pg10() [all …]
|
H A D | mps_ioctl.h | 88 uint16_t ioc_status; member 96 uint16_t ioc_status; member 110 uint16_t ioc_status; member
|
H A D | mps_user.c | 248 page_req->ioc_status = htole16(params.status); in mps_user_read_cfg_header() 249 if ((page_req->ioc_status & MPI2_IOCSTATUS_MASK) == in mps_user_read_cfg_header() 282 page_req->ioc_status = htole16(params.status); in mps_user_read_cfg_page() 317 ext_page_req->ioc_status = htole16(params.status); in mps_user_read_extcfg_header() 318 if ((ext_page_req->ioc_status & MPI2_IOCSTATUS_MASK) == in mps_user_read_extcfg_header() 356 ext_page_req->ioc_status = htole16(params.status); in mps_user_read_extcfg_page() 399 page_req->ioc_status = htole16(params.status); in mps_user_write_cfg_page() 2332 uint16_t ioc_status; member 2340 uint16_t ioc_status; member 2354 uint16_t ioc_status; member [all …]
|
H A D | mps_sas_lsi.c | 822 u32 ioc_status; in mpssas_get_sas_address_for_sata_disk() local 831 ioc_status = le16toh(mpi_reply.IOCStatus) in mpssas_get_sas_address_for_sata_disk() 834 switch (ioc_status) { in mpssas_get_sas_address_for_sata_disk() 850 (ioc_status && in mpssas_get_sas_address_for_sata_disk() 851 (ioc_status != MPI2_IOCSTATUS_SCSI_PROTOCOL_ERROR)) in mpssas_get_sas_address_for_sata_disk() 854 if (rc == 0 && !ioc_status && !sas_status) { in mpssas_get_sas_address_for_sata_disk()
|
H A D | mps_sas.c | 1909 u16 ioc_status = le16toh(mpi_reply->IOCStatus) & in mps_sc_failed_io_info() local 1920 ioc_status); in mps_sc_failed_io_info() 1925 le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status); in mps_sc_failed_io_info()
|
/freebsd/usr.sbin/mptutil/ |
H A D | mpt_cmd.c | 359 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mpt_read_config_page_header() 361 *IOCStatus = req.ioc_status; in mpt_read_config_page_header() 364 mpt_ioc_status(req.ioc_status)); in mpt_read_config_page_header() 387 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mpt_read_config_page() 389 *IOCStatus = req.ioc_status; in mpt_read_config_page() 392 mpt_ioc_status(req.ioc_status)); in mpt_read_config_page() 406 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mpt_read_config_page() 408 *IOCStatus = req.ioc_status; in mpt_read_config_page() 411 mpt_ioc_status(req.ioc_status)); in mpt_read_config_page() 436 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mpt_read_extended_config_page() [all …]
|
/freebsd/sys/sys/ |
H A D | mpt_ioctl.h | 59 uint16_t ioc_status; member 67 uint16_t ioc_status; member 81 uint16_t ioc_status; member 98 uint16_t ioc_status; member 106 uint16_t ioc_status; member 120 uint16_t ioc_status; member
|
/freebsd/usr.sbin/mpsutil/ |
H A D | mps_cmd.c | 540 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mps_read_config_page_header() 542 *IOCStatus = req.ioc_status; in mps_read_config_page_header() 576 req.ioc_status = le16toh(req.ioc_status); in mps_read_config_page() 577 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mps_read_config_page() 579 *IOCStatus = req.ioc_status; in mps_read_config_page() 582 req.ioc_status, mps_ioc_status(req.ioc_status)); in mps_read_config_page() 607 req.ioc_status = le16toh(req.ioc_status); in mps_read_extended_config_page() 608 if (!IOC_STATUS_SUCCESS(req.ioc_status)) { in mps_read_extended_config_page() 610 *IOCStatus = req.ioc_status; in mps_read_extended_config_page() 613 mps_ioc_status(req.ioc_status)); in mps_read_extended_config_page() [all …]
|
/freebsd/sys/dev/mpt/ |
H A D | mpt_user.c | 277 page_req->ioc_status = htole16(req->IOCStatus); in mpt_user_read_cfg_header() 318 page_req->ioc_status = htole16(req->IOCStatus); in mpt_user_read_cfg_page() 362 ext_page_req->ioc_status = htole16(req->IOCStatus); in mpt_user_read_extcfg_header() 408 ext_page_req->ioc_status = htole16(req->IOCStatus); in mpt_user_read_extcfg_page() 473 page_req->ioc_status = htole16(req->IOCStatus); in mpt_user_write_cfg_page() 572 raid_act->ioc_status = htole16(req->IOCStatus); in mpt_user_raid_action() 629 page_req->ioc_status = page_req32->ioc_status; in mpt_ioctl() 638 ext_page_req->ioc_status = ext_page_req32->ioc_status; in mpt_ioctl() 653 raid_act->ioc_status = raid_act32->ioc_status; in mpt_ioctl() 782 page_req32->ioc_status = page_req->ioc_status; in mpt_ioctl() [all …]
|
H A D | mpt_cam.c | 3025 u_int ioc_status; in mpt_scsi_reply_frame_handler() local 3036 ioc_status = le16toh(scsi_io_reply->IOCStatus); in mpt_scsi_reply_frame_handler() 3037 ioc_status &= MPI_IOCSTATUS_MASK; in mpt_scsi_reply_frame_handler() 3071 switch(ioc_status) { in mpt_scsi_reply_frame_handler()
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr.c | 226 U32 ioc_status; in mpi3mr_check_rh_fault_ioc() local 233 ioc_status = mpi3mr_regread(sc, MPI3_SYSIF_IOC_STATUS_OFFSET); in mpi3mr_check_rh_fault_ioc() 234 if ((ioc_status & MPI3_SYSIF_IOC_STATUS_RESET_HISTORY) || in mpi3mr_check_rh_fault_ioc() 235 (ioc_status & MPI3_SYSIF_IOC_STATUS_FAULT)) { in mpi3mr_check_rh_fault_ioc() 537 if ((sc->init_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK) in mpi3mr_delete_op_reply_queue() 541 (sc->init_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK), in mpi3mr_delete_op_reply_queue() 682 if ((sc->init_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK) in mpi3mr_create_op_reply_queue() 686 (sc->init_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK), in mpi3mr_create_op_reply_queue() 831 if ((sc->init_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK) in mpi3mr_create_op_req_queue() 835 (sc->init_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK), in mpi3mr_create_op_req_queue() [all …]
|
H A D | mpi3mr_app.h | 61 #define GET_IOC_STATUS(ioc_status) \ argument 62 ioc_status & MPI3_IOCSTATUS_STATUS_MASK
|
H A D | mpi3mr_app.c | 1097 if (((sc->ioctl_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK) in mpi3mr_app_mptcmds() 1101 (sc->ioctl_cmds.ioc_status & MPI3_IOCSTATUS_STATUS_MASK), in mpi3mr_app_mptcmds() 1127 status_desc->IOCStatus = sc->ioctl_cmds.ioc_status; in mpi3mr_app_mptcmds() 1343 if (((GET_IOC_STATUS(drvr_cmd->ioc_status)) != MPI3_IOCSTATUS_SUCCESS) in mpi3mr_pel_wait_complete() 1347 sc->name, __func__, GET_IOC_STATUS(drvr_cmd->ioc_status), in mpi3mr_pel_wait_complete() 1396 drvr_cmd->ioc_status = 0; in mpi3mr_issue_pel_wait() 1436 sc->pel_cmds.ioc_status = 0; in mpi3mr_send_pel_getseq() 1480 if (((GET_IOC_STATUS(drvr_cmd->ioc_status)) != MPI3_IOCSTATUS_SUCCESS) in mpi3mr_pel_getseq_complete() 1483 sc->name, __func__, GET_IOC_STATUS(drvr_cmd->ioc_status), in mpi3mr_pel_getseq_complete() 1532 sc->pel_cmds.ioc_status = 0; in mpi3mr_pel_getseq() [all …]
|
H A D | mpi3mr_cam.c | 636 switch (drv_cmd->ioc_status) { in mpi3mr_issue_tm() 646 tgtdev->dev_handle, drv_cmd->ioc_status, drv_cmd->ioc_loginfo); in mpi3mr_issue_tm() 666 …count(%u), response:%s(0x%x)\n", tm_type, tgtdev->dev_handle, drv_cmd->ioc_status, drv_cmd->ioc_lo… in mpi3mr_issue_tm()
|
H A D | mpi3mr.h | 425 U16 ioc_status; member
|