pDrvData 127 drivers/char/mwave/mwavedd.c pMWAVE_DEVICE_DATA pDrvData = &mwave_s_mdd; pDrvData 141 drivers/char/mwave/mwavedd.c retval = tp3780I_ResetDSP(&pDrvData->rBDData); pDrvData 154 drivers/char/mwave/mwavedd.c retval = tp3780I_StartDSP(&pDrvData->rBDData); pDrvData 170 drivers/char/mwave/mwavedd.c retval = tp3780I_QueryAbilities(&pDrvData->rBDData, pDrvData 204 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspDStore(&pDrvData->rBDData, pDrvData 228 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspDStore(&pDrvData->rBDData, pDrvData 251 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspDStore(&pDrvData->rBDData, pDrvData 274 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspIStore(&pDrvData->rBDData, pDrvData 285 drivers/char/mwave/mwavedd.c if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { pDrvData 294 drivers/char/mwave/mwavedd.c ARRAY_SIZE(pDrvData->IPCs)); pDrvData 299 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount); pDrvData 302 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsHere = false; pDrvData 303 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsEnabled = true; pDrvData 316 drivers/char/mwave/mwavedd.c if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { pDrvData 324 drivers/char/mwave/mwavedd.c ARRAY_SIZE(pDrvData->IPCs)); pDrvData 329 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount); pDrvData 332 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].bIsEnabled == true) { pDrvData 339 drivers/char/mwave/mwavedd.c add_wait_queue(&pDrvData->IPCs[ipcnum].ipc_wait_queue, &wait); pDrvData 340 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsHere = true; pDrvData 344 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].usIntCount == 1) { /* first int has occurred (race condition) */ pDrvData 345 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount = 2; /* first int has been handled */ pDrvData 353 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].usIntCount == 1) { pDrvData 354 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount = 2; pDrvData 363 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsHere = false; pDrvData 364 drivers/char/mwave/mwavedd.c remove_wait_queue(&pDrvData->IPCs[ipcnum].ipc_wait_queue, &wait); pDrvData 383 drivers/char/mwave/mwavedd.c if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { pDrvData 392 drivers/char/mwave/mwavedd.c ARRAY_SIZE(pDrvData->IPCs)); pDrvData 394 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].bIsEnabled == true) { pDrvData 395 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsEnabled = false; pDrvData 396 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].bIsHere == true) { pDrvData 397 drivers/char/mwave/mwavedd.c wake_up_interruptible(&pDrvData->IPCs[ipcnum].ipc_wait_queue); pDrvData 540 drivers/char/mwave/mwavedd.c pMWAVE_DEVICE_DATA pDrvData = &mwave_s_mdd; pDrvData 545 drivers/char/mwave/mwavedd.c for (i = 0; i < pDrvData->nr_registered_attrs; i++) pDrvData 547 drivers/char/mwave/mwavedd.c pDrvData->nr_registered_attrs = 0; pDrvData 549 drivers/char/mwave/mwavedd.c if (pDrvData->device_registered) { pDrvData 551 drivers/char/mwave/mwavedd.c pDrvData->device_registered = false; pDrvData 555 drivers/char/mwave/mwavedd.c if ( pDrvData->sLine >= 0 ) { pDrvData 556 drivers/char/mwave/mwavedd.c serial8250_unregister_port(pDrvData->sLine); pDrvData 558 drivers/char/mwave/mwavedd.c if (pDrvData->bMwaveDevRegistered) { pDrvData 561 drivers/char/mwave/mwavedd.c if (pDrvData->bDSPEnabled) { pDrvData 562 drivers/char/mwave/mwavedd.c tp3780I_DisableDSP(&pDrvData->rBDData); pDrvData 564 drivers/char/mwave/mwavedd.c if (pDrvData->bResourcesClaimed) { pDrvData 565 drivers/char/mwave/mwavedd.c tp3780I_ReleaseResources(&pDrvData->rBDData); pDrvData 567 drivers/char/mwave/mwavedd.c if (pDrvData->bBDInitialized) { pDrvData 568 drivers/char/mwave/mwavedd.c tp3780I_Cleanup(&pDrvData->rBDData); pDrvData 580 drivers/char/mwave/mwavedd.c pMWAVE_DEVICE_DATA pDrvData = &mwave_s_mdd; pDrvData 586 drivers/char/mwave/mwavedd.c pDrvData->bBDInitialized = false; pDrvData 587 drivers/char/mwave/mwavedd.c pDrvData->bResourcesClaimed = false; pDrvData 588 drivers/char/mwave/mwavedd.c pDrvData->bDSPEnabled = false; pDrvData 589 drivers/char/mwave/mwavedd.c pDrvData->bDSPReset = false; pDrvData 590 drivers/char/mwave/mwavedd.c pDrvData->bMwaveDevRegistered = false; pDrvData 591 drivers/char/mwave/mwavedd.c pDrvData->sLine = -1; pDrvData 593 drivers/char/mwave/mwavedd.c for (i = 0; i < ARRAY_SIZE(pDrvData->IPCs); i++) { pDrvData 594 drivers/char/mwave/mwavedd.c pDrvData->IPCs[i].bIsEnabled = false; pDrvData 595 drivers/char/mwave/mwavedd.c pDrvData->IPCs[i].bIsHere = false; pDrvData 596 drivers/char/mwave/mwavedd.c pDrvData->IPCs[i].usIntCount = 0; /* no ints received yet */ pDrvData 597 drivers/char/mwave/mwavedd.c init_waitqueue_head(&pDrvData->IPCs[i].ipc_wait_queue); pDrvData 600 drivers/char/mwave/mwavedd.c retval = tp3780I_InitializeBoardData(&pDrvData->rBDData); pDrvData 611 drivers/char/mwave/mwavedd.c pDrvData->bBDInitialized = true; pDrvData 613 drivers/char/mwave/mwavedd.c retval = tp3780I_CalcResources(&pDrvData->rBDData); pDrvData 625 drivers/char/mwave/mwavedd.c retval = tp3780I_ClaimResources(&pDrvData->rBDData); pDrvData 636 drivers/char/mwave/mwavedd.c pDrvData->bResourcesClaimed = true; pDrvData 638 drivers/char/mwave/mwavedd.c retval = tp3780I_EnableDSP(&pDrvData->rBDData); pDrvData 649 drivers/char/mwave/mwavedd.c pDrvData->bDSPEnabled = true; pDrvData 657 drivers/char/mwave/mwavedd.c pDrvData->bMwaveDevRegistered = true; pDrvData 659 drivers/char/mwave/mwavedd.c pDrvData->sLine = register_serial_portandirq( pDrvData 660 drivers/char/mwave/mwavedd.c pDrvData->rBDData.rDspSettings.usUartBaseIO, pDrvData 661 drivers/char/mwave/mwavedd.c pDrvData->rBDData.rDspSettings.usUartIrq pDrvData 663 drivers/char/mwave/mwavedd.c if (pDrvData->sLine < 0) { pDrvData 678 drivers/char/mwave/mwavedd.c pDrvData->device_registered = true; pDrvData 687 drivers/char/mwave/mwavedd.c pDrvData->nr_registered_attrs++; pDrvData 105 drivers/char/mwave/tp3780i.c pMWAVE_DEVICE_DATA pDrvData = &mwave_s_mdd; pDrvData 106 drivers/char/mwave/tp3780i.c DSP_3780I_CONFIG_SETTINGS *pSettings = &pDrvData->rBDData.rDspSettings; pDrvData 124 drivers/char/mwave/tp3780i.c if (pDrvData->IPCs[usPCNum - 1].usIntCount == 0) { pDrvData 125 drivers/char/mwave/tp3780i.c pDrvData->IPCs[usPCNum - 1].usIntCount = 1; pDrvData 129 drivers/char/mwave/tp3780i.c pDrvData->IPCs[usPCNum - 1].usIntCount); pDrvData 130 drivers/char/mwave/tp3780i.c if (pDrvData->IPCs[usPCNum - 1].bIsEnabled == true) { pDrvData 134 drivers/char/mwave/tp3780i.c wake_up_interruptible(&pDrvData->IPCs[usPCNum - 1].ipc_wait_queue);