HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-5.15.0-153/arch/openrisc/include/asm/time.h
/*
 * OpenRISC timer API
 *
 * Copyright (C) 2017 by Stafford Horne ([email protected])
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 */
#ifndef __ASM_OR1K_TIME_H
#define __ASM_OR1K_TIME_H

extern void openrisc_clockevent_init(void);

extern void openrisc_timer_set(unsigned long count);
extern void openrisc_timer_set_next(unsigned long delta);

#ifdef CONFIG_SMP
extern void synchronise_count_master(int cpu);
extern void synchronise_count_slave(int cpu);
#endif

#endif /* __ASM_OR1K_TIME_H */