struct dvb_device — represents a DVB device node
struct dvb_device { struct list_head list_head; const struct file_operations * fops; struct dvb_adapter * adapter; int type; int minor; u32 id; int readers; int writers; int users; wait_queue_head_t wait_queue; int (* kernel_ioctl) (struct file *file, unsigned int cmd, void *arg); #if defined(CONFIG_MEDIA_CONTROLLER_DVB) const char * name; struct media_entity * entity; struct media_pad * pads; #endif void * priv; };
List head with all DVB devices
pointer to struct file_operations
pointer to the adapter that holds this device node
type of the device: DVB_DEVICE_SEC, DVB_DEVICE_FRONTEND, DVB_DEVICE_DEMUX, DVB_DEVICE_DVR, DVB_DEVICE_CA, DVB_DEVICE_NET
devnode minor number. Major number is always DVB_MAJOR.
device ID number, inside the adapter
Initialized by the caller. Each call to open
in Read Only mode
decreases this counter by one.
Initialized by the caller. Each call to open
in Read/Write
mode decreases this counter by one.
Initialized by the caller. Each call to open
in any mode
decreases this counter by one.
wait queue, used to wait for certain events inside one of the DVB API callers
callback function used to handle ioctl calls from userspace.
Name to be used for the device at the Media Controller
pointer to struct media_entity associated with the device node
pointer to struct media_pad associated with entity
;
private data