Lines Matching defs:sample
473 struct uvc_clock_sample *sample;
566 sample = &stream->clock.samples[stream->clock.head];
567 sample->dev_stc = get_unaligned_le32(&data[header_size - 6]);
568 sample->dev_sof = dev_sof;
569 sample->host_sof = host_sof;
570 sample->host_time = time;
615 * uvc_video_clock_host_sof - Return the host SOF value for a clock sample
631 static u16 uvc_video_clock_host_sof(const struct uvc_clock_sample *sample)
636 delta_sof = (sample->host_sof - sample->dev_sof) & 255;
638 return (sample->dev_sof + delta_sof) & 2047;
723 * done but not dequeued by the user, but the sample array has already