Lines Matching refs:SwConfig
129 agsaSwConfig_t *SwConfig;
173 SwConfig = (agsaSwConfig_t *)&(tdsaAllShared->SwConfig);
187 SwConfig->numDevHandles = DEFAULT_MAX_DEV;
189 SwConfig->maxActiveIOs = DEFAULT_MAX_ACTIVE_IOS;
190 SwConfig->smpReqTimeout = DEFAULT_SMP_TIMEOUT; /* DEFAULT_VALUE; */
191 SwConfig->numberOfEventRegClients = DEFAULT_NUM_REG_CLIENTS;
192 SwConfig->sizefEventLog1 = HOST_EVENT_LOG_SIZE;
193 SwConfig->sizefEventLog2 = HOST_EVENT_LOG_SIZE;
194 SwConfig->eventLog1Option = DEFAULT_EVENT_LOG_OPTION;
195 SwConfig->eventLog2Option = DEFAULT_EVENT_LOG_OPTION;
196 SwConfig->fatalErrorInterruptEnable = 1;
197 SwConfig->fatalErrorInterruptVector = 0; /* Was 1 */
198 SwConfig->hostDirectAccessSupport = 0;
199 SwConfig->hostDirectAccessMode = 0;
200 SwConfig->FWConfig = 0;
201 SwConfig->enableDIF = agFALSE;
202 SwConfig->enableEncryption = agFALSE;
205 SwConfig->disableMDF = agFALSE;
208 SwConfig->param1 = tdsaAllShared->tdDeviceIdVendId;
209 SwConfig->param2 = tdsaAllShared->tdSubVendorId;
213 SwConfig->sallDebugLevel = 1; /* DEFAULT_VALUE; */
245 SwConfig->numDevHandles = osti_strtoul (buffer, &pLastUsedChar, 0);
249 SwConfig->numDevHandles = osti_strtoul (buffer, &pLastUsedChar, 10);
251 TI_DBG2(("tdsaGetSwConfigParams: MaxTargets %d\n",SwConfig->numDevHandles ));
384 SwConfig->maxActiveIOs = osti_strtoul (buffer, &pLastUsedChar, 0);
389 SwConfig->maxActiveIOs = osti_strtoul (buffer, &pLastUsedChar, 10);
419 SwConfig->smpReqTimeout = osti_strtoul (buffer, &pLastUsedChar, 0);
423 SwConfig->smpReqTimeout = osti_strtoul (buffer, &pLastUsedChar, 10);
450 SwConfig->numberOfEventRegClients = osti_strtoul (buffer, &pLastUsedChar, 0);
454 SwConfig->numberOfEventRegClients = osti_strtoul (buffer, &pLastUsedChar, 10);
478 SwConfig->sallDebugLevel = osti_strtoul (buffer, &pLastUsedChar, 0);
482 SwConfig->sallDebugLevel = osti_strtoul (buffer, &pLastUsedChar, 10);
1174 SwConfig->sizefEventLog1 = osti_strtoul (buffer, &pLastUsedChar, 0);
1178 SwConfig->sizefEventLog1 = osti_strtoul (buffer, &pLastUsedChar, 10);
1201 SwConfig->eventLog1Option = osti_strtoul (buffer, &pLastUsedChar, 0);
1205 SwConfig->eventLog1Option = osti_strtoul (buffer, &pLastUsedChar, 10);
1228 SwConfig->sizefEventLog2 = osti_strtoul (buffer, &pLastUsedChar, 0);
1232 SwConfig->sizefEventLog2 = osti_strtoul (buffer, &pLastUsedChar, 10);
1255 SwConfig->eventLog2Option = osti_strtoul (buffer, &pLastUsedChar, 0);
1259 SwConfig->eventLog2Option = osti_strtoul (buffer, &pLastUsedChar, 10);
1286 SwConfig->hostDirectAccessSupport = osti_strtoul (buffer, &pLastUsedChar, 0);
1290 SwConfig->hostDirectAccessSupport = osti_strtoul (buffer, &pLastUsedChar, 10);
1313 SwConfig->hostDirectAccessMode = osti_strtoul (buffer, &pLastUsedChar, 0);
1317 SwConfig->hostDirectAccessMode = osti_strtoul (buffer, &pLastUsedChar, 10);
1342 SwConfig->FWConfig = osti_strtoul (buffer, &pLastUsedChar, 0);
1346 SwConfig->FWConfig = osti_strtoul (buffer, &pLastUsedChar, 10);
1455 SwConfig->TraceDestination = osti_strtoul (buffer, &pLastUsedChar, 0);
1459 SwConfig->TraceDestination = osti_strtoul (buffer, &pLastUsedChar, 10);
1461 TI_DBG2(("tdsaGetSwConfigParams: SwConfig->TraceDestination %d\n",SwConfig->TraceDestination));
1482 SwConfig->TraceMask = osti_strtoul (buffer, &pLastUsedChar, 0);
1486 SwConfig->TraceMask = osti_strtoul (buffer, &pLastUsedChar, 10);
1488 TI_DBG2(("tdsaGetSwConfigParams: SwConfig->TraceMask %d %X\n",SwConfig->TraceMask,SwConfig->TraceMask));
1676 SwConfig->enableDIF = agTRUE;
1680 SwConfig->enableDIF = agFALSE;
1682 TI_DBG6(("tdsaGetSwConfigParams: SwConfig->enableDIF %d\n", SwConfig->enableDIF));
1716 SwConfig->enableEncryption = agTRUE;
1720 SwConfig->enableEncryption = agFALSE;
1722 TI_DBG6(("tdsaGetSwConfigParams: SwConfig->enableEncryption %d\n", SwConfig->enableEncryption));
1787 SwConfig->disableMDF = agTRUE;
1791 SwConfig->disableMDF = agFALSE;
1793 TI_DBG6(("tdsaGetSwConfigParams: SwConfig->disableMDF %d\n", SwConfig->disableMDF));
2248 SwConfig->mpiContextTable = agNULL;
2249 SwConfig->mpiContextTablelen = 0;
2278 SwConfig->mpiContextTable = agNULL;
2279 SwConfig->mpiContextTablelen = 0;
2290 SwConfig->mpiContextTable = &(tdsaRoot->tdsaAllShared.MpiOverride);
2291 SwConfig->mpiContextTablelen = sizeof(agsaMPIContext_t);
2294 TI_DBG1(("tdsaGetSwConfigParams: MpiContext %p Len %d\n", SwConfig->mpiContextTable, SwConfig->mpiContextTablelen));
2299 if(SwConfig->mpiContextTable != agNULL )
2406 SwConfig->PCI_trigger = osti_strtoul (buffer, &pLastUsedChar, 0);
2410 SwConfig->PCI_trigger = osti_strtoul (buffer, &pLastUsedChar, 10);
2412 TI_DBG1(("tdsaGetSwConfigParams: PciTrigger %d\n",SwConfig->PCI_trigger));
2419 TI_DBG2(("tdsaGetSwConfigParams: SwConfig->sallDebugLevel %d\n", SwConfig->sallDebugLevel));
2423 TI_DBG1(("tdsaGetSwConfigParams: SwConfig->PCI_trigger 0x%x 0x%x\n",SwConfig->PCI_trigger, tdsaRoot->itdsaIni->tdsaAllShared->SwConfig.PCI_trigger));
3970 tdsaPrintSwConfig(&(tdsaAllShared->SwConfig));
3973 tdsaAllShared->SwConfig.max_MSIX_InterruptVectors = loResource->loLevelOption.maxInterruptVectors;
3974 tdsaAllShared->SwConfig.max_MSI_InterruptVectors = loResource->loLevelOption.max_MSI_InterruptVectors;
3975 tdsaAllShared->SwConfig.legacyInt_X = loResource->loLevelOption.flag;
3976 TI_DBG2(("tiCOMPortInit: got max_MSIX_InterruptVectors %d \n", tdsaAllShared->SwConfig.max_MSIX_InterruptVectors));
3977 TI_DBG2(("tiCOMPortInit: got max_MSI_InterruptVectors %d \n", tdsaAllShared->SwConfig.max_MSI_InterruptVectors));
3978 TI_DBG2(("tiCOMPortInit: got flag - legacyInt_X %d \n", tdsaAllShared->SwConfig.legacyInt_X));
3982 ((tdsaAllShared->SwConfig.max_MSIX_InterruptVectors == 0) &&
3983 (tdsaAllShared->SwConfig.max_MSI_InterruptVectors == 0) &&
3984 (tdsaAllShared->SwConfig.legacyInt_X == 0))
3986 ((tdsaAllShared->SwConfig.max_MSIX_InterruptVectors != 0) &&
3987 (tdsaAllShared->SwConfig.max_MSI_InterruptVectors == 0) &&
3988 (tdsaAllShared->SwConfig.legacyInt_X == 0))
3990 ((tdsaAllShared->SwConfig.max_MSIX_InterruptVectors == 0) &&
3991 (tdsaAllShared->SwConfig.max_MSI_InterruptVectors != 0) &&
3992 (tdsaAllShared->SwConfig.legacyInt_X == 0))
3994 ((tdsaAllShared->SwConfig.max_MSIX_InterruptVectors == 0) &&
3995 (tdsaAllShared->SwConfig.max_MSI_InterruptVectors == 0) &&
3996 (tdsaAllShared->SwConfig.legacyInt_X != 0))
4025 if (tdsaAllShared->SwConfig.max_MSIX_InterruptVectors != 0)
4027 QueueConfig->outboundQueues[i].interruptVectorIndex = i % tdsaAllShared->SwConfig.max_MSIX_InterruptVectors;
4029 else if (tdsaAllShared->SwConfig.max_MSI_InterruptVectors != 0)
4031 QueueConfig->outboundQueues[i].interruptVectorIndex = i % tdsaAllShared->SwConfig.max_MSI_InterruptVectors;
4043 tdsaAllShared->SwConfig.param3 = (void *)QueueConfig;
4044 tdsaAllShared->SwConfig.stallUsec = 10;
4073 osti_memcpy(&tmpLLSwConfig, &(tdsaAllShared->SwConfig), sizeof(agsaSwConfig_t));
4112 osti_memcpy(&tmpLLSwConfig, &(tdsaAllShared->SwConfig), sizeof(agsaSwConfig_t));
4130 osti_memcpy(&tmpLLSwConfig, &(tdsaAllShared->SwConfig), sizeof(agsaSwConfig_t));
4227 TI_DBG1(("tiCOMPortInit: swConfig->param1 hwDEVICE_ID_VENDID %x\n", tdsaAllShared->SwConfig.param1 ));
4228 TI_DBG1(("tiCOMPortInit: swConfig->param2 hwSVID %x\n", tdsaAllShared->SwConfig.param2));
4238 if (tdsaAllShared->SwConfig.hostDirectAccessSupport != 0)
4282 tdsaAllShared->SwConfig.param4 = &(HDAImg);
4287 tdsaAllShared->SwConfig.param4 = agNULL;
4294 tdsaAllShared->SwConfig.FWConfig = 0;
4296 tdsaAllShared->SwConfig.PortRecoveryResetTimer = 0x30032;
4300 tdsaAllShared->SwConfig.fatalErrorInterruptVector = loResource->loLevelOption.maxInterruptVectors > 31 ? 31 : loResource->loLevelOption.maxInterruptVectors -1;
4302 TI_DBG1(("tiCOMPortInit: SwConfig->FWConfig 0x%x\n", tdsaAllShared->SwConfig.FWConfig));
4303 TI_DBG1(("tiCOMPortInit: SwConfig->fatalErrorInterruptVector 0x%x\n", tdsaAllShared->SwConfig.fatalErrorInterruptVector));
4310 &(tdsaAllShared->SwConfig),
4315 /*TI_DBG6(("tiCOMPortInit: tdsaAllShared->SwConfig.enableDIF %d\n", tdsaAllShared->SwConfig.enableDIF)); */
4316 /*TI_DBG6(("tiCOMPortInit: tdsaAllShared->SwConfig.enableEncryption %d\n", tdsaAllShared->SwConfig.enableEncryption)); */