cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sclk-div.h (443B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (c) 2018 BayLibre, SAS.
      4 * Author: Jerome Brunet <jbrunet@baylibre.com>
      5 */
      6
      7#ifndef __MESON_SCLK_DIV_H
      8#define __MESON_SCLK_DIV_H
      9
     10#include <linux/clk-provider.h>
     11#include "parm.h"
     12
     13struct meson_sclk_div_data {
     14	struct parm div;
     15	struct parm hi;
     16	unsigned int cached_div;
     17	struct clk_duty cached_duty;
     18};
     19
     20extern const struct clk_ops meson_sclk_div_ops;
     21
     22#endif /* __MESON_SCLK_DIV_H */