Lines Matching defs:vector
703 IOInterruptVector *vector;
707 vector = &vectors[source];
709 // Get the lock for this vector.
710 IOTakeLock(vector->interruptLock);
712 // Make sure the vector is not in use.
713 if (vector->interruptRegistered) {
714 IOUnlock(vector->interruptLock);
718 // Fill in vector with the client's info.
719 vector->handler = handler;
720 vector->nub = nub;
721 vector->source = source;
722 vector->target = target;
723 vector->refCon = refCon;
725 // Get the vector ready. It starts hard disabled.
726 vector->interruptDisabledHard = 1;
727 vector->interruptDisabledSoft = 1;
728 vector->interruptRegistered = 1;
730 IOUnlock(vector->interruptLock);
776 IOInterruptVector *vector;
778 vector = &vectors[source];
780 if (!vector->interruptRegistered) return kIOReturnInvalid;
782 vector->handler(vector->target, vector->refCon,
783 vector->nub, vector->source);