Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/serial/
Ddigi_acceleport.c190 int dp_out_buf_len; member
459 len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); in digi_write_inb_command()
464 if (priv->dp_out_buf_len > 0) { in digi_write_inb_command()
466 data[1] = priv->dp_out_buf_len; in digi_write_inb_command()
468 priv->dp_out_buf_len); in digi_write_inb_command()
469 memcpy(data + 2 + priv->dp_out_buf_len, buf, len); in digi_write_inb_command()
471 = priv->dp_out_buf_len + 2 + len; in digi_write_inb_command()
480 priv->dp_out_buf_len = 0; in digi_write_inb_command()
907 if (count == 1 && priv->dp_out_buf_len < DIGI_OUT_BUF_SIZE) { in digi_write()
908 priv->dp_out_buf[priv->dp_out_buf_len++] = *buf; in digi_write()
[all …]