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

Lines Matching defs:port

123  * Read COUNT 8-bit bytes from port PORT into memory starting at
126 void insb (unsigned long port, void *dst, unsigned long count)
136 *p = inb(port);
143 w = inb(port) << 24;
144 w |= inb(port) << 16;
145 w |= inb(port) << 8;
146 w |= inb(port);
153 *p = inb(port);
160 * Read COUNT 16-bit words from port PORT into memory starting at
166 void insw (unsigned long port, void *dst, unsigned long count)
182 l = cpu_to_le16(inw(port)) << 16;
183 l |= cpu_to_le16(inw(port));
188 *(unsigned short *)p = cpu_to_le16(inw(port));
193 *(unsigned short *)p = cpu_to_le16(inw(port));
199 l = cpu_to_le16(inw(port)) << 16;
200 l |= cpu_to_le16(inw(port));
205 *(unsigned short *)p = cpu_to_le16(inw(port));
215 l = cpu_to_le16(inw(port));
220 l2 = cpu_to_le16(inw(port));
233 * Read COUNT 32-bit words from port PORT into memory starting at
238 void insl (unsigned long port, void *dst, unsigned long count)
253 *(unsigned int *)p = cpu_to_le32(inl(port));
261 l = cpu_to_le32(inl(port));
267 l2 = cpu_to_le32(inl(port));
277 l = cpu_to_le32(inl(port));
284 l2 = cpu_to_le32(inl(port));
294 l = cpu_to_le32(inl(port));
299 l2 = cpu_to_le32(inl(port));
318 void outsb(unsigned long port, const void * src, unsigned long count)
325 outb(*p, port);
336 void outsw (unsigned long port, const void *src, unsigned long count)
353 outw(le16_to_cpu(l >> 16), port);
354 outw(le16_to_cpu(l & 0xffff), port);
357 outw(le16_to_cpu(*(unsigned short*)p), port);
363 outw(le16_to_cpu(*(unsigned short*)p), port);
371 outw(le16_to_cpu(l >> 16), port);
372 outw(le16_to_cpu(l & 0xffff), port);
375 outw(le16_to_cpu(*(unsigned short *)p), port);
391 outw(le16_to_cpu(l | l2 >> 8), port);
395 outw (le16_to_cpu(l | l2>>8), port);
408 void outsl (unsigned long port, const void *src, unsigned long count)
423 outl(le32_to_cpu(*(unsigned int *)p), port);
438 outl (le32_to_cpu(l << 16 | l2 >> 16), port);
442 outl (le32_to_cpu(l << 16 | l2), port);
456 outl (le32_to_cpu(l | l2 >> 24), port);
460 outl (le32_to_cpu(l | l2), port);
472 outl (le32_to_cpu(l | l2 >> 8), port);
478 outl (le32_to_cpu(l | l2), port);