IPCs 285 drivers/char/mwave/mwavedd.c if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { IPCs 294 drivers/char/mwave/mwavedd.c ARRAY_SIZE(pDrvData->IPCs)); IPCs 299 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount); IPCs 302 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsHere = false; IPCs 303 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsEnabled = true; IPCs 316 drivers/char/mwave/mwavedd.c if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { IPCs 324 drivers/char/mwave/mwavedd.c ARRAY_SIZE(pDrvData->IPCs)); IPCs 329 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount); IPCs 332 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].bIsEnabled == true) { IPCs 339 drivers/char/mwave/mwavedd.c add_wait_queue(&pDrvData->IPCs[ipcnum].ipc_wait_queue, &wait); IPCs 340 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsHere = true; IPCs 344 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].usIntCount == 1) { /* first int has occurred (race condition) */ IPCs 345 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount = 2; /* first int has been handled */ IPCs 353 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].usIntCount == 1) { IPCs 354 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].usIntCount = 2; IPCs 363 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsHere = false; IPCs 364 drivers/char/mwave/mwavedd.c remove_wait_queue(&pDrvData->IPCs[ipcnum].ipc_wait_queue, &wait); IPCs 383 drivers/char/mwave/mwavedd.c if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { IPCs 392 drivers/char/mwave/mwavedd.c ARRAY_SIZE(pDrvData->IPCs)); IPCs 394 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].bIsEnabled == true) { IPCs 395 drivers/char/mwave/mwavedd.c pDrvData->IPCs[ipcnum].bIsEnabled = false; IPCs 396 drivers/char/mwave/mwavedd.c if (pDrvData->IPCs[ipcnum].bIsHere == true) { IPCs 397 drivers/char/mwave/mwavedd.c wake_up_interruptible(&pDrvData->IPCs[ipcnum].ipc_wait_queue); IPCs 593 drivers/char/mwave/mwavedd.c for (i = 0; i < ARRAY_SIZE(pDrvData->IPCs); i++) { IPCs 594 drivers/char/mwave/mwavedd.c pDrvData->IPCs[i].bIsEnabled = false; IPCs 595 drivers/char/mwave/mwavedd.c pDrvData->IPCs[i].bIsHere = false; IPCs 596 drivers/char/mwave/mwavedd.c pDrvData->IPCs[i].usIntCount = 0; /* no ints received yet */ IPCs 597 drivers/char/mwave/mwavedd.c init_waitqueue_head(&pDrvData->IPCs[i].ipc_wait_queue); IPCs 142 drivers/char/mwave/mwavedd.h MWAVE_IPC IPCs[16]; IPCs 124 drivers/char/mwave/tp3780i.c if (pDrvData->IPCs[usPCNum - 1].usIntCount == 0) { IPCs 125 drivers/char/mwave/tp3780i.c pDrvData->IPCs[usPCNum - 1].usIntCount = 1; IPCs 129 drivers/char/mwave/tp3780i.c pDrvData->IPCs[usPCNum - 1].usIntCount); IPCs 130 drivers/char/mwave/tp3780i.c if (pDrvData->IPCs[usPCNum - 1].bIsEnabled == true) { IPCs 134 drivers/char/mwave/tp3780i.c wake_up_interruptible(&pDrvData->IPCs[usPCNum - 1].ipc_wait_queue);