]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/gpu/drm/nouveau/core/include/engine/device.h
b3dd2c4c2f1ede9405fda56e08150949f8f556c1
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / core / include / engine / device.h
1 #ifndef __NOUVEAU_SUBDEV_DEVICE_H__
2 #define __NOUVEAU_SUBDEV_DEVICE_H__
3
4 #include <core/device.h>
5
6 #define nouveau_device_create(p,n,s,c,d,u)                                     \
7         nouveau_device_create_((p), (n), (s), (c), (d), sizeof(**u), (void **)u)
8
9 int  nouveau_device_create_(struct pci_dev *, u64 name, const char *sname,
10                             const char *cfg, const char *dbg, int, void **);
11
12 int nv04_identify(struct nouveau_device *);
13 int nv10_identify(struct nouveau_device *);
14 int nv20_identify(struct nouveau_device *);
15 int nv30_identify(struct nouveau_device *);
16 int nv40_identify(struct nouveau_device *);
17 int nv50_identify(struct nouveau_device *);
18 int nvc0_identify(struct nouveau_device *);
19 int nve0_identify(struct nouveau_device *);
20
21 struct nouveau_device *nouveau_device_find(u64 name);
22
23 #endif