Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/usb/usbvision/
Dusbvision-core.c195 int len_part; in scratch_put() local
201 len_part = scratch_buf_size - usbvision->scratch_write_ptr; in scratch_put()
202 memcpy(usbvision->scratch + usbvision->scratch_write_ptr, data, len_part); in scratch_put()
203 if (len == len_part) { in scratch_put()
206 memcpy(usbvision->scratch, data + len_part, len - len_part); in scratch_put()
207 usbvision->scratch_write_ptr = len - len_part; in scratch_put()
231 int len_part; in scratch_get_extra() local
237 len_part = scratch_buf_size - *ptr; in scratch_get_extra()
238 memcpy(data, usbvision->scratch + *ptr, len_part); in scratch_get_extra()
239 if (len == len_part) { in scratch_get_extra()
[all …]