Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mxr_device Struct Reference

#include <mixer.h>

Data Fields

struct devicedev
 
struct mxr_layerlayer [MXR_MAX_LAYERS]
 
struct mxr_outputoutput [MXR_MAX_OUTPUTS]
 
int output_cnt
 
struct v4l2_device v4l2_dev
 
voidalloc_ctx
 
wait_queue_head_t event_queue
 
unsigned long event_flags
 
spinlock_t reg_slock
 
struct mutex mutex
 
int n_output
 
int n_streamer
 
int current_output
 
struct mxr_resources res
 

Detailed Description

drivers instance

Definition at line 233 of file mixer.h.

Field Documentation

void* alloc_ctx

context of allocator

Definition at line 248 of file mixer.h.

int current_output

index of current output

Definition at line 264 of file mixer.h.

struct device* dev

master device

Definition at line 235 of file mixer.h.

unsigned long event_flags

state flags

Definition at line 252 of file mixer.h.

event wait queue

Definition at line 250 of file mixer.h.

state of each layer

Definition at line 237 of file mixer.h.

mutex for protection of fields below

Definition at line 258 of file mixer.h.

int n_output

number of entities depndant on output configuration

Definition at line 260 of file mixer.h.

int n_streamer

number of users that do streaming

Definition at line 262 of file mixer.h.

state of each output

Definition at line 239 of file mixer.h.

int output_cnt

number of registered outputs

Definition at line 241 of file mixer.h.

spinlock_t reg_slock

spinlock for protection of registers

Definition at line 255 of file mixer.h.

auxiliary resources used my mixer

Definition at line 266 of file mixer.h.

struct v4l2_device v4l2_dev

V4L2 device

Definition at line 246 of file mixer.h.


The documentation for this struct was generated from the following file: