Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cx25821-video-upstream.c File Reference
#include "cx25821-video.h"
#include "cx25821-video-upstream.h"
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include <linux/file.h>
#include <linux/fcntl.h>
#include <linux/slab.h>
#include <linux/uaccess.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 MODULE_DESCRIPTION ("v4l2 driver module for cx25821 based TV cards")
 
 MODULE_AUTHOR ("Hiep Huynh <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
int cx25821_sram_channel_setup_upstream (struct cx25821_dev *dev, struct sram_channel *ch, unsigned int bpl, u32 risc)
 
int cx25821_risc_buffer_upstream (struct cx25821_dev *dev, struct pci_dev *pci, unsigned int top_offset, unsigned int bpl, unsigned int lines)
 
void cx25821_stop_upstream_video_ch1 (struct cx25821_dev *dev)
 
void cx25821_free_mem_upstream_ch1 (struct cx25821_dev *dev)
 
int cx25821_get_frame (struct cx25821_dev *dev, struct sram_channel *sram_ch)
 
int cx25821_openfile (struct cx25821_dev *dev, struct sram_channel *sram_ch)
 
int cx25821_upstream_buffer_prepare (struct cx25821_dev *dev, struct sram_channel *sram_ch, int bpl)
 
int cx25821_video_upstream_irq (struct cx25821_dev *dev, int chan_num, u32 status)
 
void cx25821_set_pixelengine (struct cx25821_dev *dev, struct sram_channel *ch, int pix_format)
 
int cx25821_start_video_dma_upstream (struct cx25821_dev *dev, struct sram_channel *sram_ch)
 
int cx25821_vidupstream_init_ch1 (struct cx25821_dev *dev, int channel_select, int pixel_format)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 23 of file cx25821-video-upstream.c.

Function Documentation

void cx25821_free_mem_upstream_ch1 ( struct cx25821_dev dev)

Definition at line 284 of file cx25821-video-upstream.c.

int cx25821_get_frame ( struct cx25821_dev dev,
struct sram_channel sram_ch 
)

Definition at line 303 of file cx25821-video-upstream.c.

int cx25821_openfile ( struct cx25821_dev dev,
struct sram_channel sram_ch 
)

Definition at line 408 of file cx25821-video-upstream.c.

int cx25821_risc_buffer_upstream ( struct cx25821_dev dev,
struct pci_dev pci,
unsigned int  top_offset,
unsigned int  bpl,
unsigned int  lines 
)

Definition at line 176 of file cx25821-video-upstream.c.

void cx25821_set_pixelengine ( struct cx25821_dev dev,
struct sram_channel ch,
int  pix_format 
)

Definition at line 667 of file cx25821-video-upstream.c.

int cx25821_sram_channel_setup_upstream ( struct cx25821_dev dev,
struct sram_channel ch,
unsigned int  bpl,
u32  risc 
)

Definition at line 46 of file cx25821-video-upstream.c.

int cx25821_start_video_dma_upstream ( struct cx25821_dev dev,
struct sram_channel sram_ch 
)

Definition at line 699 of file cx25821-video-upstream.c.

void cx25821_stop_upstream_video_ch1 ( struct cx25821_dev dev)

Definition at line 248 of file cx25821-video-upstream.c.

int cx25821_upstream_buffer_prepare ( struct cx25821_dev dev,
struct sram_channel sram_ch,
int  bpl 
)

Definition at line 489 of file cx25821-video-upstream.c.

int cx25821_video_upstream_irq ( struct cx25821_dev dev,
int  chan_num,
u32  status 
)

Definition at line 551 of file cx25821-video-upstream.c.

int cx25821_vidupstream_init_ch1 ( struct cx25821_dev dev,
int  channel_select,
int  pixel_format 
)

Definition at line 751 of file cx25821-video-upstream.c.

MODULE_AUTHOR ( "Hiep Huynh <[email protected]>"  )
MODULE_DESCRIPTION ( "v4l2 driver module for cx25821 based TV cards )
MODULE_LICENSE ( "GPL"  )