summaryrefslogtreecommitdiff
path: root/include/linux/mxc_srtc.h
blob: a61426443e5334ceda3314f6136ca3c6af18089f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
 */

/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

/*!
 * @file mxc_srtc.h
 *
 * @brief SRTC IOCTL definitions
 *
 * @ingroup RTC
 */


#define RTC_READ_TIME_47BIT	_IOR('p', 0x20, unsigned long long)
/* blocks until LPSCMR is set, returns difference */
#define RTC_WAIT_TIME_SET	_IOR('p', 0x21, int64_t)