summaryrefslogtreecommitdiff
path: root/firmware/drivers (follow)
Commit message (Collapse)AuthorAge
...
* Fix CONFIG_BACKLIGHT warnings.Jens Arnold2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
* Fix remaining CONFIG_TUNER checks.Jens Arnold2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
* CONFIG_CHARGINGJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
* Do the CONFIG_LED defineJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
* more CONFIG_LED fixesJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12376 a1c6a512-1295-4272-9138-f99709370657
* Fix most (all?) CONFIG_LED warnings.Magnus Holmgren2007-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
* ARM targets: Making a few functions non-static allows us to get rid of ↵Jens Arnold2007-02-17
| | | | | | -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
* No functional changes, just reorganising code:Barry Wardell2007-02-16
| | | | | | | | | | 1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file. 2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller. 3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead. 4) Add dr_controller_stop(). Not used yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
* Fix setting time on Sansa used to set the day to one day later than it Barry Wardell2007-02-04
| | | | | | | should. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12196 a1c6a512-1295-4272-9138-f99709370657
* RTC support for Sansa.Barry Wardell2007-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12185 a1c6a512-1295-4272-9138-f99709370657
* Reverting the FAT32 driver change - it seems to have introduced a bugLinus Nielsen Feltzing2007-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12152 a1c6a512-1295-4272-9138-f99709370657
* Changed fat_getnext():Linus Nielsen Feltzing2007-01-29
| | | | | | | | | | 1) Fixed a bug where really long filenames could be messed up if they spanned 3 sectors 2) Now uses 2 buffers instead of 3, without copying the buffers with memcpy() 3) Can now use aligned sector reads, first step towards iPod 5.5G 80GB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12151 a1c6a512-1295-4272-9138-f99709370657
* Fix red buildsDaniel Ankers2007-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12131 a1c6a512-1295-4272-9138-f99709370657
* Oops - fix PortalPlayer buildsDaniel Ankers2007-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12129 a1c6a512-1295-4272-9138-f99709370657
* Clean up PP5002 I2C code (no functional changes):Barry Wardell2007-01-27
| | | | | | | | | | Move into target tree. Use #defines instead of inb/outb. Also restore comments in PP5020 I2C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12124 a1c6a512-1295-4272-9138-f99709370657
* Clean up PP5020 I2C code (no functional changes):Barry Wardell2007-01-27
| | | | | | | | | Move into target tree. Use #defines instead of inb/outb. Whitespace cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12123 a1c6a512-1295-4272-9138-f99709370657
* Permanently enable powering down the disk when it's sleeping for supported ↵Nils Wallménius2007-01-23
| | | | | | targets (iriver h1xx, h3xx and h10, iaudio x5, gigabeat and archos recorders) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12094 a1c6a512-1295-4272-9138-f99709370657
* Settings are now stored in /.rockbox/config.cfg instead of the hidden ↵Jonathan Gordon2007-01-23
| | | | | | sector. (FS #6557) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
* The code police strikes back, and some minor optimisations.Jens Arnold2007-01-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12086 a1c6a512-1295-4272-9138-f99709370657
* Move mono DRMODE optimizations from Gigabeat to all 16-bit targetsGreg White2007-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12062 a1c6a512-1295-4272-9138-f99709370657
* Remove bogus variables to fix warningsGreg White2007-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12016 a1c6a512-1295-4272-9138-f99709370657
* Optimize transparent blit; optimize DRMODE_SOLID for mono bitmapsGreg White2007-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12015 a1c6a512-1295-4272-9138-f99709370657
* Enabled zero crossing detection for volume changes in the WM8721/WM8731 ↵Jens Arnold2007-01-14
| | | | | | driver (iPod G3, iPod Mini G1/G2, Iriver H10). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12006 a1c6a512-1295-4272-9138-f99709370657
* Skip scroll check when LCD is disabledGreg White2007-01-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12004 a1c6a512-1295-4272-9138-f99709370657
* Added zero crossing check before changing volume to avoid noise during ↵Steve Gotthardt2007-01-13
| | | | | | volume changes. Removed extra volume sets. Added delay for vref to settle per app notes to reduce start up clicks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12001 a1c6a512-1295-4272-9138-f99709370657
* Removed executable flagLinus Nielsen Feltzing2007-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
* Add a check to verify ATA driver has been initialised in ata_sleepnow().Miika Pekkarinen2007-01-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11949 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator buildGreg White2007-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11910 a1c6a512-1295-4272-9138-f99709370657
* Use DMA for Blit to screen/clearGreg White2007-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11906 a1c6a512-1295-4272-9138-f99709370657
* renamed biglba to lba48, plus a slight optimizationJörg Hohensohn2006-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11825 a1c6a512-1295-4272-9138-f99709370657
* Preparation for disks >137 GB, use BigLBA 48 bit addressing if necessary. ↵Jörg Hohensohn2006-12-19
| | | | | | Only activated with compile flag HAVE_BIGLBA. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11820 a1c6a512-1295-4272-9138-f99709370657
* Woops. Missed a file.Michael Sevakis2006-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11819 a1c6a512-1295-4272-9138-f99709370657
* Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis2006-12-19
| | | | | | the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
* Archos: Moved the ata_address_detect() code into ata_device_init(), removing ↵Jens Arnold2006-12-19
| | | | | | the associated #ifdef and some public #defines. Saves a tiny bit of code as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11812 a1c6a512-1295-4272-9138-f99709370657
* Fix compile errors.Barry Wardell2006-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11796 a1c6a512-1295-4272-9138-f99709370657
* FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod ↵Barry Wardell2006-12-18
| | | | | | | | | | | | | | | | | | | | Color, iPod Nano). * Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined. * Fix bug in AIFF encoder header creation on little endian targets. * Add recording screen keymaps for H10 and iPod. * Move pcm_playback PP specific code to target tree. * Add recording code to wmcodec drivers. * Add pcm_record code. Some problems still remain: * Playback doesn't work after recording until Rockbox is restarted. * Gain control not implemented. * Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz. * Line-in recording not tested on H10. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
* Move I2S initialisation out of the Wolfson codec driverDaniel Ankers2006-12-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11700 a1c6a512-1295-4272-9138-f99709370657
* move some audio driver specific code to the correspoding filesMarcoen Hirschberg2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11675 a1c6a512-1295-4272-9138-f99709370657
* Fix settings not saving to disk correctly, (fixes FS#6408)Jonathan Gordon2006-12-06
| | | | | | | | | | Stop playback.c requesting a rebuffer while not playing Shutting down from inside the menu will now save settings to disk, and entering the main menu will not force a setting save unless a setting actually changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11674 a1c6a512-1295-4272-9138-f99709370657
* first step in audio driver unification: renaming the functions to audio_*Marcoen Hirschberg2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
* add a RTC driver for the Samsung S3C2440 used in the GigabeatMarcoen Hirschberg2006-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11662 a1c6a512-1295-4272-9138-f99709370657
* Much simpler implementation of large virtual sector support, not needing ↵Jens Arnold2006-12-04
| | | | | | larger sector buffers and not touching file.c at all. secmult is simply used to normalize all sector counts to 512-byte physical sectors. * Moved MAX_SECTOR_SIZE definition to config-*.h, and enabled it for iPod Video only. MAX_SECTOR_SIZE now only enables checking for alternate disk layouts due to sector size (as iPod Video G5.5 is presented as having 2048-byte _physical_ sectors to the PC). Large virtual sector support in fat.c is always enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11659 a1c6a512-1295-4272-9138-f99709370657
* Removed unused variable, and fixed overflow in free/total calculation. There ↵Jens Arnold2006-12-03
| | | | | | are still some suspicious things in here... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11656 a1c6a512-1295-4272-9138-f99709370657
* Completed target tree move of the ata driver code. Some code cleanup.Jens Arnold2006-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11655 a1c6a512-1295-4272-9138-f99709370657
* Fixed the warnings.Miika Pekkarinen2006-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11653 a1c6a512-1295-4272-9138-f99709370657
* Add support (runtime detection) for 2048 bytes/sector filesystem.Miika Pekkarinen2006-12-03
| | | | | | | | | Large sectors are enabled for iPod Video (including 5.5G) only. Might still cause FS corruption (however, unlikely), so beware! Based on FS#6169 by Robert Carboneau. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11651 a1c6a512-1295-4272-9138-f99709370657
* Prevent the click of death when connecting an ipod to usb.Miika Pekkarinen2006-11-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11622 a1c6a512-1295-4272-9138-f99709370657
* move rtc functions to seperate filesMarcoen Hirschberg2006-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11614 a1c6a512-1295-4272-9138-f99709370657
* Moved archos button reading to target tree. * Cleanup of button.[ch]. * ↵Jens Arnold2006-11-27
| | | | | | Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
* Fixed the errors for H300.Miika Pekkarinen2006-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11603 a1c6a512-1295-4272-9138-f99709370657