Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ivtv-gpio.c File Reference
#include "ivtv-driver.h"
#include "ivtv-cards.h"
#include "ivtv-gpio.h"
#include "tuner-xc2028.h"
#include <media/tuner.h>
#include <media/v4l2-ctrls.h>

Go to the source code of this file.

Macros

#define IVTV_REG_GPIO_IN   0x9008
 
#define IVTV_REG_GPIO_OUT   0x900c
 
#define IVTV_REG_GPIO_DIR   0x9020
 

Functions

void ivtv_reset_ir_gpio (struct ivtv *itv)
 
int ivtv_reset_tuner_gpio (void *dev, int component, int cmd, int value)
 
int ivtv_gpio_init (struct ivtv *itv)
 

Macro Definition Documentation

#define IVTV_REG_GPIO_DIR   0x9020

Definition at line 104 of file ivtv-gpio.c.

#define IVTV_REG_GPIO_IN   0x9008

Definition at line 102 of file ivtv-gpio.c.

#define IVTV_REG_GPIO_OUT   0x900c

Definition at line 103 of file ivtv-gpio.c.

Function Documentation

Definition at line 347 of file ivtv-gpio.c.

void ivtv_reset_ir_gpio ( struct ivtv itv)

Definition at line 106 of file ivtv-gpio.c.

int ivtv_reset_tuner_gpio ( void dev,
int  component,
int  cmd,
int  value 
)

Definition at line 128 of file ivtv-gpio.c.