Lines Matching full:filled
107 int filled; /* index of the last char in buf */ member
122 priv->filled = 0; in kobil_port_probe()
306 if (count > (KOBIL_BUF_LENGTH - priv->filled)) { in kobil_write()
312 memcpy(priv->buf + priv->filled, buf, count); in kobil_write()
313 usb_serial_debug_data(&port->dev, __func__, count, priv->buf + priv->filled); in kobil_write()
314 priv->filled = priv->filled + count; in kobil_write()
318 …if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (… in kobil_write()
319 …((priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 3) && (priv->filled >= (priv… in kobil_write()
325 todo = priv->filled - priv->cur_pos; in kobil_write()
339 todo = priv->filled - priv->cur_pos; in kobil_write()
345 priv->filled = 0; in kobil_write()