root/drivers/gpu/drm/nouveau/include/nvkm/core/enum.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: MIT */
   2 #ifndef __NVKM_ENUM_H__
   3 #define __NVKM_ENUM_H__
   4 #include <core/os.h>
   5 
   6 struct nvkm_enum {
   7         u32 value;
   8         const char *name;
   9         const void *data;
  10         u32 data2;
  11 };
  12 
  13 const struct nvkm_enum *nvkm_enum_find(const struct nvkm_enum *, u32 value);
  14 
  15 struct nvkm_bitfield {
  16         u32 mask;
  17         const char *name;
  18 };
  19 
  20 void nvkm_snprintbf(char *, int, const struct nvkm_bitfield *, u32 value);
  21 #endif

/* [<][>][^][v][top][bottom][index][help] */