Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/serial/
Dcyberjack.c96 short wrfilled; /* Overall data size we already got */ member
111 priv->wrfilled = 0; in cyberjack_port_probe()
145 priv->wrfilled = 0; in cyberjack_open()
179 if (count+priv->wrfilled > sizeof(priv->wrbuf)) { in cyberjack_write()
181 priv->wrfilled = 0; in cyberjack_write()
188 memcpy(priv->wrbuf + priv->wrfilled, buf, count); in cyberjack_write()
190 usb_serial_debug_data(dev, __func__, count, priv->wrbuf + priv->wrfilled); in cyberjack_write()
191 priv->wrfilled += count; in cyberjack_write()
193 if (priv->wrfilled >= 3) { in cyberjack_write()
199 if (priv->wrfilled >= wrexpected) { in cyberjack_write()
[all …]