Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
zoran_device.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/interrupt.h>
#include <linux/proc_fs.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <linux/spinlock.h>
#include <linux/sem.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/wait.h>
#include <asm/byteorder.h>
#include <asm/io.h>
#include "videocodec.h"
#include "zoran.h"
#include "zoran_device.h"
#include "zoran_card.h"

Go to the source code of this file.

Macros

#define IRQ_MASK
 

Functions

 module_param (lml33dpath, bool, 0644)
 
 MODULE_PARM_DESC (lml33dpath,"Use digital path capture mode (on LML33 cards)")
 
void GPIO (struct zoran *zr, int bit, unsigned int value)
 
int post_office_wait (struct zoran *zr)
 
int post_office_write (struct zoran *zr, unsigned int guest, unsigned int reg, unsigned int value)
 
int post_office_read (struct zoran *zr, unsigned int guest, unsigned int reg)
 
void detect_guest_activity (struct zoran *zr)
 
void jpeg_codec_sleep (struct zoran *zr, int sleep)
 
int jpeg_codec_reset (struct zoran *zr)
 
void zr36057_overlay (struct zoran *zr, int on)
 
void write_overlay_mask (struct zoran_fh *fh, struct v4l2_clip *vp, int count)
 
void zr36057_set_memgrab (struct zoran *zr, int mode)
 
int wait_grab_pending (struct zoran *zr)
 
void print_interrupts (struct zoran *zr)
 
void clear_interrupt_counters (struct zoran *zr)
 
void jpeg_start (struct zoran *zr)
 
void zr36057_enable_jpg (struct zoran *zr, enum zoran_codec_mode mode)
 
void zoran_feed_stat_com (struct zoran *zr)
 
irqreturn_t zoran_irq (int irq, void *dev_id)
 
void zoran_set_pci_master (struct zoran *zr, int set_master)
 
void zoran_init_hardware (struct zoran *zr)
 
void zr36057_restart (struct zoran *zr)
 

Macro Definition Documentation

#define IRQ_MASK
Value:
ZR36057_ISR_GIRQ1 | \
ZR36057_ISR_JPEGRepIRQ )

Definition at line 56 of file zoran_device.c.

Function Documentation

void clear_interrupt_counters ( struct zoran zr)

Definition at line 869 of file zoran_device.c.

void detect_guest_activity ( struct zoran zr)

Definition at line 194 of file zoran_device.c.

void GPIO ( struct zoran zr,
int  bit,
unsigned int  value 
)

Definition at line 87 of file zoran_device.c.

int jpeg_codec_reset ( struct zoran zr)

Definition at line 268 of file zoran_device.c.

void jpeg_codec_sleep ( struct zoran zr,
int  sleep 
)

Definition at line 248 of file zoran_device.c.

void jpeg_start ( struct zoran zr)

Definition at line 915 of file zoran_device.c.

module_param ( lml33dpath  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( lml33dpath  ,
"Use digital path capture mode (on LML33 cards)"   
)
int post_office_read ( struct zoran zr,
unsigned int  guest,
unsigned int  reg 
)

Definition at line 146 of file zoran_device.c.

int post_office_wait ( struct zoran zr)

Definition at line 111 of file zoran_device.c.

int post_office_write ( struct zoran zr,
unsigned int  guest,
unsigned int  reg,
unsigned int  value 
)

Definition at line 130 of file zoran_device.c.

void print_interrupts ( struct zoran zr)

Definition at line 827 of file zoran_device.c.

int wait_grab_pending ( struct zoran zr)

Definition at line 644 of file zoran_device.c.

void write_overlay_mask ( struct zoran_fh fh,
struct v4l2_clip vp,
int  count 
)

Definition at line 538 of file zoran_device.c.

void zoran_feed_stat_com ( struct zoran zr)

Definition at line 1097 of file zoran_device.c.

void zoran_init_hardware ( struct zoran zr)

Definition at line 1564 of file zoran_device.c.

irqreturn_t zoran_irq ( int  irq,
void dev_id 
)

Definition at line 1342 of file zoran_device.c.

void zoran_set_pci_master ( struct zoran zr,
int  set_master 
)

Definition at line 1549 of file zoran_device.c.

void zr36057_enable_jpg ( struct zoran zr,
enum zoran_codec_mode  mode 
)

Definition at line 966 of file zoran_device.c.

void zr36057_overlay ( struct zoran zr,
int  on 
)

Definition at line 472 of file zoran_device.c.

void zr36057_restart ( struct zoran zr)

Definition at line 1602 of file zoran_device.c.

void zr36057_set_memgrab ( struct zoran zr,
int  mode 
)

Definition at line 596 of file zoran_device.c.