facts 1321 drivers/message/fusion/mptbase.c le32_to_cpu(ioc->facts.HostPageBufferSGE.FlagsLength) & 0xFFFFFF; facts 1363 drivers/message/fusion/mptbase.c ioc->facts.HostPageBufferSGE = ioc_init->HostPageBufferSGE; facts 1880 drivers/message/fusion/mptbase.c ioc->name, &ioc->facts, &ioc->pfacts[0])); facts 2403 drivers/message/fusion/mptbase.c (ioc->facts.Flags & MPI_IOCFACTS_FLAGS_FW_DOWNLOAD_BOOT)) { facts 2519 drivers/message/fusion/mptbase.c if ((ret == 0) && (!ioc->facts.EventState)) { facts 2526 drivers/message/fusion/mptbase.c if (ioc->alt_ioc && alt_ioc_ready && !ioc->alt_ioc->facts.EventState) facts 2565 drivers/message/fusion/mptbase.c if(ioc->facts.IOCExceptions & facts 2609 drivers/message/fusion/mptbase.c if (ioc->facts.MsgVersion >= MPI_VERSION_01_02) facts 3083 drivers/message/fusion/mptbase.c IOCFactsReply_t *facts; facts 3099 drivers/message/fusion/mptbase.c facts = &ioc->facts; facts 3102 drivers/message/fusion/mptbase.c reply_sz = sizeof(*facts); facts 3103 drivers/message/fusion/mptbase.c memset(facts, 0, reply_sz); facts 3120 drivers/message/fusion/mptbase.c reply_sz, (u16*)facts, 5 /*seconds*/, sleepFlag); facts 3132 drivers/message/fusion/mptbase.c if (facts->MsgLength > offsetof(IOCFactsReply_t, RequestFrameSize)/sizeof(u32)) { facts 3138 drivers/message/fusion/mptbase.c ioc->FirstWhoInit = facts->WhoInit; facts 3141 drivers/message/fusion/mptbase.c facts->MsgVersion = le16_to_cpu(facts->MsgVersion); facts 3142 drivers/message/fusion/mptbase.c facts->MsgContext = le32_to_cpu(facts->MsgContext); facts 3143 drivers/message/fusion/mptbase.c facts->IOCExceptions = le16_to_cpu(facts->IOCExceptions); facts 3144 drivers/message/fusion/mptbase.c facts->IOCStatus = le16_to_cpu(facts->IOCStatus); facts 3145 drivers/message/fusion/mptbase.c facts->IOCLogInfo = le32_to_cpu(facts->IOCLogInfo); facts 3146 drivers/message/fusion/mptbase.c status = le16_to_cpu(facts->IOCStatus) & MPI_IOCSTATUS_MASK; facts 3149 drivers/message/fusion/mptbase.c facts->ReplyQueueDepth = le16_to_cpu(facts->ReplyQueueDepth); facts 3150 drivers/message/fusion/mptbase.c facts->RequestFrameSize = le16_to_cpu(facts->RequestFrameSize); facts 3157 drivers/message/fusion/mptbase.c if (facts->MsgVersion < MPI_VERSION_01_02) { facts 3161 drivers/message/fusion/mptbase.c u16 oldv = le16_to_cpu(facts->Reserved_0101_FWVersion); facts 3162 drivers/message/fusion/mptbase.c facts->FWVersion.Word = facts 3166 drivers/message/fusion/mptbase.c facts->FWVersion.Word = le32_to_cpu(facts->FWVersion.Word); facts 3168 drivers/message/fusion/mptbase.c facts->ProductID = le16_to_cpu(facts->ProductID); facts 3170 drivers/message/fusion/mptbase.c if ((ioc->facts.ProductID & MPI_FW_HEADER_PID_PROD_MASK) facts 3174 drivers/message/fusion/mptbase.c facts->CurrentHostMfaHighAddr = facts 3175 drivers/message/fusion/mptbase.c le32_to_cpu(facts->CurrentHostMfaHighAddr); facts 3176 drivers/message/fusion/mptbase.c facts->GlobalCredits = le16_to_cpu(facts->GlobalCredits); facts 3177 drivers/message/fusion/mptbase.c facts->CurrentSenseBufferHighAddr = facts 3178 drivers/message/fusion/mptbase.c le32_to_cpu(facts->CurrentSenseBufferHighAddr); facts 3179 drivers/message/fusion/mptbase.c facts->CurReplyFrameSize = facts 3180 drivers/message/fusion/mptbase.c le16_to_cpu(facts->CurReplyFrameSize); facts 3181 drivers/message/fusion/mptbase.c facts->IOCCapabilities = le32_to_cpu(facts->IOCCapabilities); facts 3188 drivers/message/fusion/mptbase.c if (facts->MsgLength >= (offsetof(IOCFactsReply_t,FWImageSize) + 7)/4 && facts 3189 drivers/message/fusion/mptbase.c facts->MsgVersion > MPI_VERSION_01_00) { facts 3190 drivers/message/fusion/mptbase.c facts->FWImageSize = le32_to_cpu(facts->FWImageSize); facts 3193 drivers/message/fusion/mptbase.c facts->FWImageSize = ALIGN(facts->FWImageSize, 4); facts 3195 drivers/message/fusion/mptbase.c if (!facts->RequestFrameSize) { facts 3202 drivers/message/fusion/mptbase.c r = sz = facts->BlockSize; facts 3220 drivers/message/fusion/mptbase.c ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4); facts 3221 drivers/message/fusion/mptbase.c ioc->req_depth = min_t(int, MPT_MAX_REQ_DEPTH, facts->GlobalCredits); facts 3223 drivers/message/fusion/mptbase.c ioc->reply_depth = min_t(int, MPT_DEFAULT_REPLY_DEPTH, facts->ReplyQueueDepth); facts 3237 drivers/message/fusion/mptbase.c ioc->name, facts->MsgLength, (offsetof(IOCFactsReply_t, facts 3357 drivers/message/fusion/mptbase.c if (ioc->facts.Flags & MPI_IOCFACTS_FLAGS_FW_DOWNLOAD_BOOT) facts 3362 drivers/message/fusion/mptbase.c ioc->name, ioc->upload_fw, ioc->facts.Flags)); facts 3368 drivers/message/fusion/mptbase.c ioc->name, ioc->facts.MsgVersion)); facts 3369 drivers/message/fusion/mptbase.c if (ioc->facts.MsgVersion >= MPI_VERSION_01_05) { facts 3374 drivers/message/fusion/mptbase.c if (ioc->facts.Flags & MPI_IOCFACTS_FLAGS_HOST_PAGE_BUFFER_PERSISTENT) { facts 3375 drivers/message/fusion/mptbase.c ioc_init.HostPageBufferSGE = ioc->facts.HostPageBufferSGE; facts 3393 drivers/message/fusion/mptbase.c ioc->facts.CurrentHostMfaHighAddr = ioc_init.HostMfaHighAddr; facts 3394 drivers/message/fusion/mptbase.c ioc->facts.CurrentSenseBufferHighAddr = ioc_init.SenseBufferHighAddr; facts 3395 drivers/message/fusion/mptbase.c ioc->facts.MaxDevices = ioc_init.MaxDevices; facts 3396 drivers/message/fusion/mptbase.c ioc->facts.MaxBuses = ioc_init.MaxBuses; facts 3555 drivers/message/fusion/mptbase.c sz = ioc->facts.FWImageSize; facts 3590 drivers/message/fusion/mptbase.c if ((sz = ioc->facts.FWImageSize) == 0) facts 3593 drivers/message/fusion/mptbase.c if (mpt_alloc_fw_memory(ioc, ioc->facts.FWImageSize) != 0) facts 3628 drivers/message/fusion/mptbase.c ioc->facts.FWImageSize, request_size)); facts 3646 drivers/message/fusion/mptbase.c ioc->facts.FWImageSize == facts 4248 drivers/message/fusion/mptbase.c ioc->facts.EventState = 0; facts 4251 drivers/message/fusion/mptbase.c ioc->alt_ioc->facts.EventState = 0; facts 4310 drivers/message/fusion/mptbase.c if (ioc->facts.Function) facts 4311 drivers/message/fusion/mptbase.c ioc->facts.EventState = 0; facts 4372 drivers/message/fusion/mptbase.c numSGE = (scale - 1) * (ioc->facts.MaxChainDepth-1) + scale + facts 4375 drivers/message/fusion/mptbase.c numSGE = 1 + (scale - 1) * (ioc->facts.MaxChainDepth-1) + facts 6707 drivers/message/fusion/mptbase.c if (ioc->facts.Flags & MPI_IOCFACTS_FLAGS_FW_DOWNLOAD_BOOT) facts 6713 drivers/message/fusion/mptbase.c ioc->facts.ProductID, facts 6715 drivers/message/fusion/mptbase.c seq_printf(m, " FWVersion = 0x%08x%s", ioc->facts.FWVersion.Word, expVer); facts 6716 drivers/message/fusion/mptbase.c if (ioc->facts.FWImageSize) facts 6717 drivers/message/fusion/mptbase.c seq_printf(m, " (fw_size=%d)", ioc->facts.FWImageSize); facts 6718 drivers/message/fusion/mptbase.c seq_printf(m, "\n MsgVersion = 0x%04x\n", ioc->facts.MsgVersion); facts 6720 drivers/message/fusion/mptbase.c seq_printf(m, " EventState = 0x%02x\n", ioc->facts.EventState); facts 6723 drivers/message/fusion/mptbase.c ioc->facts.CurrentHostMfaHighAddr); facts 6725 drivers/message/fusion/mptbase.c ioc->facts.CurrentSenseBufferHighAddr); facts 6727 drivers/message/fusion/mptbase.c seq_printf(m, " MaxChainDepth = 0x%02x frames\n", ioc->facts.MaxChainDepth); facts 6728 drivers/message/fusion/mptbase.c seq_printf(m, " MinBlockSize = 0x%02x bytes\n", 4*ioc->facts.BlockSize); facts 6740 drivers/message/fusion/mptbase.c 4*ioc->facts.RequestFrameSize, facts 6741 drivers/message/fusion/mptbase.c ioc->facts.GlobalCredits); facts 6749 drivers/message/fusion/mptbase.c ioc->facts.CurReplyFrameSize, facts 6750 drivers/message/fusion/mptbase.c ioc->facts.ReplyQueueDepth); facts 6753 drivers/message/fusion/mptbase.c (ioc->facts.MaxDevices==0) ? 255 : ioc->facts.MaxDevices); facts 6754 drivers/message/fusion/mptbase.c seq_printf(m, " MaxBuses = %d\n", ioc->facts.MaxBuses); facts 6757 drivers/message/fusion/mptbase.c for (p=0; p < ioc->facts.NumberOfPorts; p++) { facts 6760 drivers/message/fusion/mptbase.c ioc->facts.NumberOfPorts); facts 6783 drivers/message/fusion/mptbase.c if ((ioc->facts.FWVersion.Word >> 24) == 0x0E) { facts 6785 drivers/message/fusion/mptbase.c (ioc->facts.FWVersion.Word >> 16) & 0x00FF, /* Month */ facts 6786 drivers/message/fusion/mptbase.c (ioc->facts.FWVersion.Word >> 8) & 0x1F); /* Day */ facts 6789 drivers/message/fusion/mptbase.c if ((ioc->facts.FWVersion.Word >> 8) & 0x80) facts 6821 drivers/message/fusion/mptbase.c ioc->facts.FWVersion.Word, facts 6823 drivers/message/fusion/mptbase.c ioc->facts.NumberOfPorts, facts 6855 drivers/message/fusion/mptbase.c ioc->facts.FWVersion.Word, facts 6857 drivers/message/fusion/mptbase.c ioc->facts.NumberOfPorts, facts 7730 drivers/message/fusion/mptbase.c if (ioc->facts.Function) { facts 7731 drivers/message/fusion/mptbase.c ioc->facts.EventState = evState; facts 701 drivers/message/fusion/mptbase.h IOCFactsReply_t facts; facts 387 drivers/message/fusion/mptctl.c if ((ioc->facts.IOCCapabilities & MPI_IOCFACTS_CAPABILITY_HIGH_PRI_Q) && facts 388 drivers/message/fusion/mptctl.c (ioc->facts.MsgVersion >= MPI_VERSION_01_05)) facts 827 drivers/message/fusion/mptctl.c if (iocp->facts.MsgVersion >= MPI_VERSION_01_05) facts 1324 drivers/message/fusion/mptctl.c karg->FWVersion = ioc->facts.FWVersion.Word; facts 1686 drivers/message/fusion/mptctl.c ioc->facts.FWImageSize = newFwSize; facts 2038 drivers/message/fusion/mptctl.c if ((pInit->Flags != 0) || (pInit->MaxDevices != ioc->facts.MaxDevices) || facts 2039 drivers/message/fusion/mptctl.c (pInit->MaxBuses != ioc->facts.MaxBuses) || facts 2176 drivers/message/fusion/mptctl.c if ((ioc->facts.IOCCapabilities & MPI_IOCFACTS_CAPABILITY_HIGH_PRI_Q) && facts 2177 drivers/message/fusion/mptctl.c (ioc->facts.MsgVersion >= MPI_VERSION_01_05)) facts 2382 drivers/message/fusion/mptctl.c ioc->facts.FWVersion.Struct.Major, facts 2383 drivers/message/fusion/mptctl.c ioc->facts.FWVersion.Struct.Minor, facts 2384 drivers/message/fusion/mptctl.c ioc->facts.FWVersion.Struct.Unit, facts 2385 drivers/message/fusion/mptctl.c ioc->facts.FWVersion.Struct.Dev); facts 299 drivers/message/fusion/mptfc.c int max_bus = ioc->facts.MaxBuses; facts 302 drivers/message/fusion/mptfc.c max_targ = (ioc->facts.MaxDevices == 0) ? 256 : ioc->facts.MaxDevices; facts 955 drivers/message/fusion/mptfc.c for (ii=0; ii<ioc->facts.NumberOfPorts; ii++) { facts 996 drivers/message/fusion/mptfc.c ioc->facts.FWVersion.Word); facts 1074 drivers/message/fusion/mptfc.c for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) facts 1135 drivers/message/fusion/mptfc.c for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { facts 1210 drivers/message/fusion/mptfc.c for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { facts 1270 drivers/message/fusion/mptfc.c (ioc->facts.MaxChainDepth-1) + scale + facts 1274 drivers/message/fusion/mptfc.c (ioc->facts.MaxChainDepth-1) + scale + facts 1330 drivers/message/fusion/mptfc.c for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { facts 1517 drivers/message/fusion/mptfc.c for (ii=0; ii<ioc->facts.NumberOfPorts; ii++) { facts 1389 drivers/message/fusion/mptlan.c for (i = 0; i < ioc->facts.NumberOfPorts; i++) { facts 5170 drivers/message/fusion/mptsas.c for (ii = 0; ii < ioc->facts.NumberOfPorts; ii++) { facts 5231 drivers/message/fusion/mptsas.c (ioc->facts.MaxChainDepth-1) + scale + facts 5235 drivers/message/fusion/mptsas.c (ioc->facts.MaxChainDepth-1) + scale + facts 5301 drivers/message/fusion/mptsas.c if ((ioc->facts.HeaderVersion >> 8) < 0xE) facts 647 drivers/message/fusion/mptscsih.c if((ioc->facts.MsgVersion >= MPI_VERSION_01_05) && pScsiReply){ facts 1291 drivers/message/fusion/mptscsih.c seq_printf(m, "%s%08xh, ", MPT_FW_REV_MAGIC_ID_STRING, ioc->facts.FWVersion.Word); facts 1292 drivers/message/fusion/mptscsih.c seq_printf(m, "Ports=%d, ", ioc->facts.NumberOfPorts); facts 1545 drivers/message/fusion/mptscsih.c if (!((ioc->facts.IOCCapabilities & MPI_IOCFACTS_CAPABILITY_HIGH_PRI_Q) facts 1546 drivers/message/fusion/mptscsih.c && (ioc->facts.MsgVersion >= MPI_VERSION_01_05)) && facts 1603 drivers/message/fusion/mptscsih.c if ((ioc->facts.IOCCapabilities & MPI_IOCFACTS_CAPABILITY_HIGH_PRI_Q) && facts 1604 drivers/message/fusion/mptscsih.c (ioc->facts.MsgVersion >= MPI_VERSION_01_05)) facts 1977 drivers/message/fusion/mptscsih.c if (ioc->facts.MsgVersion >= MPI_VERSION_01_05 && facts 3050 drivers/message/fusion/mptscsih.c (ioc->facts.FWVersion.Word & 0xFF000000) >> 24, facts 3051 drivers/message/fusion/mptscsih.c (ioc->facts.FWVersion.Word & 0x00FF0000) >> 16, facts 3052 drivers/message/fusion/mptscsih.c (ioc->facts.FWVersion.Word & 0x0000FF00) >> 8, facts 3053 drivers/message/fusion/mptscsih.c ioc->facts.FWVersion.Word & 0x000000FF); facts 3081 drivers/message/fusion/mptscsih.c return snprintf(buf, PAGE_SIZE, "%03x\n", ioc->facts.MsgVersion); facts 1393 drivers/message/fusion/mptspi.c for (ii=0; ii < ioc->facts.NumberOfPorts; ii++) { facts 1472 drivers/message/fusion/mptspi.c (ioc->facts.MaxChainDepth-1) + scale + facts 1476 drivers/message/fusion/mptspi.c (ioc->facts.MaxChainDepth-1) + scale + facts 227 drivers/scsi/mpt3sas/mpt3sas_base.c u16 cmd_credit = ioc->facts.RequestCredit + 1; facts 287 drivers/scsi/mpt3sas/mpt3sas_base.c u16 cmd_credit = ioc->facts.RequestCredit + 1; facts 292 drivers/scsi/mpt3sas/mpt3sas_base.c chain_virt = base_chain + (smid * ioc->facts.MaxChainDepth * facts 313 drivers/scsi/mpt3sas/mpt3sas_base.c u16 cmd_credit = ioc->facts.RequestCredit + 1; facts 318 drivers/scsi/mpt3sas/mpt3sas_base.c chain_phys = base_chain_phys + (smid * ioc->facts.MaxChainDepth * facts 337 drivers/scsi/mpt3sas/mpt3sas_base.c u16 cmd_credit = ioc->facts.RequestCredit + 1; facts 341 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->facts.MaxChainDepth); facts 358 drivers/scsi/mpt3sas/mpt3sas_base.c u16 cmd_credit = ioc->facts.RequestCredit + 1; facts 361 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->facts.MaxChainDepth); facts 480 drivers/scsi/mpt3sas/mpt3sas_base.c for (i = 0; i < MPT_MIN_PHYS_SEGMENTS + ioc->facts.MaxChainDepth; i++) { facts 1682 drivers/scsi/mpt3sas/mpt3sas_base.c return (ioc->facts.IOCCapabilities & facts 2902 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->facts.MaxMSIxVectors); facts 4343 drivers/scsi/mpt3sas/mpt3sas_base.c (ioc->facts.FWVersion.Word & 0xFF000000) >> 24, facts 4344 drivers/scsi/mpt3sas/mpt3sas_base.c (ioc->facts.FWVersion.Word & 0x00FF0000) >> 16, facts 4345 drivers/scsi/mpt3sas/mpt3sas_base.c (ioc->facts.FWVersion.Word & 0x0000FF00) >> 8, facts 4346 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->facts.FWVersion.Word & 0x000000FF, facts 4355 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.ProtocolFlags & MPI2_IOCFACTS_PROTOCOL_NVME_DEVICES) { facts 4362 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.ProtocolFlags & MPI2_IOCFACTS_PROTOCOL_SCSI_INITIATOR) { facts 4367 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.ProtocolFlags & MPI2_IOCFACTS_PROTOCOL_SCSI_TARGET) { facts 4376 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & facts 4383 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & MPI2_IOCFACTS_CAPABILITY_TLR) { facts 4388 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & MPI2_IOCFACTS_CAPABILITY_MULTICAST) { facts 4393 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & facts 4399 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & MPI2_IOCFACTS_CAPABILITY_EEDP) { facts 4404 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & facts 4410 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & facts 4416 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & facts 4422 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.IOCCapabilities & facts 4646 drivers/scsi/mpt3sas/mpt3sas_base.c if ((ioc->facts.IOCCapabilities & facts 4832 drivers/scsi/mpt3sas/mpt3sas_base.c struct mpt3sas_facts *facts; facts 4847 drivers/scsi/mpt3sas/mpt3sas_base.c facts = &ioc->facts; facts 4878 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->internal_depth = min_t(int, (facts->HighPriorityCredit + (5)), facts 4879 drivers/scsi/mpt3sas/mpt3sas_base.c (facts->RequestCredit / 4)); facts 4881 drivers/scsi/mpt3sas/mpt3sas_base.c if (facts->RequestCredit <= (INTERNAL_CMDS_COUNT + facts 4884 drivers/scsi/mpt3sas/mpt3sas_base.c facts->RequestCredit); facts 4894 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->internal_depth, facts->RequestCredit); facts 4898 drivers/scsi/mpt3sas/mpt3sas_base.c max_request_credit = min_t(u16, facts->RequestCredit, facts 4901 drivers/scsi/mpt3sas/mpt3sas_base.c max_request_credit = min_t(u16, facts->RequestCredit, facts 4911 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->request_sz = facts->IOCRequestFrameSize * 4; facts 4914 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->reply_sz = facts->ReplyFrameSize * 4; facts 4918 drivers/scsi/mpt3sas/mpt3sas_base.c if (facts->IOCMaxChainSegmentSize) facts 4920 drivers/scsi/mpt3sas/mpt3sas_base.c facts->IOCMaxChainSegmentSize * facts 4949 drivers/scsi/mpt3sas/mpt3sas_base.c if (chains_needed_per_io > facts->MaxChainDepth) { facts 4950 drivers/scsi/mpt3sas/mpt3sas_base.c chains_needed_per_io = facts->MaxChainDepth; facts 4974 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxReplyDescriptorPostQueueDepth) { facts 4976 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxReplyDescriptorPostQueueDepth - facts 4977 drivers/scsi/mpt3sas/mpt3sas_base.c (facts->MaxReplyDescriptorPostQueueDepth % 16); facts 5169 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.ProtocolFlags & MPI2_IOCFACTS_PROTOCOL_NVME_DEVICES) { facts 5386 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->can_queue, facts->RequestCredit); facts 5604 drivers/scsi/mpt3sas/mpt3sas_base.c if (!(ioc->facts.IOCCapabilities & facts 6046 drivers/scsi/mpt3sas/mpt3sas_base.c struct mpt3sas_facts *facts; facts 6070 drivers/scsi/mpt3sas/mpt3sas_base.c facts = &ioc->facts; facts 6071 drivers/scsi/mpt3sas/mpt3sas_base.c memset(facts, 0, sizeof(struct mpt3sas_facts)); facts 6072 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MsgVersion = le16_to_cpu(mpi_reply.MsgVersion); facts 6073 drivers/scsi/mpt3sas/mpt3sas_base.c facts->HeaderVersion = le16_to_cpu(mpi_reply.HeaderVersion); facts 6074 drivers/scsi/mpt3sas/mpt3sas_base.c facts->VP_ID = mpi_reply.VP_ID; facts 6075 drivers/scsi/mpt3sas/mpt3sas_base.c facts->VF_ID = mpi_reply.VF_ID; facts 6076 drivers/scsi/mpt3sas/mpt3sas_base.c facts->IOCExceptions = le16_to_cpu(mpi_reply.IOCExceptions); facts 6077 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxChainDepth = mpi_reply.MaxChainDepth; facts 6078 drivers/scsi/mpt3sas/mpt3sas_base.c facts->WhoInit = mpi_reply.WhoInit; facts 6079 drivers/scsi/mpt3sas/mpt3sas_base.c facts->NumberOfPorts = mpi_reply.NumberOfPorts; facts 6080 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxMSIxVectors = mpi_reply.MaxMSIxVectors; facts 6081 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->msix_enable && (facts->MaxMSIxVectors <= facts 6084 drivers/scsi/mpt3sas/mpt3sas_base.c facts->RequestCredit = le16_to_cpu(mpi_reply.RequestCredit); facts 6085 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxReplyDescriptorPostQueueDepth = facts 6087 drivers/scsi/mpt3sas/mpt3sas_base.c facts->ProductID = le16_to_cpu(mpi_reply.ProductID); facts 6088 drivers/scsi/mpt3sas/mpt3sas_base.c facts->IOCCapabilities = le32_to_cpu(mpi_reply.IOCCapabilities); facts 6089 drivers/scsi/mpt3sas/mpt3sas_base.c if ((facts->IOCCapabilities & MPI2_IOCFACTS_CAPABILITY_INTEGRATED_RAID)) facts 6091 drivers/scsi/mpt3sas/mpt3sas_base.c if ((facts->IOCCapabilities & facts 6094 drivers/scsi/mpt3sas/mpt3sas_base.c if ((facts->IOCCapabilities & MPI26_IOCFACTS_CAPABILITY_ATOMIC_REQ) facts 6097 drivers/scsi/mpt3sas/mpt3sas_base.c facts->FWVersion.Word = le32_to_cpu(mpi_reply.FWVersion.Word); facts 6098 drivers/scsi/mpt3sas/mpt3sas_base.c facts->IOCRequestFrameSize = facts 6101 drivers/scsi/mpt3sas/mpt3sas_base.c facts->IOCMaxChainSegmentSize = facts 6104 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxInitiators = le16_to_cpu(mpi_reply.MaxInitiators); facts 6105 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxTargets = le16_to_cpu(mpi_reply.MaxTargets); facts 6107 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxSasExpanders = le16_to_cpu(mpi_reply.MaxSasExpanders); facts 6108 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxEnclosures = le16_to_cpu(mpi_reply.MaxEnclosures); facts 6109 drivers/scsi/mpt3sas/mpt3sas_base.c facts->ProtocolFlags = le16_to_cpu(mpi_reply.ProtocolFlags); facts 6110 drivers/scsi/mpt3sas/mpt3sas_base.c facts->HighPriorityCredit = facts 6112 drivers/scsi/mpt3sas/mpt3sas_base.c facts->ReplyFrameSize = mpi_reply.ReplyFrameSize; facts 6113 drivers/scsi/mpt3sas/mpt3sas_base.c facts->MaxDevHandle = le16_to_cpu(mpi_reply.MaxDevHandle); facts 6114 drivers/scsi/mpt3sas/mpt3sas_base.c facts->CurrentHostPageSize = mpi_reply.CurrentHostPageSize; facts 6119 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->page_size = 1 << facts->CurrentHostPageSize; facts 6126 drivers/scsi/mpt3sas/mpt3sas_base.c facts->CurrentHostPageSize)); facts 6130 drivers/scsi/mpt3sas/mpt3sas_base.c facts->RequestCredit, facts->MaxChainDepth)); facts 6133 drivers/scsi/mpt3sas/mpt3sas_base.c facts->IOCRequestFrameSize * 4, facts 6134 drivers/scsi/mpt3sas/mpt3sas_base.c facts->ReplyFrameSize * 4)); facts 7041 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->pfacts = kcalloc(ioc->facts.NumberOfPorts, facts 7048 drivers/scsi/mpt3sas/mpt3sas_base.c for (i = 0 ; i < ioc->facts.NumberOfPorts; i++) { facts 7070 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->pd_handles_sz = (ioc->facts.MaxDevHandle / 8); facts 7071 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.MaxDevHandle % 8) facts 7087 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->pend_os_device_add_sz = (ioc->facts.MaxDevHandle / 8); facts 7088 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.MaxDevHandle % 8) facts 7180 drivers/scsi/mpt3sas/mpt3sas_base.c memcpy(&ioc->prev_fw_facts, &ioc->facts, facts 7359 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.MaxDevHandle > old_facts->MaxDevHandle) { facts 7360 drivers/scsi/mpt3sas/mpt3sas_base.c pd_handles_sz = (ioc->facts.MaxDevHandle / 8); facts 7361 drivers/scsi/mpt3sas/mpt3sas_base.c if (ioc->facts.MaxDevHandle % 8) facts 7419 drivers/scsi/mpt3sas/mpt3sas_base.c memcpy(&ioc->prev_fw_facts, &ioc->facts, sizeof(struct mpt3sas_facts)); facts 1284 drivers/scsi/mpt3sas/mpt3sas_base.h struct mpt3sas_facts facts; facts 731 drivers/scsi/mpt3sas/mpt3sas_ctl.c ioc->facts.MaxDevHandle)) { facts 1153 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.firmware_version = ioc->facts.FWVersion.Word; facts 1481 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (ioc->facts.IOCCapabilities & facts 1486 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (ioc->facts.IOCCapabilities & facts 1491 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (ioc->facts.IOCCapabilities & facts 2522 drivers/scsi/mpt3sas/mpt3sas_ctl.c (ioc->facts.FWVersion.Word & 0xFF000000) >> 24, facts 2523 drivers/scsi/mpt3sas/mpt3sas_ctl.c (ioc->facts.FWVersion.Word & 0x00FF0000) >> 16, facts 2524 drivers/scsi/mpt3sas/mpt3sas_ctl.c (ioc->facts.FWVersion.Word & 0x0000FF00) >> 8, facts 2525 drivers/scsi/mpt3sas/mpt3sas_ctl.c ioc->facts.FWVersion.Word & 0x000000FF); facts 2570 drivers/scsi/mpt3sas/mpt3sas_ctl.c ioc->facts.MsgVersion, ioc->facts.HeaderVersion >> 8); facts 2751 drivers/scsi/mpt3sas/mpt3sas_ctl.c return snprintf(buf, PAGE_SIZE, "%02d\n", ioc->facts.RequestCredit); facts 2888 drivers/scsi/mpt3sas/mpt3sas_ctl.c if ((ioc->facts.IOCCapabilities & facts 2207 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (!(ioc->facts.IOCCapabilities & MPI2_IOCFACTS_CAPABILITY_TLR)) facts 4204 drivers/scsi/mpt3sas/mpt3sas_scsih.c ioc->facts.MaxDevHandle); facts 4205 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (handle < ioc->facts.MaxDevHandle) facts 6515 drivers/scsi/mpt3sas/mpt3sas_scsih.c if ((ioc->facts.HeaderVersion >> 8) < 0xC) facts 10158 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (!(ioc->facts.ProtocolFlags & MPI2_IOCFACTS_PROTOCOL_SCSI_INITIATOR))