| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Motion Eye video4linux driver for Sony Vaio PictureBook |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 11 | 12 | * |
|---|
| 12 | 13 | * Some parts borrowed from various video4linux drivers, especially |
|---|
| 13 | 14 | * bttv-driver.c and zoran.c, see original files for credits. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 16 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 17 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 18 | | - * (at your option) any later version. |
|---|
| 19 | | - * |
|---|
| 20 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 21 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 22 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 23 | | - * GNU General Public License for more details. |
|---|
| 24 | 15 | */ |
|---|
| 25 | 16 | |
|---|
| 26 | 17 | #ifndef _MEYE_PRIV_H_ |
|---|
| .. | .. |
|---|
| 277 | 268 | struct meye_grab_buffer { |
|---|
| 278 | 269 | int state; /* state of buffer */ |
|---|
| 279 | 270 | unsigned long size; /* size of jpg frame */ |
|---|
| 280 | | - struct timeval timestamp; /* timestamp */ |
|---|
| 271 | + u64 ts; /* timestamp */ |
|---|
| 281 | 272 | unsigned long sequence; /* sequence number */ |
|---|
| 282 | 273 | }; |
|---|
| 283 | 274 | |
|---|
| 284 | | -/* size of kfifos containings buffer indices */ |
|---|
| 275 | +/* size of kfifos containing buffer indices */ |
|---|
| 285 | 276 | #define MEYE_QUEUE_SIZE MEYE_MAX_BUFNBRS |
|---|
| 286 | 277 | |
|---|
| 287 | 278 | /* Motion Eye device structure */ |
|---|
| .. | .. |
|---|
| 314 | 305 | u16 colour; |
|---|
| 315 | 306 | struct meye_params params; /* additional parameters */ |
|---|
| 316 | 307 | unsigned long in_use; /* set to 1 if the device is in use */ |
|---|
| 317 | | -#ifdef CONFIG_PM |
|---|
| 318 | 308 | u8 pm_mchip_mode; /* old mchip mode */ |
|---|
| 319 | | -#endif |
|---|
| 320 | 309 | }; |
|---|
| 321 | 310 | |
|---|
| 322 | 311 | #endif |
|---|