Lines Matching refs:WRW_HARPOON

793 	#define WRW_HARPOON(ioport,val)     (OS_OutPortWord(ioport,val))  macro
823 #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) macro
832 #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) macro
841 #define WRW_HARPOON(ioport,val) OS_OutPortWord((u32bits)ioport,(u16bits)val) macro
850 #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) macro
860 #define WRW_HARPOON(ioport,val) OS_OutPortWord((ULONG)ioport,(USHORT)val) macro
1976 #define HP_SETUP_ADDR_CNT(port,addr,count) (WRW_HARPOON((USHORT)(port+hp_host_addr_lo), (USHORT)(ad…
1978 WRW_HARPOON((USHORT)(port+hp_host_addr_hmi), (USHORT)(addr & 0x0000FFFFL)),\
1980 WRW_HARPOON((USHORT)(port+hp_xfer_cnt_lo), (USHORT)(count & 0x0000FFFFL)),\
1984 #define HP_SETUP_ADDR_CNT(port,addr,count) (WRW_HARPOON((port+hp_host_addr_lo), (USHORT)(addr & 0x0…
1986 WRW_HARPOON((port+hp_host_addr_hmi), (USHORT)(addr & 0x0000FFFFL)),\
1988 WRW_HARPOON((port+hp_xfer_cnt_lo), (USHORT)(count & 0x0000FFFFL)),\
4730 WRW_HARPOON((ioport+hp_intstat), (FIFO | TIMEOUT | RESET | SCAM_SEL)); in SccbMgr_isr()
4762 WRW_HARPOON((ioport+hp_intstat), CLR_ALL_INT_1); in SccbMgr_isr()
4812 WRW_HARPOON((ioport+hp_intstat), (BUS_FREE | ITAR_DISC)); in SccbMgr_isr()
4822 WRW_HARPOON((ioport+hp_intstat), (PROG_HLT | RSEL | PHASE | BUS_FREE)); in SccbMgr_isr()
4838 WRW_HARPOON((ioport+hp_intstat), (BUS_FREE | ITAR_DISC)); in SccbMgr_isr()
4852 WRW_HARPOON((ioport+hp_intstat), (IDO_STRT | XFER_CNT_0)); in SccbMgr_isr()
4860 WRW_HARPOON((ioport+hp_intstat), (PHASE | IUNKWN | PROG_HLT)); in SccbMgr_isr()
4886 WRW_HARPOON((ioport+hp_intstat), XFER_CNT_0); in SccbMgr_isr()
4895 WRW_HARPOON((ioport+hp_intstat), BUS_FREE); in SccbMgr_isr()
4908 WRW_HARPOON((ioport+hp_intstat), ITICKLE); in SccbMgr_isr()
5045 WRW_HARPOON((p_port+hp_intstat), FIFO); in SccbMgr_bad_isr()
5082 WRW_HARPOON((p_port+hp_intstat), in SccbMgr_bad_isr()
5124 WRW_HARPOON((p_port+hp_intstat), SCAM_SEL); in SccbMgr_bad_isr()
5523 WRW_HARPOON((port+hp_intstat), PARITY); in sfm()
5528 WRW_HARPOON((port+hp_intstat), PARITY); in sfm()
5698 WRW_HARPOON((port+ID_MSG_STRT), (MPM_OP+AMSG_OUT+ in ssel()
5701 WRW_HARPOON((port+ID_MSG_STRT+2),BRH_OP+ALWAYS+NP); in ssel()
5730 WRW_HARPOON((port+ID_MSG_STRT), (MPM_OP+AMSG_OUT+ in ssel()
5733 WRW_HARPOON((port+ID_MSG_STRT+2),BRH_OP+ALWAYS+CMDPZ); in ssel()
5735 WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+ in ssel()
5738 WRW_HARPOON((port+SYNC_MSGS+2), in ssel()
5740 WRW_HARPOON((port+SYNC_MSGS+4), (BRH_OP+ALWAYS+NP )); in ssel()
5781 WRW_HARPOON((port+ID_MSG_STRT),BRH_OP+ALWAYS+NTCMD); in ssel()
5783 WRW_HARPOON((port+NON_TAG_ID_MSG), in ssel()
5797 WRW_HARPOON((port+ID_MSG_STRT), (MPM_OP+AMSG_OUT+currSCCB->Sccb_idmsg)); in ssel()
5799 WRW_HARPOON((port+ID_MSG_STRT+2), (MPM_OP+AMSG_OUT+ in ssel()
5808 WRW_HARPOON((port+ID_MSG_STRT+6), in ssel()
5837 WRW_HARPOON((port+ID_MSG_STRT),BRH_OP+ALWAYS+NTCMD); in ssel()
5839 WRW_HARPOON((port+NON_TAG_ID_MSG), in ssel()
5860 WRW_HARPOON(cdb_reg, (MPM_OP + ACOMMAND + *theCCB)); in ssel()
5866 WRW_HARPOON(cdb_reg, (BRH_OP+ALWAYS+ NP)); in ssel()
5871 WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); in ssel()
5875 WRW_HARPOON((port+hp_intstat), (PROG_HLT | TIMEOUT | SEL | BUS_FREE)); in ssel()
5989 WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); in sres()
6016 WRW_HARPOON((port+hp_intstat), PHASE); in sres()
6021 WRW_HARPOON((port+hp_intstat), PHASE); in sres()
6216 WRW_HARPOON((port+hp_intstat), PHASE); in GetTarLun()
6221 WRW_HARPOON((port+hp_intstat), PHASE); in GetTarLun()
6301 WRW_HARPOON((port+hp_intstat), PHASE); in SendMsg()
6306 WRW_HARPOON((port+hp_intstat), PHASE); in SendMsg()
6309 WRW_HARPOON((port+hp_intstat), (BUS_FREE | PHASE | XFER_CNT_0)); in SendMsg()
6329 WRW_HARPOON((port+hp_intstat), BUS_FREE); in SendMsg()
6402 WRW_HARPOON((port+hp_intstat), BUS_FREE); in sdecm()
6453 WRW_HARPOON((port+hp_intstat), BUS_FREE); in sdecm()
6628 WRW_HARPOON((port+ID_MSG_STRT), in sisyncn()
6631 WRW_HARPOON((port+ID_MSG_STRT+2),BRH_OP+ALWAYS+CMDPZ); in sisyncn()
6633 WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); in sisyncn()
6634 WRW_HARPOON((port+SYNC_MSGS+2), (MPM_OP+AMSG_OUT+0x03 )); in sisyncn()
6635 WRW_HARPOON((port+SYNC_MSGS+4), (MPM_OP+AMSG_OUT+SMSYNC)); in sisyncn()
6640 WRW_HARPOON((port+SYNC_MSGS+6), (MPM_OP+AMSG_OUT+ 12)); in sisyncn()
6644 WRW_HARPOON((port+SYNC_MSGS+6), (MPM_OP+AMSG_OUT+ 25)); in sisyncn()
6648 WRW_HARPOON((port+SYNC_MSGS+6), (MPM_OP+AMSG_OUT+ 50)); in sisyncn()
6651 WRW_HARPOON((port+SYNC_MSGS+6), (MPM_OP+AMSG_OUT+ 00)); in sisyncn()
6654 WRW_HARPOON((port+SYNC_MSGS+8), (RAT_OP )); in sisyncn()
6655 WRW_HARPOON((port+SYNC_MSGS+10),(MPM_OP+AMSG_OUT+DEFAULT_OFFSET)); in sisyncn()
6656 WRW_HARPOON((port+SYNC_MSGS+12),(BRH_OP+ALWAYS+NP )); in sisyncn()
6840 WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); in sisyncr()
6841 WRW_HARPOON((port+SYNC_MSGS+2), (MPM_OP+AMSG_OUT+0x03 )); in sisyncr()
6842 WRW_HARPOON((port+SYNC_MSGS+4), (MPM_OP+AMSG_OUT+SMSYNC)); in sisyncr()
6843 WRW_HARPOON((port+SYNC_MSGS+6), (MPM_OP+AMSG_OUT+sync_pulse)); in sisyncr()
6844 WRW_HARPOON((port+SYNC_MSGS+8), (RAT_OP )); in sisyncr()
6845 WRW_HARPOON((port+SYNC_MSGS+10),(MPM_OP+AMSG_OUT+offset)); in sisyncr()
6846 WRW_HARPOON((port+SYNC_MSGS+12),(BRH_OP+ALWAYS+NP )); in sisyncr()
6850 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT_1); in sisyncr()
6885 WRW_HARPOON((port+ID_MSG_STRT), in siwidn()
6888 WRW_HARPOON((port+ID_MSG_STRT+2),BRH_OP+ALWAYS+CMDPZ); in siwidn()
6890 WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); in siwidn()
6891 WRW_HARPOON((port+SYNC_MSGS+2), (MPM_OP+AMSG_OUT+0x02 )); in siwidn()
6892 WRW_HARPOON((port+SYNC_MSGS+4), (MPM_OP+AMSG_OUT+SMWDTR)); in siwidn()
6893 WRW_HARPOON((port+SYNC_MSGS+6), (RAT_OP )); in siwidn()
6894 WRW_HARPOON((port+SYNC_MSGS+8), (MPM_OP+AMSG_OUT+ SM16BIT)); in siwidn()
6895 WRW_HARPOON((port+SYNC_MSGS+10),(BRH_OP+ALWAYS+NP )); in siwidn()
7017 WRW_HARPOON((port+SYNC_MSGS+0), (MPM_OP+AMSG_OUT+SMEXT )); in siwidr()
7018 WRW_HARPOON((port+SYNC_MSGS+2), (MPM_OP+AMSG_OUT+0x02 )); in siwidr()
7019 WRW_HARPOON((port+SYNC_MSGS+4), (MPM_OP+AMSG_OUT+SMWDTR)); in siwidr()
7020 WRW_HARPOON((port+SYNC_MSGS+6), (RAT_OP )); in siwidr()
7021 WRW_HARPOON((port+SYNC_MSGS+8),(MPM_OP+AMSG_OUT+width)); in siwidr()
7022 WRW_HARPOON((port+SYNC_MSGS+10),(BRH_OP+ALWAYS+NP )); in siwidr()
7026 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT_1); in siwidr()
7132 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); in sresb()
7138 WRW_HARPOON((port+hp_intstat), TIMEOUT); in sresb()
7150 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); in sresb()
7273 WRW_HARPOON((p_port+hp_intstat), XFER_CNT_0); in sxfrp()
7361 WRW_HARPOON((port+hp_fiforead), (USHORT) 0x00); in schkdd()
7377 WRW_HARPOON((port+hp_intstat), PARITY); in schkdd()
7428 WRW_HARPOON((port+hp_intstat), AUTO_INT); in schkdd()
7639 WRW_HARPOON((port+hp_intstat), XFER_CNT_0); in phaseDataOut()
7647 WRW_HARPOON((port+hp_intstat), XFER_CNT_0); in phaseDataOut()
7701 WRW_HARPOON((port+hp_intstat), XFER_CNT_0); in phaseDataIn()
7766 WRW_HARPOON(cdb_reg, (MPM_OP + ACOMMAND + 0x00)); in phaseCommand()
7769 WRW_HARPOON(cdb_reg, (MPM_OP + ACOMMAND + currSCCB->Cdb[i])); in phaseCommand()
7774 WRW_HARPOON(cdb_reg, (BRH_OP+ALWAYS+ NP)); in phaseCommand()
7907 WRW_HARPOON((port+hp_intstat), (BUS_FREE | PHASE | XFER_CNT_0)); in phaseMsgOut()
7928 WRW_HARPOON((port+hp_intstat), BUS_FREE); in phaseMsgOut()
8104 WRW_HARPOON((port+hp_intstat), PARITY); in phaseChkFifo()
8150 WRW_HARPOON((port+hp_intstat), PARITY); in phaseChkFifo()
8161 WRW_HARPOON((port+hp_intstat), XFER_CNT_0); in phaseChkFifo()
8330 WRW_HARPOON(map_addr, (MPM_OP+AMSG_OUT+ 0xC0)); /*ID MESSAGE */ in autoLoadDefaultMap()
8332 WRW_HARPOON(map_addr, (MPM_OP+AMSG_OUT+ 0x20)); /*SIMPLE TAG QUEUEING MSG */ in autoLoadDefaultMap()
8334 WRW_HARPOON(map_addr, RAT_OP); /*RESET ATTENTION */ in autoLoadDefaultMap()
8336 WRW_HARPOON(map_addr, (MPM_OP+AMSG_OUT+ 0x00)); /*TAG ID MSG */ in autoLoadDefaultMap()
8338 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 0 */ in autoLoadDefaultMap()
8340 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 1 */ in autoLoadDefaultMap()
8342 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 2 */ in autoLoadDefaultMap()
8344 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 3 */ in autoLoadDefaultMap()
8346 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 4 */ in autoLoadDefaultMap()
8348 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 5 */ in autoLoadDefaultMap()
8350 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 6 */ in autoLoadDefaultMap()
8352 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 7 */ in autoLoadDefaultMap()
8354 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 8 */ in autoLoadDefaultMap()
8356 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 9 */ in autoLoadDefaultMap()
8358 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 10 */ in autoLoadDefaultMap()
8360 WRW_HARPOON(map_addr, (MPM_OP+ACOMMAND+ 0x00)); /*CDB BYTE 11 */ in autoLoadDefaultMap()
8362 WRW_HARPOON(map_addr, (CPE_OP+ADATA_OUT+ DINT)); /*JUMP IF DATA OUT */ in autoLoadDefaultMap()
8364 WRW_HARPOON(map_addr, (TCB_OP+FIFO_0+ DI)); /*JUMP IF NO DATA IN FIFO */ in autoLoadDefaultMap()
8366 WRW_HARPOON(map_addr, (SSI_OP+ SSI_IDO_STRT)); /*STOP AND INTERRUPT */ in autoLoadDefaultMap()
8368 WRW_HARPOON(map_addr, (CPE_OP+ADATA_IN+DINT)); /*JUMP IF NOT DATA IN PHZ */ in autoLoadDefaultMap()
8370 WRW_HARPOON(map_addr, (CPN_OP+AMSG_IN+ ST)); /*IF NOT MSG IN CHECK 4 DATA IN */ in autoLoadDefaultMap()
8372 WRW_HARPOON(map_addr, (CRD_OP+SDATA+ 0x02)); /*SAVE DATA PTR MSG? */ in autoLoadDefaultMap()
8374 WRW_HARPOON(map_addr, (BRH_OP+NOT_EQ+ DC)); /*GO CHECK FOR DISCONNECT MSG */ in autoLoadDefaultMap()
8376 WRW_HARPOON(map_addr, (MRR_OP+SDATA+ D_AR1)); /*SAVE DATA PTRS MSG */ in autoLoadDefaultMap()
8378 WRW_HARPOON(map_addr, (CPN_OP+AMSG_IN+ ST)); /*IF NOT MSG IN CHECK DATA IN */ in autoLoadDefaultMap()
8380 WRW_HARPOON(map_addr, (CRD_OP+SDATA+ 0x04)); /*DISCONNECT MSG? */ in autoLoadDefaultMap()
8382 WRW_HARPOON(map_addr, (BRH_OP+NOT_EQ+ UNKNWN));/*UKNKNOWN MSG */ in autoLoadDefaultMap()
8384 WRW_HARPOON(map_addr, (MRR_OP+SDATA+ D_BUCKET));/*XFER DISCONNECT MSG */ in autoLoadDefaultMap()
8386 WRW_HARPOON(map_addr, (SSI_OP+ SSI_ITAR_DISC));/*STOP AND INTERRUPT */ in autoLoadDefaultMap()
8388 WRW_HARPOON(map_addr, (CPN_OP+ASTATUS+ UNKNWN));/*JUMP IF NOT STATUS PHZ. */ in autoLoadDefaultMap()
8390 WRW_HARPOON(map_addr, (MRR_OP+SDATA+ D_AR0)); /*GET STATUS BYTE */ in autoLoadDefaultMap()
8392 WRW_HARPOON(map_addr, (CPN_OP+AMSG_IN+ CC)); /*ERROR IF NOT MSG IN PHZ */ in autoLoadDefaultMap()
8394 WRW_HARPOON(map_addr, (CRD_OP+SDATA+ 0x00)); /*CHECK FOR CMD COMPLETE MSG. */ in autoLoadDefaultMap()
8396 WRW_HARPOON(map_addr, (BRH_OP+NOT_EQ+ CC)); /*ERROR IF NOT CMD COMPLETE MSG. */ in autoLoadDefaultMap()
8398 WRW_HARPOON(map_addr, (MRR_OP+SDATA+ D_BUCKET));/*GET CMD COMPLETE MSG */ in autoLoadDefaultMap()
8400 WRW_HARPOON(map_addr, (SSI_OP+ SSI_ICMD_COMP));/*END OF COMMAND */ in autoLoadDefaultMap()
8403 WRW_HARPOON(map_addr, (SSI_OP+ SSI_IUNKWN)); /*RECEIVED UNKNOWN MSG BYTE */ in autoLoadDefaultMap()
8405 WRW_HARPOON(map_addr, (SSI_OP+ SSI_INO_CC)); /*NO COMMAND COMPLETE AFTER STATUS */ in autoLoadDefaultMap()
8407 WRW_HARPOON(map_addr, (SSI_OP+ SSI_ITICKLE)); /*BIOS Tickled the Mgr */ in autoLoadDefaultMap()
8409 WRW_HARPOON(map_addr, (SSI_OP+ SSI_IRFAIL)); /*EXPECTED ID/TAG MESSAGES AND */ in autoLoadDefaultMap()
8411 WRW_HARPOON(map_addr, (CRR_OP+AR3+ S_IDREG)); /* comp SCSI SEL ID & AR3*/ in autoLoadDefaultMap()
8413 WRW_HARPOON(map_addr, (BRH_OP+EQUAL+ 0x00)); /*SEL ID OK then Conti. */ in autoLoadDefaultMap()
8415 WRW_HARPOON(map_addr, (SSI_OP+ SSI_INO_CC)); /*NO COMMAND COMPLETE AFTER STATUS */ in autoLoadDefaultMap()
9721 WRW_HARPOON((p_port+hp_intstat), (BUS_FREE | AUTO_INT | SCAM_SEL)); in scbusf()
9723 WRW_HARPOON((p_port+hp_intstat), (BUS_FREE | AUTO_INT)); in scbusf()
10167 WRW_HARPOON(i, (MPM_OP+ACOMMAND)); in scsell()
10169 WRW_HARPOON(i, (BRH_OP+ALWAYS+ NP)); in scsell()
10171 WRW_HARPOON((p_port+hp_intstat), in scsell()
10196 WRW_HARPOON((p_port+hp_intstat), in scsell()
10215 WRW_HARPOON((p_port+hp_intstat), CLR_ALL_INT_1); in scsell()
10251 WRW_HARPOON(i, (MPM_OP+ACOMMAND)); in scsellDOS()
10253 WRW_HARPOON(i, (BRH_OP+ALWAYS+ NP)); in scsellDOS()
10255 WRW_HARPOON((p_port+hp_intstat), in scsellDOS()
10280 WRW_HARPOON((p_port+hp_intstat), in scsellDOS()
10299 WRW_HARPOON((p_port+hp_intstat), CLR_ALL_INT_1); in scsellDOS()
10648 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); in XbowInit()
10661 WRW_HARPOON((port+hp_intena), default_intena); in XbowInit()
10760 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); in DiagXbow()
10761 WRW_HARPOON((port+hp_intena), 0x0000); in DiagXbow()
10813 WRW_HARPOON((port+hp_intstat), CLR_ALL_INT); in DiagXbow()
10815 WRW_HARPOON((port+hp_intena), default_intena); in DiagXbow()
11741 WRW_HARPOON((p_port+hp_intstat), TIMEOUT); in Wait()
11742 WRW_HARPOON((p_port+hp_intena), (default_intena & ~TIMEOUT)); in Wait()
11760 WRW_HARPOON((p_port+hp_intstat), TIMEOUT); in Wait()
11761 WRW_HARPOON((p_port+hp_intena), default_intena); in Wait()