Searched refs:this_read (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/misc/
H A Drio500.c368 int this_read; read_rio() local
397 this_read = (count >= IBUF_SIZE) ? IBUF_SIZE : count; read_rio()
401 ibuf, this_read, &partial, read_rio()
405 "read stats: result:%d this_read:%u partial:%u\n", read_rio()
406 result, this_read, partial); read_rio()
409 count = this_read = partial; read_rio()
424 "Read Whoops - result:%u partial:%u this_read:%u\n", read_rio()
425 result, partial, this_read); read_rio()
432 if (this_read) { read_rio()
433 if (copy_to_user(buffer, ibuf, this_read)) { read_rio()
437 count -= this_read; read_rio()
438 read_count += this_read; read_rio()
439 buffer += this_read; read_rio()
H A Dchaoskey.c320 int this_read; _chaoskey_fill() local
348 dev->buf, dev->size, &this_read, _chaoskey_fill()
355 dev->valid = this_read; _chaoskey_fill()
359 usb_dbg(dev->interface, "bulk_msg result %d this_read %d", _chaoskey_fill()
360 result, this_read); _chaoskey_fill()

Completed in 165 milliseconds