Lines Matching refs:inpw
211 #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) &\
600 (inpw(PAGE_RG_A) & POS_PAGE) | PROG_EN); \
603 outpw(PAGE_RG_A,(inpw(PAGE_RG_A) & POS_PAGE)); \
610 #define GET_ISR() ~inpw(ISR1_A)
612 #define CHECK_ISR() ~inpw(ISR1_A)
613 #define CHECK_ISR_SMP(iop) ~inpw((iop)+ISRA)
615 #define CHECK_ISR() (~inpw(ISR1_A) | ~inpw(ISR2_A))
616 #define CHECK_ISR_SMP(iop) (~inpw((iop)+ISRA) | ~inpw((iop)+ISR2))
619 #define DMA_BUSY() (inpw(CSF_A) & CSF_BUSY_DMA)
620 #define FIFO_BUSY() (inpw(CSF_A) & CSF_BUSY_FIFO)
621 #define DMA_FIFO_BUSY() (inpw(CSF_A) & (CSF_BUSY_DMA | CSF_BUSY_FIFO))
672 while ((k) && (~inpw(ISR2_A) & IS_TC)) (k)-- ;\
735 #define READ_PROM(a) ((u_char)inpw(a))
740 #define VPP_OFF() outpw(CSR_A,(inpw(CSR_A) & (CS_CRESET|CS_BYPASS)))
741 #define VPP_ON() outpw(CSR_A,(inpw(CSR_A) & (CS_CRESET|CS_BYPASS)) | \
771 #define FPROM_SW() (inpw(CSR_A)&CS_SW_EPROM)
772 #define DMA_BUSY() (inpw(CSR_A)&CS_BUSY)
783 #define CLI_FBI() outpw(CSR_A,(inpw(CSR_A)&(CS_CRESET|CS_BYPASS|CS_VPPSW)))
789 #define CLI_FBI(smc) outpw(CSR_AS(smc),(inpw(CSR_AS(smc))& \
794 #define STI_FBI() outpw(CSR_A,(inpw(CSR_A) & \
797 #define STI_FBI(smc) outpw(CSR_AS(smc),(inpw(CSR_AS(smc)) & \
805 #define GET_ISR() ~inpw(ISR_A)
1827 #define CLEAR(io,mask) outpw((io),inpw(io)&(~(mask)))
1828 #define SET(io,mask) outpw((io),inpw(io)|(mask))
1829 #define GET(io,mask) (inpw(io)&(mask))
1830 #define SETMASK(io,val,mask) outpw((io),(inpw(io) & ~(mask)) | (val))
1853 #define MDRR() (((long)inpw(FM_A(FM_MDRU))<<16) + inpw(FM_A(FM_MDRL)))
1856 #define GET_ST1() (((long)inpw(FM_A(FM_ST1U))<<16) + inpw(FM_A(FM_ST1L)))
1857 #define GET_ST2() (((long)inpw(FM_A(FM_ST2U))<<16) + inpw(FM_A(FM_ST2L)))
1859 #define GET_ST3() (((long)inpw(FM_A(FM_ST3U))<<16) + inpw(FM_A(FM_ST3L)))
1876 #define IN_82c54_TIMER(port) ((inpw(TI_A(port))>>8) & 0xff)