Lines Matching refs:buffer
148 * This Transmit queue is an extension of the edgeport Rx buffer.
150 * Rx buffer (maxTxCredits) and this buffer will never exceed maxTxCredits.
204 unsigned char *interrupt_in_buffer; /* the buffer we use for the interrupt endpoint */
208 unsigned char *bulk_in_buffer; /* the buffer we use for the bulk in endpoint */
301 unsigned char *buffer, __u16 bufferLength);
320 unsigned char *buffer, int writeLength);
856 /* clean up the transfer buffer */
1171 /* if this urb had a transfer buffer already
1222 * since we can never overflow the buffer we do not have to check for a
1225 * the copy is done is two parts -- first fill to the end of the buffer
1226 * then copy the reset from the start of the buffer
1291 unsigned char *buffer;
1310 * edgeport buffer we do not need to check the write length
1328 /* make sure transfer buffer is freed */
1332 /* build the data header for the buffer and port that we are about
1335 buffer = kmalloc(count+2, GFP_ATOMIC);
1336 if (!buffer) {
1340 buffer[0] = IOSP_BUILD_DATA_HDR1(edge_port->port->port_number, count);
1341 buffer[1] = IOSP_BUILD_DATA_HDR2(edge_port->port->port_number, count);
1346 memcpy(&buffer[2], &fifo->fifo[fifo->tail], firsthalf);
1354 memcpy(&buffer[2+firsthalf], &fifo->fifo[fifo->tail],
1361 usb_serial_debug_data(&edge_port->port->dev, __func__, count, &buffer[2]);
1367 buffer, count+2,
1726 unsigned char *buffer, __u16 bufferLength)
1747 edge_serial->rxHeader1 = *buffer;
1748 ++buffer;
1757 edge_serial->rxHeader2 = *buffer;
1758 ++buffer;
1811 /* Expect data to start next buffer */
1832 edge_tty_recv(edge_port->port, buffer,
1837 buffer += rxLen;
1841 edge_serial->rxHeader3 = *buffer;
1842 ++buffer;
1983 * this function passes data on to the tty flip buffer
2053 /* Place LSR data byte into Rx buffer */
2214 unsigned char *buffer;
2219 buffer = kmalloc(10, GFP_ATOMIC);
2220 if (!buffer)
2223 currentCommand = buffer;
2228 status = write_cmd_usb(edge_port, buffer, length);
2231 kfree(buffer);
2240 * this function writes the given buffer out to the bulk write endpoint.
2243 unsigned char *buffer, int length)
2251 usb_serial_debug_data(dev, __func__, length, buffer);
2265 buffer, length, edge_bulk_out_cmd_callback, edge_port);
2426 /* Build a cmd in the buffer to write the given register */