• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m32r/kernel/

Lines Matching defs:portp

84 static inline unsigned char _ne_inb(void *portp)
86 return (unsigned char) *(volatile unsigned char *)portp;
89 static inline unsigned short _ne_inw(void *portp)
91 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
94 static inline void _ne_insb(void *portp, void * addr, unsigned long count)
99 *buf++ = *(volatile unsigned char *)portp;
102 static inline void _ne_outb(unsigned char b, void *portp)
104 *(volatile unsigned char *)portp = (unsigned char)b;
107 static inline void _ne_outw(unsigned short w, void *portp)
109 *(volatile unsigned short *)portp = cpu_to_le16(w);
265 unsigned char *portp = __port2addr_ata(port);
267 *buf++ = *(volatile unsigned char *)portp;
278 unsigned char *portp = PORT2ADDR(port);
280 *buf++ = *(volatile unsigned char *)portp;
287 unsigned short *portp;
290 portp = PORT2ADDR_NE(port);
292 *buf++ = *(volatile unsigned short *)portp;
300 portp = __port2addr_ata(port);
302 *buf++ = *(volatile unsigned short *)portp;
305 portp = PORT2ADDR(port);
307 *buf++ = *(volatile unsigned short *)portp;
314 unsigned long *portp;
316 portp = PORT2ADDR(port);
318 *buf++ = *(volatile unsigned long *)portp;
324 unsigned char *portp;
327 portp = PORT2ADDR_NE(port);
329 _ne_outb(*buf++, portp);
332 portp = __port2addr_ata(port);
334 *(volatile unsigned char *)portp = *buf++;
342 portp = PORT2ADDR(port);
344 *(volatile unsigned char *)portp = *buf++;
351 unsigned short *portp;
354 portp = PORT2ADDR_NE(port);
356 *(volatile unsigned short *)portp = *buf++;
359 portp = __port2addr_ata(port);
361 *(volatile unsigned short *)portp = *buf++;
369 portp = PORT2ADDR(port);
371 *(volatile unsigned short *)portp = *buf++;
378 unsigned char *portp;
380 portp = PORT2ADDR(port);
382 *(volatile unsigned long *)portp = *buf++;