delay.h 471 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com>
  4. * Copyright (C) 2016 Regents of the University of California
  5. */
  6. #ifndef _ASM_RISCV_DELAY_H
  7. #define _ASM_RISCV_DELAY_H
  8. extern unsigned long riscv_timebase;
  9. #define udelay udelay
  10. extern void udelay(unsigned long usecs);
  11. #define ndelay ndelay
  12. extern void ndelay(unsigned long nsecs);
  13. extern void __delay(unsigned long cycles);
  14. #endif /* _ASM_RISCV_DELAY_H */