Lines Matching refs:data
81 #define RQ_VENDOR_ROM_DATA 0x18 /* Rom file data */
83 #define RQ_VENDOR_FW_DATA 0x20 /* Firmware data */
189 * bytes of data in the message. Return the number of bytes in the
214 u8 *data, size_t size)
223 data, size,
246 u8 *data, size_t size)
255 data, size,
274 /* Send a vendor request without any data */
286 * data being read from the port. Since all the data comes over one
288 * port->throttle. Instead tell the device to stop sending us data for
306 * the data being read from the port. Tell the device it can resume
307 * sending us received data from the port.
322 * Processes one chunk of data received for a port. Mostly a copy of
326 char *data, int size)
331 for (i = 0; i < size; i++, data++) {
332 if (!usb_serial_handle_sysrq_char(port, *data))
333 tty_insert_flip_char(&port->port, *data,
337 tty_insert_flip_string(&port->port, data, size);
455 * sending the device data and it will buffer it if
467 * One URB can contain data for multiple ports. Demultiplex the data,
474 u8 *data = urb->transfer_buffer;
475 u8 *end = data + urb->actual_length;
481 while (data < end) {
482 if (data + HEADER_SIZE > end) {
488 rcv_port = get_unaligned_be16(data);
496 rcv_len = get_unaligned_be16(data + 2);
497 if (!rcv_len || data + HEADER_SIZE + rcv_len > end) {
498 dev_warn(&port->dev, "%s - short data\n", __func__);
503 ch = data + HEADER_SIZE;
506 dev_dbg(&demux_port->dev, "%s - data for closed port\n",
509 data += HEADER_SIZE + rcv_len;
521 u8 *data = urb->transfer_buffer;
522 u8 *end = data + urb->actual_length;
528 while (data < end) {
529 if (data + EVENT_LENGTH > end) {
535 rcv_port = get_unaligned_be16(data);
544 ch = data + HEADER_SIZE;
545 rcv_event = get_unaligned_be16(data + 2);
552 data += EVENT_LENGTH;
557 * This is called when we have received data on the bulk in
559 * contain serial data or events.
865 /* Set data bit of termios */
1027 memcpy(fw_buf, &fw_p->data[fwidx], txlen);
1090 local_ver = ((fw_p->data[VER_ADDR_1] << 16) |
1091 (fw_p->data[VER_ADDR_2] << 8) |
1092 fw_p->data[VER_ADDR_3]);
1095 fw_p->data[VER_ADDR_1], fw_p->data[VER_ADDR_2],
1096 fw_p->data[VER_ADDR_3]);
1139 /* Set the port private data */
1167 * All data from the ports is received on the first bulk in