drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h- Extension
.h- Size
- 1658 bytes
- Lines
- 60
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
subdev/mc.h
Detected Declarations
struct nvkm_mc_mapstruct nvkm_mc_func
Annotated Snippet
struct nvkm_mc_map {
u32 stat;
enum nvkm_subdev_type type;
int inst;
bool noauto;
};
struct nvkm_mc_func {
void (*init)(struct nvkm_mc *);
const struct nvkm_intr_func *intr;
const struct nvkm_intr_data *intrs;
bool intr_nonstall;
const struct nvkm_mc_device_func {
bool (*enabled)(struct nvkm_mc *, u32 mask);
void (*enable)(struct nvkm_mc *, u32 mask);
void (*disable)(struct nvkm_mc *, u32 mask);
} *device;
const struct nvkm_mc_map *reset;
void (*unk260)(struct nvkm_mc *, u32);
};
void nv04_mc_init(struct nvkm_mc *);
extern const struct nvkm_intr_func nv04_mc_intr;
bool nv04_mc_intr_pending(struct nvkm_intr *);
void nv04_mc_intr_unarm(struct nvkm_intr *);
void nv04_mc_intr_rearm(struct nvkm_intr *);
extern const struct nvkm_mc_device_func nv04_mc_device;
extern const struct nvkm_mc_map nv04_mc_reset[];
extern const struct nvkm_intr_data nv17_mc_intrs[];
extern const struct nvkm_mc_map nv17_mc_reset[];
void nv44_mc_init(struct nvkm_mc *);
void nv50_mc_init(struct nvkm_mc *);
extern const struct nvkm_intr_func gt215_mc_intr;
void gf100_mc_unk260(struct nvkm_mc *, u32);
void gk104_mc_init(struct nvkm_mc *);
extern const struct nvkm_intr_data gk104_mc_intrs[];
extern const struct nvkm_mc_map gk104_mc_reset[];
extern const struct nvkm_intr_func gp100_mc_intr;
extern const struct nvkm_intr_data gp100_mc_intrs[];
#endif
Annotation
- Immediate include surface: `subdev/mc.h`.
- Detected declarations: `struct nvkm_mc_map`, `struct nvkm_mc_func`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.