#include "priv.h"
#include <core/option.h>
#include <subdev/pmu.h>
int
nvkm_therm_temp_get(struct nvkm_therm *therm)
{ … }
static int
nvkm_therm_update_trip(struct nvkm_therm *therm)
{ … }
static int
nvkm_therm_compute_linear_duty(struct nvkm_therm *therm, u8 linear_min_temp,
u8 linear_max_temp)
{ … }
static int
nvkm_therm_update_linear(struct nvkm_therm *therm)
{ … }
static int
nvkm_therm_update_linear_fallback(struct nvkm_therm *therm)
{ … }
static void
nvkm_therm_update(struct nvkm_therm *therm, int mode)
{ … }
int
nvkm_therm_cstate(struct nvkm_therm *therm, int fan, int dir)
{ … }
static void
nvkm_therm_alarm(struct nvkm_alarm *alarm)
{ … }
int
nvkm_therm_fan_mode(struct nvkm_therm *therm, int mode)
{ … }
int
nvkm_therm_attr_get(struct nvkm_therm *therm, enum nvkm_therm_attr_type type)
{ … }
int
nvkm_therm_attr_set(struct nvkm_therm *therm,
enum nvkm_therm_attr_type type, int value)
{ … }
void
nvkm_therm_clkgate_enable(struct nvkm_therm *therm)
{ … }
void
nvkm_therm_clkgate_fini(struct nvkm_therm *therm, bool suspend)
{ … }
static void
nvkm_therm_clkgate_oneinit(struct nvkm_therm *therm)
{ … }
static void
nvkm_therm_intr(struct nvkm_subdev *subdev)
{ … }
static int
nvkm_therm_fini(struct nvkm_subdev *subdev, bool suspend)
{ … }
static int
nvkm_therm_oneinit(struct nvkm_subdev *subdev)
{ … }
static int
nvkm_therm_init(struct nvkm_subdev *subdev)
{ … }
void
nvkm_therm_clkgate_init(struct nvkm_therm *therm,
const struct nvkm_therm_clkgate_pack *p)
{ … }
static void *
nvkm_therm_dtor(struct nvkm_subdev *subdev)
{ … }
static const struct nvkm_subdev_func
nvkm_therm = …;
void
nvkm_therm_ctor(struct nvkm_therm *therm, struct nvkm_device *device, enum nvkm_subdev_type type,
int inst, const struct nvkm_therm_func *func)
{ … }
int
nvkm_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device,
enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm)
{ … }