Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
cx231xx-vbi.c File Reference
#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/bitmap.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-chip-ident.h>
#include <media/msp3400.h>
#include <media/tuner.h>
#include "cx231xx.h"
#include "cx231xx-vbi.h"

Go to the source code of this file.

Functions

void cx231xx_uninit_vbi_isoc (struct cx231xx *dev)
 
 EXPORT_SYMBOL_GPL (cx231xx_uninit_vbi_isoc)
 
int cx231xx_init_vbi_isoc (struct cx231xx *dev, int max_packets, int num_bufs, int max_pkt_size, int(*bulk_copy)(struct cx231xx *dev, struct urb *urb))
 
 EXPORT_SYMBOL_GPL (cx231xx_init_vbi_isoc)
 
u32 cx231xx_get_vbi_line (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, u8 sav_eav, u8 *p_buffer, u32 buffer_size)
 
u32 cx231xx_copy_vbi_line (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, u8 *p_line, u32 length, int field_number)
 
void cx231xx_reset_vbi_buffer (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q)
 
int cx231xx_do_vbi_copy (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, u8 *p_buffer, u32 bytes_to_copy)
 
u8 cx231xx_is_vbi_buffer_done (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q)
 

Variables

struct videobuf_queue_ops cx231xx_vbi_qops
 

Function Documentation

u32 cx231xx_copy_vbi_line ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q,
u8 p_line,
u32  length,
int  field_number 
)

Definition at line 541 of file cx231xx-vbi.c.

int cx231xx_do_vbi_copy ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q,
u8 p_buffer,
u32  bytes_to_copy 
)

Definition at line 658 of file cx231xx-vbi.c.

u32 cx231xx_get_vbi_line ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q,
u8  sav_eav,
u8 p_buffer,
u32  buffer_size 
)

Definition at line 490 of file cx231xx-vbi.c.

int cx231xx_init_vbi_isoc ( struct cx231xx dev,
int  max_packets,
int  num_bufs,
int  max_pkt_size,
int(*)(struct cx231xx *dev, struct urb *urb bulk_copy 
)

Definition at line 386 of file cx231xx-vbi.c.

u8 cx231xx_is_vbi_buffer_done ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q 
)

Definition at line 699 of file cx231xx-vbi.c.

void cx231xx_reset_vbi_buffer ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q 
)

Definition at line 639 of file cx231xx-vbi.c.

void cx231xx_uninit_vbi_isoc ( struct cx231xx dev)

Definition at line 343 of file cx231xx-vbi.c.

EXPORT_SYMBOL_GPL ( cx231xx_uninit_vbi_isoc  )
EXPORT_SYMBOL_GPL ( cx231xx_init_vbi_isoc  )

Variable Documentation

struct videobuf_queue_ops cx231xx_vbi_qops
Initial value:
= {
.buf_setup = vbi_buffer_setup,
.buf_prepare = vbi_buffer_prepare,
.buf_queue = vbi_buffer_queue,
.buf_release = vbi_buffer_release,
}

Definition at line 290 of file cx231xx-vbi.c.