]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/staging/media/atomisp/pci/atomisp2/atomisp_file.h
media: staging: atomisp: Remove FSF snail address
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / media / atomisp / pci / atomisp2 / atomisp_file.h
CommitLineData
a49d2536
AC
1/*
2 * Support for Medifield PNW Camera Imaging ISP subsystem.
3 *
4 * Copyright (c) 2010 Intel Corporation. All Rights Reserved.
5 *
6 * Copyright (c) 2010 Silicon Hive www.siliconhive.com.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version
10 * 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
a49d2536
AC
17 *
18 */
19
20#ifndef __ATOMISP_FILE_H__
21#define __ATOMISP_FILE_H__
22
23#include <media/media-entity.h>
24#include <media/v4l2-subdev.h>
25
26struct atomisp_device;
27
28struct atomisp_file_device {
29 struct v4l2_subdev sd;
30 struct atomisp_device *isp;
31 struct media_pad pads[1];
32
33 struct workqueue_struct *work_queue;
34 struct work_struct work;
35};
36
37void atomisp_file_input_cleanup(struct atomisp_device *isp);
38int atomisp_file_input_init(struct atomisp_device *isp);
39void atomisp_file_input_unregister_entities(
40 struct atomisp_file_device *file_dev);
41int atomisp_file_input_register_entities(struct atomisp_file_device *file_dev,
42 struct v4l2_device *vdev);
43#endif /* __ATOMISP_FILE_H__ */