Lines Matching refs:fbuf
193 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_frame_complete() local
200 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete()
225 if (fbuf->filled == 4) in pwc_frame_complete()
228 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete()
240 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete()
242 " discarded.\n", fbuf->filled); in pwc_frame_complete()
244 fbuf->vb.field = V4L2_FIELD_NONE; in pwc_frame_complete()
245 fbuf->vb.sequence = pdev->vframe_count; in pwc_frame_complete()
246 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in pwc_frame_complete()
317 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_isoc_handler() local
321 &fbuf->vb.timestamp); in pwc_isoc_handler()
325 if (flen + fbuf->filled > pdev->frame_total_size) { in pwc_isoc_handler()
327 flen + fbuf->filled, in pwc_isoc_handler()
331 memcpy(fbuf->data + fbuf->filled, iso_buf, in pwc_isoc_handler()
333 fbuf->filled += flen; in pwc_isoc_handler()