Lines Matching defs:HostP
141 rio_memcpy_toio(PortP->HostP->Caddr, PacketP->data, PortP->gs.xmit_buf + PortP->gs.xmit_tail, c);
173 void RIOServiceHost(struct rio_info *p, struct Host *HostP)
175 rio_spin_lock(&HostP->HostLock);
176 if ((HostP->Flags & RUN_STATE) != RC_RUNNING) {
178 rio_spin_unlock(&HostP->HostLock);
180 rio_dprintk(RIO_DEBUG_INTR, "Interrupt but host not running. flags=%x.\n", (int) HostP->Flags);
183 rio_spin_unlock(&HostP->HostLock);
185 if (readw(&HostP->ParmMapP->rup_intr)) {
186 writew(0, &HostP->ParmMapP->rup_intr);
189 rio_dprintk(RIO_DEBUG_INTR, "rio: RUP interrupt on host %Zd\n", HostP - p->RIOHosts);
190 RIOPollHostCommands(p, HostP);
193 if (readw(&HostP->ParmMapP->rx_intr)) {
196 writew(0, &HostP->ParmMapP->rx_intr);
200 rio_dprintk(RIO_DEBUG_INTR, "rio: RX interrupt on host %Zd\n", HostP - p->RIOHosts);
227 if (PortP->HostP != HostP) {
273 if (readw(&HostP->ParmMapP->tx_intr)) {
276 writew(0, &HostP->ParmMapP->tx_intr);
280 rio_dprintk(RIO_DEBUG_INTR, "rio: TX interrupt on host %Zd\n", HostP - p->RIOHosts);
305 if (PortP->HostP != HostP) {
558 put_free_end(PortP->HostP, PacketP);
590 put_free_end(PortP->HostP, PacketP);
633 put_free_end(PortP->HostP, PacketP);