drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm200.c

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm200.c

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm200.c
Extension
.c
Size
1539 bytes
Lines
40
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#include "priv.h"

static const struct nvkm_therm_func
gm200_therm = {
	.init = g84_therm_init,
	.fini = g84_therm_fini,
	.temp_get = g84_temp_get,
	.program_alarms = nvkm_therm_program_alarms_polling,
};

int
gm200_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
		struct nvkm_therm **ptherm)
{
	return nvkm_therm_new_(&gm200_therm, device, type, inst, ptherm);
}

Annotation

Implementation Notes