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

fsl_tcon.h (602B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright 2015 Toradex AG
      4 *
      5 * Stefan Agner <stefan@agner.ch>
      6 *
      7 * Freescale TCON device driver
      8 */
      9
     10#ifndef __FSL_TCON_H__
     11#define __FSL_TCON_H__
     12
     13#include <linux/bitops.h>
     14
     15#define FSL_TCON_CTRL1			0x0
     16#define FSL_TCON_CTRL1_TCON_BYPASS	BIT(29)
     17
     18struct fsl_tcon {
     19	struct regmap		*regs;
     20	struct clk		*ipg_clk;
     21};
     22
     23struct fsl_tcon *fsl_tcon_init(struct device *dev);
     24void fsl_tcon_free(struct fsl_tcon *tcon);
     25
     26void fsl_tcon_bypass_disable(struct fsl_tcon *tcon);
     27void fsl_tcon_bypass_enable(struct fsl_tcon *tcon);
     28
     29#endif /* __FSL_TCON_H__ */