1 // Copyright 2018 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #pragma once 6 7 #include <zircon/types.h> 8 9 typedef struct meson_clk_gate { 10 uint32_t reg; // Offset from Clock Base Addr (in 4 byte words) 11 uint32_t bit; // Offset into this register. 12 } meson_clk_gate_t; 13 14 typedef struct meson_clk_msr { 15 uint32_t reg0_offset; // Offset of MSR_CLK_REG0 from MSR_CLK Base Addr 16 uint32_t reg2_offset; // Offset of MSR_CLK_REG2 from MSR_CLK Base Addr 17 } meson_clk_msr_t; 18