Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/serial/
Dcyberjack.c96 short wrfilled; /* Overall data size we already got */ member
111 priv->wrfilled = 0; in cyberjack_port_probe()
147 priv->wrfilled = 0; in cyberjack_open()
181 if (count+priv->wrfilled > sizeof(priv->wrbuf)) { in cyberjack_write()
183 priv->wrfilled = 0; 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()
193 priv->wrfilled += count; in cyberjack_write()
195 if (priv->wrfilled >= 3) { in cyberjack_write()
201 if (priv->wrfilled >= wrexpected) { in cyberjack_write()
[all …]