drm/nouveau: port all engines to new engine module format
[deliverable/linux.git] / drivers / gpu / drm / nouveau / core / include / subdev / 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 extern struct nouveau_oclass nouveau_device_sclass[];
22 struct nouveau_device *nouveau_device_find(u64 name);
23
24 #endif
This page took 0.047474 seconds and 5 git commands to generate.