.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * v4l2-event.h |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Copyright (C) 2009--2010 Nokia Corporation. |
---|
7 | 8 | * |
---|
8 | 9 | * Contact: Sakari Ailus <sakari.ailus@iki.fi> |
---|
9 | | - * |
---|
10 | | - * This program is free software; you can redistribute it and/or |
---|
11 | | - * modify it under the terms of the GNU General Public License |
---|
12 | | - * version 2 as published by the Free Software Foundation. |
---|
13 | | - * |
---|
14 | | - * This program is distributed in the hope that it will be useful, but |
---|
15 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
17 | | - * General Public License for more details. |
---|
18 | 10 | */ |
---|
19 | 11 | |
---|
20 | 12 | #ifndef V4L2_EVENT_H |
---|
.. | .. |
---|
34 | 26 | * @list: List node for the v4l2_fh->available list. |
---|
35 | 27 | * @sev: Pointer to parent v4l2_subscribed_event. |
---|
36 | 28 | * @event: The event itself. |
---|
| 29 | + * @ts: The timestamp of the event. |
---|
37 | 30 | */ |
---|
38 | 31 | struct v4l2_kevent { |
---|
39 | 32 | struct list_head list; |
---|
40 | 33 | struct v4l2_subscribed_event *sev; |
---|
41 | 34 | struct v4l2_event event; |
---|
| 35 | + u64 ts; |
---|
42 | 36 | }; |
---|
43 | 37 | |
---|
44 | 38 | /** |
---|