Home
last modified time | relevance | path

Searched refs:mpi_reply (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/mpr/
H A Dmpr_config.c70 mpr_config_get_ioc_pg8(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, in mpr_config_get_ioc_pg8() argument
112 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8()
141 request->Header.PageVersion = mpi_reply->Header.PageVersion; in mpr_config_get_ioc_pg8()
142 request->Header.PageLength = mpi_reply->Header.PageLength; in mpr_config_get_ioc_pg8()
143 cm->cm_length = mpi_reply->Header.PageLength * 4; in mpr_config_get_ioc_pg8()
171 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8()
202 mpr_config_get_iounit_pg8(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, in mpr_config_get_iounit_pg8() argument
244 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_iounit_pg8()
273 request->Header.PageVersion = mpi_reply->Header.PageVersion; in mpr_config_get_iounit_pg8()
274 request->Header.PageLength = mpi_reply->Header.PageLength; in mpr_config_get_iounit_pg8()
[all …]
H A Dmpr_sas_lsi.c124 Mpi2SataPassthroughReply_t *mpi_reply, char *id_buffer, int sz,
823 Mpi2ConfigReply_t mpi_reply; in mprsas_add_device() local
835 if (mpr_config_get_sas_device_pg0(sc, &mpi_reply, &config_page, in mprsas_add_device()
839 handle, mpi_reply.IOCStatus); in mprsas_add_device()
1041 Mpi2SataPassthroughReply_t mpi_reply; in mprsas_get_sas_address_for_sata_disk() local
1051 memset(&mpi_reply, 0, sizeof(mpi_reply)); in mprsas_get_sas_address_for_sata_disk()
1054 rc = mprsas_get_sata_identify(sc, handle, &mpi_reply, in mprsas_get_sas_address_for_sata_disk()
1057 ioc_status = le16toh(mpi_reply.IOCStatus) in mprsas_get_sas_address_for_sata_disk()
1059 sas_status = mpi_reply.SASStatus; in mprsas_get_sas_address_for_sata_disk()
1134 Mpi2SataPassthroughReply_t *mpi_reply, char *id_buffer, int sz, u32 devinfo) in mprsas_get_sata_identify() argument
[all …]
H A Dmprvar.h850 *mpi_reply, Mpi2BiosPage3_t *config_page);
852 *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 page_address);
856 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage8_t *config_page);
860 *mpi_reply, Mpi26PCIeDevicePage0_t *config_page, u32 form, u16 handle);
862 *mpi_reply, Mpi26PCIeDevicePage2_t *config_page, u32 form, u16 handle);
866 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form,
871 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page,
873 int mpr_config_get_man_pg11(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply,
H A Dmpr_mapping.c116 Mpi2ConfigReply_t mpi_reply; in _mapping_commit_enc_entry() local
145 if (mpr_config_set_dpm_pg0(sc, &mpi_reply, &config_page, in _mapping_commit_enc_entry()
178 Mpi2ConfigReply_t mpi_reply; in _mapping_commit_map_entry() local
215 if (mpr_config_set_dpm_pg0(sc, &mpi_reply, &config_page, in _mapping_commit_map_entry()
1146 Mpi2ConfigReply_t mpi_reply; in _mapping_get_dev_info() local
1163 if (mpr_config_get_sas_device_pg0(sc, &mpi_reply, in _mapping_get_dev_info()
1324 Mpi2ConfigReply_t mpi_reply; in _mapping_get_pcie_dev_info() local
1339 if (mpr_config_get_pcie_device_pg0(sc, &mpi_reply, in _mapping_get_pcie_dev_info()
2093 Mpi2ConfigReply_t mpi_reply; in _mapping_flush_dpm_pages() local
2116 if (mpr_config_set_dpm_pg0(sc, &mpi_reply, &config_page, in _mapping_flush_dpm_pages()
[all …]
H A Dmpr_sas.c2162 Mpi2SCSIIOReply_t *mpi_reply, struct mprsas_target *targ) in mpr_sc_failed_io_info() argument
2166 u16 ioc_status = le16toh(mpi_reply->IOCStatus) & in mpr_sc_failed_io_info()
2168 u8 scsi_state = mpi_reply->SCSIState; in mpr_sc_failed_io_info()
2169 u8 scsi_status = mpi_reply->SCSIStatus; in mpr_sc_failed_io_info()
2172 u32 log_info = le32toh(mpi_reply->IOCLogInfo); in mpr_sc_failed_io_info()
2183 le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status); in mpr_sc_failed_io_info()
2207 response_info = le32toh(mpi_reply->ResponseInfo); in mpr_sc_failed_io_info()
2401 Mpi26NVMeEncapsulatedErrorReply_t *mpi_reply; in mprsas_complete_nvme_unmap() local
2405 mpi_reply =(Mpi26NVMeEncapsulatedErrorReply_t *)cm->cm_reply; in mprsas_complete_nvme_unmap()
2406 if (le16toh(mpi_reply->ErrorResponseCount)){ in mprsas_complete_nvme_unmap()
H A Dmpr.c2463 MPI2DefaultReply_t *mpi_reply; in mpr_display_reply_info() local
2466 mpi_reply = (MPI2DefaultReply_t*)reply; in mpr_display_reply_info()
2467 sc_status = le16toh(mpi_reply->IOCStatus); in mpr_display_reply_info()
2469 mpr_sas_log_info(sc, le32toh(mpi_reply->IOCLogInfo)); in mpr_display_reply_info()
H A Dmpr_user.c1174 Mpi2ConfigReply_t mpi_reply; in mpr_user_get_adapter_data() local
1213 if (mpr_config_get_bios_pg3(sc, &mpi_reply, &config_page)) in mpr_user_get_adapter_data()
/freebsd/sys/dev/mps/
H A Dmps_config.c70 mps_config_get_ioc_pg8(struct mps_softc *sc, Mpi2ConfigReply_t *mpi_reply, in mps_config_get_ioc_pg8() argument
112 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_ioc_pg8()
142 request->Header.PageLength = mpi_reply->Header.PageLength; in mps_config_get_ioc_pg8()
143 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_ioc_pg8()
171 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_ioc_pg8()
202 mps_config_get_man_pg10(struct mps_softc *sc, Mpi2ConfigReply_t *mpi_reply) in mps_config_get_man_pg10() argument
247 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_man_pg10()
274 request->Header.PageLength = mpi_reply->Header.PageLength; in mps_config_get_man_pg10()
275 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_man_pg10()
304 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_man_pg10()
[all …]
H A Dmps_sas_lsi.c122 Mpi2SataPassthroughReply_t *mpi_reply, char *id_buffer, int sz,
617 Mpi2ConfigReply_t mpi_reply; in mpssas_add_device() local
630 if (mps_config_get_sas_device_pg0(sc, &mpi_reply, &config_page, in mpssas_add_device()
634 handle, mpi_reply.IOCStatus); in mpssas_add_device()
816 Mpi2SataPassthroughReply_t mpi_reply; in mpssas_get_sas_address_for_sata_disk() local
828 rc = mpssas_get_sata_identify(sc, handle, &mpi_reply, in mpssas_get_sas_address_for_sata_disk()
831 ioc_status = le16toh(mpi_reply.IOCStatus) in mpssas_get_sas_address_for_sata_disk()
833 sas_status = mpi_reply.SASStatus; in mpssas_get_sas_address_for_sata_disk()
909 Mpi2SataPassthroughReply_t *mpi_reply, char *id_buffer, int sz, u32 devinfo) in mpssas_get_sata_identify() argument
971 bcopy(reply, mpi_reply, sizeof(Mpi2SataPassthroughReply_t)); in mpssas_get_sata_identify()
H A Dmpsvar.h768 *mpi_reply, Mpi2BiosPage3_t *config_page);
770 *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 page_address);
773 int mps_config_get_man_pg10(struct mps_softc *sc, Mpi2ConfigReply_t *mpi_reply);
779 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form,
784 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page,
H A Dmps_mapping.c117 Mpi2ConfigReply_t mpi_reply; in _mapping_commit_enc_entry() local
146 if (mps_config_set_dpm_pg0(sc, &mpi_reply, &config_page, in _mapping_commit_enc_entry()
179 Mpi2ConfigReply_t mpi_reply; in _mapping_commit_map_entry() local
216 if (mps_config_set_dpm_pg0(sc, &mpi_reply, &config_page, in _mapping_commit_map_entry()
1108 Mpi2ConfigReply_t mpi_reply; in _mapping_get_dev_info() local
1125 if (mps_config_get_sas_device_pg0(sc, &mpi_reply, in _mapping_get_dev_info()
1644 Mpi2ConfigReply_t mpi_reply; in _mapping_flush_dpm_pages() local
1667 if (mps_config_set_dpm_pg0(sc, &mpi_reply, &config_page, in _mapping_flush_dpm_pages()
2094 Mpi2ConfigReply_t mpi_reply; in mps_mapping_initialize() local
2153 if (mps_config_get_dpm_pg0(sc, &mpi_reply, sc->dpm_pg0, in mps_mapping_initialize()
H A Dmps_sas.c1905 Mpi2SCSIIOReply_t *mpi_reply) in mps_sc_failed_io_info() argument
1909 u16 ioc_status = le16toh(mpi_reply->IOCStatus) & in mps_sc_failed_io_info()
1911 u8 scsi_state = mpi_reply->SCSIState; in mps_sc_failed_io_info()
1912 u8 scsi_status = mpi_reply->SCSIStatus; in mps_sc_failed_io_info()
1913 u32 log_info = le32toh(mpi_reply->IOCLogInfo); in mps_sc_failed_io_info()
1925 le16toh(mpi_reply->DevHandle), desc_ioc_state, ioc_status); in mps_sc_failed_io_info()
1944 response_info = le32toh(mpi_reply->ResponseInfo); in mps_sc_failed_io_info()
H A Dmps.c2315 MPI2DefaultReply_t *mpi_reply; in mps_display_reply_info() local
2318 mpi_reply = (MPI2DefaultReply_t*)reply; in mps_display_reply_info()
2319 sc_status = le16toh(mpi_reply->IOCStatus); in mps_display_reply_info()
2321 mps_sas_log_info(sc, le32toh(mpi_reply->IOCLogInfo)); in mps_display_reply_info()
H A Dmps_user.c1065 Mpi2ConfigReply_t mpi_reply; in mps_user_get_adapter_data() local
1103 if (mps_config_get_bios_pg3(sc, &mpi_reply, &config_page)) in mps_user_get_adapter_data()
/freebsd/sys/dev/mrsas/
H A Dmrsas_cam.c97 MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply);
1843 MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply) in mrsas_tm_response_code() argument
1847 switch (mpi_reply->ResponseCode) { in mrsas_tm_response_code()
1877 mpi_reply->ResponseCode, desc); in mrsas_tm_response_code()
1881 mpi_reply->TerminationCount, mpi_reply->DevHandle, in mrsas_tm_response_code()
1882 mpi_reply->Function, mpi_reply->TaskType, in mrsas_tm_response_code()
1883 mpi_reply->IOCStatus, mpi_reply->IOCLogInfo); in mrsas_tm_response_code()
1931 MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply; in mrsas_reset_targets() local
2019 mpi_reply = in mrsas_reset_targets()
2021 mrsas_tm_response_code(sc, mpi_reply); in mrsas_reset_targets()