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 */
182 /* To much data for buffer. Reset buffer. */
189 /* Copy data */
197 dev_dbg(dev, "%s - expected data: %d\n", __func__, wrexpected);
202 /* We have enough data to begin transmission */
205 dev_dbg(dev, "%s - transmitting data (frame 1)\n", __func__);
215 /* send the data out the bulk port */
221 /* Throw away data. No better idea what to do with it. */
256 unsigned char *data = urb->transfer_buffer;
265 usb_serial_debug_data(dev, __func__, urb->actual_length, data);
268 if (urb->actual_length == 4 && data[0] == 0x01) {
272 unsigned short size = ((unsigned short)data[3]<<8)+data[2]+3;
312 unsigned char *data = urb->transfer_buffer;
318 usb_serial_debug_data(dev, __func__, urb->actual_length, data);
326 tty_insert_flip_string(&port->port, data, urb->actual_length);
371 /* only do something if we have more data to send */
375 dev_dbg(dev, "%s - transmitting data (frame n)\n", __func__);
387 /* send the data out the bulk port */
392 /* Throw away data. No better idea what to do with it. */