• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/

Lines Matching defs:port

58 #include "port.h"
104 tty = PortP->gs.port.tty;
107 rio_dprintk(RIO_DEBUG_INTR, "tx port %d: %d chars queued.\n", PortP->PortNum, PortP->gs.xmit_cnt);
134 rio_dprintk(RIO_DEBUG_INTR, "rio: tx port %d: copying %d chars: %s - %s\n", PortP->PortNum, c, firstchars(PortP->gs.xmit_buf + PortP->gs.xmit_tail, t), firstchars(PortP->gs.xmit_buf + PortP->gs.xmit_tail + c - t, t));
148 ** Count chars tx'd for port statistics reporting
160 tty_wakeup(PortP->gs.port.tty);
194 int port;
202 ** Loop through every port. If the port is mapped into
204 ** worth checking. If the port isn't open, grab any packets
208 for (port = p->RIOFirstPortsBooted; port < p->RIOLastPortsBooted + PORTS_PER_RTA; port++) {
209 struct Port *PortP = p->RIOPortp[port];
219 port += 7;
220 continue; /* with the next port */
228 port += 7;
233 ** Let us see - is the port open? If not, then don't service it.
243 ttyP = PortP->gs.port.tty;
246 ** Lock the port before we begin working on it.
257 ** If there is no data left to be read from the port, and
274 int port;
283 ** Loop through every port.
284 ** If the port is mapped into the system ( i.e. has /dev/ttyXXXX
287 for (port = p->RIOFirstPortsBooted; port < p->RIOLastPortsBooted + PORTS_PER_RTA; port++) {
288 struct Port *PortP = p->RIOPortp[port];
297 port += 7;
298 continue; /* with the next port */
306 port += 7;
307 continue; /* with the next port */
311 ** Let us see - is the port open? If not, then don't service it.
317 rio_dprintk(RIO_DEBUG_INTR, "rio: Looking into port %d.\n", port);
319 ** Lock the port before we begin working on it.
328 rio_dprintk(RIO_DEBUG_INTR, "Can't add to port, so skipping.\n");
337 ttyP = PortP->gs.port.tty;
338 /* If ttyP is NULL, the port is getting closed. Forget about it. */
373 ** ports are in this condition, and re-open the port before
393 ** If we can't param the port, then move on to the
394 ** next port.
400 continue; /* with next port */
410 rio_dprintk(RIO_DEBUG_INTR, "Want to WFLUSH mark this port\n");
431 ** If second block of ports for 16 port RTA, add 8
465 ** Count chars tx'd for port statistics reporting
532 ** a pointer per port saying where we start taking the
544 TtyP = PortP->gs.port.tty;
610 rio_dprintk(RIO_DEBUG_REC, "port %d: Copy %d bytes\n", PortP->PortNum, transCount);
639 rio_dprintk(RIO_DEBUG_REC, "port %d: pushing tty flip buffer: %d total bytes copied.\n", PortP->PortNum, copied);