File: priv.h

package info (click to toggle)
linux 3.16.7-ckt7-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 738,580 kB
  • ctags: 2,380,866
  • sloc: ansic: 12,216,621; asm: 277,336; perl: 53,978; xml: 47,771; makefile: 30,485; sh: 8,063; python: 6,597; cpp: 5,127; yacc: 4,254; lex: 2,215; awk: 741; pascal: 231; lisp: 218; sed: 30
file content (42 lines) | stat: -rw-r--r-- 1,610 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef __NVKM_DISP_PRIV_H__
#define __NVKM_DISP_PRIV_H__

#include <subdev/bios.h>
#include <subdev/bios/dcb.h>
#include <subdev/bios/conn.h>

#include <engine/disp.h>

struct nouveau_disp_impl {
	struct nouveau_oclass base;
	struct nouveau_oclass **outp;
	struct nouveau_oclass **conn;
};

#define nouveau_disp_create(p,e,c,h,i,x,d)                                     \
	nouveau_disp_create_((p), (e), (c), (h), (i), (x),                     \
			     sizeof(**d), (void **)d)
#define nouveau_disp_destroy(d) ({                                             \
	struct nouveau_disp *disp = (d);                                       \
	_nouveau_disp_dtor(nv_object(disp));                                   \
})
#define nouveau_disp_init(d) ({                                                \
	struct nouveau_disp *disp = (d);                                       \
	_nouveau_disp_init(nv_object(disp));                                   \
})
#define nouveau_disp_fini(d,s) ({                                              \
	struct nouveau_disp *disp = (d);                                       \
	_nouveau_disp_fini(nv_object(disp), (s));                              \
})

int  nouveau_disp_create_(struct nouveau_object *, struct nouveau_object *,
			  struct nouveau_oclass *, int heads,
			  const char *, const char *, int, void **);
void _nouveau_disp_dtor(struct nouveau_object *);
int  _nouveau_disp_init(struct nouveau_object *);
int  _nouveau_disp_fini(struct nouveau_object *, bool);

extern struct nouveau_oclass *nvkm_output_oclass;
extern struct nouveau_oclass *nvkm_connector_oclass;

#endif