1 #ifndef __GF100_BAR_H__
2 #define __GF100_BAR_H__
3 #define gf100_bar(p) container_of((p), struct gf100_bar, base)
7 struct nvkm_memory
*mem
;
8 struct nvkm_gpuobj
*pgd
;
14 struct gf100_bar_vm bar
[2];
17 int gf100_bar_new_(const struct nvkm_bar_func
*, struct nvkm_device
*,
18 int, struct nvkm_bar
**);
19 void *gf100_bar_dtor(struct nvkm_bar
*);
20 int gf100_bar_oneinit(struct nvkm_bar
*);
21 int gf100_bar_init(struct nvkm_bar
*);
22 int gf100_bar_umap(struct nvkm_bar
*, u64
, int, struct nvkm_vma
*);