source: mainline/uspace/drv/time/cmos-rtc/cmos-rtc.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @b7fd2a0   7 years zarevucky.jiri Use errno_t in all uspace and kernel code. Change type of every … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cde999a   7 years zarevucky.jiri Fix comments to stop referring to error codes as negative. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @17651f8   7 years jiri Remove include of sysinfo.h where not needed. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2fd26bb   7 years jiri Make it simpler to get parent function session repeatedly without … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f9b2cb4c   9 years martin unify interface API * introduce new interfaces * unify location … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7f9d97f3   10 years jakub Make gettimeofday() return the actual microseconds. Enhance … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c739102   12 years jano.vesely Mainline changes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a582dff   12 years jakub Put the function back into the 'clock' category in rtc_fun_online(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @508fff8   12 years m.lombardi85 rtc: do not cache the boottime if rtc_read() failed. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b801f2d   12 years m.lombardi85 rtc: Add support to fun_offline() / fun_online() lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1ae74c6   12 years jano.vesely Fix ddi.h header includes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0a586f4c   12 years m.lombardi85 rtc: return an error if the battery is low when reading/setting the time. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @289fa65   12 years m.lombardi85 rtc: fix call to ddf_log_init(NAME) to reflect changes in the mainline … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @efcfab9   12 years m.lombardi85 rtc: Add support to the battery_status_get() request lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @917797f   12 years m.lombardi85 Add support to the battery interface, not tested yet lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @78ca12b   12 years m.lombardi85 rtc: get rid of "port + 1" and use a preprocessor macro lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @85f7369   12 years m.lombardi85 rtc: remove unneeded cast lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7ff35c7   12 years m.lombardi85 rtc: Fix compile errors on 32bit architectures lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @276e44a   12 years m.lombardi85 rtc: fix format string error lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ae827d0   12 years m.lombardi85 rtc: make the driver - port IO / memory mapped IO - neutral. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9673fd3   12 years m.lombardi85 rtc: add support to offline/online operations lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @664fc031   12 years m.lombardi85 rename the new time functions to the time_* naming scheme lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @971f50e7   12 years m.lombardi85 rtc: use ioport8_t* instead of uint32_t* as the type of the io_addr … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @762083b   12 years m.lombardi85 set the boottime to zero in rtc_dev_initialize(), remove a double call … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c9abf50   12 years m.lombardi85 cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @60af6fc2   12 years m.lombardi85 rtc: move boottime into the rtc structure lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6f445a67   12 years m.lombardi85 Fix the rtc driver to support changes made by rev … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @83298e8   12 years m.lombardi85 rtc: make use of the getuptime() function lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f7ea5400   12 years m.lombardi85 Replace the gmtime(), asctime() localtime() and ctime() with a new set … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @43e660c   12 years m.lombardi85 rtc: the client_connected bool field is not needed lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ea5cc5b   12 years m.lombardi85 remove the CLOCK_GET_BOOTTIME operation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0a0e6e7   13 years m.lombardi85 rtc: add some comments lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8fde078   13 years m.lombardi85 rtc: add support to the CLOCK_GET_BOOTTIME request lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @af7e3d3   13 years m.lombardi85 rtc: add some comments, cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fa18523   13 years m.lombardi85 rtc: move tm_sanity check() from the rtc driver to the date … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6a3808e   13 years m.lombardi85 rtc: rename the registers bit-masks to make the code more readable lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a44b58c   13 years m.lombardi85 rtc: improved tm structure sanity check lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e5fbe06   13 years m.lombardi85 rtc: Check the rtc epoch in rtc_tm_sanity_check() lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f004318   13 years m.lombardi85 rtc: some minor fixes - Fix a comment - return the sanity check … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @074324f1   13 years m.lombardi85 rtc: Check the epoch of the rtc and fix the tm structure if needed. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @709476f4   13 years m.lombardi85 rtc: fix bug when setting the "month" rtc register lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f6af126   13 years m.lombardi85 rtc: force the rtc to operate in 24h mode (it should be active by default). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @80d3f846   13 years m.lombardi85 rtc: check for leap years lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a8a0d43   13 years m.lombardi85 rtc: inhibit updates, write the cmos registers and then restore normal … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cf72943   13 years m.lombardi85 rtc: fix RTC_MASK_UPDATE and add some comments lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1170ea3c   13 years m.lombardi85 Initial implementation of rtc_time_set() - Add rtc_tm_sanity_check() … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @95060d5b   13 years m.lombardi85 rtc: introduce support to 12h mode of operation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bb8f69d   13 years m.lombardi85 rtc: add support to the dev_remove driver operation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f61a326   13 years m.lombardi85 rtc: Fix cmos battery status reading lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2a4c22d   13 years m.lombardi85 rtc: revert revision 1492, it's completely broken. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d8a4e79   13 years m.lombardi85 rtc: Add an option to the default handler to get the status of the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f87ea202   13 years m.lombardi85 rtc: it is sufficient to just read the second to understand if the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fc7d28e   13 years m.lombardi85 rtc: driver improvements - Fix bcd mode detection - Check if the year … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eccdc9e2   13 years m.lombardi85 rtc: fixme, bcd_mode is not correctly detected lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aeef318   13 years m.lombardi85 rtc: Fix the previous commit lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05ed9d7   13 years m.lombardi85 rtc: count the months starting from 0, not from 1 lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @db8d552   13 years m.lombardi85 rtc: read the time from the rtc: - Perform the read in the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3b79ba5   13 years m.lombardi85 rtc: add a function to read a generic register from the CMOS memory lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f30ee571   13 years m.lombardi85 rtc: add the rtc_update_in_progress() function lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2a5171db   13 years m.lombardi85 rtc: add the rtc_close() callback. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @923b2eba   13 years m.lombardi85 rtc: add the rtc_open() callback lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8d2963d   13 years m.lombardi85 rtc: replace time_t with the new tm structure lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @28ca043f   13 years m.lombardi85 RTC: raise an error if the I/O range assigned to the device is too small. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4b44de57   13 years m.lombardi85 RTC: invoke the cleanup function in case of errors lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0883de8   13 years m.lombardi85 RTC: add the driver to the "clock" category; add a function to enable … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c47f1b6   13 years m.lombardi85 RTC: read the I/O address assigned to the device. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(add) @5ef13847   13 years m.lombardi85 RTC: move the rtc driver under drv/time/cmos-rtc lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.