xref: /OK3568_Linux_fs/kernel/arch/mips/include/asm/ds1287.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  *  DS1287 timer functions.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  *  Copyright (C) 2008  Yoichi Yuasa <yuasa@linux-mips.org>
6*4882a593Smuzhiyun  */
7*4882a593Smuzhiyun #ifndef __ASM_DS1287_H
8*4882a593Smuzhiyun #define __ASM_DS1287_H
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun extern int ds1287_timer_state(void);
11*4882a593Smuzhiyun extern void ds1287_set_base_clock(unsigned int clock);
12*4882a593Smuzhiyun extern int ds1287_clockevent_init(int irq);
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #endif
15