Searched refs:mpi_request (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/mps/ |
H A D | mps_sas_lsi.c | 911 Mpi2SataPassthroughRequest_t *mpi_request; in mpssas_get_sata_identify() local 925 mpi_request = (MPI2_SATA_PASSTHROUGH_REQUEST *)cm->cm_req; in mpssas_get_sata_identify() 926 bzero(mpi_request,sizeof(MPI2_SATA_PASSTHROUGH_REQUEST)); in mpssas_get_sata_identify() 927 mpi_request->Function = MPI2_FUNCTION_SATA_PASSTHROUGH; in mpssas_get_sata_identify() 928 mpi_request->VF_ID = 0; in mpssas_get_sata_identify() 929 mpi_request->DevHandle = htole16(handle); in mpssas_get_sata_identify() 930 mpi_request->PassthroughFlags = (MPI2_SATA_PT_REQ_PT_FLAGS_PIO | in mpssas_get_sata_identify() 932 mpi_request->DataLength = htole32(sz); in mpssas_get_sata_identify() 933 mpi_request->CommandFIS[0] = 0x27; in mpssas_get_sata_identify() 934 mpi_request->CommandFIS[1] = 0x80; in mpssas_get_sata_identify() [all …]
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas_lsi.c | 1136 Mpi2SataPassthroughRequest_t *mpi_request; in mprsas_get_sata_identify() local 1150 mpi_request = (MPI2_SATA_PASSTHROUGH_REQUEST *)cm->cm_req; in mprsas_get_sata_identify() 1151 bzero(mpi_request,sizeof(MPI2_SATA_PASSTHROUGH_REQUEST)); in mprsas_get_sata_identify() 1152 mpi_request->Function = MPI2_FUNCTION_SATA_PASSTHROUGH; in mprsas_get_sata_identify() 1153 mpi_request->VF_ID = 0; in mprsas_get_sata_identify() 1154 mpi_request->DevHandle = htole16(handle); in mprsas_get_sata_identify() 1155 mpi_request->PassthroughFlags = (MPI2_SATA_PT_REQ_PT_FLAGS_PIO | in mprsas_get_sata_identify() 1157 mpi_request->DataLength = htole32(sz); in mprsas_get_sata_identify() 1158 mpi_request->CommandFIS[0] = 0x27; in mprsas_get_sata_identify() 1159 mpi_request->CommandFIS[1] = 0x80; in mprsas_get_sata_identify() [all …]
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr_app.c | 621 mpi3mr_app_construct_sgl(struct mpi3mr_softc *sc, U8 *mpi_request, U32 sgl_offset, in mpi3mr_app_construct_sgl() argument 625 U8 *sgl = (mpi_request + sgl_offset), count = 0; in mpi3mr_app_construct_sgl() 626 Mpi3RequestHeader_t *mpi_header = (Mpi3RequestHeader_t *)mpi_request; in mpi3mr_app_construct_sgl() 628 (Mpi3MgmtPassthroughRequest_t *)mpi_request; in mpi3mr_app_construct_sgl() 790 U8 *mpi_request = NULL; in mpi3mr_app_mptcmds() local 825 mpi_request = malloc(MPI3MR_AREQ_FRAME_SZ, M_MPI3MR, M_NOWAIT | M_ZERO); in mpi3mr_app_mptcmds() 826 if (!mpi_request) { in mpi3mr_app_mptcmds() 832 mpi_header = (Mpi3RequestHeader_t *)mpi_request; in mpi3mr_app_mptcmds() 833 pel = (Mpi3PELReqActionGetCount_t *)mpi_request; in mpi3mr_app_mptcmds() 834 if (copyin(karg->mpi_msg_buf, mpi_request, (karg->mpi_msg_size * 4))) { in mpi3mr_app_mptcmds() [all …]
|