Lines Matching defs:vector
670 IOInterruptVector *vector;
674 vector = &vectors[source];
676 // Get the lock for this vector.
677 IOTakeLock(vector->interruptLock);
679 // Make sure the vector is not in use.
680 if (vector->interruptRegistered) {
681 IOUnlock(vector->interruptLock);
685 // Fill in vector with the client's info.
686 vector->handler = handler;
687 vector->nub = nub;
688 vector->source = source;
689 vector->target = target;
690 vector->refCon = refCon;
692 // Get the vector ready. It starts hard disabled.
693 vector->interruptDisabledHard = 1;
694 vector->interruptDisabledSoft = 1;
695 vector->interruptRegistered = 1;
697 IOUnlock(vector->interruptLock);
743 IOInterruptVector *vector;
745 vector = &vectors[source];
747 if (!vector->interruptRegistered) return kIOReturnInvalid;
749 vector->handler(vector->target, vector->refCon,
750 vector->nub, vector->source);