|
#define | CX23885_VERSION "0.0.3" |
|
#define | UNSET (-1U) |
|
#define | CX23885_MAXBOARDS 8 |
|
#define | MAX_CX23885_INPUT 8 |
|
#define | INPUT(nr) (&cx23885_boards[dev->board].input[nr]) |
|
#define | RESOURCE_OVERLAY 1 |
|
#define | RESOURCE_VIDEO 2 |
|
#define | RESOURCE_VBI 4 |
|
#define | BUFFER_TIMEOUT (HZ) /* 0.5 seconds */ |
|
#define | CX23885_BOARD_NOAUTO UNSET |
|
#define | CX23885_BOARD_UNKNOWN 0 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1800lp 1 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1800 2 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1250 3 |
|
#define | CX23885_BOARD_DVICO_FUSIONHDTV_5_EXP 4 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1500Q 5 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1500 6 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1200 7 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1700 8 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1400 9 |
|
#define | CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10 |
|
#define | CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11 |
|
#define | CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12 |
|
#define | CX23885_BOARD_COMPRO_VIDEOMATE_E650F 13 |
|
#define | CX23885_BOARD_TBS_6920 14 |
|
#define | CX23885_BOARD_TEVII_S470 15 |
|
#define | CX23885_BOARD_DVBWORLD_2005 16 |
|
#define | CX23885_BOARD_NETUP_DUAL_DVBS2_CI 17 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1270 18 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1275 19 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1255 20 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1210 21 |
|
#define | CX23885_BOARD_MYGICA_X8506 22 |
|
#define | CX23885_BOARD_MAGICPRO_PROHDTVE2 23 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1850 24 |
|
#define | CX23885_BOARD_COMPRO_VIDEOMATE_E800 25 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1290 26 |
|
#define | CX23885_BOARD_MYGICA_X8558PRO 27 |
|
#define | CX23885_BOARD_LEADTEK_WINFAST_PXTV1200 28 |
|
#define | CX23885_BOARD_GOTVIEW_X5_3D_HYBRID 29 |
|
#define | CX23885_BOARD_NETUP_DUAL_DVB_T_C_CI_RF 30 |
|
#define | CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H_XC4000 31 |
|
#define | CX23885_BOARD_MPX885 32 |
|
#define | CX23885_BOARD_MYGICA_X8507 33 |
|
#define | CX23885_BOARD_TERRATEC_CINERGY_T_PCIE_DUAL 34 |
|
#define | CX23885_BOARD_TEVII_S471 35 |
|
#define | CX23885_BOARD_HAUPPAUGE_HVR1255_22111 36 |
|
#define | CX23885_BOARD_PROF_8000 37 |
|
#define | GPIO_0 0x00000001 |
|
#define | GPIO_1 0x00000002 |
|
#define | GPIO_2 0x00000004 |
|
#define | GPIO_3 0x00000008 |
|
#define | GPIO_4 0x00000010 |
|
#define | GPIO_5 0x00000020 |
|
#define | GPIO_6 0x00000040 |
|
#define | GPIO_7 0x00000080 |
|
#define | GPIO_8 0x00000100 |
|
#define | GPIO_9 0x00000200 |
|
#define | GPIO_10 0x00000400 |
|
#define | GPIO_11 0x00000800 |
|
#define | GPIO_12 0x00001000 |
|
#define | GPIO_13 0x00002000 |
|
#define | GPIO_14 0x00004000 |
|
#define | GPIO_15 0x00008000 |
|
#define | CX23885_NORMS |
|
#define | call_all(dev, o, f, args...) v4l2_device_call_all(&dev->v4l2_dev, 0, o, f, ##args) |
|
#define | CX23885_HW_888_IR (1 << 0) |
|
#define | CX23885_HW_AV_CORE (1 << 1) |
|
#define | call_hw(dev, grpid, o, f, args...) v4l2_device_call_all(&dev->v4l2_dev, grpid, o, f, ##args) |
|
#define | SRAM_CH01 0 /* Video A */ |
|
#define | SRAM_CH02 1 /* VBI A */ |
|
#define | SRAM_CH03 2 /* Video B */ |
|
#define | SRAM_CH04 3 /* Transport via B */ |
|
#define | SRAM_CH05 4 /* VBI B */ |
|
#define | SRAM_CH06 5 /* Video C */ |
|
#define | SRAM_CH07 6 /* Transport via C */ |
|
#define | SRAM_CH08 7 /* Audio Internal A */ |
|
#define | SRAM_CH09 8 /* Audio Internal B */ |
|
#define | SRAM_CH10 9 /* Audio External */ |
|
#define | SRAM_CH11 10 /* COMB_3D_N */ |
|
#define | SRAM_CH12 11 /* Comb 3D N1 */ |
|
#define | SRAM_CH13 12 /* Comb 3D N2 */ |
|
#define | SRAM_CH14 13 /* MOE Vid */ |
|
#define | SRAM_CH15 14 /* MOE RSLT */ |
|
#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) |
|
|
struct v4l2_subdev * | cx23885_find_hw (struct cx23885_dev *dev, u32 hw) |
|
int | cx23885_sram_channel_setup (struct cx23885_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc) |
|
void | cx23885_sram_channel_dump (struct cx23885_dev *dev, struct sram_channel *ch) |
|
int | cx23885_risc_stopper (struct pci_dev *pci, struct btcx_riscmem *risc, u32 reg, u32 mask, u32 value) |
|
int | cx23885_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 | cx23885_risc_vbibuffer (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) |
|
void | cx23885_cancel_buffers (struct cx23885_tsport *port) |
|
int | cx23885_restart_queue (struct cx23885_tsport *port, struct cx23885_dmaqueue *q) |
|
void | cx23885_wakeup (struct cx23885_tsport *port, struct cx23885_dmaqueue *q, u32 count) |
|
void | cx23885_gpio_set (struct cx23885_dev *dev, u32 mask) |
|
void | cx23885_gpio_clear (struct cx23885_dev *dev, u32 mask) |
|
u32 | cx23885_gpio_get (struct cx23885_dev *dev, u32 mask) |
|
void | cx23885_gpio_enable (struct cx23885_dev *dev, u32 mask, int asoutput) |
|
void | cx23885_irq_add_enable (struct cx23885_dev *dev, u32 mask) |
|
void | cx23885_irq_enable (struct cx23885_dev *dev, u32 mask) |
|
void | cx23885_irq_disable (struct cx23885_dev *dev, u32 mask) |
|
void | cx23885_irq_remove (struct cx23885_dev *dev, u32 mask) |
|
int | cx23885_tuner_callback (void *priv, int component, int command, int arg) |
|
void | cx23885_card_list (struct cx23885_dev *dev) |
|
int | cx23885_ir_init (struct cx23885_dev *dev) |
|
void | cx23885_ir_pci_int_enable (struct cx23885_dev *dev) |
|
void | cx23885_ir_fini (struct cx23885_dev *dev) |
|
void | cx23885_gpio_setup (struct cx23885_dev *dev) |
|
void | cx23885_card_setup (struct cx23885_dev *dev) |
|
void | cx23885_card_setup_pre_i2c (struct cx23885_dev *dev) |
|
int | cx23885_dvb_register (struct cx23885_tsport *port) |
|
int | cx23885_dvb_unregister (struct cx23885_tsport *port) |
|
int | cx23885_buf_prepare (struct videobuf_queue *q, struct cx23885_tsport *port, struct cx23885_buffer *buf, enum v4l2_field field) |
|
void | cx23885_buf_queue (struct cx23885_tsport *port, struct cx23885_buffer *buf) |
|
void | cx23885_free_buffer (struct videobuf_queue *q, struct cx23885_buffer *buf) |
|
int | cx23885_video_register (struct cx23885_dev *dev) |
|
void | cx23885_video_unregister (struct cx23885_dev *dev) |
|
int | cx23885_video_irq (struct cx23885_dev *dev, u32 status) |
|
void | cx23885_video_wakeup (struct cx23885_dev *dev, struct cx23885_dmaqueue *q, u32 count) |
|
int | cx23885_enum_input (struct cx23885_dev *dev, struct v4l2_input *i) |
|
int | cx23885_set_input (struct file *file, void *priv, unsigned int i) |
|
int | cx23885_get_input (struct file *file, void *priv, unsigned int *i) |
|
int | cx23885_set_frequency (struct file *file, void *priv, struct v4l2_frequency *f) |
|
int | cx23885_set_control (struct cx23885_dev *dev, struct v4l2_control *ctl) |
|
int | cx23885_get_control (struct cx23885_dev *dev, struct v4l2_control *ctl) |
|
int | cx23885_set_tvnorm (struct cx23885_dev *dev, v4l2_std_id norm) |
|
int | cx23885_vbi_fmt (struct file *file, void *priv, struct v4l2_format *f) |
|
void | cx23885_vbi_timeout (unsigned long data) |
|
int | cx23885_restart_vbi_queue (struct cx23885_dev *dev, struct cx23885_dmaqueue *q) |
|
int | cx23885_vbi_irq (struct cx23885_dev *dev, u32 status) |
|
int | cx23885_i2c_register (struct cx23885_i2c *bus) |
|
int | cx23885_i2c_unregister (struct cx23885_i2c *bus) |
|
void | cx23885_av_clk (struct cx23885_dev *dev, int enable) |
|
int | cx23885_417_register (struct cx23885_dev *dev) |
|
void | cx23885_417_unregister (struct cx23885_dev *dev) |
|
int | cx23885_irq_417 (struct cx23885_dev *dev, u32 status) |
|
void | cx23885_417_check_encoder (struct cx23885_dev *dev) |
|
void | cx23885_mc417_init (struct cx23885_dev *dev) |
|
int | mc417_memory_read (struct cx23885_dev *dev, u32 address, u32 *value) |
|
int | mc417_memory_write (struct cx23885_dev *dev, u32 address, u32 value) |
|
int | mc417_register_read (struct cx23885_dev *dev, u16 address, u32 *value) |
|
int | mc417_register_write (struct cx23885_dev *dev, u16 address, u32 value) |
|
void | mc417_gpio_set (struct cx23885_dev *dev, u32 mask) |
|
void | mc417_gpio_clear (struct cx23885_dev *dev, u32 mask) |
|
void | mc417_gpio_enable (struct cx23885_dev *dev, u32 mask, int asoutput) |
|
struct cx23885_audio_dev * | cx23885_audio_register (struct cx23885_dev *dev) |
|
void | cx23885_audio_unregister (struct cx23885_dev *dev) |
|
int | cx23885_audio_irq (struct cx23885_dev *dev, u32 status, u32 mask) |
|
int | cx23885_risc_databuffer (struct pci_dev *pci, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) |
|