Lines Matching refs:buffer
58 /* size of a buffer able to hold a complete (no stuffing) packet
62 * should be increased accordingly, so the input buffer is always
66 /* size of a buffer able to hold a complete (incl. stuffing) packet */
377 * count - number of bytes in the input buffer including space reserved for
450 * Copy it into our local buffer, until an etx is seen (or an error
620 dev_dbg(dev, "%s - %d bytes in buffer, %d bytes in pkt.\n", __func__, k, i);
657 of buffer ... */
744 /* if buffer contains header, copy rest of data */
970 /* free up the transfer buffer, as usb_free_urb() does not do this */
983 unsigned char *buffer;
990 buffer = kmalloc(count, GFP_ATOMIC);
991 if (!buffer)
996 kfree(buffer);
1000 memcpy(buffer, buf, count);
1002 usb_serial_debug_data(&port->dev, __func__, count, buffer);
1007 buffer, count,
1012 if (getLayerId(buffer) == GARMIN_LAYERID_APPL) {
1033 kfree(buffer);
1119 * Report back the bytes currently available in the output buffer.