Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c55 unsigned int buffer_target_count; member
355 if (sp->buffer_total_count == sp->buffer_target_count) return 0; in pvr2_stream_achieve_buffer_count()
359 sp, sp->buffer_total_count, sp->buffer_target_count); in pvr2_stream_achieve_buffer_count()
361 if (sp->buffer_total_count < sp->buffer_target_count) { in pvr2_stream_achieve_buffer_count()
362 return pvr2_stream_buffer_count(sp, sp->buffer_target_count); in pvr2_stream_achieve_buffer_count()
366 while ((sp->buffer_total_count - cnt) > sp->buffer_target_count) { in pvr2_stream_achieve_buffer_count()
393 if (sp->buffer_total_count != sp->buffer_target_count) { in pvr2_stream_internal_flush()
531 return sp->buffer_target_count; in pvr2_stream_get_buffer_count()
537 if (sp->buffer_target_count == cnt) return 0; in pvr2_stream_set_buffer_count()
540 sp->buffer_target_count = cnt; in pvr2_stream_set_buffer_count()
[all …]