pSettings 172 drivers/char/mwave/3780i.c int dsp3780I_EnableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings, pSettings 177 drivers/char/mwave/3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 200 drivers/char/mwave/3780i.c pSettings->bDSPEnabled); pSettings 203 drivers/char/mwave/3780i.c if (!pSettings->bDSPEnabled) { pSettings 211 drivers/char/mwave/3780i.c pSettings->bModemEnabled); pSettings 213 drivers/char/mwave/3780i.c if (pSettings->bModemEnabled) { pSettings 215 drivers/char/mwave/3780i.c rUartCfg1.IrqActiveLow = pSettings->bUartIrqActiveLow; pSettings 216 drivers/char/mwave/3780i.c rUartCfg1.IrqPulse = pSettings->bUartIrqPulse; pSettings 218 drivers/char/mwave/3780i.c (unsigned char) pIrqMap[pSettings->usUartIrq]; pSettings 219 drivers/char/mwave/3780i.c switch (pSettings->usUartBaseIO) { pSettings 237 drivers/char/mwave/3780i.c rHBridgeCfg1.IrqActiveLow = pSettings->bDspIrqActiveLow; pSettings 238 drivers/char/mwave/3780i.c rHBridgeCfg1.IrqPulse = pSettings->bDspIrqPulse; pSettings 239 drivers/char/mwave/3780i.c rHBridgeCfg1.Irq = (unsigned char) pIrqMap[pSettings->usDspIrq]; pSettings 245 drivers/char/mwave/3780i.c rBusmasterCfg1.Dma = (unsigned char) pDmaMap[pSettings->usDspDma]; pSettings 247 drivers/char/mwave/3780i.c (unsigned char) pSettings->usNumTransfers; pSettings 248 drivers/char/mwave/3780i.c rBusmasterCfg1.ReRequest = (unsigned char) pSettings->usReRequest; pSettings 249 drivers/char/mwave/3780i.c rBusmasterCfg1.MEMCS16 = pSettings->bEnableMEMCS16; pSettings 251 drivers/char/mwave/3780i.c (unsigned char) pSettings->usIsaMemCmdWidth; pSettings 255 drivers/char/mwave/3780i.c rIsaProtCfg.GateIOCHRDY = pSettings->bGateIOCHRDY; pSettings 258 drivers/char/mwave/3780i.c rPowerMgmtCfg.Enable = pSettings->bEnablePwrMgmt; pSettings 261 drivers/char/mwave/3780i.c (unsigned char) pSettings->usHBusTimerLoadValue; pSettings 265 drivers/char/mwave/3780i.c pSettings->bDisableLBusTimeout; pSettings 267 drivers/char/mwave/3780i.c MKWORD(rChipReset) = ~pSettings->usChipletEnable; pSettings 270 drivers/char/mwave/3780i.c rClockControl1.N_Divisor = pSettings->usN_Divisor; pSettings 271 drivers/char/mwave/3780i.c rClockControl1.M_Multiplier = pSettings->usM_Multiplier; pSettings 274 drivers/char/mwave/3780i.c rClockControl2.PllBypass = pSettings->bPllBypass; pSettings 323 drivers/char/mwave/3780i.c if (pSettings->bModemEnabled) { pSettings 354 drivers/char/mwave/3780i.c int dsp3780I_DisableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings) pSettings 357 drivers/char/mwave/3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 384 drivers/char/mwave/3780i.c int dsp3780I_Reset(DSP_3780I_CONFIG_SETTINGS * pSettings) pSettings 387 drivers/char/mwave/3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 420 drivers/char/mwave/3780i.c (unsigned short) (~pSettings->usChipletEnable)); pSettings 429 drivers/char/mwave/3780i.c int dsp3780I_Run(DSP_3780I_CONFIG_SETTINGS * pSettings) pSettings 432 drivers/char/mwave/3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 320 drivers/char/mwave/3780i.h int dsp3780I_EnableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings, pSettings 323 drivers/char/mwave/3780i.h int dsp3780I_DisableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings); pSettings 324 drivers/char/mwave/3780i.h int dsp3780I_Reset(DSP_3780I_CONFIG_SETTINGS * pSettings); pSettings 325 drivers/char/mwave/3780i.h int dsp3780I_Run(DSP_3780I_CONFIG_SETTINGS * pSettings); pSettings 507 drivers/char/mwave/mwavedd.c DSP_3780I_CONFIG_SETTINGS *pSettings = \ pSettings 509 drivers/char/mwave/mwavedd.c return sprintf(buf, format_string, pSettings->field); \ pSettings 127 drivers/char/mwave/smapi.c int smapi_query_DSP_cfg(SMAPI_DSP_SETTINGS * pSettings) pSettings 148 drivers/char/mwave/smapi.c pSettings->bDSPPresent = ((usBX & 0x0100) != 0); pSettings 149 drivers/char/mwave/smapi.c pSettings->bDSPEnabled = ((usCX & 0x0001) != 0); pSettings 150 drivers/char/mwave/smapi.c pSettings->usDspIRQ = usSI & 0x00FF; pSettings 151 drivers/char/mwave/smapi.c pSettings->usDspDMA = (usSI & 0xFF00) >> 8; pSettings 153 drivers/char/mwave/smapi.c pSettings->usDspBaseIO = ausDspBases[usDI & 0x00FF]; pSettings 155 drivers/char/mwave/smapi.c pSettings->usDspBaseIO = 0; pSettings 159 drivers/char/mwave/smapi.c pSettings->bDSPPresent, pSettings->bDSPEnabled, pSettings 160 drivers/char/mwave/smapi.c pSettings->usDspIRQ, pSettings->usDspDMA, pSettings 161 drivers/char/mwave/smapi.c pSettings->usDspBaseIO); pSettings 164 drivers/char/mwave/smapi.c if ( pSettings->usDspBaseIO == 0 ) pSettings 166 drivers/char/mwave/smapi.c if ( pSettings->usDspIRQ == 0 ) pSettings 178 drivers/char/mwave/smapi.c pSettings->bModemEnabled = ((usCX & 0x0001) != 0); pSettings 179 drivers/char/mwave/smapi.c pSettings->usUartIRQ = usSI & 0x000F; pSettings 181 drivers/char/mwave/smapi.c pSettings->usUartBaseIO = ausUartBases[(usSI & 0xFF00) >> 8]; pSettings 183 drivers/char/mwave/smapi.c pSettings->usUartBaseIO = 0; pSettings 188 drivers/char/mwave/smapi.c pSettings->bModemEnabled, pSettings 189 drivers/char/mwave/smapi.c pSettings->usUartIRQ, pSettings 190 drivers/char/mwave/smapi.c pSettings->usUartBaseIO); pSettings 193 drivers/char/mwave/smapi.c if ( pSettings->usUartBaseIO == 0 ) pSettings 195 drivers/char/mwave/smapi.c if ( pSettings->usUartIRQ == 0 ) pSettings 71 drivers/char/mwave/smapi.h int smapi_query_DSP_cfg(SMAPI_DSP_SETTINGS * pSettings); pSettings 70 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 71 drivers/char/mwave/tp3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 106 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pDrvData->rBDData.rDspSettings; pSettings 107 drivers/char/mwave/tp3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 158 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 164 drivers/char/mwave/tp3780i.c pSettings->bInterruptClaimed = false; pSettings 193 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 214 drivers/char/mwave/tp3780i.c pSettings->bDSPEnabled = (rSmapiInfo.bDSPEnabled && rSmapiInfo.bDSPPresent); pSettings 215 drivers/char/mwave/tp3780i.c pSettings->bModemEnabled = rSmapiInfo.bModemEnabled; pSettings 216 drivers/char/mwave/tp3780i.c pSettings->usDspIrq = rSmapiInfo.usDspIRQ; pSettings 217 drivers/char/mwave/tp3780i.c pSettings->usDspDma = rSmapiInfo.usDspDMA; pSettings 218 drivers/char/mwave/tp3780i.c pSettings->usDspBaseIO = rSmapiInfo.usDspBaseIO; pSettings 219 drivers/char/mwave/tp3780i.c pSettings->usUartIrq = rSmapiInfo.usUartIRQ; pSettings 220 drivers/char/mwave/tp3780i.c pSettings->usUartBaseIO = rSmapiInfo.usUartBaseIO; pSettings 222 drivers/char/mwave/tp3780i.c pSettings->uDStoreSize = TP_ABILITIES_DATA_SIZE; pSettings 223 drivers/char/mwave/tp3780i.c pSettings->uIStoreSize = TP_ABILITIES_INST_SIZE; pSettings 224 drivers/char/mwave/tp3780i.c pSettings->uIps = TP_ABILITIES_INTS_PER_SEC; pSettings 226 drivers/char/mwave/tp3780i.c if (pSettings->bDSPEnabled && pSettings->bModemEnabled && pSettings->usDspIrq == pSettings->usUartIrq) { pSettings 241 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 247 drivers/char/mwave/tp3780i.c pres = request_region(pSettings->usDspBaseIO, 16, "mwave_3780i"); pSettings 251 drivers/char/mwave/tp3780i.c PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_ClaimResources: Error: Could not claim I/O region starting at %x\n", pSettings->usDspBaseIO); pSettings 263 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 268 drivers/char/mwave/tp3780i.c release_region(pSettings->usDspBaseIO & (~3), 16); pSettings 270 drivers/char/mwave/tp3780i.c if (pSettings->bInterruptClaimed) { pSettings 271 drivers/char/mwave/tp3780i.c free_irq(pSettings->usDspIrq, NULL); pSettings 272 drivers/char/mwave/tp3780i.c pSettings->bInterruptClaimed = false; pSettings 285 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 295 drivers/char/mwave/tp3780i.c if (!pSettings->bDSPEnabled) { pSettings 301 drivers/char/mwave/tp3780i.c (pSettings->usDspIrq >= s_numIrqs) pSettings 302 drivers/char/mwave/tp3780i.c || (pSettings->usDspDma >= s_numDmas) pSettings 303 drivers/char/mwave/tp3780i.c || (s_ausThinkpadIrqToField[pSettings->usDspIrq] == 0xFFFF) pSettings 304 drivers/char/mwave/tp3780i.c || (s_ausThinkpadDmaToField[pSettings->usDspDma] == 0xFFFF) pSettings 306 drivers/char/mwave/tp3780i.c PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: invalid irq %x\n", pSettings->usDspIrq); pSettings 311 drivers/char/mwave/tp3780i.c ((pSettings->usDspBaseIO & 0xF00F) != 0) pSettings 312 drivers/char/mwave/tp3780i.c || (pSettings->usDspBaseIO & 0x0FF0) == 0 pSettings 314 drivers/char/mwave/tp3780i.c PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: Invalid DSP base I/O address %x\n", pSettings->usDspBaseIO); pSettings 318 drivers/char/mwave/tp3780i.c if (pSettings->bModemEnabled) { pSettings 320 drivers/char/mwave/tp3780i.c pSettings->usUartIrq >= s_numIrqs pSettings 321 drivers/char/mwave/tp3780i.c || s_ausThinkpadIrqToField[pSettings->usUartIrq] == 0xFFFF pSettings 323 drivers/char/mwave/tp3780i.c PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: Invalid UART IRQ %x\n", pSettings->usUartIrq); pSettings 326 drivers/char/mwave/tp3780i.c switch (pSettings->usUartBaseIO) { pSettings 334 drivers/char/mwave/tp3780i.c PRINTK_ERROR("tp3780i::tp3780I_EnableDSP: Error: Invalid UART base I/O address %x\n", pSettings->usUartBaseIO); pSettings 339 drivers/char/mwave/tp3780i.c pSettings->bDspIrqActiveLow = pSettings->bDspIrqPulse = true; pSettings 340 drivers/char/mwave/tp3780i.c pSettings->bUartIrqActiveLow = pSettings->bUartIrqPulse = true; pSettings 343 drivers/char/mwave/tp3780i.c pSettings->bDspIrqActiveLow = false; pSettings 346 drivers/char/mwave/tp3780i.c pSettings->bUartIrqActiveLow = false; pSettings 349 drivers/char/mwave/tp3780i.c pSettings->usNumTransfers = TP_CFG_NumTransfers; pSettings 350 drivers/char/mwave/tp3780i.c pSettings->usReRequest = TP_CFG_RerequestTimer; pSettings 351 drivers/char/mwave/tp3780i.c pSettings->bEnableMEMCS16 = TP_CFG_MEMCS16; pSettings 352 drivers/char/mwave/tp3780i.c pSettings->usIsaMemCmdWidth = TP_CFG_IsaMemCmdWidth; pSettings 353 drivers/char/mwave/tp3780i.c pSettings->bGateIOCHRDY = TP_CFG_GateIOCHRDY; pSettings 354 drivers/char/mwave/tp3780i.c pSettings->bEnablePwrMgmt = TP_CFG_EnablePwrMgmt; pSettings 355 drivers/char/mwave/tp3780i.c pSettings->usHBusTimerLoadValue = TP_CFG_HBusTimerValue; pSettings 356 drivers/char/mwave/tp3780i.c pSettings->bDisableLBusTimeout = TP_CFG_DisableLBusTimeout; pSettings 357 drivers/char/mwave/tp3780i.c pSettings->usN_Divisor = TP_CFG_N_Divisor; pSettings 358 drivers/char/mwave/tp3780i.c pSettings->usM_Multiplier = TP_CFG_M_Multiplier; pSettings 359 drivers/char/mwave/tp3780i.c pSettings->bPllBypass = TP_CFG_PllBypass; pSettings 360 drivers/char/mwave/tp3780i.c pSettings->usChipletEnable = TP_CFG_ChipletEnable; pSettings 362 drivers/char/mwave/tp3780i.c if (request_irq(pSettings->usUartIrq, &UartInterrupt, 0, "mwave_uart", NULL)) { pSettings 363 drivers/char/mwave/tp3780i.c PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_EnableDSP: Error: Could not get UART IRQ %x\n", pSettings->usUartIrq); pSettings 366 drivers/char/mwave/tp3780i.c free_irq(pSettings->usUartIrq, NULL); pSettings 369 drivers/char/mwave/tp3780i.c if (request_irq(pSettings->usDspIrq, &DspInterrupt, 0, "mwave_3780i", NULL)) { pSettings 370 drivers/char/mwave/tp3780i.c PRINTK_ERROR("tp3780i::tp3780I_EnableDSP: Error: Could not get 3780i IRQ %x\n", pSettings->usDspIrq); pSettings 375 drivers/char/mwave/tp3780i.c pSettings->usDspIrq, pBDData->bShareDspIrq); pSettings 377 drivers/char/mwave/tp3780i.c pSettings->bInterruptClaimed = true; pSettings 388 drivers/char/mwave/tp3780i.c if (dsp3780I_EnableDSP(pSettings, s_ausThinkpadIrqToField, s_ausThinkpadDmaToField)) { pSettings 406 drivers/char/mwave/tp3780i.c free_irq(pSettings->usDspIrq, NULL); pSettings 407 drivers/char/mwave/tp3780i.c pSettings->bInterruptClaimed = false; pSettings 416 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 422 drivers/char/mwave/tp3780i.c if (pSettings->bInterruptClaimed) { pSettings 423 drivers/char/mwave/tp3780i.c free_irq(pSettings->usDspIrq, NULL); pSettings 424 drivers/char/mwave/tp3780i.c pSettings->bInterruptClaimed = false; pSettings 439 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 444 drivers/char/mwave/tp3780i.c if (dsp3780I_Reset(pSettings) == 0) { pSettings 459 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 463 drivers/char/mwave/tp3780i.c if (dsp3780I_Run(pSettings) == 0) { pSettings 517 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 518 drivers/char/mwave/tp3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO; pSettings 553 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; pSettings 554 drivers/char/mwave/tp3780i.c unsigned short usDspBaseIO = pSettings->usDspBaseIO;