Lines Matching full:filled
108 int filled; /* index of the last char in buf */ member
123 priv->filled = 0; in kobil_port_probe()
308 if (count > (KOBIL_BUF_LENGTH - priv->filled)) { in kobil_write()
314 memcpy(priv->buf + priv->filled, buf, count); in kobil_write()
315 usb_serial_debug_data(&port->dev, __func__, count, priv->buf + priv->filled); in kobil_write()
316 priv->filled = priv->filled + count; in kobil_write()
320 …if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (… in kobil_write()
321 …((priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 3) && (priv->filled >= (priv… in kobil_write()
327 todo = priv->filled - priv->cur_pos; in kobil_write()
341 todo = priv->filled - priv->cur_pos; in kobil_write()
347 priv->filled = 0; in kobil_write()