1 /* Copyright 2018 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
4 #include <metal/machine/platform.h>
6 #ifndef METAL__DRIVERS__SIFIVE_FE310_G000_PLL_H
7 #define METAL__DRIVERS__SIFIVE_FE310_G000_PLL_H
9 struct __metal_driver_sifive_fe310_g000_pll;
11 #include <metal/clock.h>
12 #include <metal/drivers/sifive_fe310-g000_prci.h>
13 #include <metal/machine.h>
15 struct __metal_driver_vtable_sifive_fe310_g000_pll {
16 void (*init)(struct __metal_driver_sifive_fe310_g000_pll *pll);
17 struct __metal_clock_vtable clock;
20 __METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_fe310_g000_pll)
22 struct __metal_driver_sifive_fe310_g000_pll {
23 struct metal_clock clock;