Lines Matching refs:portp
80 static inline unsigned char _ne_inb(void *portp) in _ne_inb() argument
82 return *(volatile unsigned char *)portp; in _ne_inb()
85 static inline unsigned short _ne_inw(void *portp) in _ne_inw() argument
87 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp); in _ne_inw()
90 static inline void _ne_insb(void *portp, void *addr, unsigned long count) in _ne_insb() argument
95 *buf++ = _ne_inb(portp); in _ne_insb()
98 static inline void _ne_outb(unsigned char b, void *portp) in _ne_outb() argument
100 *(volatile unsigned char *)portp = b; in _ne_outb()
103 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
105 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw()
195 unsigned char *portp = PORT2ADDR(port); in _insb() local
197 *buf++ = *(volatile unsigned char *)portp; in _insb()
204 unsigned short *portp; in _insw() local
211 portp = PORT2ADDR_NE(port); in _insw()
213 *buf++ = *(volatile unsigned short *)portp; in _insw()
221 portp = __port2addr_ata(port); in _insw()
223 *buf++ = *(volatile unsigned short *)portp; in _insw()
226 portp = PORT2ADDR(port); in _insw()
228 *buf++ = *(volatile unsigned short *)portp; in _insw()
235 unsigned long *portp; in _insl() local
237 portp = PORT2ADDR(port); in _insl()
239 *buf++ = *(volatile unsigned long *)portp; in _insl()
245 unsigned char *portp; in _outsb() local
248 portp = PORT2ADDR_NE(port); in _outsb()
250 _ne_outb(*buf++, portp); in _outsb()
252 portp = PORT2ADDR(port); in _outsb()
254 *(volatile unsigned char *)portp = *buf++; in _outsb()
261 unsigned short *portp; in _outsw() local
268 portp = PORT2ADDR_NE(port); in _outsw()
270 *(volatile unsigned short *)portp = *buf++; in _outsw()
273 portp = __port2addr_ata(port); in _outsw()
275 *(volatile unsigned short *)portp = *buf++; in _outsw()
283 portp = PORT2ADDR(port); in _outsw()
285 *(volatile unsigned short *)portp = *buf++; in _outsw()
292 unsigned char *portp; in _outsl() local
294 portp = PORT2ADDR(port); in _outsl()
296 *(volatile unsigned long *)portp = *buf++; in _outsl()