Lines Matching defs:wrfilled
96 short wrfilled; /* Overall data size we already got */
111 priv->wrfilled = 0;
147 priv->wrfilled = 0;
181 if (count+priv->wrfilled > sizeof(priv->wrbuf)) {
183 priv->wrfilled = 0;
190 memcpy(priv->wrbuf + priv->wrfilled, buf, count);
192 usb_serial_debug_data(dev, __func__, count, priv->wrbuf + priv->wrfilled);
193 priv->wrfilled += count;
195 if (priv->wrfilled >= 3) {
201 if (priv->wrfilled >= wrexpected) {
222 priv->wrfilled = 0;
230 dev_dbg(dev, "%s - priv->wrfilled=%d\n", __func__, priv->wrfilled);
232 if (priv->wrsent >= priv->wrfilled) {
235 priv->wrfilled = 0;
372 if (priv->wrfilled) {
377 length = ((priv->wrfilled - priv->wrsent) > port->bulk_out_size) ?
378 port->bulk_out_size : (priv->wrfilled - priv->wrsent);
393 priv->wrfilled = 0;
401 dev_dbg(dev, "%s - priv->wrfilled=%d\n", __func__, priv->wrfilled);
405 if (priv->wrsent >= priv->wrfilled ||
409 priv->wrfilled = 0;