rockbox/firmware/target/arm/imx233
Michael Sevakis 286a4c5caa Revise the PCM callback system after adding multichannel audio.
Additional status callback is added to pcm_play/rec_data instead of
using a special function to set it. Status includes DMA error
reporting to the status callback. Playback and recording callback
become more alike except playback uses "const void **addr" (because
the data should not be altered) and recording  uses "void **addr".
"const" is put in place throughout where appropriate.

Most changes are fairly trivial. One that should be checked in
particular because it isn't so much is telechips, if anyone cares to
bother. PP5002 is not so trivial either but that tested as working.

Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2
Reviewed-on: http://gerrit.rockbox.org/166
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-03-03 07:23:38 +01:00
..
sansa-fuzeplus lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
adc-imx233.c imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay) 2011-11-14 21:42:43 +00:00
adc-imx233.h imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay) 2011-11-14 21:42:43 +00:00
app.lds Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
audioin-imx233.c imx233: add audioin init code, add adc dma interrupts, fix register defines 2012-02-05 16:05:07 +01:00
audioin-imx233.h imx233: add audioin init code, add adc dma interrupts, fix register defines 2012-02-05 16:05:07 +01:00
audioout-imx233.c imx233/fuze+: fix a typo, handle volume differently because of the line1/dac mode difference. 2012-02-03 20:04:39 +01:00
audioout-imx233.h imx233/fuze+: fix a typo, handle volume differently because of the line1/dac mode difference. 2012-02-03 20:04:39 +01:00
boot.lds Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
clkctrl-imx233.c imx233: user __FIELD_SET to set the clock divisors 2012-02-28 23:57:37 +01:00
clkctrl-imx233.h imx233: fix clkctrl code (some registers don't have a SET/CLR variant) 2012-01-21 20:15:29 +01:00
clock-target.h
crt0.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
dcp-imx233.c imx233: implement dcp blitting, simplify code and make it work even in context interrupt by busy waiting 2012-01-27 20:08:33 +01:00
dcp-imx233.h imx233: implement dcp blitting, simplify code and make it work even in context interrupt by busy waiting 2012-01-27 20:08:33 +01:00
debug-imx233.c fuze+: add basi pinctrl debug screen 2012-02-01 15:02:22 +01:00
debug-target.h imx233: move dbg function declaration to system-target.h 2012-01-04 06:37:25 +00:00
dma-imx233.c imx233/fuze+: allow dma info retrieval; wait for end of channel reset before returning; fix typo 2011-10-18 22:03:25 +00:00
dma-imx233.h imx233/fuze+: allow dma info retrieval; wait for end of channel reset before returning; fix typo 2011-10-18 22:03:25 +00:00
i2c-imx233.c imx233/fuze+: correctly reset i2c block 2011-09-13 23:40:16 +00:00
i2c-imx233.h imx233/fuze+: huge rework 2011-07-23 11:45:22 +00:00
kernel-imx233.c imx233: update arbiter to get more debug information, update debug screen accordingly 2012-01-27 20:08:33 +01:00
kernel-imx233.h imx233: update arbiter to get more debug information, update debug screen accordingly 2012-01-27 20:08:33 +01:00
lcdif-imx233.c imx233/fuze+: correctly lcdif block 2011-09-13 23:39:18 +00:00
lcdif-imx233.h imx233: add comment about block reset 2011-12-13 22:48:01 +00:00
lradc-imx233.c imx233: add DCP driver (only memcpy implemented), move channel arbiter to kernel-imx233 2012-01-15 02:29:30 +01:00
lradc-imx233.h imx233: fix prototype and battery conversion setup code 2011-11-14 21:47:59 +00:00
mmc-imx233.c imx233: fix to typo and remove a forgotten panic 2011-12-15 17:07:15 +00:00
pcm-imx233.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
pinctrl-imx233.c imx233/fuze+: add pin irq support 2011-07-22 15:45:50 +00:00
pinctrl-imx233.h imx233/fuze+: add pin irq support 2011-07-22 15:45:50 +00:00
power-imx233.c fuze+: use the si4700 internal oscillator and set a pin on power down (seems important) 2012-02-01 17:51:01 +01:00
power-imx233.h imx233: print power up source in the bootloader 2012-02-28 22:45:30 +01:00
powermgmt-imx233.c imx233: correctly stop charging on topoff (fix battery discharging) 2012-02-29 18:43:26 +01:00
powermgmt-imx233.h imx233: forgot a file 2011-12-24 19:23:11 +00:00
rtc-imx233.c imx233: forgot a file 2011-12-31 13:50:07 +00:00
rtc-imx233.h imx233/fuze+: implement rtc (time only, alarm still to implement) 2011-12-31 13:35:45 +00:00
sd-imx233.c fuze+: pin B1P30 is volume down key and has no relation with SD 2012-02-01 15:02:22 +01:00
ssp-imx233.c imx233/fuze+: add support for sd card, enable FAT16 support because it's common on sd cards 2011-12-15 17:06:55 +00:00
ssp-imx233.h imx233/fuze+: add support for sd card, enable FAT16 support because it's common on sd cards 2011-12-15 17:06:55 +00:00
system-imx233.c imx233: add audioin init code, add adc dma interrupts, fix register defines 2012-02-05 16:05:07 +01:00
system-target.h imx233: add audioin init code, add adc dma interrupts, fix register defines 2012-02-05 16:05:07 +01:00
timer-imx233.c imx233/fuze+: fix prototype 2011-09-13 23:39:15 +00:00
timrot-imx233.c imx233/fuze+: move to a more generic xtal derived clock enabling function, fix timrot accordingly 2011-10-18 22:00:50 +00:00
timrot-imx233.h imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq 2011-09-06 00:27:38 +00:00
usb-imx233.c imx233/fuze+: set a few recommended power bits by Freescale, remove some uneeded headers, implement audio path selection for playback and radio 2012-02-01 15:02:22 +01:00