Home
last modified time | relevance | path

Searched refs:wrexpected (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dcyberjack.c165 int wrexpected; in cyberjack_write() local
194 wrexpected = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write()
195 dev_dbg(dev, "%s - expected data: %d\n", __func__, wrexpected); in cyberjack_write()
197 wrexpected = sizeof(priv->wrbuf); in cyberjack_write()
199 if (priv->wrfilled >= wrexpected) { in cyberjack_write()
204 length = (wrexpected > port->bulk_out_size) ? in cyberjack_write()
205 port->bulk_out_size : wrexpected; in cyberjack_write()