dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/gpu/drm/nouveau/core/include/core/enum.h

24 lines
428 B
C

#ifndef __NOUVEAU_ENUM_H__
#define __NOUVEAU_ENUM_H__
struct nouveau_enum {
u32 value;
const char *name;
const void *data;
};
const struct nouveau_enum *
nouveau_enum_find(const struct nouveau_enum *, u32 value);
void
nouveau_enum_print(const struct nouveau_enum *en, u32 value);
struct nouveau_bitfield {
u32 mask;
const char *name;
};
void nouveau_bitfield_print(const struct nouveau_bitfield *, u32 value);
#endif