History log of /src/sys/dev/ic/tms320av110.c |
Revision | | Date | Author | Comments |
1.27 |
| 08-Jun-2019 |
isaki | Clean get_props(). - Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly. This eliminates need for audio.c to take care of such (old) drivers which don't return both of PLAYBACK and CAPTURE. - All get_props() doesn't need to return AUDIO_PROP_MMAP. It is handled in the audio layer now.
|
1.26 |
| 08-May-2019 |
isaki | Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible).
Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
|
1.25 |
| 16-Mar-2019 |
isaki | branches: 1.25.2; Use C99 style struct initializer to audio_hw_if.
|
1.24 |
| 16-Mar-2019 |
isaki | Make it compilable (remove unused variables).
|
1.23 |
| 27-Oct-2012 |
chs | branches: 1.23.12; 1.23.30; 1.23.38; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.22 |
| 23-Nov-2011 |
jmcneill | branches: 1.22.8; Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks.
Welcome to 5.99.57.
|
1.21 |
| 28-Apr-2008 |
martin | branches: 1.21.34; 1.21.36; Remove clause 3 and 4 from TNF licenses
|
1.20 |
| 08-Apr-2008 |
cegger | branches: 1.20.2; 1.20.4; use aprint_*_dev and device_xname
|
1.19 |
| 19-Oct-2007 |
ad | branches: 1.19.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.18 |
| 11-Dec-2005 |
christos | branches: 1.18.28; 1.18.30; 1.18.44; 1.18.46; 1.18.50; merge ktrace-lwp.
|
1.17 |
| 15-Jan-2005 |
kent | branches: 1.17.10; ansify and KNF
|
1.16 |
| 10-Jan-2005 |
kent | 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
|
1.15 |
| 29-Oct-2004 |
yamt | branches: 1.15.2; constify audio_hw_if, midi_hw_if, and radio_hw_if.
|
1.14 |
| 09-Jul-2004 |
mycroft | Remove junk code.
|
1.13 |
| 22-Apr-2004 |
itojun | sprintf -> snprintf
|
1.12 |
| 06-Jan-2003 |
wiz | branches: 1.12.2; interrupt with two rs.
|
1.11 |
| 15-Nov-2001 |
lukem | don't need <sys/types.h> when including <sys/param.h>
|
1.10 |
| 13-Nov-2001 |
lukem | add/cleanup RCSID
|
1.9 |
| 03-Oct-2001 |
augustss | Add a new optional method, dev_ioctl, to the audio hardware driver interface. It is called when an unrecognized ioctl() is performed on a device, thus allowing ioctl()s that frob the hardware driver (like loading microcode).
|
1.8 |
| 16-Feb-1999 |
is | branches: 1.8.20; 1.8.22; 1.8.24; Fix Copyright dates
|
1.7 |
| 16-Feb-1999 |
is | Assign my files to The NetBSD Foundation, Inc.
|
1.6 |
| 17-Aug-1998 |
augustss | * Redo the way the way the MIDI driver attaches to audio devices. * Improve the midisyn layer a little. * Add a driver for the Yamaha OPL[23] FM synths. The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards, but a regular SB16 works fine.
|
1.5 |
| 20-Oct-1997 |
is | Dont waste time in delay()s... else we won't finish in time to get our first lowwatermark interupt for AUDIO_BYPASS data.
|
1.4 |
| 19-Oct-1997 |
is | Fix pasto in symbolic name for string
|
1.3 |
| 19-Oct-1997 |
is | tav_write_word -> tav_write_short
|
1.2 |
| 19-Oct-1997 |
augustss | Make the audio API (almost) SunOS compatible. The changes is to allow some limited mixer manipulation through the audio device (instead of the mixer device). This rendered 4 methods in audio_hw_if unused so garbage collect these.
|
1.1 |
| 16-Oct-1997 |
is | TMS320AV110 (mpeg layer 2 decoder chip) and ZBUS Melody board, which uses it. No optionboards yet for Melody, only audio driver. MPEG data types for audio.c
|
1.8.24.1 |
| 11-Oct-2001 |
fvdl | Catch up with -current. Fix some bogons in the sparc64 kbd/ms attach code. cd18xx conversion provided by mrg.
|
1.8.22.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.8.20.4 |
| 07-Jan-2003 |
thorpej | Sync with HEAD.
|
1.8.20.3 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.8.20.2 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.8.20.1 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.12.2.5 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.12.2.4 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.12.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.12.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.12.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.15.2.2 |
| 09-Jan-2005 |
kent | audio_hw_if change * make open() and close() optional * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters to round_blocksize()
|
1.15.2.1 |
| 03-Jan-2005 |
kent | adopt the filter pipeline framework
|
1.17.10.1 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.18.50.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.18.46.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.18.44.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.18.30.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.18.28.1 |
| 27-Feb-2007 |
ad | Add MP locking for audio drivers.
|
1.19.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.20.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.20.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.21.36.2 |
| 22-Nov-2011 |
jmcneill | get rid of unused 'powerstate' callback in audio_hw_if
|
1.21.36.1 |
| 20-Nov-2011 |
jmcneill | adapt to audiomp api changes
|
1.21.34.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.21.34.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.22.8.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.23.38.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.23.30.1 |
| 08-Mar-2020 |
martin | Pull up following revision(s) (requested by is in ticket #1516):
sys/dev/ic/tms320av110.c: revision 1.24
Make it compilable (remove unused variables).
|
1.23.12.1 |
| 08-Mar-2020 |
martin | Pull up following revision(s) (requested by is in ticket #1723):
sys/dev/ic/tms320av110.c: revision 1.24
Make it compilable (remove unused variables).
|
1.25.2.3 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.25.2.2 |
| 25-Apr-2019 |
isaki | Add missing mutex_exit() in interrupt handler.
|
1.25.2.1 |
| 25-Apr-2019 |
isaki | Adapt to audio2. - Starting playback in init_output() no longer works. Introduce sc_active flag instead and do it in start_output().
|