_liso_t Struct Reference
[Device driver]

#include <lisodsp.h>


Detailed Description

lisodsp info structure.

This structure holds all informations about a lisodsp device.


Data Fields

liso_tmagic
 Magic number.

volatile int unload
 True while unloading module.

volatile int fake_reader
 True enable timer fake reader.

proc_dir_entry * proc
 Proc FS.

liso_fmt_desc_t def_desc
 Default format description.

int def_sampling
 Default sampling rate.

int def_stereo
 Default stereo.

const liso_convertor_tdef_convertor
 Default PCM convertor.

int def_format
 Default PCM format.

int min_sampling
 Minimal sampling rate.

int max_sampling
 Maximal sampling rate.

int max_frag_size
 Maximum # of PCM per frag.

unsigned int frag_us
 Frag duration in micro-second.

atomic_t output_delay_us
 External delay (in us).

unsigned int timer_offset
 Value to program the timer.

int dev_unit
 Sound DSP unit (minor #).

semaphore w_open_sem
 Write opened semaphore.

semaphore r_open_sem
 Read opened semaphore.

int max_writers
 Max number of writers.

int idleness_threshold
 late frags to become idle

volatile int active_devices
 bitfield of current active devices

liso_subdev_t subdev [(sizeof(int)<< 3)-1]
 The writer sub-devices.

liso_subdev_t reader
 The reader device.

wait_queue_head_t wr_waitq
 Writers wait queue.

wait_queue_head_t rd_waitq
 Readers wait queue.

struct {
   int   disabled
 All timer stuff disabled.

   timer_list   list
 Linux timer list.

   tq_struct   task
 Task to be executed by sheduler.

   wait_queue_head_t *   wait
 Dying wait queue.

   volatile unsigned   cnt
 Overall timer counter.

   unsigned int   offset
 Timer interval in jiffies.

timer
 Timer info.


Field Documentation

liso_subdev_t _liso_t::subdev[(sizeof(int)<< 3)-1]
 

The writer sub-devices.

Warning:
Must be followed by the reader sub-device.

liso_subdev_t _liso_t::reader
 

The reader device.

Warning:
Must be just after subdev[] array.


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

lisodsp logo lisodsp developer documentation
version 0.5.0
Generated on June 2004
by doxygen 1.3.7