summaryrefslogtreecommitdiff
path: root/firmware/drivers (follow)
Commit message (Collapse)AuthorAge
...
* fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)Jonathan Gordon2006-11-08
| | | | | | | | | enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of real inactivity) fix builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
* * changes to ata.c - idle callbacks are called after 2 sec of real idle,Jonathan Gordon2006-11-08
| | | | | | | | | | | | and shutdown and usb (it makes sense here). ata_sleep doesnt get broken by callbacks. * allow ata_sleep() at the end of buffering again * config block uses ata_idle instead of delayed sector when saving * remove delayed sector code from ata_mmc.c (idle callbacks are not yet implemented for ata_mmc.c tho) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
* dont spin up the disk to call the callbacks.Jonathan Gordon2006-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11458 a1c6a512-1295-4272-9138-f99709370657
* Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis2006-11-06
| | | | | | SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
* adds ata_idle_notify system which allows callbacks in apps/ to be calledJonathan Gordon2006-11-06
| | | | | | | | | | when the hard disk is idle but spinning, and just before shutting down. on SWCODEC targets with > 8MB RAM the playback engine will try to refill the buffer if it is less than 75% full while the disk is spinning (temporarily disabled on the nano) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11451 a1c6a512-1295-4272-9138-f99709370657
* H300, X5: Faster lcd_yuv_blit() using EMAC. Speedup of the function itself ↵Jens Arnold2006-11-04
| | | | | | at 124MHz: 10.5% on X5, 16.5% on H300. mpegplayer speedup 3..4% git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11429 a1c6a512-1295-4272-9138-f99709370657
* H300: (1) Use DMA for LCD updates, with auto-aligned line reads. Speeds up ↵Jens Arnold2006-11-02
| | | | | | LCD updates by ~ 75% at 11MHz and 45MHz. Only ~ 11% speedup at 124MHz due to (2). (2) Less aggressive LCD transfer timing at 124MHz. With the previous timing, slightly corrupted display contents was reported, and with DMA transfers at least 4 waitstates are needed to make updates work at all. * A table in system-iriver.c shows settings for all integer multiples of the base clock frequency (info for developers, not yet complete). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11418 a1c6a512-1295-4272-9138-f99709370657
* move coldfire ata defines to a shared ata-target.hMarcoen Hirschberg2006-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11395 a1c6a512-1295-4272-9138-f99709370657
* remove some uneeded #ifdefsJonathan Gordon2006-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11393 a1c6a512-1295-4272-9138-f99709370657
* move the iriver h1x0/h3x0 targets to the target treeJonathan Gordon2006-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11392 a1c6a512-1295-4272-9138-f99709370657
* H300: Slight simplification of adc_scan(), ported from X5.Jens Arnold2006-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11384 a1c6a512-1295-4272-9138-f99709370657
* move the iriver h1x0/h3x0 button driver to target treeJonathan Gordon2006-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11380 a1c6a512-1295-4272-9138-f99709370657
* cleanup ata.c a bit by moving portalplayer defines to target_tree and ↵Marcoen Hirschberg2006-10-27
| | | | | | removing unused portalplayer and gigabeat code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11365 a1c6a512-1295-4272-9138-f99709370657
* Fixed FS#6034 - Voice isn't handled when FM radio in on. Leave DAC enabled ↵Michael Sevakis2006-10-27
| | | | | | when analog bypass is on. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11362 a1c6a512-1295-4272-9138-f99709370657
* Renamed the ipod_i2c functions to the more appropriate pp_i2cDaniel Stenberg2006-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11361 a1c6a512-1295-4272-9138-f99709370657
* Removed unneeded pcf50606.c.Michael Sevakis2006-10-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11349 a1c6a512-1295-4272-9138-f99709370657
* A better workaround due to ATA sleep bugs in the Ipod Nano. battery_bench ↵Thom Johansen2006-10-25
| | | | | | and plugins like it should now work also on Nano. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11344 a1c6a512-1295-4272-9138-f99709370657
* generalise the wolfson codec code a bitMarcoen Hirschberg2006-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11277 a1c6a512-1295-4272-9138-f99709370657
* Added a small interface to screens to translate colors into remote gray ↵Michael Sevakis2006-10-14
| | | | | | levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
* Logf output on the serial port for h100 targetsLinus Nielsen Feltzing2006-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11207 a1c6a512-1295-4272-9138-f99709370657
* Move iPod headphone detection into target tree (FS#6131 by Robert Keevil) ↵Daniel Ankers2006-10-07
| | | | | | and fix detection on 3G iPod git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11143 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings in player builds.Barry Wardell2006-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11130 a1c6a512-1295-4272-9138-f99709370657
* Move all iPod targets into the target tree. FS#5890Barry Wardell2006-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
* Fixed remote contrast settings. Maybe'll get some build errors here.Michael Sevakis2006-09-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11071 a1c6a512-1295-4272-9138-f99709370657
* Add wheel_status() function to the ipod "4g" button driver (i.e. all ipods ↵Dave Chapman2006-09-26
| | | | | | excluding the 3G and 1st gen mini) to read the absolute position the wheel is being touched (0..95 - clockwise from top, or -1 for untouched), plus the wheel_send_events(bool) function to disable/enable sending normal scrolling events - based on patch #4721 from Mikael Magnusson. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11068 a1c6a512-1295-4272-9138-f99709370657
* Fixed tlv320 mute problem at least for digital audio path. Analog bypass ↵Michael Sevakis2006-09-26
| | | | | | muting (during FM Radio listening) will require more drastic measures like powering down of part of the chip afaict. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11065 a1c6a512-1295-4272-9138-f99709370657
* Patch #6067 from Robert Keevil - enable headphone detection for the ↵Dave Chapman2006-09-26
| | | | | | remaining ipods (mini 1g/2g and ipod 3g) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11060 a1c6a512-1295-4272-9138-f99709370657
* Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the ↵Linus Nielsen Feltzing2006-09-26
| | | | | | headphones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657
* Fix "Upside down" behaviour on H10. We need to flip horizontally as well as ↵Barry Wardell2006-09-25
| | | | | | vertically and also need to flip the scroll pad up/down. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11049 a1c6a512-1295-4272-9138-f99709370657
* Fix them all.Miika Pekkarinen2006-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11045 a1c6a512-1295-4272-9138-f99709370657
* Fixed the line scrolling not always being smooth.Miika Pekkarinen2006-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11044 a1c6a512-1295-4272-9138-f99709370657
* Fixed the errors.Miika Pekkarinen2006-09-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10959 a1c6a512-1295-4272-9138-f99709370657
* New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen2006-09-16
| | | | | | | | | | switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
* Added the power off to x5 remote play button. 3s delay seems confortable and ↵Michael Sevakis2006-09-12
| | | | | | well out of the way of the long press for playback stop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10934 a1c6a512-1295-4272-9138-f99709370657
* Added remote backlight on hold option to players with remote hold switch. ↵Michael Sevakis2006-09-10
| | | | | | Disabled IRQs while reading pcf50606 ADC. This seems to have stopped buttons becoming unresponsive when using remote. Maybe fixes other button glitches as well? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10911 a1c6a512-1295-4272-9138-f99709370657
* H10 changes: power_off() now actually powers off. Fix wrong bitwise ↵Barry Wardell2006-08-31
| | | | | | operation when disabling sound. Fix filenames when building a bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10822 a1c6a512-1295-4272-9138-f99709370657
* Fix volume being really low on H10Barry Wardell2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10815 a1c6a512-1295-4272-9138-f99709370657
* RTC driver for H10 by Laurent BaumBarry Wardell2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10799 a1c6a512-1295-4272-9138-f99709370657
* Oops. It's #endif not #end.Barry Wardell2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10798 a1c6a512-1295-4272-9138-f99709370657
* Sound on H10!Barry Wardell2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10797 a1c6a512-1295-4272-9138-f99709370657
* Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis2006-08-28
| | | | | | additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
* Smoother volume control, less clickiness and some misc. formatting changes ↵Michael Sevakis2006-08-26
| | | | | | for tlv320 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10762 a1c6a512-1295-4272-9138-f99709370657
* Increase the number of pixels written to the Photo/Color LCD in one go to ↵Dave Chapman2006-08-24
| | | | | | 0x10000 (was 64000) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10730 a1c6a512-1295-4272-9138-f99709370657
* Allow scrolling lines with different x-margins. The margin at the time of ↵Mark Arigo2006-08-23
| | | | | | the call to puts_scroll will be used as the margin for that line. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10727 a1c6a512-1295-4272-9138-f99709370657
* H300: * Assembler optimised lcd_yuv_blit(), based on the X5 version. 23..31% ↵Jens Arnold2006-08-23
| | | | | | speedup in tests depending on video size. * Don't set HORIZ_RAM_ADDR_POS for LCD updates, it's unnecessary. * Started the target tree move for H300 with this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10724 a1c6a512-1295-4272-9138-f99709370657
* Move X5 ADC code to target tree. Fix power button detection on H10. New ADCBarry Wardell2006-08-22
| | | | | | | driver for H10. Thanks to Laurent Baum for all his help with this code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10701 a1c6a512-1295-4272-9138-f99709370657
* Irivers: Faster remote LCD update. Maximum speedup (without ticking ↵Jens Arnold2006-08-22
| | | | | | reduction): +32% @11MHz, 2.5 times @45MHz, +45% @124MHz. The speedup is data dependent, the worst case (every pixel having the opposite value from the previous one, in LCD data order) would see no speedup (except @45MHz), but it's a highly unlikely case. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10684 a1c6a512-1295-4272-9138-f99709370657
* Prevent unlikely endless loop.Miika Pekkarinen2006-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10637 a1c6a512-1295-4272-9138-f99709370657
* Port Tom Meyer's lcd_yuv_blit() optimisations for the ipod 5g to the ipod ↵Dave Chapman2006-08-17
| | | | | | Photo/Color and Nano - gives a similar 10-15% speedup in mpegplayer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10629 a1c6a512-1295-4272-9138-f99709370657
* Optimisations to lcd_yuv_blit by Tom Meyer - speeds up mpegplayer by about ↵Dave Chapman2006-08-17
| | | | | | 10-15% git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10627 a1c6a512-1295-4272-9138-f99709370657