rockbox/firmware/export
Michael Sevakis 292e7cab73 Gigabeat S: PMIC SPI improvement and bugfixes.
Nick some aspects from the as3525 ascodec driver to improve throughput in
the beast's SPI communications by switching tranfer descriptors to the
caller's stack and getting rid of thread synchronization.

Fix a bug that suddenly became obvious that could permanently stall the SPI
driver because all data could be shifted out before the interrupt could get
serviced. In that case, it needs a kick to restart it. Should probably put
the SPI interrupt priority above DVFS.

A tweak to the event registration interface to simplify it.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31353 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 10:41:43 +00:00
..
config FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip) 2011-12-17 20:24:19 +00:00
adc.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
aic3x.h Sansa Connect: Revise codec initialization/shutdown. 2011-12-05 09:53:23 +00:00
ak4537.h 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. 2009-05-25 21:10:45 +00:00
akcodec.h 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. 2009-05-25 21:10:45 +00:00
as3514.h Sansa AMS/AMSv2: analog front-end register CVDD/DCDC3 doesn't exist in AMSv2, so don't modify it 2011-09-21 21:48:19 +00:00
as3525.h Move usb-s3c6400 register comments to usb-s3c6400.h 2011-12-13 04:21:06 +00:00
as3525v2.h AMSv2: remove stray ; from USB_DEVBSS_ATTR 2011-11-27 00:07:06 +00:00
ascodec.h Oops, fix red - only include ascodec-target.h when HAVE_AS3514 is defined 2008-10-31 00:37:58 +00:00
at91sam9260.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
ata-defines.h Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
ata-driver.h Add STORAGE_INIT_ATTR to some target-specific ATA functions. 2011-12-09 02:07:24 +00:00
ata.h FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change: 2011-12-08 21:23:53 +00:00
ata_idle_notify.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
ata_mmc.h Merge tCardInfo struct (MMC) and tSDCardInfo struct (SD) 2009-07-01 10:07:22 +00:00
audio.h Buflib: Make shrinking and buflib_available() smarter. 2011-11-17 17:55:02 +00:00
audiohw.h Sandisk Sansa Connect port (FS #12363) 2011-11-16 14:08:01 +00:00
backlight-sw-fading.h Get rid of the last "backlight thread fading" remnant, and of the calculation of the delay. It actually wasn't more than those 3 cases before anyway. 2009-03-11 21:10:17 +00:00
backlight.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
bidi.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
bitswap.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
bootchart.h bootchart.h doesn't need _ansi.h, especially not in a relative path 2010-07-25 15:28:24 +00:00
button.h Add support multimedia keys/buttons to the core, and adapt Rockbox on android for it (multimedia buttons are found on wired headsets and the lock screen in cyanogenmod). 2010-10-31 15:32:57 +00:00
config.h There's not much to be shared between gigabeatf and gigabeats lcd code 2011-12-15 20:16:05 +00:00
config_caps.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
cpu.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
cs42l55.h Fix CS42L55 (iPod Classic) tone control 2011-01-07 23:09:09 +00:00
cscodec.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
dac3550a.h Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
debug.h RaaA: Add initial Pandora support 2011-02-27 23:42:37 +00:00
disk.h Add support for for per-drive logical sector size. This allows targets to have a different logical sector size for the internal storage and the sd card, like on the fuze+ for example. 2011-12-15 17:07:19 +00:00
dm320.h Sandisk Sansa Connect port (FS #12363) 2011-11-16 14:08:01 +00:00
ds2411.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
dsp-util.h Collect the 16-bit signed range sample clipping routines scattered about, which can be optimized on armv6 and create firmware/export/dsp-util.h (for lack of better place right now). 2011-12-04 18:19:39 +00:00
dummy_codec.h Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. 2011-11-03 11:53:02 +00:00
eeprom_24cxx.h Various files: make function implementations consistent with their declaration in the header file or static if 2009-01-31 23:51:11 +00:00
eeprom_settings.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
enc_base.h Fix debug compilation of enc_base.h: define H_TO_BE32 as htobe32 2011-12-15 17:07:22 +00:00
events.h FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and Base Skin when the radio is running. 2010-05-16 11:13:42 +00:00
fat.h iPod Classic CE-ATA Support (Part 2 of 4: Remove on-stack sector buffers, and replace them with a single statically allocated sector buffer that's arbitrated amongst users) 2011-02-27 22:44:54 +00:00
filefuncs.h struct DIR -> DIR, should fix most if not all reds. 2010-09-01 21:45:58 +00:00
fmradio.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
fmradio_i2c.h mark some functions as init functions (discarded after init() has run) 2010-05-27 12:00:29 +00:00
font.h glyph_cache_save should be static 2011-11-27 15:24:53 +00:00
gdb_api.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
general.h Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them. 2010-05-17 12:34:05 +00:00
generic_i2c.h Apply FS #11423 - Use udelay in AMS driver for FM radio I2C 2010-06-21 21:41:07 +00:00
hangul.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
hd66789r.h Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2. 2008-09-16 08:09:44 +00:00
hwcompat.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
i2c-coldfire.h Fix more tabs 2010-01-03 10:27:43 +00:00
i2c-pp.h Move private #defines from i2c-pp.h to i2c-pp.c 2009-05-21 14:31:47 +00:00
i2c-rk27xx.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
i2c-s5l8700.h S5L8700: implement i2c driver (used for communicating with the RTC and the codec in the meizus) 2009-06-27 20:11:11 +00:00
i2c-s5l8702.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
i2c.h imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences 2011-07-03 15:18:41 +00:00
i2s.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
iap.h IAP: use a state machine for handling iap packets, based on FS#12135 2011-09-25 12:19:33 +00:00
ifp_usb_serial.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
imx31l.h Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead. 2011-02-02 17:43:32 +00:00
imx233-codec.h imx233/fuze+: fix codec prototype header 2011-10-18 22:03:29 +00:00
imx233.h imx233/fuze+: enable plugins 2011-10-02 20:33:14 +00:00
ipod_remote_tuner.h iap: pass length and data pointer to iap_handlepkt functions, this prepares for iap large packet support. 2011-05-02 21:55:13 +00:00
isp1362.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
isp1583.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
jz4740-codec.h Fix yellow 2009-05-26 23:28:53 +00:00
jz4740.h Ingenic Jz4740: add basic frequency switching 2009-07-03 21:34:40 +00:00
jz_mxu.h Ingenic Jz4740: 2008-12-31 01:57:07 +00:00
kernel.h Get rid of a committed #define from kernel.h that didn't make the final cut. Put voice_wait in voice_thread.h where it ought. 2011-04-27 04:00:48 +00:00
lcd-charcell.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lcd-remote.h Add new lcd_bmp and lcd_bmp_part APIs. 2011-11-08 21:34:46 +00:00
lcd.h Oops. Left some bits I didn't want to keep. 2011-12-16 23:46:12 +00:00
led.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
load_code.h Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
logf.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
ltv350qv.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lv24020lp.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
m5636.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
m66591.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
mas35xx.h Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me. 2010-10-31 21:09:34 +00:00
mascodec.h FS#12378 : Removal of Archos HWCODEC unused code and data. Several large hardware-specific functions are kept for reference or future use. 2011-11-22 19:59:31 +00:00
mc13783.h Gigabeat S: PMIC SPI improvement and bugfixes. 2011-12-18 10:41:43 +00:00
mcf5249.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
mcf5250.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
mips-archdefs.h Onda VX747: 2009-02-16 22:49:58 +00:00
mips.h Onda VX747: 2009-02-16 22:49:58 +00:00
mipsregs.h Onda VX747: 2009-02-16 22:49:58 +00:00
mmc.h Add INIT_ATTR to storage_init() when possible 2011-11-20 18:44:40 +00:00
mp3_playback.h FS#12378 : Removal of Archos HWCODEC unused code and data. Several large hardware-specific functions are kept for reference or future use. 2011-11-22 19:59:31 +00:00
mv.h Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
nand.h Add INIT_ATTR to storage_init() when possible 2011-11-20 18:44:40 +00:00
nand_id.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
ohci.h Add data structures 2009-07-12 15:29:22 +00:00
panic.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
pcf5060x.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf5063x.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcf50605.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
pcf50606.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf50635.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcm-internal.h Use a macro for aligning PCM chunks instead of explictly coding it each time. 2011-12-05 13:58:35 +00:00
pcm.h Move the PCMREC_E/W_* defines back to pcm_record.h because they're part of the recording engine interface. Leave the low-level DMA error defines in pcm.h. 2011-12-08 21:45:53 +00:00
pcm_mixer.h Nokia N900: Increase the number of samples for the software mixer 2011-12-09 20:04:41 +00:00
pcm_sampr.h AS3525v1/v2: 2011-12-08 19:20:00 +00:00
pl081.h Sansa AMS: Use DMA for SD transfers (read and write) 2008-11-25 13:38:32 +00:00
pl180.h AMS Sansa: Add voltage defines to pl180.h. No functional changes. 2009-10-19 05:34:17 +00:00
pnx0101.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
power.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
powermgmt.h Bring idle poweroff to RaaA and the sim 2011-03-08 19:33:30 +00:00
pp5002.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
pp5020.h Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly). 2011-01-15 08:19:30 +00:00
pp5024.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
pp6100.h Add information gleaned from disassembling the main firmware image. Detect lcd type in use. Still no actual output 2009-07-17 20:40:40 +00:00
profile.h Commit FS#9170 by Dave Hooper. Adds support for profiling on ARM, and fixes various issues with compiling profile builds. Also, note that profile_reader.pl syntax has changed. 2008-07-28 22:43:41 +00:00
qt1106.h set svn properties 2008-09-17 18:50:34 +00:00
r61509.h Onda VX7x7: fix error when compiling with USB_BOOT defined 2009-07-29 12:57:42 +00:00
ramdisk.h Add INIT_ATTR to storage_init() when possible 2011-11-20 18:44:40 +00:00
rbpaths.h Android: install codecs as native libs instead of extracting them (FS#12134). 2011-05-31 21:26:18 +00:00
rda5802.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
rds.h FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip) 2011-12-17 20:24:19 +00:00
rk27xx.h rk27xx - implement cache_commit_discard(). Cache is still not enabled in crt0.S 2011-07-19 06:49:03 +00:00
rk27xx_codec.h Implement driver for internal codec in rk27xx (shCODlp-100.01-HD IP core from Dolphin) 2011-09-06 12:37:57 +00:00
rolo.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
rtc.h rtc_enable_alarm() needs no return value 2010-05-22 00:28:26 +00:00
s1a0903x01.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
s3c2440.h s5l870x : use mmu-arm.S 2010-04-13 15:59:49 +00:00
s5l8700.h s5l870x: use usb-s3c6400 defines 2011-12-13 05:25:57 +00:00
s5l8702.h s5l870x: use usb-s3c6400 defines 2011-12-13 05:25:57 +00:00
screendump.h Really fix yellow: Rename BMP_LINESIZE and BMP_BPP to get rid of the macro name collision 2010-10-25 12:52:02 +00:00
scroll_engine.h Pixel-accurate (vertical) list scrolling for touchscreen targets. 2010-10-06 12:46:42 +00:00
sd.h Add INIT_ATTR to storage_init() when possible 2011-11-20 18:44:40 +00:00
sdmmc.h Remove card_enable_monitoring() and use a mutex instead. The card_enable_monitoring() method actually didn't eliminate the possible race conditions it was meant to fix. 2010-06-06 13:20:47 +00:00
serial.h Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. 2008-12-25 01:46:16 +00:00
sh7034.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
si4700.h FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip) 2011-12-17 20:24:19 +00:00
sound.h Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. 2010-05-15 13:09:45 +00:00
spdif.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
spi.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
storage.h Add INIT_ATTR to storage_init() when possible 2011-11-20 18:44:40 +00:00
structec.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
sw_i2c.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
synaptics-mep.h SA9200: Adjust touchpad sensitivities so that actual contact with the player is needed to cause button presses and hopefully those settings will work nicely. Add a parameter read function to the MEP driver for debugging and RE purposes; enable compilation of it if you want to use it. Make a note in power-sa9200.c about button inits. 2011-01-11 23:48:29 +00:00
synaptics-rmi.h imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences 2011-07-03 15:18:41 +00:00
system.h Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
tcc77x.h Define CACHEALIGN_BITS for missing ARM CPUs for later use. 2010-11-19 07:17:20 +00:00
tcc780x.h Define CACHEALIGN_BITS for missing ARM CPUs for later use. 2010-11-19 07:17:20 +00:00
tea5760.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
tea5767.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
thread.h Finally commit FS#5111 - piezo clicker for ipods! 2011-11-16 10:25:43 +00:00
timer.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
tlv320.h cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from all driver .h files 2009-01-20 22:55:10 +00:00
touchscreen.h Touchscreen: Improved scroll threshold 2010-11-10 15:25:15 +00:00
tsc200x.h Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller). 2009-10-15 20:13:29 +00:00
tsc2100.h M:Robe 500 and TSC2100: Add more to the initialization. Some GPIO initializations are now removed - this will be hanled by the OF or bootloader (when loading from flash). 2011-02-06 19:33:40 +00:00
tuner.h fix reds, not so nice fiddling with simulator stubs to make it all works 2010-11-18 11:57:51 +00:00
uda1341.h Improvements to mini2440/UDA1341 audio 2009-11-01 22:58:08 +00:00
uda1380.h Fix more tabs 2010-01-03 10:27:43 +00:00
udacodec.h Create an udacodec interface (similar to ascodec and wmcoded) and adapt/implement it for the iriver h1xx/h3xx and the meizus. 2009-06-28 17:43:04 +00:00
usb-s3c6400x.h usb-drv-as3525v2.c: simplify a lot 2011-12-13 19:53:19 +00:00
usb-tcc.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb.h Simplify and neaten-up usb.c a bit. USB_INSERTED and USB_EXTRACTED are always used as events to indicate cable state. USB_HOSTED is posted to indicated that a host was detected. 2011-12-15 00:14:36 +00:00
usb_ch9.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb_core.h New USB charging system, part 1 - API rework and user-visible setting update 2010-06-05 10:05:27 +00:00
usb_drv.h usb_drv_reset() is only used in usb-drv-arc.c 2010-09-16 05:46:24 +00:00
wm8731.h cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from all driver .h files 2009-01-20 22:55:10 +00:00
wm8751.h slightly modified FS#11531 by me: WM8750/51 driver rework 2011-03-14 09:58:19 +00:00
wm8758.h Submit first part of FS#12154. Whitespace removal and correction of several defines in WM8758 driver according to data sheet, no functional change. Thanks to Seheon Ryu. 2011-06-20 18:37:51 +00:00
wm8975.h Fix FS#11973. iPod nano1G needed reboot after entering record mode to have audio again. 2011-03-03 20:53:30 +00:00
wm8978.h Gigabeat S/i.MX31/wm8978: Clean up clocking information in the general wmcodec/pcm drivers and move it to the target's wmcodec/i2s files. 2011-10-17 15:37:14 +00:00
wm8985.h Submit FS#11240 by Raphael Jakse. Allows to reduce volume on WM8985 to -89 dB (e.g. used for Cowon D2). Below -57 dB the line out is affected. The manual is updated accordingly. 2010-05-30 18:29:04 +00:00
wmcodec.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00