SASC-NG
DVBSoftCAM

dvbdev-2.6.18.h File Reference

#include <linux/types.h>
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/smp_lock.h>

Go to the source code of this file.

Classes

struct  dvb_adapter
struct  dvb_device

Defines

#define DVB_MAJOR   212
#define DVB_DEVICE_VIDEO   0
#define DVB_DEVICE_AUDIO   1
#define DVB_DEVICE_SEC   2
#define DVB_DEVICE_FRONTEND   3
#define DVB_DEVICE_DEMUX   4
#define DVB_DEVICE_DVR   5
#define DVB_DEVICE_CA   6
#define DVB_DEVICE_NET   7
#define DVB_DEVICE_OSD   8
#define dvb_attach(FUNCTION, ARGS...)

Functions

int dvb_register_adapter (struct dvb_adapter *adap, const char *name, struct module *module, struct device *device)
int dvb_unregister_adapter (struct dvb_adapter *adap)
int dvb_register_device (struct dvb_adapter *adap, struct dvb_device **pdvbdev, const struct dvb_device *template, void *priv, int type)
void dvb_unregister_device (struct dvb_device *dvbdev)
int dvb_generic_open (struct inode *inode, struct file *file)
int dvb_generic_release (struct inode *inode, struct file *file)
int dvb_generic_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
int dvb_usercopy (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg, int(*func)(struct inode *inode, struct file *file, unsigned int cmd, void *arg))

Define Documentation

#define dvb_attach (   FUNCTION,
  ARGS... 
)
Value:
({ \
        FUNCTION(ARGS); \
})

generic DVB attach function.

Definition at line 121 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_AUDIO   1

Definition at line 35 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_CA   6

Definition at line 40 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_DEMUX   4

Definition at line 38 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_DVR   5

Definition at line 39 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_FRONTEND   3

Definition at line 37 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_NET   7

Definition at line 41 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_OSD   8

Definition at line 42 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_SEC   2

Definition at line 36 of file dvbdev-2.6.18.h.

#define DVB_DEVICE_VIDEO   0

Definition at line 34 of file dvbdev-2.6.18.h.

#define DVB_MAJOR   212

Definition at line 32 of file dvbdev-2.6.18.h.


Function Documentation

int dvb_generic_ioctl ( struct inode *  inode,
struct file *  file,
unsigned int  cmd,
unsigned long  arg 
)
int dvb_generic_open ( struct inode *  inode,
struct file *  file 
)
int dvb_generic_release ( struct inode *  inode,
struct file *  file 
)
int dvb_register_adapter ( struct dvb_adapter *  adap,
const char *  name,
struct module *  module,
struct device *  device 
)
int dvb_register_device ( struct dvb_adapter *  adap,
struct dvb_device **  pdvbdev,
const struct dvb_device *  template,
void *  priv,
int  type 
)
int dvb_unregister_adapter ( struct dvb_adapter *  adap)
void dvb_unregister_device ( struct dvb_device *  dvbdev)
int dvb_usercopy ( struct inode *  inode,
struct file *  file,
unsigned int  cmd,
unsigned long  arg,
int(*)(struct inode *inode, struct file *file, unsigned int cmd, void *arg)  func 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines