Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tw28.c File Reference
#include <linux/kernel.h>
#include "solo6x10.h"
#include "tw28.h"

Go to the source code of this file.


#define DEFAULT_HDELAY_NTSC   (32 - 4)
#define DEFAULT_HACTIVE_NTSC   (720 + 16)
#define DEFAULT_VDELAY_NTSC   (7 - 2)
#define DEFAULT_VACTIVE_NTSC   (240 + 4)
#define DEFAULT_HDELAY_PAL   (32 + 4)
#define DEFAULT_VDELAY_PAL   (6)
#define is_tw286x(__solo, __id)   (!(__solo->tw2815 & (1 << __id)))
#define FIRST_ACTIVE_LINE   0x0008
#define LAST_ACTIVE_LINE   0x0102


int solo_tw28_init (struct solo_dev *solo_dev)
int tw28_get_video_status (struct solo_dev *solo_dev, u8 ch)
int tw28_set_ctrl_val (struct solo_dev *solo_dev, u32 ctrl, u8 ch, s32 val)
int tw28_get_ctrl_val (struct solo_dev *solo_dev, u32 ctrl, u8 ch, s32 *val)
u8 tw28_get_audio_gain (struct solo_dev *solo_dev, u8 ch)
void tw28_set_audio_gain (struct solo_dev *solo_dev, u8 ch, u8 val)

Macro Definition Documentation

#define DEFAULT_HACTIVE_NTSC   (720 + 16)

Definition at line 27 of file tw28.c.


Definition at line 32 of file tw28.c.

#define DEFAULT_HDELAY_NTSC   (32 - 4)

Definition at line 26 of file tw28.c.

#define DEFAULT_HDELAY_PAL   (32 + 4)

Definition at line 31 of file tw28.c.

#define DEFAULT_VACTIVE_NTSC   (240 + 4)

Definition at line 29 of file tw28.c.


Definition at line 34 of file tw28.c.

#define DEFAULT_VDELAY_NTSC   (7 - 2)

Definition at line 28 of file tw28.c.

#define DEFAULT_VDELAY_PAL   (6)

Definition at line 33 of file tw28.c.

#define FIRST_ACTIVE_LINE   0x0008

Definition at line 481 of file tw28.c.

#define is_tw286x (   __solo,
)    (!(__solo->tw2815 & (1 << __id)))

Definition at line 141 of file tw28.c.

#define LAST_ACTIVE_LINE   0x0102

Definition at line 482 of file tw28.c.

Function Documentation

int solo_tw28_init ( struct solo_dev solo_dev)

Definition at line 542 of file tw28.c.

u8 tw28_get_audio_gain ( struct solo_dev solo_dev,
u8  ch 

Definition at line 787 of file tw28.c.

int tw28_get_ctrl_val ( struct solo_dev solo_dev,
u32  ctrl,
u8  ch,
s32 val 

Definition at line 710 of file tw28.c.

int tw28_get_video_status ( struct solo_dev solo_dev,
u8  ch 

Definition at line 605 of file tw28.c.

void tw28_set_audio_gain ( struct solo_dev solo_dev,
u8  ch,
u8  val 

Definition at line 803 of file tw28.c.

int tw28_set_ctrl_val ( struct solo_dev solo_dev,
u32  ctrl,
u8  ch,
s32  val 

Definition at line 638 of file tw28.c.