Lines Matching refs:sof
700 u32 sof; in uvc_video_clock_update() local
738 sof = y; in uvc_video_clock_update()
744 sof >> 16, div_u64(((u64)sof & 0xffff) * 1000000LLU, 65536), in uvc_video_clock_update()
764 if (mean - (1024 << 16) > sof) in uvc_video_clock_update()
765 sof += 2048 << 16; in uvc_video_clock_update()
766 else if (sof > mean + (1024 << 16)) in uvc_video_clock_update()
767 sof -= 2048 << 16; in uvc_video_clock_update()
769 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 in uvc_video_clock_update()
778 sof >> 16, div_u64(((u64)sof & 0xffff) * 1000000LLU, 65536), in uvc_video_clock_update()
1267 unsigned int sof; in uvc_video_decode_meta() local
1275 length + sizeof(meta->ns) + sizeof(meta->sof)) { in uvc_video_decode_meta()
1303 sof = usb_get_current_frame_number(stream->dev->udev); in uvc_video_decode_meta()
1306 put_unaligned(sof, &meta->sof); in uvc_video_decode_meta()
1312 meta_buf->bytesused += length + sizeof(meta->ns) + sizeof(meta->sof); in uvc_video_decode_meta()
1316 __func__, ktime_to_ns(time), meta->sof, meta->length, in uvc_video_decode_meta()