Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/serial/
Dcyberjack.c94 short rdtodo; /* Bytes still to read */ member
110 priv->rdtodo = 0; in cyberjack_port_probe()
146 priv->rdtodo = 0; in cyberjack_open()
276 old_rdtodo = priv->rdtodo; in cyberjack_read_int_callback()
285 priv->rdtodo += size; in cyberjack_read_int_callback()
287 dev_dbg(dev, "%s - rdtodo: %d\n", __func__, priv->rdtodo); in cyberjack_read_int_callback()
333 priv->rdtodo -= urb->actual_length; in cyberjack_read_bulk_callback()
335 if (priv->rdtodo < 0) in cyberjack_read_bulk_callback()
336 priv->rdtodo = 0; in cyberjack_read_bulk_callback()
337 todo = priv->rdtodo; in cyberjack_read_bulk_callback()