#define gf100_ram(p) …
#include "ram.h"
#include "ramfuc.h"
#include <core/option.h>
#include <subdev/bios.h>
#include <subdev/bios/pll.h>
#include <subdev/bios/rammap.h>
#include <subdev/bios/timing.h>
#include <subdev/clk.h>
#include <subdev/clk/pll.h>
struct gf100_ramfuc { … };
struct gf100_ram { … };
static void
gf100_ram_train(struct gf100_ramfuc *fuc, u32 magic)
{ … }
int
gf100_ram_calc(struct nvkm_ram *base, u32 freq)
{ … }
int
gf100_ram_prog(struct nvkm_ram *base)
{ … }
void
gf100_ram_tidy(struct nvkm_ram *base)
{ … }
int
gf100_ram_init(struct nvkm_ram *base)
{ … }
u32
gf100_ram_probe_fbpa_amount(struct nvkm_device *device, int fbpa)
{ … }
u32
gf100_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao,
struct nvkm_device *device, int fbp, int *pltcs)
{ … }
u32
gf100_ram_probe_fbp(const struct nvkm_ram_func *func,
struct nvkm_device *device, int fbp, int *pltcs)
{ … }
int
gf100_ram_ctor(const struct nvkm_ram_func *func, struct nvkm_fb *fb,
struct nvkm_ram *ram)
{ … }
int
gf100_ram_new_(const struct nvkm_ram_func *func,
struct nvkm_fb *fb, struct nvkm_ram **pram)
{ … }
static const struct nvkm_ram_func
gf100_ram = …;
int
gf100_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram)
{ … }