time.h (627B)
1/* 2 * OpenRISC timer API 3 * 4 * Copyright (C) 2017 by Stafford Horne (shorne@gmail.com) 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. 9 */ 10#ifndef __ASM_OR1K_TIME_H 11#define __ASM_OR1K_TIME_H 12 13extern void openrisc_clockevent_init(void); 14 15extern void openrisc_timer_set(unsigned long count); 16extern void openrisc_timer_set_next(unsigned long delta); 17 18#ifdef CONFIG_SMP 19extern void synchronise_count_master(int cpu); 20extern void synchronise_count_slave(int cpu); 21#endif 22 23#endif /* __ASM_OR1K_TIME_H */