Lines Matching refs:number

38 #define QU2BOXPWRON 0x8000		/* magic number to turn FPGA power on */
158 * indicate the number of bytes sent each time they are received, despite the
167 * @open_count: The number of uses of the port currently having
195 * @param open_ports The number of serial ports currently in use on the box
321 dbg("Device has wrong number of bulk endpoints!");
458 dbg("%s(): port %d", __func__, port->number);
486 status = qt2_openboxchannel(serial, port->number,
490 port->number);
502 port->number);
505 status = qt2_conf_uart(serial, port->number, default_divisor,
509 port->number);
513 port->number);
639 dbg("%s(): port %d", __func__, port->number);
657 status = qt2_box_get_register(serial, port->number,
670 status = qt2_closeboxchannel(serial, port->number);
673 __func__, port->number);
694 * @count: The number of bytes requested for transmission.
695 * @return The number of bytes actually accepted for transmission to the device.
711 __func__, port->number, count, port_extra->tx_pending_bytes);
737 * the number of bytes of real data we can send in each write. As the
758 header_array[2] = (__u8)port->number;
784 result = count; /* return number of bytes written, i.e. count */
795 * The returned value must never go down by more than the number of bytes
799 * less (or any bigger number) because I only wrote 6 bytes.
815 * A: one QT2_FIFO_DEPTH, less the number of bytes waiting to be sent
824 * we decrement the count by the number of bytes reported sent, thus
834 dbg("%s(): port %d: write room is %d", __func__, port->number, room);
846 port->number, port_extra->tx_pending_bytes);
877 port->number, UartNumber, tty);
916 __func__, port->number);
924 __func__, port->number);
958 port->number);
974 dbg("%s(): port %d", __func__, port->number);
978 UartNumber = port->number;
1051 port->number);
1061 port->number);
1099 dbg("%s(): port %d, tty =0x%p", __func__, port->number, tty);
1141 dbg("%s(): port %d, UartNumber %d", __func__, port->number, UartNumber);
1179 dbg("%s(): port %d: no serial object", __func__, port->number);
1187 dbg("%s(): port %d, break_value %d", __func__, port->number,
1198 port->number, NULL, 0, 300);
1201 dbg("%s(): exit port %d", __func__, port->number);
1212 dbg("%s(): port %d", __func__, port->number);
1217 port->number);
1232 qt2_boxstoprx(serial, port->number, 1);
1237 dbg("%s(): port %d: setting port->throttled", __func__, port->number);
1255 port->number);
1258 dbg("%s(): enter port %d", __func__, port->number);
1265 dbg("%s(): port %d not open", __func__, port->number);
1271 port->number);
1275 qt2_boxstoprx(serial, port->number, 0);
1288 dbg("%s(): exit port %d", __func__, port->number);
1310 * default control pipe. If successful return the number of bytes written,
1311 * otherwise return a negative error number of the problem.
1455 active->number);
1581 /* Port number change 4th byte
1699 dbg("%s(): port %d", __func__, port->number);
1714 dbg("%s(): port %d exit", __func__, port->number);
1752 /* reduce the stored data queue length by the known number of bytes
1754 dbg("port %d: %d bytes reported sent, %d still pending", port->number,