#include <linux/types.h>
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/list.h>
Go to the source code of this file.
Classes |
| struct | dvb_adapter |
| struct | dvb_device |
Defines |
| #define | DVB_MAJOR 212 |
| #define | DVB_MAX_ADAPTERS 8 |
| #define | DVB_UNSET (-1) |
| #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_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr) |
| #define | dvb_attach(FUNCTION, ARGS...) |
Functions |
| int | dvb_register_adapter (struct dvb_adapter *adap, const char *name, struct module *module, struct device *device, short *adapter_nums) |
| 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 137 of file dvbdev-2.6.v4l.h.
| #define DVB_DEFINE_MOD_OPT_ADAPTER_NR |
( |
|
adapter_nr | ) |
|
Value:static short adapter_nr[] = \
{[0 ... (DVB_MAX_ADAPTERS - 1)] = DVB_UNSET }; \
module_param_array(adapter_nr, short, NULL, 0444); \
MODULE_PARM_DESC(adapter_nr, "DVB adapter numbers")
Definition at line 47 of file dvbdev-2.6.v4l.h.
| #define DVB_DEVICE_AUDIO 1 |
| #define DVB_DEVICE_DEMUX 4 |
| #define DVB_DEVICE_FRONTEND 3 |
| #define DVB_DEVICE_VIDEO 0 |
| #define DVB_MAX_ADAPTERS 8 |
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, |
|
|
short * |
adapter_nums |
|
) |
| |
| 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 |
|
) |
| |