drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.c

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.c
Extension
.c
Size
1556 bytes
Lines
41
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_timer_func
gk20a_timer = {
	.intr = nv04_timer_intr,
	.read = nv04_timer_read,
	.time = nv04_timer_time,
	.alarm_init = nv04_timer_alarm_init,
	.alarm_fini = nv04_timer_alarm_fini,
};

int
gk20a_timer_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
		struct nvkm_timer **ptmr)
{
	return nvkm_timer_new_(&gk20a_timer, device, type, inst, ptmr);
}

Annotation

Implementation Notes