NetBSD/sys/arch/hpcmips/vr
kent 23b5d91433 merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
2005-01-10 22:01:36 +00:00
..
bcu_vrip.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
bcureg.h
bcuvar.h
cfireg.h
cmu.c
cmureg.h
cmuvar.h
com_vrip.c
com_vripvar.h
dcureg.h
dmaaureg.h
dsureg.h
flash_vrip.c throw error status when erase command timed out 2003-12-29 12:59:54 +00:00
flashreg.h
flashvar.h
icureg.h
ite8181_vrip.c
mq200_vrip.c
rtc.c
rtcreg.h
siureg.h
vr4102ip.c
vr4122ip.c
vr4181aiu.c remove unused functions to make compile 2003-12-29 12:28:14 +00:00
vr4181aiureg.h
vr4181dcureg.h
vr4181ecureg.h
vr4181giu.c
vr4181giureg.h
vr4181ip.c
vr4181ipvar.h
vr_asm.h
vr_idle.S
vr.c
vr.h
vraiu.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
vraiureg.h
vrc4172gpio.c
vrc4172gpioreg.h
vrc4172icureg.h
vrc4172pci.c Phase out the use of a string as first "attach args" member to control 2004-08-30 15:05:15 +00:00
vrc4172pcireg.h
vrc4172pcsreg.h
vrc4172pmureg.h
vrc4172pwm.c Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags. 2003-12-27 07:29:56 +00:00
vrc4172pwmreg.h
vrc4172pwmvar.h
vrc4172reg.h Spell controller with two ls. Inspired by miod@openbsd. 2004-01-04 16:19:43 +00:00
vrc4173bcu.c Update for new pci_devinfo(9) signature. 2004-04-24 15:49:00 +00:00
vrc4173bcuvar.h
vrc4173cmureg.h
vrc4173icureg.h
vrcpudef.h
vrdcu.c
vrdcuvar.h
vrdmaau.c
vrdmaauvar.h
vrdsiu_mouse.c
vrdsiureg.h
vrdsu.c
vrdsuvar.h
vrecu.c another pointless ISACF_IRQ_DEFAULT - that's just 2004-09-20 17:00:39 +00:00
vrgiu.c
vrgiureg.h
vrip.c
vripif.h
vripreg.h
vripunit.h
vripvar.h
vrkiu.c Remove needless includes of <dev/pckbc/wskbdmap_mfii.h>. 2004-03-13 17:23:32 +00:00
vrkiureg.h
vrkiuvar.h
vrled.c
vrledreg.h
vrledvar.h
vrpciu.c Fix comments regarding configration bounaries 2004-12-12 21:03:06 +00:00
vrpciureg.h
vrpiu.c Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern. 2004-05-28 17:52:06 +00:00
vrpiureg.h
vrpiuvar.h
vrpmu.c
vrpmureg.h
vrpmuvar.h