Lines Matching defs:wrfilled
96 short wrfilled; /* Overall data size we already got */
111 priv->wrfilled = 0;
145 priv->wrfilled = 0;
179 if (count+priv->wrfilled > sizeof(priv->wrbuf)) {
181 priv->wrfilled = 0;
188 memcpy(priv->wrbuf + priv->wrfilled, buf, count);
190 usb_serial_debug_data(dev, __func__, count, priv->wrbuf + priv->wrfilled);
191 priv->wrfilled += count;
193 if (priv->wrfilled >= 3) {
199 if (priv->wrfilled >= wrexpected) {
220 priv->wrfilled = 0;
228 dev_dbg(dev, "%s - priv->wrfilled=%d\n", __func__, priv->wrfilled);
230 if (priv->wrsent >= priv->wrfilled) {
233 priv->wrfilled = 0;
370 if (priv->wrfilled) {
375 length = ((priv->wrfilled - priv->wrsent) > port->bulk_out_size) ?
376 port->bulk_out_size : (priv->wrfilled - priv->wrsent);
391 priv->wrfilled = 0;
399 dev_dbg(dev, "%s - priv->wrfilled=%d\n", __func__, priv->wrfilled);
403 if (priv->wrsent >= priv->wrfilled ||
407 priv->wrfilled = 0;