Lines Matching defs:HostP
605 void put_free_end(struct Host *HostP, struct PKT __iomem *PktP)
611 rio_spin_lock_irqsave(&HostP->HostLock, flags);
620 if ((old_end = readw(&HostP->ParmMapP->free_list_end)) != TPNULL) {
621 new_end = RIO_OFF(HostP->Caddr, PktP);
622 tmp_pointer = (struct rio_free_list __iomem *) RIO_PTR(HostP->Caddr, old_end);
626 writew(new_end, &HostP->ParmMapP->free_list_end);
629 writew(RIO_OFF(HostP->Caddr, PktP), &HostP->ParmMapP->free_list_end);
634 rio_dprintk(RIO_DEBUG_CMD, "Before unlock: %p\n", &HostP->HostLock);
635 rio_spin_unlock_irqrestore(&HostP->HostLock, flags);