• Home
  • Raw
  • Download

Lines Matching refs:portp

99 static inline unsigned char _ne_inb(void *portp)  in _ne_inb()  argument
101 return (unsigned char) *(volatile unsigned char *)portp; in _ne_inb()
104 static inline unsigned short _ne_inw(void *portp) in _ne_inw() argument
106 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp); in _ne_inw()
109 static inline void _ne_insb(void *portp, void * addr, unsigned long count) in _ne_insb() argument
114 *buf++ = *(volatile unsigned char *)portp; in _ne_insb()
117 static inline void _ne_outb(unsigned char b, void *portp) in _ne_outb() argument
119 *(volatile unsigned char *)portp = (unsigned char)b; in _ne_outb()
122 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
124 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw()
284 unsigned char *portp = __port2addr_ata(port); in _insb() local
286 *buf++ = *(volatile unsigned char *)portp; in _insb()
297 unsigned char *portp = PORT2ADDR(port); in _insb() local
299 *buf++ = *(volatile unsigned char *)portp; in _insb()
306 unsigned short *portp; in _insw() local
309 portp = PORT2ADDR_NE(port); in _insw()
311 *buf++ = *(volatile unsigned short *)portp; in _insw()
320 portp = __port2addr_ata(port); in _insw()
322 *buf++ = *(volatile unsigned short *)portp; in _insw()
325 portp = PORT2ADDR(port); in _insw()
327 *buf++ = *(volatile unsigned short *)portp; in _insw()
334 unsigned long *portp; in _insl() local
336 portp = PORT2ADDR(port); in _insl()
338 *buf++ = *(volatile unsigned long *)portp; in _insl()
344 unsigned char *portp; in _outsb() local
347 portp = PORT2ADDR_NE(port); in _outsb()
349 _ne_outb(*buf++, portp); in _outsb()
353 portp = __port2addr_ata(port); in _outsb()
355 *(volatile unsigned char *)portp = *buf++; in _outsb()
363 portp = PORT2ADDR(port); in _outsb()
365 *(volatile unsigned char *)portp = *buf++; in _outsb()
372 unsigned short *portp; in _outsw() local
375 portp = PORT2ADDR_NE(port); in _outsw()
377 *(volatile unsigned short *)portp = *buf++; in _outsw()
381 portp = __port2addr_ata(port); in _outsw()
383 *(volatile unsigned short *)portp = *buf++; in _outsw()
391 portp = PORT2ADDR(port); in _outsw()
393 *(volatile unsigned short *)portp = *buf++; in _outsw()
400 unsigned char *portp; in _outsl() local
402 portp = PORT2ADDR(port); in _outsl()
404 *(volatile unsigned long *)portp = *buf++; in _outsl()