Lines Matching defs:port
124 #define inp(port) inb(port) argument
125 #define outp(port, byte) outb((byte), (port)) argument
127 #define inpw(port) inw(port) argument
128 #define outpw(port, word) outw((word), (port)) argument
864 #define AscGetQDoneInProgress(port) AscReadLramByte((port), ASCV_Q_DONE_IN_PROGRESS_B) argument
865 #define AscPutQDoneInProgress(port, val) AscWriteLramByte((port), ASCV_Q_DONE_IN_PROGRESS_B, val) argument
866 #define AscGetVarFreeQHead(port) AscReadLramWord((port), ASCV_FREE_Q_HEAD_W) argument
867 #define AscGetVarDoneQTail(port) AscReadLramWord((port), ASCV_DONE_Q_TAIL_W) argument
868 #define AscPutVarFreeQHead(port, val) AscWriteLramWord((port), ASCV_FREE_Q_HEAD_W, val) argument
869 #define AscPutVarDoneQTail(port, val) AscWriteLramWord((port), ASCV_DONE_Q_TAIL_W, val) argument
870 #define AscGetRiscVarFreeQHead(port) AscReadLramByte((port), ASCV_NEXTRDY_B) argument
871 #define AscGetRiscVarDoneQTail(port) AscReadLramByte((port), ASCV_DONENEXT_B) argument
872 #define AscPutRiscVarFreeQHead(port, val) AscWriteLramByte((port), ASCV_NEXTRDY_B, val) argument
873 #define AscPutRiscVarDoneQTail(port, val) AscWriteLramByte((port), ASCV_DONENEXT_B, val) argument
874 #define AscPutMCodeSDTRDoneAtID(port, id, data) AscWriteLramByte((port), (ushort)((ushort)ASCV_SDT… argument
875 #define AscGetMCodeSDTRDoneAtID(port, id) AscReadLramByte((port), (ushort)((ushort)ASCV_SDTR… argument
876 #define AscPutMCodeInitSDTRAtID(port, id, data) AscWriteLramByte((port), (ushort)((ushort)ASCV_SDT… argument
877 #define AscGetMCodeInitSDTRAtID(port, id) AscReadLramByte((port), (ushort)((ushort)ASCV_SDTR… argument
878 #define AscGetChipSignatureByte(port) (uchar)inp((port)+IOP_SIG_BYTE) argument
879 #define AscGetChipSignatureWord(port) (ushort)inpw((port)+IOP_SIG_WORD) argument
880 #define AscGetChipVerNo(port) (uchar)inp((port)+IOP_VERSION) argument
881 #define AscGetChipCfgLsw(port) (ushort)inpw((port)+IOP_CONFIG_LOW) argument
882 #define AscGetChipCfgMsw(port) (ushort)inpw((port)+IOP_CONFIG_HIGH) argument
883 #define AscSetChipCfgLsw(port, data) outpw((port)+IOP_CONFIG_LOW, data) argument
884 #define AscSetChipCfgMsw(port, data) outpw((port)+IOP_CONFIG_HIGH, data) argument
885 #define AscGetChipEEPCmd(port) (uchar)inp((port)+IOP_EEP_CMD) argument
886 #define AscSetChipEEPCmd(port, data) outp((port)+IOP_EEP_CMD, data) argument
887 #define AscGetChipEEPData(port) (ushort)inpw((port)+IOP_EEP_DATA) argument
888 #define AscSetChipEEPData(port, data) outpw((port)+IOP_EEP_DATA, data) argument
889 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR)) argument
890 #define AscSetChipLramAddr(port, addr) outpw((PortAddr)((port)+IOP_RAM_ADDR), addr) argument
891 #define AscGetChipLramData(port) (ushort)inpw((port)+IOP_RAM_DATA) argument
892 #define AscSetChipLramData(port, data) outpw((port)+IOP_RAM_DATA, data) argument
893 #define AscGetChipIFC(port) (uchar)inp((port)+IOP_REG_IFC) argument
894 #define AscSetChipIFC(port, data) outp((port)+IOP_REG_IFC, data) argument
895 #define AscGetChipStatus(port) (ASC_CS_TYPE)inpw((port)+IOP_STATUS) argument
896 #define AscSetChipStatus(port, cs_val) outpw((port)+IOP_STATUS, cs_val) argument
897 #define AscGetChipControl(port) (uchar)inp((port)+IOP_CTRL) argument
898 #define AscSetChipControl(port, cc_val) outp((port)+IOP_CTRL, cc_val) argument
899 #define AscGetChipSyn(port) (uchar)inp((port)+IOP_SYN_OFFSET) argument
900 #define AscSetChipSyn(port, data) outp((port)+IOP_SYN_OFFSET, data) argument
901 #define AscSetPCAddr(port, data) outpw((port)+IOP_REG_PC, data) argument
902 #define AscGetPCAddr(port) (ushort)inpw((port)+IOP_REG_PC) argument
903 #define AscIsIntPending(port) (AscGetChipStatus(port) & (CSW_INT_PENDING | CSW_SCSI_RES… argument
904 #define AscGetChipScsiID(port) ((AscGetChipCfgLsw(port) >> 8) & ASC_MAX_TID) argument
905 #define AscGetExtraControl(port) (uchar)inp((port)+IOP_EXTRA_CONTROL) argument
906 #define AscSetExtraControl(port, data) outp((port)+IOP_EXTRA_CONTROL, data) argument
907 #define AscReadChipAX(port) (ushort)inpw((port)+IOP_REG_AX) argument
908 #define AscWriteChipAX(port, data) outpw((port)+IOP_REG_AX, data) argument
909 #define AscReadChipIX(port) (uchar)inp((port)+IOP_REG_IX) argument
910 #define AscWriteChipIX(port, data) outp((port)+IOP_REG_IX, data) argument
911 #define AscReadChipIH(port) (ushort)inpw((port)+IOP_REG_IH) argument
912 #define AscWriteChipIH(port, data) outpw((port)+IOP_REG_IH, data) argument
913 #define AscReadChipQP(port) (uchar)inp((port)+IOP_REG_QP) argument
914 #define AscWriteChipQP(port, data) outp((port)+IOP_REG_QP, data) argument
915 #define AscReadChipFIFO_L(port) (ushort)inpw((port)+IOP_REG_FIFO_L) argument
916 #define AscWriteChipFIFO_L(port, data) outpw((port)+IOP_REG_FIFO_L, data) argument
917 #define AscReadChipFIFO_H(port) (ushort)inpw((port)+IOP_REG_FIFO_H) argument
918 #define AscWriteChipFIFO_H(port, data) outpw((port)+IOP_REG_FIFO_H, data) argument
919 #define AscReadChipDmaSpeed(port) (uchar)inp((port)+IOP_DMA_SPEED) argument
920 #define AscWriteChipDmaSpeed(port, data) outp((port)+IOP_DMA_SPEED, data) argument
921 #define AscReadChipDA0(port) (ushort)inpw((port)+IOP_REG_DA0) argument
922 #define AscWriteChipDA0(port) outpw((port)+IOP_REG_DA0, data) argument
923 #define AscReadChipDA1(port) (ushort)inpw((port)+IOP_REG_DA1) argument
924 #define AscWriteChipDA1(port) outpw((port)+IOP_REG_DA1, data) argument
925 #define AscReadChipDC0(port) (ushort)inpw((port)+IOP_REG_DC0) argument
926 #define AscWriteChipDC0(port) outpw((port)+IOP_REG_DC0, data) argument
927 #define AscReadChipDC1(port) (ushort)inpw((port)+IOP_REG_DC1) argument
928 #define AscWriteChipDC1(port) outpw((port)+IOP_REG_DC1, data) argument
929 #define AscReadChipDvcID(port) (uchar)inp((port)+IOP_REG_ID) argument
930 #define AscWriteChipDvcID(port, data) outp((port)+IOP_REG_ID, data) argument
1486 #define AdvIsIntPending(port) \ argument