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

Lines Matching refs:portp

88 static inline unsigned char _ne_inb(void *portp)
90 return *(volatile unsigned char *)portp;
93 static inline unsigned short _ne_inw(void *portp)
95 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp);
98 static inline void _ne_insb(void *portp, void *addr, unsigned long count)
103 *buf++ = _ne_inb(portp);
106 static inline void _ne_outb(unsigned char b, void *portp)
108 *(volatile unsigned char *)portp = b;
111 static inline void _ne_outw(unsigned short w, void *portp)
113 *(volatile unsigned short *)portp = cpu_to_le16(w);
269 unsigned char *portp = __port2addr_ata(port);
271 *buf++ = *(volatile unsigned char *)portp;
282 unsigned char *portp = PORT2ADDR(port);
284 *buf++ = *(volatile unsigned char *)portp;
291 unsigned short *portp;
298 portp = PORT2ADDR_NE(port);
300 *buf++ = *(volatile unsigned short *)portp;
308 portp = __port2addr_ata(port);
310 *buf++ = *(volatile unsigned short *)portp;
313 portp = PORT2ADDR(port);
315 *buf++ = *(volatile unsigned short *)portp;
322 unsigned long *portp;
324 portp = PORT2ADDR(port);
326 *buf++ = *(volatile unsigned long *)portp;
332 unsigned char *portp;
335 portp = PORT2ADDR_NE(port);
337 _ne_outb(*buf++, portp);
340 portp = __port2addr_ata(port);
342 *(volatile unsigned char *)portp = *buf++;
350 portp = PORT2ADDR(port);
352 *(volatile unsigned char *)portp = *buf++;
359 unsigned short *portp;
366 portp = PORT2ADDR_NE(port);
368 *(volatile unsigned short *)portp = *buf++;
371 portp = __port2addr_ata(port);
373 *(volatile unsigned short *)portp = *buf++;
381 portp = PORT2ADDR(port);
383 *(volatile unsigned short *)portp = *buf++;
390 unsigned char *portp;
392 portp = PORT2ADDR(port);
394 *(volatile unsigned long *)portp = *buf++;