Code Review
/
kvmfornfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
gpu
/
drm
/
nouveau
/
include
/
nvkm
/
core
/
enum.h
1
#ifndef __NVKM_ENUM_H__
2
#define __NVKM_ENUM_H__
3
#include <core/os.h>
4
5
struct nvkm_enum {
6
u32 value;
7
const char *name;
8
const void *data;
9
u32 data2;
10
};
11
12
const struct nvkm_enum *nvkm_enum_find(const struct nvkm_enum *, u32 value);
13
14
struct nvkm_bitfield {
15
u32 mask;
16
const char *name;
17
};
18
19
void nvkm_snprintbf(char *, int, const struct nvkm_bitfield *, u32 value);
20
#endif