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 (26 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (13)
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
#ifndef __NVKM_BAR_PRIV_H__
#define __NVKM_BAR_PRIV_H__

#include <subdev/bar.h>

#define nouveau_bar_create(p,e,o,d)                                            \
	nouveau_bar_create_((p), (e), (o), sizeof(**d), (void **)d)
#define nouveau_bar_init(p)                                                    \
	nouveau_subdev_init(&(p)->base)
#define nouveau_bar_fini(p,s)                                                  \
	nouveau_subdev_fini(&(p)->base, (s))

int nouveau_bar_create_(struct nouveau_object *, struct nouveau_object *,
			struct nouveau_oclass *, int, void **);
void nouveau_bar_destroy(struct nouveau_bar *);

void _nouveau_bar_dtor(struct nouveau_object *);
#define _nouveau_bar_init _nouveau_subdev_init
#define _nouveau_bar_fini _nouveau_subdev_fini

int  nouveau_bar_alloc(struct nouveau_bar *, struct nouveau_object *,
		       struct nouveau_mem *, struct nouveau_object **);

void nv84_bar_flush(struct nouveau_bar *);

#endif