Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
saa7134-go7007.c File Reference
#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 "saa7134-reg.h"
#include "saa7134.h"
#include "go7007-priv.h"

Go to the source code of this file.

Data Structures

struct  saa7134_go7007
 

Macros

#define GO7007_HPI_DEBUG
 

Enumerations

enum  hpi_address {
  HPI_ADDR_VIDEO_BUFFER = 0xe4, HPI_ADDR_INIT_BUFFER = 0xea, HPI_ADDR_INTR_RET_VALUE = 0xee, HPI_ADDR_INTR_RET_DATA = 0xec,
  HPI_ADDR_INTR_STATUS = 0xf4, HPI_ADDR_INTR_WR_PARAM = 0xf6, HPI_ADDR_INTR_WR_INDEX = 0xf8
}
 
enum  gpio_command {
  GPIO_COMMAND_RESET = 0x00, GPIO_COMMAND_REQ1 = 0x04, GPIO_COMMAND_WRITE = 0x20, GPIO_COMMAND_REQ2 = 0x24,
  GPIO_COMMAND_READ = 0x80, GPIO_COMMAND_VIDEO = 0x84, GPIO_COMMAND_IDLE = 0xA0, GPIO_COMMAND_ADDR = 0xA4
}
 

Functions

 MODULE_FIRMWARE ("go7007tv.bin")
 
 module_init (saa7134_go7007_mod_init)
 
 module_exit (saa7134_go7007_mod_cleanup)
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define GO7007_HPI_DEBUG

Definition at line 36 of file saa7134-go7007.c.

Enumeration Type Documentation

Enumerator:
GPIO_COMMAND_RESET 
GPIO_COMMAND_REQ1 
GPIO_COMMAND_WRITE 
GPIO_COMMAND_REQ2 
GPIO_COMMAND_READ 
GPIO_COMMAND_VIDEO 
GPIO_COMMAND_IDLE 
GPIO_COMMAND_ADDR 

Definition at line 48 of file saa7134-go7007.c.

Enumerator:
HPI_ADDR_VIDEO_BUFFER 
HPI_ADDR_INIT_BUFFER 
HPI_ADDR_INTR_RET_VALUE 
HPI_ADDR_INTR_RET_DATA 
HPI_ADDR_INTR_STATUS 
HPI_ADDR_INTR_WR_PARAM 
HPI_ADDR_INTR_WR_INDEX 

Definition at line 38 of file saa7134-go7007.c.

Function Documentation

module_exit ( saa7134_go7007_mod_cleanup  )
MODULE_FIRMWARE ( "go7007tv.bin"  )
module_init ( saa7134_go7007_mod_init  )
MODULE_LICENSE ( "GPL v2 )