| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * generic helper functions for handling video4linux capture buffers |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * (c) 2001,02 Gerd Knorr <kraxel@bytesex.org> |
|---|
| 8 | 9 | * (c) 2006 Mauro Carvalho Chehab, <mchehab@kernel.org> |
|---|
| 9 | 10 | * (c) 2006 Ted Walther and John Sokol |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 12 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 13 | | - * the Free Software Foundation; either version 2 |
|---|
| 14 | 11 | */ |
|---|
| 15 | 12 | |
|---|
| 16 | 13 | #ifndef _VIDEOBUF_CORE_H |
|---|
| .. | .. |
|---|
| 43 | 40 | * (which v4l2 uses). |
|---|
| 44 | 41 | * |
|---|
| 45 | 42 | * If there is a valid mapping for a buffer, buffer->baddr/bsize holds |
|---|
| 46 | | - * userspace address + size which can be feeded into the |
|---|
| 43 | + * userspace address + size which can be fed into the |
|---|
| 47 | 44 | * videobuf_dma_init_user function listed above. |
|---|
| 48 | 45 | * |
|---|
| 49 | 46 | */ |
|---|
| .. | .. |
|---|
| 80 | 77 | struct list_head queue; |
|---|
| 81 | 78 | wait_queue_head_t done; |
|---|
| 82 | 79 | unsigned int field_count; |
|---|
| 83 | | - struct timeval ts; |
|---|
| 80 | + u64 ts; |
|---|
| 84 | 81 | |
|---|
| 85 | 82 | /* Memory type */ |
|---|
| 86 | 83 | enum v4l2_memory memory; |
|---|