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