File: nv50.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 (33 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (14)
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
#ifndef __NVKM_FB_NV50_H__
#define __NVKM_FB_NV50_H__

#include "priv.h"

struct nv50_fb_priv {
	struct nouveau_fb base;
	struct page *r100c08_page;
	dma_addr_t r100c08;
};

int  nv50_fb_ctor(struct nouveau_object *, struct nouveau_object *,
		  struct nouveau_oclass *, void *, u32,
		  struct nouveau_object **);
void nv50_fb_dtor(struct nouveau_object *);
int  nv50_fb_init(struct nouveau_object *);

struct nv50_fb_impl {
	struct nouveau_fb_impl base;
	u32 trap;
};

#define nv50_ram_create(p,e,o,d)                                               \
	nv50_ram_create_((p), (e), (o), sizeof(**d), (void **)d)
int  nv50_ram_create_(struct nouveau_object *, struct nouveau_object *,
		      struct nouveau_oclass *, int, void **);
int  nv50_ram_get(struct nouveau_fb *, u64 size, u32 align, u32 ncmin,
		  u32 memtype, struct nouveau_mem **);
void nv50_ram_put(struct nouveau_fb *, struct nouveau_mem **);
void __nv50_ram_put(struct nouveau_fb *, struct nouveau_mem *);
extern int nv50_fb_memtype[0x80];

#endif