3 #include <core/subdev.h>
7 const struct nvkm_bar_func *func;
8 struct nvkm_subdev subdev;
12 /* whether the BAR supports to be ioremapped WC or should be uncached */
16 void nvkm_bar_flush(struct nvkm_bar *);
17 struct nvkm_vm *nvkm_bar_kmap(struct nvkm_bar *);
18 int nvkm_bar_umap(struct nvkm_bar *, u64 size, int type, struct nvkm_vma *);
20 int nv50_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
21 int g84_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
22 int gf100_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
23 int gk20a_bar_new(struct nvkm_device *, int, struct nvkm_bar **);