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

ctrl.h (344B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVKM_DEVICE_CTRL_H__
      3#define __NVKM_DEVICE_CTRL_H__
      4#define nvkm_control(p) container_of((p), struct nvkm_control, object)
      5#include <core/object.h>
      6
      7struct nvkm_control {
      8	struct nvkm_object object;
      9	struct nvkm_device *device;
     10};
     11
     12extern const struct nvkm_device_oclass nvkm_control_oclass;
     13#endif