Lines Matching refs:portp
37 static inline unsigned char _ne_inb(void *portp) in _ne_inb() argument
39 return *(volatile unsigned char *)(portp+1); in _ne_inb()
42 static inline unsigned short _ne_inw(void *portp) in _ne_inw() argument
46 tmp = *(unsigned short *)(portp) & 0xff; in _ne_inw()
47 tmp |= *(unsigned short *)(portp+2) << 8; in _ne_inw()
51 static inline void _ne_insb(void *portp, void *addr, unsigned long count) in _ne_insb() argument
55 *buf++ = *(volatile unsigned char *)(portp+1); in _ne_insb()
58 static inline void _ne_outb(unsigned char b, void *portp) in _ne_outb() argument
60 *(volatile unsigned char *)(portp+1) = b; in _ne_outb()
63 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
65 *(volatile unsigned short *)portp = (w >> 8); in _ne_outw()
66 *(volatile unsigned short *)(portp+2) = (w & 0xff); in _ne_outw()
156 unsigned char *portp = PORT2ADDR(port); in _insb() local
158 *buf++ = *(volatile unsigned char *)portp; in _insb()
165 unsigned short *portp; in _insw() local
168 portp = PORT2ADDR_NE(port); in _insw()
170 *buf++ = _ne_inw(portp); in _insw()
172 portp = PORT2ADDR(port); in _insw()
174 *buf++ = *(volatile unsigned short *)portp; in _insw()
181 unsigned long *portp; in _insl() local
183 portp = PORT2ADDR(port); in _insl()
185 *buf++ = *(volatile unsigned long *)portp; in _insl()
191 unsigned char *portp; in _outsb() local
194 portp = PORT2ADDR_NE(port); in _outsb()
196 _ne_outb(*buf++, portp); in _outsb()
198 portp = PORT2ADDR(port); in _outsb()
200 *(volatile unsigned char *)portp = *buf++; in _outsb()
207 unsigned short *portp; in _outsw() local
210 portp = PORT2ADDR_NE(port); in _outsw()
212 _ne_outw(*buf++, portp); in _outsw()
214 portp = PORT2ADDR(port); in _outsw()
216 *(volatile unsigned short *)portp = *buf++; in _outsw()
223 unsigned char *portp; in _outsl() local
225 portp = PORT2ADDR(port); in _outsl()
227 *(volatile unsigned long *)portp = *buf++; in _outsl()