Lines Matching refs:HostP
345 static void rio_reset_interrupt(struct Host *HostP)
349 switch (HostP->Type) {
353 writeb(0xFF, &HostP->ResetInt);
362 struct Host *HostP;
365 HostP = ptr; /* &p->RIOHosts[(long)ptr]; */
366 rio_dprintk(RIO_DEBUG_IFLOW, "rio: enter rio_interrupt (%d/%d)\n", irq, HostP->Ivec);
386 if (HostP->Ivec == irq) {
388 rio_reset_interrupt(HostP);
391 if ((HostP->Flags & RUN_STATE) != RC_RUNNING)
394 if (test_and_set_bit(RIO_BOARD_INTR_LOCK, &HostP->locks)) {
395 printk(KERN_ERR "Recursive interrupt! (host %p/irq%d)\n", ptr, HostP->Ivec);
399 RIOServiceHost(p, HostP);
401 rio_dprintk(RIO_DEBUG_IFLOW, "riointr() doing host %p type %d\n", ptr, HostP->Type);
403 clear_bit(RIO_BOARD_INTR_LOCK, &HostP->locks);
404 rio_dprintk(RIO_DEBUG_IFLOW, "rio: exit rio_interrupt (%d/%d)\n", irq, HostP->Ivec);
446 /* hn = PortP->HostP - p->RIOHosts;