Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cx18-cards.h File Reference

Go to the source code of this file.

Data Structures

struct  cx18_card_video_input
 
struct  cx18_card_audio_input
 
struct  cx18_card_pci_info
 
struct  cx18_gpio_init
 
struct  cx18_gpio_i2c_slave_reset
 
struct  cx18_gpio_audio_input
 
struct  cx18_card_tuner
 
struct  cx18_card_tuner_i2c
 
struct  cx18_ddr
 
struct  cx18_card
 

Macros

#define CX18_HW_TUNER   (1 << 0)
 
#define CX18_HW_TVEEPROM   (1 << 1)
 
#define CX18_HW_CS5345   (1 << 2)
 
#define CX18_HW_DVB   (1 << 3)
 
#define CX18_HW_418_AV   (1 << 4)
 
#define CX18_HW_GPIO_MUX   (1 << 5)
 
#define CX18_HW_GPIO_RESET_CTRL   (1 << 6)
 
#define CX18_HW_Z8F0811_IR_TX_HAUP   (1 << 7)
 
#define CX18_HW_Z8F0811_IR_RX_HAUP   (1 << 8)
 
#define CX18_HW_Z8F0811_IR_HAUP
 
#define CX18_HW_IR_ANY
 
#define CX18_CARD_INPUT_VID_TUNER   1
 
#define CX18_CARD_INPUT_SVIDEO1   2
 
#define CX18_CARD_INPUT_SVIDEO2   3
 
#define CX18_CARD_INPUT_COMPOSITE1   4
 
#define CX18_CARD_INPUT_COMPOSITE2   5
 
#define CX18_CARD_INPUT_COMPONENT1   6
 
#define CX18_CARD_INPUT_AUD_TUNER   1
 
#define CX18_CARD_INPUT_LINE_IN1   2
 
#define CX18_CARD_INPUT_LINE_IN2   3
 
#define CX18_CARD_MAX_VIDEO_INPUTS   6
 
#define CX18_CARD_MAX_AUDIO_INPUTS   3
 
#define CX18_CARD_MAX_TUNERS   2
 
#define CX18_CAP_ENCODER
 

Functions

int cx18_get_input (struct cx18 *cx, u16 index, struct v4l2_input *input)
 
int cx18_get_audio_input (struct cx18 *cx, u16 index, struct v4l2_audio *input)
 
struct cx18_cardcx18_get_card (u16 index)
 

Macro Definition Documentation

#define CX18_CAP_ENCODER
Value:
V4L2_CAP_AUDIO | V4L2_CAP_READWRITE | \
V4L2_CAP_VBI_CAPTURE | V4L2_CAP_SLICED_VBI_CAPTURE)

Definition at line 58 of file cx18-cards.h.

#define CX18_CARD_INPUT_AUD_TUNER   1

Definition at line 49 of file cx18-cards.h.

#define CX18_CARD_INPUT_COMPONENT1   6

Definition at line 46 of file cx18-cards.h.

#define CX18_CARD_INPUT_COMPOSITE1   4

Definition at line 44 of file cx18-cards.h.

#define CX18_CARD_INPUT_COMPOSITE2   5

Definition at line 45 of file cx18-cards.h.

#define CX18_CARD_INPUT_LINE_IN1   2

Definition at line 50 of file cx18-cards.h.

#define CX18_CARD_INPUT_LINE_IN2   3

Definition at line 51 of file cx18-cards.h.

#define CX18_CARD_INPUT_SVIDEO1   2

Definition at line 42 of file cx18-cards.h.

#define CX18_CARD_INPUT_SVIDEO2   3

Definition at line 43 of file cx18-cards.h.

#define CX18_CARD_INPUT_VID_TUNER   1

Definition at line 41 of file cx18-cards.h.

#define CX18_CARD_MAX_AUDIO_INPUTS   3

Definition at line 54 of file cx18-cards.h.

#define CX18_CARD_MAX_TUNERS   2

Definition at line 55 of file cx18-cards.h.

#define CX18_CARD_MAX_VIDEO_INPUTS   6

Definition at line 53 of file cx18-cards.h.

#define CX18_HW_418_AV   (1 << 4)

Definition at line 29 of file cx18-cards.h.

#define CX18_HW_CS5345   (1 << 2)

Definition at line 27 of file cx18-cards.h.

#define CX18_HW_DVB   (1 << 3)

Definition at line 28 of file cx18-cards.h.

#define CX18_HW_GPIO_MUX   (1 << 5)

Definition at line 30 of file cx18-cards.h.

#define CX18_HW_GPIO_RESET_CTRL   (1 << 6)

Definition at line 31 of file cx18-cards.h.

#define CX18_HW_IR_ANY
Value:
CX18_HW_Z8F0811_IR_TX_HAUP)

Definition at line 37 of file cx18-cards.h.

#define CX18_HW_TUNER   (1 << 0)

Definition at line 25 of file cx18-cards.h.

#define CX18_HW_TVEEPROM   (1 << 1)

Definition at line 26 of file cx18-cards.h.

#define CX18_HW_Z8F0811_IR_HAUP
Value:
CX18_HW_Z8F0811_IR_TX_HAUP)

Definition at line 34 of file cx18-cards.h.

#define CX18_HW_Z8F0811_IR_RX_HAUP   (1 << 8)

Definition at line 33 of file cx18-cards.h.

#define CX18_HW_Z8F0811_IR_TX_HAUP   (1 << 7)

Definition at line 32 of file cx18-cards.h.

Function Documentation

int cx18_get_audio_input ( struct cx18 cx,
u16  index,
struct v4l2_audio input 
)

Definition at line 620 of file cx18-cards.c.

struct cx18_card* cx18_get_card ( u16  index)
read

Definition at line 587 of file cx18-cards.c.

int cx18_get_input ( struct cx18 cx,
u16  index,
struct v4l2_input input 
)

Definition at line 594 of file cx18-cards.c.