Lines Matching defs:sample
463 struct uvc_clock_sample *sample;
551 sample = &stream->clock.samples[stream->clock.head];
552 sample->dev_stc = get_unaligned_le32(&data[header_size - 6]);
553 sample->dev_sof = dev_sof;
554 sample->host_sof = host_sof;
555 sample->host_time = time;
600 * uvc_video_clock_host_sof - Return the host SOF value for a clock sample
616 static u16 uvc_video_clock_host_sof(const struct uvc_clock_sample *sample)
621 delta_sof = (sample->host_sof - sample->dev_sof) & 255;
623 return (sample->dev_sof + delta_sof) & 2047;
708 * done but not dequeued by the user, but the sample array has already