Lines Matching defs:data
95 unsigned char wrbuf[5*64]; /* Buffer for collecting data to write */
96 short wrfilled; /* Overall data size we already got */
180 /* To much data for buffer. Reset buffer. */
187 /* Copy data */
195 dev_dbg(dev, "%s - expected data: %d\n", __func__, wrexpected);
200 /* We have enough data to begin transmission */
203 dev_dbg(dev, "%s - transmitting data (frame 1)\n", __func__);
213 /* send the data out the bulk port */
219 /* Throw away data. No better idea what to do with it. */
254 unsigned char *data = urb->transfer_buffer;
263 usb_serial_debug_data(dev, __func__, urb->actual_length, data);
266 if (urb->actual_length == 4 && data[0] == 0x01) {
270 unsigned short size = ((unsigned short)data[3]<<8)+data[2]+3;
310 unsigned char *data = urb->transfer_buffer;
316 usb_serial_debug_data(dev, __func__, urb->actual_length, data);
324 tty_insert_flip_string(&port->port, data, urb->actual_length);
369 /* only do something if we have more data to send */
373 dev_dbg(dev, "%s - transmitting data (frame n)\n", __func__);
385 /* send the data out the bulk port */
390 /* Throw away data. No better idea what to do with it. */