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

lima_dlbu.h (527B)


      1/* SPDX-License-Identifier: GPL-2.0 OR MIT */
      2/* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */
      3
      4#ifndef __LIMA_DLBU_H__
      5#define __LIMA_DLBU_H__
      6
      7struct lima_ip;
      8struct lima_device;
      9
     10void lima_dlbu_enable(struct lima_device *dev, int num_pp);
     11void lima_dlbu_disable(struct lima_device *dev);
     12
     13void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg);
     14
     15int lima_dlbu_resume(struct lima_ip *ip);
     16void lima_dlbu_suspend(struct lima_ip *ip);
     17int lima_dlbu_init(struct lima_ip *ip);
     18void lima_dlbu_fini(struct lima_ip *ip);
     19
     20#endif