Lines Matching refs:vector
702 IOInterruptVector *vector;
706 vector = &vectors[source];
708 // Get the lock for this vector.
709 IOTakeLock(vector->interruptLock);
711 // Make sure the vector is not in use.
712 if (vector->interruptRegistered) {
713 IOUnlock(vector->interruptLock);
717 // Fill in vector with the client's info.
718 vector->handler = handler;
719 vector->nub = nub;
720 vector->source = source;
721 vector->target = target;
722 vector->refCon = refCon;
724 // Get the vector ready. It starts hard disabled.
725 vector->interruptDisabledHard = 1;
726 vector->interruptDisabledSoft = 1;
727 vector->interruptRegistered = 1;
729 IOUnlock(vector->interruptLock);
775 IOInterruptVector *vector;
777 vector = &vectors[source];
779 if (!vector->interruptRegistered) return kIOReturnInvalid;
781 vector->handler(vector->target, vector->refCon,
782 vector->nub, vector->source);