Lines Matching refs:portp
52 static inline unsigned char _ne_inb(void *portp) in _ne_inb() argument
54 return (unsigned char) *(volatile unsigned short *)portp; in _ne_inb()
57 static inline unsigned short _ne_inw(void *portp) in _ne_inw() argument
61 tmp = *(volatile unsigned short *)portp; in _ne_inw()
65 static inline void _ne_outb(unsigned char b, void *portp) in _ne_outb() argument
67 *(volatile unsigned short *)portp = (unsigned short)b; in _ne_outb()
70 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
72 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw()
214 unsigned short *portp; in _insb() local
217 portp = PORT2ADDR_NE(port); in _insb()
219 *buf++ = *(volatile unsigned char *)portp; in _insb()
229 portp = PORT2ADDR(port); in _insb()
231 *buf++ = *(volatile unsigned char *)portp; in _insb()
238 unsigned short *portp; in _insw() local
241 portp = PORT2ADDR_NE(port); in _insw()
243 *buf++ = _ne_inw(portp); in _insw()
253 portp = PORT2ADDR(port); in _insw()
255 *buf++ = *(volatile unsigned short *)portp; in _insw()
262 unsigned long *portp; in _insl() local
264 portp = PORT2ADDR(port); in _insl()
266 *buf++ = *(volatile unsigned long *)portp; in _insl()
272 unsigned char *portp; in _outsb() local
275 portp = PORT2ADDR_NE(port); in _outsb()
277 _ne_outb(*buf++, portp); in _outsb()
287 portp = PORT2ADDR(port); in _outsb()
289 *(volatile unsigned char *)portp = *buf++; in _outsb()
296 unsigned short *portp; in _outsw() local
299 portp = PORT2ADDR_NE(port); in _outsw()
301 _ne_outw(*buf++, portp); in _outsw()
311 portp = PORT2ADDR(port); in _outsw()
313 *(volatile unsigned short *)portp = *buf++; in _outsw()
320 unsigned char *portp; in _outsl() local
322 portp = PORT2ADDR(port); in _outsl()
324 *(volatile unsigned long *)portp = *buf++; in _outsl()