Lines Matching refs:wrbuf
112 unsigned char wrbuf[5*64]; /* Buffer for collecting data to write */ member
235 if (count+priv->wrfilled > sizeof(priv->wrbuf)) { in cyberjack_write()
244 memcpy(priv->wrbuf + priv->wrfilled, buf, count); in cyberjack_write()
247 priv->wrbuf + priv->wrfilled); in cyberjack_write()
251 wrexpected = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write()
254 wrexpected = sizeof(priv->wrbuf); in cyberjack_write()
264 memcpy(port->write_urb->transfer_buffer, priv->wrbuf, length); in cyberjack_write()
295 memset(priv->wrbuf, 0, sizeof(priv->wrbuf)); in cyberjack_write()
454 priv->wrbuf + priv->wrsent, length); in cyberjack_write_bulk_callback()
481 blksize = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write_bulk_callback()
486 memset(priv->wrbuf, 0, sizeof(priv->wrbuf)); in cyberjack_write_bulk_callback()