• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/platforms/mappi3/

Lines Matching refs:portp

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