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 */
271 unsigned char *buffer, __u16 bufferLength);
288 unsigned char *buffer, int writeLength);
780 /* clean up the transfer buffer */
1095 /* if this urb had a transfer buffer already
1146 * since we can never overflow the buffer we do not have to check for a
1149 * the copy is done is two parts -- first fill to the end of the buffer
1150 * then copy the reset from the start of the buffer
1215 unsigned char *buffer;
1234 * edgeport buffer we do not need to check the write length
1252 /* make sure transfer buffer is freed */
1256 /* build the data header for the buffer and port that we are about
1259 buffer = kmalloc(count+2, GFP_ATOMIC);
1260 if (!buffer) {
1264 buffer[0] = IOSP_BUILD_DATA_HDR1(edge_port->port->port_number, count);
1265 buffer[1] = IOSP_BUILD_DATA_HDR2(edge_port->port->port_number, count);
1270 memcpy(&buffer[2], &fifo->fifo[fifo->tail], firsthalf);
1278 memcpy(&buffer[2+firsthalf], &fifo->fifo[fifo->tail],
1285 usb_serial_debug_data(&edge_port->port->dev, __func__, count, &buffer[2]);
1291 buffer, count+2,
1610 unsigned char *buffer, __u16 bufferLength)
1631 edge_serial->rxHeader1 = *buffer;
1632 ++buffer;
1641 edge_serial->rxHeader2 = *buffer;
1642 ++buffer;
1695 /* Expect data to start next buffer */
1716 edge_tty_recv(edge_port->port, buffer,
1721 buffer += rxLen;
1725 edge_serial->rxHeader3 = *buffer;
1726 ++buffer;
1867 * this function passes data on to the tty flip buffer
1937 /* Place LSR data byte into Rx buffer */
2098 unsigned char *buffer;
2103 buffer = kmalloc(10, GFP_ATOMIC);
2104 if (!buffer)
2107 currentCommand = buffer;
2112 status = write_cmd_usb(edge_port, buffer, length);
2115 kfree(buffer);
2124 * this function writes the given buffer out to the bulk write endpoint.
2127 unsigned char *buffer, int length)
2135 usb_serial_debug_data(dev, __func__, length, buffer);
2149 buffer, length, edge_bulk_out_cmd_callback, edge_port);
2310 /* Build a cmd in the buffer to write the given register */