|
#define | CX25821_VERSION_CODE KERNEL_VERSION(0, 0, 106) |
|
#define | UNSET (-1U) |
|
#define | NO_SYNC_LINE (-1U) |
|
#define | CX25821_MAXBOARDS 2 |
|
#define | TRUE 1 |
|
#define | FALSE 0 |
|
#define | LINE_SIZE_D1 1440 |
|
#define | MAX_DECODERS 8 |
|
#define | MAX_ENCODERS 2 |
|
#define | QUAD_DECODERS 4 |
|
#define | MAX_CAMERAS 16 |
|
#define | MAX_CX25821_INPUT 8 |
|
#define | INPUT(nr) (&cx25821_boards[dev->board].input[nr]) |
|
#define | RESOURCE_VIDEO0 1 |
|
#define | RESOURCE_VIDEO1 2 |
|
#define | RESOURCE_VIDEO2 4 |
|
#define | RESOURCE_VIDEO3 8 |
|
#define | RESOURCE_VIDEO4 16 |
|
#define | RESOURCE_VIDEO5 32 |
|
#define | RESOURCE_VIDEO6 64 |
|
#define | RESOURCE_VIDEO7 128 |
|
#define | RESOURCE_VIDEO8 256 |
|
#define | RESOURCE_VIDEO9 512 |
|
#define | RESOURCE_VIDEO10 1024 |
|
#define | RESOURCE_VIDEO11 2048 |
|
#define | RESOURCE_VIDEO_IOCTL 4096 |
|
#define | BUFFER_TIMEOUT (HZ) /* 0.5 seconds */ |
|
#define | UNKNOWN_BOARD 0 |
|
#define | CX25821_BOARD 1 |
|
#define | CX25821_NORMS |
|
#define | CX25821_BOARD_CONEXANT_ATHENA10 1 |
|
#define | MAX_VID_CHANNEL_NUM 12 |
|
#define | VID_CHANNEL_NUM 8 |
|
#define | CX25821_NR_INPUT 2 |
|
#define | cx25821_call_all(dev, o, f, args...) v4l2_device_call_all(&dev->v4l2_dev, 0, o, f, ##args) |
|
#define | SRAM_CH00 0 /* Video A */ |
|
#define | SRAM_CH01 1 /* Video B */ |
|
#define | SRAM_CH02 2 /* Video C */ |
|
#define | SRAM_CH03 3 /* Video D */ |
|
#define | SRAM_CH04 4 /* Video E */ |
|
#define | SRAM_CH05 5 /* Video F */ |
|
#define | SRAM_CH06 6 /* Video G */ |
|
#define | SRAM_CH07 7 /* Video H */ |
|
#define | SRAM_CH08 8 /* Audio A */ |
|
#define | SRAM_CH09 9 /* Video Upstream I */ |
|
#define | SRAM_CH10 10 /* Video Upstream J */ |
|
#define | SRAM_CH11 11 /* Audio Upstream AUD_CHANNEL_B */ |
|
#define | VID_UPSTREAM_SRAM_CHANNEL_I SRAM_CH09 |
|
#define | VID_UPSTREAM_SRAM_CHANNEL_J SRAM_CH10 |
|
#define | AUDIO_UPSTREAM_SRAM_CHANNEL_B SRAM_CH11 |
|
#define | VIDEO_IOCTL_CH 11 |
|
#define | STATUS_SUCCESS 0 |
|
#define | STATUS_UNSUCCESSFUL -1 |
|
#define | cx_read(reg) readl(dev->lmmio + ((reg)>>2)) |
|
#define | cx_write(reg, value) writel((value), dev->lmmio + ((reg)>>2)) |
|
#define | cx_andor(reg, mask, value) |
|
#define | cx_set(reg, bit) cx_andor((reg), (bit), (bit)) |
|
#define | cx_clear(reg, bit) cx_andor((reg), (bit), 0) |
|
#define | Set_GPIO_Bit(Bit) (1 << Bit) |
|
#define | Clear_GPIO_Bit(Bit) (~(1 << Bit)) |
|
#define | CX25821_ERR(fmt, args...) pr_err("(%d): " fmt, dev->board, ##args) |
|
#define | CX25821_WARN(fmt, args...) pr_warn("(%d): " fmt, dev->board, ##args) |
|
#define | CX25821_INFO(fmt, args...) pr_info("(%d): " fmt, dev->board, ##args) |
|
|
int | cx25821_i2c_register (struct cx25821_i2c *bus) |
|
void | cx25821_card_setup (struct cx25821_dev *dev) |
|
int | cx25821_ir_init (struct cx25821_dev *dev) |
|
int | cx25821_i2c_read (struct cx25821_i2c *bus, u16 reg_addr, int *value) |
|
int | cx25821_i2c_write (struct cx25821_i2c *bus, u16 reg_addr, int value) |
|
int | cx25821_i2c_unregister (struct cx25821_i2c *bus) |
|
void | cx25821_gpio_init (struct cx25821_dev *dev) |
|
void | cx25821_set_gpiopin_direction (struct cx25821_dev *dev, int pin_number, int pin_logic_value) |
|
int | medusa_video_init (struct cx25821_dev *dev) |
|
int | medusa_set_videostandard (struct cx25821_dev *dev) |
|
void | medusa_set_resolution (struct cx25821_dev *dev, int width, int decoder_select) |
|
int | medusa_set_brightness (struct cx25821_dev *dev, int brightness, int decoder) |
|
int | medusa_set_contrast (struct cx25821_dev *dev, int contrast, int decoder) |
|
int | medusa_set_hue (struct cx25821_dev *dev, int hue, int decoder) |
|
int | medusa_set_saturation (struct cx25821_dev *dev, int saturation, int decoder) |
|
int | cx25821_sram_channel_setup (struct cx25821_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc) |
|
int | cx25821_risc_buffer (struct pci_dev *pci, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) |
|
int | cx25821_risc_databuffer_audio (struct pci_dev *pci, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) |
|
void | cx25821_free_buffer (struct videobuf_queue *q, struct cx25821_buffer *buf) |
|
int | cx25821_risc_stopper (struct pci_dev *pci, struct btcx_riscmem *risc, u32 reg, u32 mask, u32 value) |
|
void | cx25821_sram_channel_dump (struct cx25821_dev *dev, struct sram_channel *ch) |
|
void | cx25821_sram_channel_dump_audio (struct cx25821_dev *dev, struct sram_channel *ch) |
|
struct cx25821_dev * | cx25821_dev_get (struct pci_dev *pci) |
|
void | cx25821_print_irqbits (char *name, char *tag, char **strings, int len, u32 bits, u32 mask) |
|
void | cx25821_dev_unregister (struct cx25821_dev *dev) |
|
int | cx25821_sram_channel_setup_audio (struct cx25821_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc) |
|
int | cx25821_vidupstream_init_ch1 (struct cx25821_dev *dev, int channel_select, int pixel_format) |
|
int | cx25821_vidupstream_init_ch2 (struct cx25821_dev *dev, int channel_select, int pixel_format) |
|
int | cx25821_audio_upstream_init (struct cx25821_dev *dev, int channel_select) |
|
void | cx25821_free_mem_upstream_ch1 (struct cx25821_dev *dev) |
|
void | cx25821_free_mem_upstream_ch2 (struct cx25821_dev *dev) |
|
void | cx25821_free_mem_upstream_audio (struct cx25821_dev *dev) |
|
void | cx25821_start_upstream_video_ch1 (struct cx25821_dev *dev, struct upstream_user_struct *up_data) |
|
void | cx25821_start_upstream_video_ch2 (struct cx25821_dev *dev, struct upstream_user_struct *up_data) |
|
void | cx25821_start_upstream_audio (struct cx25821_dev *dev, struct upstream_user_struct *up_data) |
|
void | cx25821_stop_upstream_video_ch1 (struct cx25821_dev *dev) |
|
void | cx25821_stop_upstream_video_ch2 (struct cx25821_dev *dev) |
|
void | cx25821_stop_upstream_audio (struct cx25821_dev *dev) |
|
int | cx25821_sram_channel_setup_upstream (struct cx25821_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc) |
|
void | cx25821_set_pixel_format (struct cx25821_dev *dev, int channel, u32 format) |
|
void | cx25821_videoioctl_unregister (struct cx25821_dev *dev) |
|
struct video_device * | cx25821_vdev_init (struct cx25821_dev *dev, struct pci_dev *pci, struct video_device *template, char *type) |
|