• 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/m32104ut/

Lines Matching refs:portp

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