#define nv50_instmem(p) …
#include "priv.h"
#include <core/memory.h>
#include <subdev/bar.h>
#include <subdev/fb.h>
#include <subdev/gsp.h>
#include <subdev/mmu.h>
struct nv50_instmem { … };
#define nv50_instobj(p) …
struct nv50_instobj { … };
static void
nv50_instobj_wr32_slow(struct nvkm_memory *memory, u64 offset, u32 data)
{ … }
static u32
nv50_instobj_rd32_slow(struct nvkm_memory *memory, u64 offset)
{ … }
static const struct nvkm_memory_ptrs
nv50_instobj_slow = …;
static void
nv50_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data)
{ … }
static u32
nv50_instobj_rd32(struct nvkm_memory *memory, u64 offset)
{ … }
static const struct nvkm_memory_ptrs
nv50_instobj_fast = …;
static void
nv50_instobj_kmap(struct nv50_instobj *iobj, struct nvkm_vmm *vmm)
{ … }
static int
nv50_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm,
struct nvkm_vma *vma, void *argv, u32 argc)
{ … }
static void
nv50_instobj_release(struct nvkm_memory *memory)
{ … }
static void __iomem *
nv50_instobj_acquire(struct nvkm_memory *memory)
{ … }
static void
nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vmm *vmm)
{ … }
static u64
nv50_instobj_size(struct nvkm_memory *memory)
{ … }
static u64
nv50_instobj_addr(struct nvkm_memory *memory)
{ … }
static u64
nv50_instobj_bar2(struct nvkm_memory *memory)
{ … }
static enum nvkm_memory_target
nv50_instobj_target(struct nvkm_memory *memory)
{ … }
static void *
nv50_instobj_dtor(struct nvkm_memory *memory)
{ … }
static const struct nvkm_memory_func
nv50_instobj_func = …;
static int
nv50_instobj_wrap(struct nvkm_instmem *base,
struct nvkm_memory *memory, struct nvkm_memory **pmemory)
{ … }
static int
nv50_instobj_new(struct nvkm_instmem *imem, u32 size, u32 align, bool zero,
struct nvkm_memory **pmemory)
{ … }
static void
nv50_instmem_fini(struct nvkm_instmem *base)
{ … }
static void *
nv50_instmem_dtor(struct nvkm_instmem *base)
{ … }
static const struct nvkm_instmem_func
nv50_instmem = …;
int
nv50_instmem_new_(const struct nvkm_instmem_func *func,
struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_instmem **pimem)
{ … }
int
nv50_instmem_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_instmem **pimem)
{ … }