Lines Matching refs:portp
88 static inline unsigned char _ne_inb(void *portp) in _ne_inb() argument
90 return *(volatile unsigned char *)portp; in _ne_inb()
93 static inline unsigned short _ne_inw(void *portp) in _ne_inw() argument
95 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp); in _ne_inw()
98 static inline void _ne_insb(void *portp, void *addr, unsigned long count) in _ne_insb() argument
103 *buf++ = _ne_inb(portp); in _ne_insb()
106 static inline void _ne_outb(unsigned char b, void *portp) in _ne_outb() argument
108 *(volatile unsigned char *)portp = b; in _ne_outb()
111 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
113 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw()
269 unsigned char *portp = __port2addr_ata(port); in _insb() local
271 *buf++ = *(volatile unsigned char *)portp; in _insb()
282 unsigned char *portp = PORT2ADDR(port); in _insb() local
284 *buf++ = *(volatile unsigned char *)portp; in _insb()
291 unsigned short *portp; in _insw() local
298 portp = PORT2ADDR_NE(port); in _insw()
300 *buf++ = *(volatile unsigned short *)portp; in _insw()
308 portp = __port2addr_ata(port); in _insw()
310 *buf++ = *(volatile unsigned short *)portp; in _insw()
313 portp = PORT2ADDR(port); in _insw()
315 *buf++ = *(volatile unsigned short *)portp; in _insw()
322 unsigned long *portp; in _insl() local
324 portp = PORT2ADDR(port); in _insl()
326 *buf++ = *(volatile unsigned long *)portp; in _insl()
332 unsigned char *portp; in _outsb() local
335 portp = PORT2ADDR_NE(port); in _outsb()
337 _ne_outb(*buf++, portp); in _outsb()
340 portp = __port2addr_ata(port); in _outsb()
342 *(volatile unsigned char *)portp = *buf++; in _outsb()
350 portp = PORT2ADDR(port); in _outsb()
352 *(volatile unsigned char *)portp = *buf++; in _outsb()
359 unsigned short *portp; in _outsw() local
366 portp = PORT2ADDR_NE(port); in _outsw()
368 *(volatile unsigned short *)portp = *buf++; in _outsw()
371 portp = __port2addr_ata(port); in _outsw()
373 *(volatile unsigned short *)portp = *buf++; in _outsw()
381 portp = PORT2ADDR(port); in _outsw()
383 *(volatile unsigned short *)portp = *buf++; in _outsw()
390 unsigned char *portp; in _outsl() local
392 portp = PORT2ADDR(port); in _outsl()
394 *(volatile unsigned long *)portp = *buf++; in _outsl()