Lines Matching refs:wrbuf
95 unsigned char wrbuf[5*64]; /* Buffer for collecting data to write */ member
181 if (count+priv->wrfilled > sizeof(priv->wrbuf)) { in cyberjack_write()
190 memcpy(priv->wrbuf + priv->wrfilled, buf, count); in cyberjack_write()
192 usb_serial_debug_data(dev, __func__, count, priv->wrbuf + priv->wrfilled); in cyberjack_write()
196 wrexpected = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write()
199 wrexpected = sizeof(priv->wrbuf); in cyberjack_write()
209 memcpy(port->write_urb->transfer_buffer, priv->wrbuf, length); in cyberjack_write()
234 memset(priv->wrbuf, 0, sizeof(priv->wrbuf)); in cyberjack_write()
381 priv->wrbuf + priv->wrsent, length); in cyberjack_write_bulk_callback()
403 blksize = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write_bulk_callback()
408 memset(priv->wrbuf, 0, sizeof(priv->wrbuf)); in cyberjack_write_bulk_callback()