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

panfrost_mmu.h (900B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Copyright 2019 Linaro, Ltd, Rob Herring <robh@kernel.org> */
      3
      4#ifndef __PANFROST_MMU_H__
      5#define __PANFROST_MMU_H__
      6
      7struct panfrost_gem_mapping;
      8struct panfrost_file_priv;
      9struct panfrost_mmu;
     10
     11int panfrost_mmu_map(struct panfrost_gem_mapping *mapping);
     12void panfrost_mmu_unmap(struct panfrost_gem_mapping *mapping);
     13
     14int panfrost_mmu_init(struct panfrost_device *pfdev);
     15void panfrost_mmu_fini(struct panfrost_device *pfdev);
     16void panfrost_mmu_reset(struct panfrost_device *pfdev);
     17
     18u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu);
     19void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu);
     20
     21struct panfrost_mmu *panfrost_mmu_ctx_get(struct panfrost_mmu *mmu);
     22void panfrost_mmu_ctx_put(struct panfrost_mmu *mmu);
     23struct panfrost_mmu *panfrost_mmu_ctx_create(struct panfrost_device *pfdev);
     24
     25#endif