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

Lines Matching defs:port

32 u8 generic_inb(unsigned long port)
34 return ctrl_inb((unsigned long __force)ioport_map(port, 1));
37 u16 generic_inw(unsigned long port)
39 return ctrl_inw((unsigned long __force)ioport_map(port, 2));
42 u32 generic_inl(unsigned long port)
44 return ctrl_inl((unsigned long __force)ioport_map(port, 4));
47 u8 generic_inb_p(unsigned long port)
49 unsigned long v = generic_inb(port);
55 u16 generic_inw_p(unsigned long port)
57 unsigned long v = generic_inw(port);
63 u32 generic_inl_p(unsigned long port)
65 unsigned long v = generic_inl(port);
72 * insb/w/l all read a series of bytes/words/longs from a fixed port
73 * address. However as the port address doesn't change we only need to
74 * convert the port address to real address once.
77 void generic_insb(unsigned long port, void *dst, unsigned long count)
82 port_addr = (volatile u8 *)ioport_map(port, 1);
87 void generic_insw(unsigned long port, void *dst, unsigned long count)
92 port_addr = (volatile u16 *)ioport_map(port, 2);
99 void generic_insl(unsigned long port, void *dst, unsigned long count)
104 port_addr = (volatile u32 *)ioport_map(port, 4);
111 void generic_outb(u8 b, unsigned long port)
113 ctrl_outb(b, (unsigned long __force)ioport_map(port, 1));
116 void generic_outw(u16 b, unsigned long port)
118 ctrl_outw(b, (unsigned long __force)ioport_map(port, 2));
121 void generic_outl(u32 b, unsigned long port)
123 ctrl_outl(b, (unsigned long __force)ioport_map(port, 4));
126 void generic_outb_p(u8 b, unsigned long port)
128 generic_outb(b, port);
132 void generic_outw_p(u16 b, unsigned long port)
134 generic_outw(b, port);
138 void generic_outl_p(u32 b, unsigned long port)
140 generic_outl(b, port);
145 * outsb/w/l all write a series of bytes/words/longs to a fixed port
146 * address. However as the port address doesn't change we only need to
147 * convert the port address to real address once.
149 void generic_outsb(unsigned long port, const void *src, unsigned long count)
154 port_addr = (volatile u8 __force *)ioport_map(port, 1);
160 void generic_outsw(unsigned long port, const void *src, unsigned long count)
165 port_addr = (volatile u16 __force *)ioport_map(port, 2);
173 void generic_outsl(unsigned long port, const void *src, unsigned long count)
178 port_addr = (volatile u32 __force *)ioport_map(port, 4);