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

Lines Matching defs:number

85 	unsigned int	size;	/* Max size of queue (equal to Max number of TxCredits) */
146 __s16 rxBytesAvail; /* the number of bytes that we need to read from this device */
155 __s16 rxBytesRemaining; /* the number of port bytes left to read */
669 /* decrement our rxBytes available by the number that we just got */
784 * Otherwise we return a negative error number.
793 dbg("%s - port %d", __func__, port->number);
913 __func__, port->number, edge_port->maxTxCredits);
1038 dbg("%s - port %d", __func__, port->number);
1097 * If successful, we return the number of bytes written, otherwise we
1098 * return a negative error number.
1111 dbg("%s - port %d", __func__, port->number);
1121 /* calculate number of bytes to put in fifo */
1126 __func__, port->number, count,
1215 dbg("%s(%d)", __func__, edge_port->port->number);
1223 __func__, edge_port->port->number,
1237 __func__, edge_port->port->number, fifo->count,
1262 buffer[0] = IOSP_BUILD_DATA_HDR1(edge_port->port->number
1264 buffer[1] = IOSP_BUILD_DATA_HDR2(edge_port->port->number
1295 /* decrement the number of credits we have by the number we just sent */
1325 * otherwise we return a negative error number.
1341 dbg("%s - port %d", __func__, port->number);
1363 * If successful, we return the number of bytes left to be written in the
1365 * Otherwise we return a negative error number.
1392 port->number, num_chars);
1410 dbg("%s - port %d", __func__, port->number);
1452 dbg("%s - port %d", __func__, port->number);
1495 dbg("%s - port %d", __func__, port->number);
1546 dbg("%s - port %d", __func__, port->number);
1578 dbg("%s - port %d", __func__, port->number);
1607 tmp.port = edge_port->port->number;
1636 dbg("%s - port %d, cmd = 0x%x", __func__, port->number, cmd);
1640 dbg("%s (%d) TIOCSERGETLSR", __func__, port->number);
1644 dbg("%s (%d) TIOCGSERIAL", __func__, port->number);
1648 dbg("%s (%d) TIOCMIWAIT", __func__, port->number);
1689 __func__, port->number, icount.rx, icount.tx);
2121 * writes a number of bytes to the Edgeport device's sram starting at the
2123 * If successful returns the number of bytes written, otherwise it returns
2124 * a negative error number of the problem.
2172 * writes a number of bytes to the Edgeport device's ROM starting at the
2174 * If successful returns the number of bytes written, otherwise it returns
2175 * a negative error number of the problem.
2222 * reads a number of bytes from the Edgeport device starting at the given
2224 * If successful returns the number of bytes read, otherwise it returns
2225 * a negative error number of the problem.
2294 edge_port->port->number - edge_port->port->serial->minor,
2372 unsigned char number =
2373 edge_port->port->number - edge_port->port->serial->minor;
2378 edge_port->port->number, baudRate);
2383 edge_port->port->number, baudRate);
2402 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE);
2405 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, DLL, LOW8(divisor));
2406 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, DLM, HIGH8(divisor));
2409 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR,
2499 edge_port->port->number - edge_port->port->serial->minor,
2533 dbg("%s - port %d", __func__, edge_port->port->number);
2943 /* set the number of ports from the manufacturing description */