Lines Matching defs:data

433 	unsigned char *data = port->write_urb->transfer_buffer;
457 /* guarantee the write will send buffered data first, */
458 /* so commands are in order with data and not split */
463 /* write any buffered data first */
465 data[0] = DIGI_CMD_SEND_DATA;
466 data[1] = priv->dp_out_buf_len;
467 memcpy(data + 2, priv->dp_out_buf,
469 memcpy(data + 2 + priv->dp_out_buf_len, buf, len);
473 memcpy(data, buf, len);
514 unsigned char *data = oob_port->write_urb->transfer_buffer;
534 data[0] = DIGI_CMD_SET_DTR_SIGNAL;
535 data[1] = port_priv->dp_port_num;
536 data[2] = (modem_signals & TIOCM_DTR) ?
538 data[3] = 0;
539 data[4] = DIGI_CMD_SET_RTS_SIGNAL;
540 data[5] = port_priv->dp_port_num;
541 data[6] = (modem_signals & TIOCM_RTS) ?
543 data[7] = 0;
891 unsigned char *data = port->write_urb->transfer_buffer;
897 /* copy user data (which can sleep) before getting spin lock */
907 /* buffer data if count is 1 (probably put_char) if possible */
918 /* allow space for any buffered data and for new data, up to */
930 *data++ = DIGI_CMD_SEND_DATA;
931 *data++ = data_len;
933 /* copy in buffered data first */
934 memcpy(data, priv->dp_out_buf, priv->dp_out_buf_len);
935 data += priv->dp_out_buf_len;
937 /* copy in new data */
938 memcpy(data, buf, new_len);
947 /* return length of new data written, or error */
994 /* try to send any buffered data on this port */
1350 * the data on to the tty subsystem. When called we know port and
1365 unsigned char *data;
1384 dev_err(&port->dev, "malformed data packet received\n");
1396 /* receive data */
1399 data = &buf[3];
1417 /* data length is len-1 (one byte of len is port_status) */
1420 tty_insert_flip_string_fixed_flag(&port->port, data,