Lines Matching refs:pSettings

70 	DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings;  in EnableSRAM()  local
71 unsigned short usDspBaseIO = pSettings->usDspBaseIO; in EnableSRAM()
106 DSP_3780I_CONFIG_SETTINGS *pSettings = &pDrvData->rBDData.rDspSettings; in DspInterrupt() local
107 unsigned short usDspBaseIO = pSettings->usDspBaseIO; in DspInterrupt()
158 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_InitializeBoardData() local
164 pSettings->bInterruptClaimed = false; in tp3780I_InitializeBoardData()
193 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_CalcResources() local
214 pSettings->bDSPEnabled = (rSmapiInfo.bDSPEnabled && rSmapiInfo.bDSPPresent); in tp3780I_CalcResources()
215 pSettings->bModemEnabled = rSmapiInfo.bModemEnabled; in tp3780I_CalcResources()
216 pSettings->usDspIrq = rSmapiInfo.usDspIRQ; in tp3780I_CalcResources()
217 pSettings->usDspDma = rSmapiInfo.usDspDMA; in tp3780I_CalcResources()
218 pSettings->usDspBaseIO = rSmapiInfo.usDspBaseIO; in tp3780I_CalcResources()
219 pSettings->usUartIrq = rSmapiInfo.usUartIRQ; in tp3780I_CalcResources()
220 pSettings->usUartBaseIO = rSmapiInfo.usUartBaseIO; in tp3780I_CalcResources()
222 pSettings->uDStoreSize = TP_ABILITIES_DATA_SIZE; in tp3780I_CalcResources()
223 pSettings->uIStoreSize = TP_ABILITIES_INST_SIZE; in tp3780I_CalcResources()
224 pSettings->uIps = TP_ABILITIES_INTS_PER_SEC; in tp3780I_CalcResources()
226 …if (pSettings->bDSPEnabled && pSettings->bModemEnabled && pSettings->usDspIrq == pSettings->usUart… in tp3780I_CalcResources()
241 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ClaimResources() local
247 pres = request_region(pSettings->usDspBaseIO, 16, "mwave_3780i"); in tp3780I_ClaimResources()
251 …3780I_ClaimResources: Error: Could not claim I/O region starting at %x\n", pSettings->usDspBaseIO); in tp3780I_ClaimResources()
263 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ReleaseResources() local
268 release_region(pSettings->usDspBaseIO & (~3), 16); in tp3780I_ReleaseResources()
270 if (pSettings->bInterruptClaimed) { in tp3780I_ReleaseResources()
271 free_irq(pSettings->usDspIrq, NULL); in tp3780I_ReleaseResources()
272 pSettings->bInterruptClaimed = false; in tp3780I_ReleaseResources()
285 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_EnableDSP() local
295 if (!pSettings->bDSPEnabled) { in tp3780I_EnableDSP()
301 (pSettings->usDspIrq >= s_numIrqs) in tp3780I_EnableDSP()
302 || (pSettings->usDspDma >= s_numDmas) in tp3780I_EnableDSP()
303 || (s_ausThinkpadIrqToField[pSettings->usDspIrq] == 0xFFFF) in tp3780I_EnableDSP()
304 || (s_ausThinkpadDmaToField[pSettings->usDspDma] == 0xFFFF) in tp3780I_EnableDSP()
306 …PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: invalid irq %x\n", pSettings->usDs… in tp3780I_EnableDSP()
311 ((pSettings->usDspBaseIO & 0xF00F) != 0) in tp3780I_EnableDSP()
312 || (pSettings->usDspBaseIO & 0x0FF0) == 0 in tp3780I_EnableDSP()
314 …VE "tp3780i::tp3780I_EnableDSP: Error: Invalid DSP base I/O address %x\n", pSettings->usDspBaseIO); in tp3780I_EnableDSP()
318 if (pSettings->bModemEnabled) { in tp3780I_EnableDSP()
320 pSettings->usUartIrq >= s_numIrqs in tp3780I_EnableDSP()
321 || s_ausThinkpadIrqToField[pSettings->usUartIrq] == 0xFFFF in tp3780I_EnableDSP()
323 …R(KERN_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: Invalid UART IRQ %x\n", pSettings->usUartIrq); in tp3780I_EnableDSP()
326 switch (pSettings->usUartBaseIO) { in tp3780I_EnableDSP()
334 …PRINTK_ERROR("tp3780i::tp3780I_EnableDSP: Error: Invalid UART base I/O address %x\n", pSettings->u… in tp3780I_EnableDSP()
339 pSettings->bDspIrqActiveLow = pSettings->bDspIrqPulse = true; in tp3780I_EnableDSP()
340 pSettings->bUartIrqActiveLow = pSettings->bUartIrqPulse = true; in tp3780I_EnableDSP()
343 pSettings->bDspIrqActiveLow = false; in tp3780I_EnableDSP()
346 pSettings->bUartIrqActiveLow = false; in tp3780I_EnableDSP()
349 pSettings->usNumTransfers = TP_CFG_NumTransfers; in tp3780I_EnableDSP()
350 pSettings->usReRequest = TP_CFG_RerequestTimer; in tp3780I_EnableDSP()
351 pSettings->bEnableMEMCS16 = TP_CFG_MEMCS16; in tp3780I_EnableDSP()
352 pSettings->usIsaMemCmdWidth = TP_CFG_IsaMemCmdWidth; in tp3780I_EnableDSP()
353 pSettings->bGateIOCHRDY = TP_CFG_GateIOCHRDY; in tp3780I_EnableDSP()
354 pSettings->bEnablePwrMgmt = TP_CFG_EnablePwrMgmt; in tp3780I_EnableDSP()
355 pSettings->usHBusTimerLoadValue = TP_CFG_HBusTimerValue; in tp3780I_EnableDSP()
356 pSettings->bDisableLBusTimeout = TP_CFG_DisableLBusTimeout; in tp3780I_EnableDSP()
357 pSettings->usN_Divisor = TP_CFG_N_Divisor; in tp3780I_EnableDSP()
358 pSettings->usM_Multiplier = TP_CFG_M_Multiplier; in tp3780I_EnableDSP()
359 pSettings->bPllBypass = TP_CFG_PllBypass; in tp3780I_EnableDSP()
360 pSettings->usChipletEnable = TP_CFG_ChipletEnable; in tp3780I_EnableDSP()
362 if (request_irq(pSettings->usUartIrq, &UartInterrupt, 0, "mwave_uart", NULL)) { in tp3780I_EnableDSP()
363 …_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: Could not get UART IRQ %x\n", pSettings->usUartIrq); in tp3780I_EnableDSP()
366 free_irq(pSettings->usUartIrq, NULL); in tp3780I_EnableDSP()
369 if (request_irq(pSettings->usDspIrq, &DspInterrupt, 0, "mwave_3780i", NULL)) { in tp3780I_EnableDSP()
370 …PRINTK_ERROR("tp3780i::tp3780I_EnableDSP: Error: Could not get 3780i IRQ %x\n", pSettings->usDspIr… in tp3780I_EnableDSP()
375 pSettings->usDspIrq, pBDData->bShareDspIrq); in tp3780I_EnableDSP()
377 pSettings->bInterruptClaimed = true; in tp3780I_EnableDSP()
388 if (dsp3780I_EnableDSP(pSettings, s_ausThinkpadIrqToField, s_ausThinkpadDmaToField)) { in tp3780I_EnableDSP()
406 free_irq(pSettings->usDspIrq, NULL); in tp3780I_EnableDSP()
407 pSettings->bInterruptClaimed = false; in tp3780I_EnableDSP()
416 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_DisableDSP() local
422 if (pSettings->bInterruptClaimed) { in tp3780I_DisableDSP()
423 free_irq(pSettings->usDspIrq, NULL); in tp3780I_DisableDSP()
424 pSettings->bInterruptClaimed = false; in tp3780I_DisableDSP()
439 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ResetDSP() local
444 if (dsp3780I_Reset(pSettings) == 0) { in tp3780I_ResetDSP()
459 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_StartDSP() local
463 if (dsp3780I_Run(pSettings) == 0) { in tp3780I_StartDSP()
517 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ReadWriteDspDStore() local
518 unsigned short usDspBaseIO = pSettings->usDspBaseIO; in tp3780I_ReadWriteDspDStore()
553 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; in tp3780I_ReadWriteDspIStore() local
554 unsigned short usDspBaseIO = pSettings->usDspBaseIO; in tp3780I_ReadWriteDspIStore()