Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/riscv/include/asm/delay.h
26471 views
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
/*
3
* Copyright (C) 2009 Chen Liqin <[email protected]>
4
* Copyright (C) 2016 Regents of the University of California
5
*/
6
7
#ifndef _ASM_RISCV_DELAY_H
8
#define _ASM_RISCV_DELAY_H
9
10
extern unsigned long riscv_timebase;
11
12
#define udelay udelay
13
extern void udelay(unsigned long usecs);
14
15
#define ndelay ndelay
16
extern void ndelay(unsigned long nsecs);
17
18
extern void __delay(unsigned long cycles);
19
20
#endif /* _ASM_RISCV_DELAY_H */
21
22