#include "saa7134.h"
#include "saa7134-reg.h"
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/mm.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include <asm/byteorder.h>
#include <media/v4l2-common.h>
#include <media/v4l2-device.h>
#include <media/v4l2-subdev.h>
#include "go7007-priv.h"
enum hpi_address { … };
enum gpio_command { … };
struct saa7134_go7007 { … };
static const struct go7007_board_info board_voyager = …;
static int gpio_write(struct saa7134_dev *dev, u8 addr, u16 data)
{ … }
static int gpio_read(struct saa7134_dev *dev, u8 addr, u16 *data)
{ … }
static int saa7134_go7007_interface_reset(struct go7007 *go)
{ … }
static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data)
{ … }
static int saa7134_go7007_read_interrupt(struct go7007 *go)
{ … }
static void saa7134_go7007_irq_ts_done(struct saa7134_dev *dev,
unsigned long status)
{ … }
static int saa7134_go7007_stream_start(struct go7007 *go)
{ … }
static int saa7134_go7007_stream_stop(struct go7007 *go)
{ … }
static int saa7134_go7007_send_firmware(struct go7007 *go, u8 *data, int len)
{ … }
static const struct go7007_hpi_ops saa7134_go7007_hpi_ops = …;
MODULE_FIRMWARE(…) …;
static int saa7134_go7007_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
{ … }
static const struct v4l2_subdev_video_ops saa7134_go7007_video_ops = …;
static const struct v4l2_subdev_ops saa7134_go7007_sd_ops = …;
static int saa7134_go7007_init(struct saa7134_dev *dev)
{ … }
static int saa7134_go7007_fini(struct saa7134_dev *dev)
{ … }
static struct saa7134_mpeg_ops saa7134_go7007_ops = …;
static int __init saa7134_go7007_mod_init(void)
{ … }
static void __exit saa7134_go7007_mod_cleanup(void)
{ … }
module_init(…) …;
module_exit(saa7134_go7007_mod_cleanup);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;