plmt.h 433 B

1234567891011121314151617181920212223
  1. /*
  2. * SPDX-License-Identifier: BSD-2-Clause
  3. *
  4. * Copyright (c) 2019 Andes Technology Corporation
  5. *
  6. * Authors:
  7. * Zong Li <zong@andestech.com>
  8. */
  9. #ifndef _AE350_PLMT_H_
  10. #define _AE350_PLMT_H_
  11. u64 plmt_timer_value(void);
  12. void plmt_timer_event_stop(void);
  13. void plmt_timer_event_start(u64 next_event);
  14. int plmt_warm_timer_init(void);
  15. int plmt_cold_timer_init(unsigned long base, u32 hart_count);
  16. #endif /* _AE350_PLMT_H_ */