rockbox/firmware/export
Rob Purchase 9b691d335a Split out the PCF5060x register defines into a common header and create a generic pcf50606.c using standard i2c read/writes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16966 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 20:24:08 +00:00
..
adc.h Various coldfire fixes: (1) iAudio Bootloader: Check the status of main & remote power button vs. the respective hold switch, and shut down when on hold. On X5/M5 this check is not strictly necessary for the main unit, but left there to keep things uniform. (2) M3: Stop reading the ADC properly before leaving the bootloader, on RoLo, and on reboot, to make it work reliably after those transitions. (3) Disable all interrupt sources on system init to avoid premature ISR calls after enabling interrupts in general. (4) iAudios: Proper implementation of ide_powered(), avoiding nasty HDD clicks in the bootloader when powering down, e.g. because of Hold. (5) Slight optimisations. 2008-03-17 23:47:38 +00:00
as3514.h Second part of FS#8272 - include charger status in Sansa debug menu. 2008-03-04 14:31:14 +00:00
ata.h Do the CONFIG_LED define 2007-02-18 05:07:19 +00:00
ata_idle_notify.h Implement the playback event handling as a system-wide multi-purpose event system. Unified mpeg.c and playback.c audio event handling. Converted ata_idle_notify to use the new event handling system also. 2008-03-16 13:55:16 +00:00
ata_mmc.h Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with some tweaks. All testers have given the green light. (Now for the RED ?? ;). 2007-06-30 02:08:27 +00:00
audio.h Revert my earlier const madness, we'll keep the parameter lists simple. 2008-03-28 12:51:33 +00:00
audiohw.h move audiohw_postinit to audiohw.h 2008-02-12 20:40:53 +00:00
backlight.h Greyscale library: * Implement linearisation curve flipping for 1st/2nd Gen iPods (LCD is inverted when backlight is on, so the curve is also inverted). This needs a slight extension of is_backlight_on() functionality in the core. * Thorough recalibration of all reachable greyscale targets, and #ifdef cleanup. * Reduce on-target gamma a bit, because the displayable contrast range of a monochrome/greyscale isn't that high. 2008-04-02 22:16:14 +00:00
bidi.h
bitswap.h
buffer.h
button.h Major cleanup of checkwps - fix all warnings and add a script to build versions for all supported targets (plus some unsupported ones). You now need to run the version of checkwps that matches the device your WPS is for. 2008-03-26 23:35:34 +00:00
config-c200.h Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets. 2008-02-10 05:39:20 +00:00
config-cowond2.h Introduce sanity check and extra nop to stabilise TCC780x set_cpu_frequency(). Re-enable HAVE_ADJUSTABLE_CPU_FREQ and kill a few warnings by setting HAVE_SW_TONE_CONTROLS. 2008-03-31 22:43:20 +00:00
config-creativezvm.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-e200.h Oops. Didn't mean to commit this. 2008-03-04 14:40:04 +00:00
config-fmrecorder.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-gigabeat-s.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-gigabeat.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-h10.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-h10_5gb.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-h100.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-h120.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-h300.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-iaudiom3.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-iaudiom5.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-iaudiox5.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ifp7xx.h Oops forgot a few 2007-11-18 13:41:39 +00:00
config-ipod1g2g.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipod3g.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipod4g.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipodcolor.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipodmini.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipodmini2g.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipodnano.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ipodvideo.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-logikdax.h Button driver for Logik DAX, plus some changes to the debug info displayed in the bootloader build. 2007-11-01 23:38:57 +00:00
config-mrobe100.h m:robe 100 2008-04-03 11:08:38 +00:00
config-mrobe500.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-ondiofm.h Move a few #defines to target specific config files 2007-11-18 13:33:27 +00:00
config-ondiosp.h Move a few #defines to target specific config files 2007-11-18 13:33:27 +00:00
config-player.h Revert... stupid svn doesn't complain when passing -m twice :( 2008-04-02 22:45:23 +00:00
config-recorder.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-recorderv2.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config-tpj1022.h use HAVE_ATA to decide if ata.c should be compiled 2008-03-27 10:58:36 +00:00
config.h Add a lightweight wakeup object for fast processors. 2008-03-30 04:59:51 +00:00
config_caps.h Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first. 2007-06-08 23:42:04 +00:00
cpu.h Initial Cowon D2 commit: 2008-01-14 22:04:48 +00:00
debug.h Fix simulator builds, and some debugf() format strings. 2007-03-17 09:54:28 +00:00
disk.h Major USB fixes by Frank Gevaerts. Still disabled in builds, #define USE_ROCKBOX_USB to test. 2008-02-11 14:26:25 +00:00
dm320.h m:robe 500i: Add DSP (C5409) control driver and image loader. 2007-11-20 05:12:05 +00:00
ds2411.h iAudio X5: Enable reading of DS2411 serial number. See it under System|Debug|View HW info. 2007-03-11 13:59:31 +00:00
eeprom_24cxx.h
eeprom_settings.h
enc_base.h Move encoder CPU boost control to the core. Allow CPU to sleep a bit when PCM buffer is empty and save some power. Codec API becomes incompatible so full updates! :) 2007-11-30 05:16:56 +00:00
events.h Oops; I forgot one. 2008-04-03 17:56:04 +00:00
fat.h Do some crackdown on kernel object reinitialization after they could be in use and use before initialization. For c200/e200: Be sure fat cache and ata locks are acquired in the proper order during hot swapping. Delay hotswap monitoring until after initial file mounting (address 2nd kobj concern + possible call of fat driver before init). 2008-03-12 10:03:52 +00:00
fmradio.h
fmradio_i2c.h
font.h Make checkwps compile again. Still more work is needed though, as checkwps is compiled to emulate an iPod Color - this needs changing to allow the LCD (and remote LCD) dimensions/depth to be specified on the commandline - the new %V tags are validated against the LCD characteristics 2008-03-25 21:09:58 +00:00
gdb_api.h
general.h Add some CACHEALIGN_* macros and a helper function to assist in aligning data and buffers on PortalPlayer processors to cache line boundaries. They're noops when PROC_NEED_CACHEALIGN isn't defined. Go safe and increase the value to 32 since I'm not sure yet if 16 is sufficient - changing that is a one-liner. Add helper to plugin API which will be needed shortly. 2007-11-08 05:17:20 +00:00
generic_i2c.h
hangul.h
hotswap.h Arrrgh. Fix red now. :\ 2008-03-12 11:23:42 +00:00
hwcompat.h The iPod Video has the HW version at a different address in ROM. 2007-10-28 01:00:18 +00:00
i2c-coldfire.h Correct the name of a flag. No functional change. 2008-03-18 22:48:26 +00:00
i2c-pp.h Portal player i2c driver: More struct spinlock phaseout. 2007-11-12 07:58:54 +00:00
i2c.h
i2s.h Reenable scaling on Sansa since a reasonable solution to clicks has been found. 2007-07-26 10:46:17 +00:00
id3.h Revert... stupid svn doesn't complain when passing -m twice :( 2008-04-02 22:45:23 +00:00
ifp_usb_serial.h move the ifp7xx usb serial driver files to more specific names, to make the "usb_serial" name available for more general usb class driver use 2008-03-02 18:16:24 +00:00
imx31l.h Gigabeat S: Add some more register #defines to use later. 2008-04-02 00:33:02 +00:00
isp1362.h
kernel.h Change a #define constant that conflicts with a mingw definition. Change "WAIT_*" to "OBJ_WAIT_*". 2008-04-01 03:55:02 +00:00
lcd-charcell.h Hmpf, these ever-missing svn properties... 2007-04-06 11:22:26 +00:00
lcd-remote.h Major cleanup of checkwps - fix all warnings and add a script to build versions for all supported targets (plus some unsupported ones). You now need to run the version of checkwps that matches the device your WPS is for. 2008-03-26 23:35:34 +00:00
lcd.h Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3. 2008-03-24 00:35:53 +00:00
led.h
logf.h logf changes: 2007-10-24 22:06:36 +00:00
lv24020lp.h e200: Tuner driver needs to yield alot and also be mutexed. FM debug screen got broken again and was ignoring cancellation and not drawing the lines. 2007-07-14 22:00:50 +00:00
m5636.h
mas.h
mas35xx.h move {bass,treble,prescale}_table from sound.c to mas35xx.h 2007-11-15 23:32:56 +00:00
mcf5249.h
mcf5250.h
mp3_playback.h Accept FS#7264 'Build with -Os switch for coldfire targets'. 2007-06-13 15:35:07 +00:00
mp3data.h Shave a few bytes off the binary size, especially on hwcodec targets 2007-02-15 22:55:22 +00:00
mpeg.h Implement the playback event handling as a system-wide multi-purpose event system. Unified mpeg.c and playback.c audio event handling. Converted ata_idle_notify to use the new event handling system also. 2008-03-16 13:55:16 +00:00
panic.h
pcf5060x.h Split out the PCF5060x register defines into a common header and create a generic pcf50606.c using standard i2c read/writes. 2008-04-04 20:24:08 +00:00
pcf50605.h Try to fix the case where Ipods would spuriously wake up even though no alarm had been set. 2007-09-28 15:09:54 +00:00
pcf50606.h Split out the PCF5060x register defines into a common header and create a generic pcf50606.c using standard i2c read/writes. 2008-04-04 20:24:08 +00:00
pcm.h Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound. 2007-10-06 22:27:27 +00:00
pcm_record.h Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound. 2007-10-06 22:27:27 +00:00
pcm_sampr.h e200: Add recording. Just from MIC right now and FM integration will happen soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC). 2007-06-05 07:03:30 +00:00
pnx0101.h PNX0101: new register names and polishing support for Clock Generation Unit 2007-09-20 22:13:48 +00:00
power.h e200/c200: Take advantage of mutex recursion for the tuner driver and dump the awkward *_nolock stuff. 2007-11-05 07:01:32 +00:00
powermgmt.h Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets. 2008-02-10 05:39:20 +00:00
pp5002.h Fix the PP5002 interrupt controller register definitions. The PP5002 interrupt controller matches the first half of the PP502x interrupt controller (the actual interrupt bits are different though). 2008-04-03 21:48:41 +00:00
pp5020.h Added PP5020 serial port registers 2008-02-20 17:53:00 +00:00
pp5024.h comment typo fixes 2008-02-22 20:23:00 +00:00
profile.h
replaygain.h Small ReplayGain cleanup. Move RVA2 specific code to id3.c and don't do the parsing via strings. Generalize parts of the code for later use by MPC. Make some local functions static. Add and update some comments for clarity. 2007-08-25 10:25:13 +00:00
rolo.h Improved RoLo support for PortalPlayer - handles the COP correctly 2007-02-27 22:55:12 +00:00
rtc.h Try and save some bytes, seeing as we already assumed LANG_ constants for month and weekday names are contiguous. 2007-10-24 15:34:36 +00:00
s1a0903x01.h Fix all the red this time? 2007-07-14 13:41:59 +00:00
s3c2440.h Fix the FRAME offset calculation on Gigabeat (m:robe 500 too?). 2007-10-23 11:34:11 +00:00
scroll_engine.h Add viewport capabilities to all the LCD drivers, and adapt scrolling code. This is the firmware/ part of FS#8385 - the changes to the WPS code still need more work and will be committed at a later date. NOTE: There are no user-visible changes with this commit - just the infrastructure. 2008-01-07 20:34:11 +00:00
serial.h
sh7034.h
sound.h move audiohw_postinit to audiohw.h 2008-02-12 20:40:53 +00:00
spdif.h Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first. 2007-06-08 23:42:04 +00:00
spi.h spi is shared between the rtc and tsc2100 2007-10-01 05:27:43 +00:00
structec.h Make database endianess independent. 2007-02-13 21:51:18 +00:00
sw_i2c.h mrobe 100: real time clock (if anybody recognises the RTC chip let me know) 2008-02-03 18:15:39 +00:00
system.h Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed. 2008-03-25 02:34:12 +00:00
tcc77x.h Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc. 2007-10-28 11:08:10 +00:00
tcc780x.h Enable tick IRQs on TCC780x. The main menu is now working on the D2. 2008-03-22 19:41:51 +00:00
tea5767.h Do some planned radio interface cleanup since adding in the LV24020LP. 2007-07-14 11:20:31 +00:00
thread.h Just change PRIORITY_BUFFERING to 15. Seems a teeny tiny bit helpful to mpegplayer as well. 2008-03-29 23:21:19 +00:00
timer.h Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API. 2008-04-04 19:38:46 +00:00
tlv320.h move audiohw_enable_output to audiohw.h 2008-02-09 14:43:36 +00:00
tsc2100.h Add some TSC2101 register definitions. 2007-11-20 05:13:07 +00:00
tuner.h Moved archos power handling into target tree. * Tuner power handling cleaned up a bit. 2007-08-14 22:06:23 +00:00
uda1380.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
usb.h make the usb storage driver handle hotswap correctly, and exit the usb screen once all drives are "ejected" (either as a command from the OS or physically) 2008-03-10 20:55:24 +00:00
usb_ch9.h fix alignment and packed-ness of USB structs 2008-02-29 18:33:54 +00:00
usb_core.h left USB_SERIAL enabled by default yet again... 2008-03-10 21:01:03 +00:00
usb_drv.h differentiate between connected and powered in usb_detect() 2008-03-20 20:01:28 +00:00
wm8721.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
wm8731.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
wm8751.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
wm8758.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
wm8975.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
wm8985.h Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it 2008-02-13 11:19:23 +00:00
wmcodec.h fix red 2007-06-13 06:41:27 +00:00