Lines Matching refs:tmpcip
50 unsigned short int tmpcip, id; in atp870u_intr_handle() local
86 tmpcip = dev->pciport[c]; in atp870u_intr_handle()
87 if ((inb(tmpcip) & 0x08) != 0) in atp870u_intr_handle()
89 tmpcip += 0x2; in atp870u_intr_handle()
91 if ((inb(tmpcip) & 0x08) == 0) { in atp870u_intr_handle()
94 if ((inb(tmpcip) & 0x01) == 0) { in atp870u_intr_handle()
100 tmpcip = dev->pciport[c]; in atp870u_intr_handle()
101 outb(0x00, tmpcip); in atp870u_intr_handle()
107 tmpcip += 2; in atp870u_intr_handle()
108 outb(0x06, tmpcip); in atp870u_intr_handle()
109 tmpcip -= 2; in atp870u_intr_handle()
332 tmpcip = dev->pciport[c] + 1; in atp870u_intr_handle()
333 i=inb(tmpcip) & 0xf3; in atp870u_intr_handle()
338 outb(i,tmpcip); in atp870u_intr_handle()
404 tmpcip = dev->pciport[c] + 0x04; in atp870u_intr_handle()
405 outl(dev->id[c][target_id].prdaddr, tmpcip); in atp870u_intr_handle()
410 tmpcip -= 0x04; in atp870u_intr_handle()
412 tmpcip -= 0x02; in atp870u_intr_handle()
413 outb(0x06, tmpcip); in atp870u_intr_handle()
414 outb(0x00, tmpcip); in atp870u_intr_handle()
415 tmpcip -= 0x02; in atp870u_intr_handle()
423 outb(0x01, tmpcip); in atp870u_intr_handle()
431 outb(0x09, tmpcip); in atp870u_intr_handle()
520 tmpcip += 4; in atp870u_intr_handle()
521 outl(dev->id[c][target_id].prdaddr, tmpcip); in atp870u_intr_handle()
522 tmpcip = tmpcip - 2; in atp870u_intr_handle()
523 outb(0x06, tmpcip); in atp870u_intr_handle()
524 outb(0x00, tmpcip); in atp870u_intr_handle()
525 tmpcip = tmpcip - 2; in atp870u_intr_handle()
541 outb(0x09, tmpcip); in atp870u_intr_handle()
546 tmpcip += 4; in atp870u_intr_handle()
547 outl(dev->id[c][target_id].prdaddr, tmpcip); in atp870u_intr_handle()
548 tmpcip = tmpcip - 2; in atp870u_intr_handle()
549 outb(0x06, tmpcip); in atp870u_intr_handle()
550 outb(0x00, tmpcip); in atp870u_intr_handle()
551 tmpcip = tmpcip - 2; in atp870u_intr_handle()
567 outb(0x01, tmpcip); in atp870u_intr_handle()
714 unsigned short int tmpcip, w; in DEF_SCSI_QCMD() local
892 tmpcip = dev->pciport[c]; in DEF_SCSI_QCMD()
929 tmpcip += 4; in DEF_SCSI_QCMD()
931 …printk("send_s870: prdaddr_2 0x%8x tmpcip %x target_id %d\n", dev->id[c][target_id].prdaddr,tmpcip… in DEF_SCSI_QCMD()
934 outl(dev->id[c][target_id].prdaddr, tmpcip); in DEF_SCSI_QCMD()
935 tmpcip = tmpcip - 2; in DEF_SCSI_QCMD()
936 outb(0x06, tmpcip); in DEF_SCSI_QCMD()
937 outb(0x00, tmpcip); in DEF_SCSI_QCMD()
939 tmpcip--; in DEF_SCSI_QCMD()
940 j=inb(tmpcip) & 0xf3; in DEF_SCSI_QCMD()
945 outb(j,tmpcip); in DEF_SCSI_QCMD()
946 tmpcip--; in DEF_SCSI_QCMD()
949 tmpcip =tmpcip -2; in DEF_SCSI_QCMD()
957 tmpcip =tmpcip -2; in DEF_SCSI_QCMD()
972 outb(0x01, tmpcip); in DEF_SCSI_QCMD()
985 outb(0x09, tmpcip); in DEF_SCSI_QCMD()