Home
last modified time | relevance | path

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

/freebsd/sys/dev/mpr/
H A Dmpr_config.c78 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 Dmpr_ioctl.h87 uint16_t ioc_status; member
95 uint16_t ioc_status; member
109 uint16_t ioc_status; member
H A Dmpr_user.c262 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 Dmpr_sas_lsi.c1047 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 Dmpr_sas.c2166 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 Dmps_config.c78 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 Dmps_ioctl.h88 uint16_t ioc_status; member
96 uint16_t ioc_status; member
110 uint16_t ioc_status; member
H A Dmps_user.c248 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 Dmps_sas_lsi.c822 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 Dmps_sas.c1909 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 Dmpt_cmd.c359 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 Dmpt_ioctl.h59 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 Dmps_cmd.c540 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 Dmpt_user.c277 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 Dmpt_cam.c3025 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 Dmpi3mr.c226 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 Dmpi3mr_app.h61 #define GET_IOC_STATUS(ioc_status) \ argument
62 ioc_status & MPI3_IOCSTATUS_STATUS_MASK
H A Dmpi3mr_app.c1097 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 Dmpi3mr_cam.c636 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 Dmpi3mr.h425 U16 ioc_status; member