Home
last modified time | relevance | path

Searched refs:inpw (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/net/skfp/h/
Dskfbi.h211 #define DMA_BUSY() (inpw(CSF_A) & CSF_BUSY_DMA)
212 #define FIFO_BUSY() (inpw(CSF_A) & CSF_BUSY_FIFO)
213 #define DMA_FIFO_BUSY() (inpw(CSF_A) & (CSF_BUSY_DMA | CSF_BUSY_FIFO))
235 #define GET_ISR() ~inpw(ISR_A)
236 #define CHECK_ISR() ~inpw(ISR_A)
240 #define CLI_FBI() outpw(CSR_A,(inpw(CSR_A)&\
247 #define CLI_FBI(smc) outpw(CSR_AS(smc),(inpw(CSR_AS(smc))&\
252 #define STI_FBI() outpw(CSR_A,(inpw(CSR_A)&\
255 #define STI_FBI(smc) outpw(CSR_AS(smc),(inpw(CSR_AS(smc))&\
596 #define GET_PAGE(bank) outpw(PAGE_RG_A,(inpw(PAGE_RG_A) &\
[all …]
Dtypes.h34 #define inpw(p) inw(p) macro
41 #define inpw(a) readw(a) macro
/linux-2.4.37.9/drivers/net/skfp/
Ddrvfbi.c146 (void)inpw(ISR_A) ;
156 (void)inpw(ISR_A) ;
164 (void)inpw(ISR_A) ;
177 if (inpw(CSA_A) & (POS_EN_CHKINT | POS_EN_BUS_ERR)) {
181 if (!((i = inpw(CSR_A)) & CS_SAS)) {
207 word = inpw(PCI_C(PCI_STATUS)) ;
319 stu = inpw(FM_A(FM_ST1U)) ;
320 stl = inpw(FM_A(FM_ST1L)) ;
379 stu = inpw(FM_A(FM_ST1U)) ;
380 stl = inpw(FM_A(FM_ST1L)) ;
[all …]
Dpcmplc.c451 rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ;
477 (void)inpw(PLC(p,PL_INTR_EVENT)) ; /* clear interrupt event reg */
509 val = inpw(port) & ~(PL_PCM_CNTRL | PL_MAINT) ;
528 state = inpw(PLC(phy,PL_STATUS_A)) & PL_LINE_ST ;
567 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) {
782 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) {
811 (void)inpw(PLC(np,PL_INTR_EVENT)) ;
814 plc_rev = inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK ;
849 if (!(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL))
851 if (((inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK) !=
[all …]
Dfplustm.c59 while ((inpw(FM_A(FM_STMCHN)) & FM_SNPPND) && k) k--;\
66 while (!(inpw(FM_A(FM_AFSTAT)) & FM_DONE) && k) k--;\
115 tneg = (u_long)((long)inpw(FM_A(FM_TNEG))<<5) ;
116 return((u_long)((tneg + ((inpw(FM_A(FM_TMRS))>>10)&0x1f)) |
125 + (u_short) inpw(FM_A(FM_FCNTR)) ;
128 + (u_short) inpw(FM_A(FM_LCNTR)) ;
131 + (u_short) inpw(FM_A(FM_ECNTR)) ;
169 p = (u_long)inpw(FM_A(FM_MDRU))<<16 ;
170 p += (u_long)inpw(FM_A(FM_MDRL)) ;
616 imask = ~(inpw(FM_A(FM_IMSK1U))) ;
[all …]
Dhwmtm.c753 stu = inpw(FM_A(FM_ST1U)) ;
754 stl = inpw(FM_A(FM_ST1L)) ;
759 stu= inpw(FM_A(FM_ST2U)) ;
760 stl= inpw(FM_A(FM_ST2L)) ;
766 stu= inpw(FM_A(FM_ST3U)) ;
767 stl= inpw(FM_A(FM_ST3L)) ;
/linux-2.4.37.9/drivers/scsi/
Dadvansys.c924 #define inpw(port) inw(port) macro
1946 #define AscGetChipSignatureWord(port) (ushort)inpw((port)+IOP_SIG_WORD)
1948 #define AscGetChipCfgLsw(port) (ushort)inpw((port)+IOP_CONFIG_LOW)
1949 #define AscGetChipCfgMsw(port) (ushort)inpw((port)+IOP_CONFIG_HIGH)
1954 #define AscGetChipEEPData(port) (ushort)inpw((port)+IOP_EEP_DATA)
1956 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR))
1958 #define AscGetChipLramData(port) (ushort)inpw((port)+IOP_RAM_DATA)
1962 #define AscGetChipStatus(port) (ASC_CS_TYPE)inpw((port)+IOP_STATUS)
1969 #define AscGetPCAddr(port) (ushort)inpw((port)+IOP_REG_PC)
1974 #define AscReadChipAX(port) (ushort)inpw((port)+IOP_REG_AX)
[all …]