rockbox/firmware/export
Dave Chapman 9c1ab1f057 Convert the TCC77x ADC driver to use interrupts - based on the technique used in the SH ADC driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17311 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 07:49:39 +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 FS#8898 - Prefix AS3514 registers with AS3514_ 2008-04-15 21:33:32 +00:00
ata.h remove the 2nd last evil use of ata_disk_is_active() in apps/ 2008-04-30 09:23:12 +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 * introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass 2008-04-28 08:37:18 +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 Setup the touchpads to have two modes - stylus and button - and set them in button mode by default. 2008-04-15 10:35:11 +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 Enable 'touchscreen areas' on the D2, based on JdGordon's m:robe code. Disable the bootloader debug screen, as that stuff is all available from the Debug menu now. 2008-04-27 13:30:11 +00:00
config-creativezvm.h yep.. I really cant spell 2008-04-29 01:09:39 +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 Gigabeat S: Implement i2c driver - transmit works but no testing of receiving which will get a chance later. Add some seeds for codec driver. Correct a few #defines. 2008-04-27 10:30:54 +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 Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-ipod4g.h Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-ipodcolor.h Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-ipodmini.h Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-ipodmini2g.h Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-ipodnano.h Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-ipodvideo.h Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +00:00
config-logikdax.h Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver. 2008-05-02 19:12:09 +00:00
config-m200.h Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver. 2008-05-02 19:12:09 +00:00
config-mrobe100.h m:robe 100 - backlight PWM fading 2008-04-25 20:06:42 +00:00
config-mrobe500.h yep.. I really cant spell 2008-04-29 01:09:39 +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 the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver. 2008-05-02 19:12:09 +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 Commit whole Creative Zen Vision:M target tree + all related firmware/ 2008-04-24 20:08:28 +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 Prepare core support for the iriver bootloader supporting ROM images 2007-01-12 18:34:00 +00:00
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 Updated panicf in remove_event. Also fixed some comments. 2008-04-27 19:34:41 +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 Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D 2007-02-07 04:24:21 +00:00
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 Removed executable flag 2007-01-09 23:29:07 +00:00
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 Update source files to include the header file for the functions they implement, to make sure the header and the implementation is consistent (and fix it for a case where it wasn't). 2008-04-28 10:22:05 +00:00
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 Move a function to gwps-common.c because it belongs there 2008-04-12 13:25:16 +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 Remove some cruft not being used that interferes with building rockboy on Gigabeat S. 2008-05-02 00:34:19 +00:00
isp1362.h Removed executable flag 2007-01-09 23:29:07 +00:00
isp1583.h Commit whole Creative Zen Vision:M target tree + all related firmware/ 2008-04-24 20:08:28 +00:00
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 Removed executable flag 2007-01-09 23:29:07 +00:00
mas.h
mas35xx.h * introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass 2008-04-28 08:37:18 +00:00
mc13783.h UMS for the Gigabeat S. Bootloader USB mode. Has a couple quirks 1) First plug has problems if cold. Replug if it doesn't connect or not at high speed 2) Linux doesn't like the odd bootable flag value used in the partitions so it won't mount but Windows works. Fix minor OTG driver bugs and clean up device memory handling. Generic name for ARC controller driver. 2008-04-18 16:42:50 +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 Updated use of events.h header file. 2008-04-27 19:56: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 Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. 2008-04-20 18:28:25 +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 move some data around to place qh_array at the start of iram. This saves up to about 2k iram on PP 2008-04-20 18:43:47 +00:00
pp5024.h comment typo fixes 2008-02-22 20:23:00 +00:00
profile.h Moved private types and constants from profile.h to profile.c 2008-04-28 18:41:13 +00:00
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 Made rolo.h consistent with rolo.c 2008-05-03 07:17:44 +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 This is a big chunk of code necessary to prepare for Gigabeat F flash loading and and implementation of rolo. There should be no noticible changes for the user. A new bootloader is not needed. 2008-04-22 04:34:25 +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 Convert the TCC77x ADC driver to use interrupts - based on the technique used in the SH ADC driver. 2008-05-03 07:49:39 +00:00
tcc780x.h A few preparations for the D2 PCM driver: move driver up to TCC780x level, move FIQ handler into PCM driver, add some new register defines, and remove those goddamn warnings. 2008-04-21 20:16:18 +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 Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit. 2008-04-12 16:56:45 +00:00
timer.h Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver. 2008-05-02 19:12:09 +00:00
tlv320.h move audiohw_enable_output to audiohw.h 2008-02-09 14:43:36 +00:00
tsc2100.h fix red 2008-04-27 14:07:57 +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 * introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass 2008-04-28 08:37:18 +00:00
usb.h UMS for the Gigabeat S. Bootloader USB mode. Has a couple quirks 1) First plug has problems if cold. Replug if it doesn't connect or not at high speed 2) Linux doesn't like the odd bootable flag value used in the partitions so it won't mount but Windows works. Fix minor OTG driver bugs and clean up device memory handling. Generic name for ARC controller driver. 2008-04-18 16:42:50 +00:00
usb_ch9.h Add keywords and fix more headers. 2008-04-18 17:24:19 +00:00
usb_core.h - change the usb class driver framework to allow for device classes with more than one interface or more than one endpoint pair 2008-04-26 19:02:16 +00:00
usb_drv.h Make the inital connect problem go away on Gigabeat S. Would be nice if a better way were found but it works for me. Update the bootloader to have it work. 2008-04-20 03:30:57 +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 * introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass 2008-04-28 08:37:18 +00:00
wm8975.h * introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass 2008-04-28 08:37:18 +00:00
wm8978.h Gigabeat S: Implement i2c driver - transmit works but no testing of receiving which will get a chance later. Add some seeds for codec driver. Correct a few #defines. 2008-04-27 10:30:54 +00:00
wm8985.h * introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass 2008-04-28 08:37:18 +00:00
wmcodec.h fix red 2007-06-13 06:41:27 +00:00