#include "priv.h"
#include <subdev/bios.h>
#include <subdev/bios/vmap.h>
#include <subdev/bios/volt.h>
#include <subdev/therm.h>
int
nvkm_volt_get(struct nvkm_volt *volt)
{ … }
static int
nvkm_volt_set(struct nvkm_volt *volt, u32 uv)
{ … }
int
nvkm_volt_map_min(struct nvkm_volt *volt, u8 id)
{ … }
int
nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temp)
{ … }
int
nvkm_volt_set_id(struct nvkm_volt *volt, u8 id, u8 min_id, u8 temp,
int condition)
{ … }
static void
nvkm_volt_parse_bios(struct nvkm_bios *bios, struct nvkm_volt *volt)
{ … }
static int
nvkm_volt_speedo_read(struct nvkm_volt *volt)
{ … }
static int
nvkm_volt_init(struct nvkm_subdev *subdev)
{ … }
static int
nvkm_volt_oneinit(struct nvkm_subdev *subdev)
{ … }
static void *
nvkm_volt_dtor(struct nvkm_subdev *subdev)
{ … }
static const struct nvkm_subdev_func
nvkm_volt = …;
void
nvkm_volt_ctor(const struct nvkm_volt_func *func, struct nvkm_device *device,
enum nvkm_subdev_type type, int inst, struct nvkm_volt *volt)
{ … }
int
nvkm_volt_new_(const struct nvkm_volt_func *func, struct nvkm_device *device,
enum nvkm_subdev_type type, int inst, struct nvkm_volt **pvolt)
{ … }