drivers/perf/nvidia_t410_c2c_pmu.c
Source file repositories/reference/linux-study-clean/drivers/perf/nvidia_t410_c2c_pmu.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/perf/nvidia_t410_c2c_pmu.c- Extension
.c- Size
- 27441 bytes
- Lines
- 1052
- Domain
- Driver Families
- Bucket
- drivers/perf
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/acpi.hlinux/bitops.hlinux/cpumask.hlinux/device.hlinux/interrupt.hlinux/io.hlinux/module.hlinux/perf_event.hlinux/platform_device.hlinux/property.h
Detected Declarations
struct nv_c2c_pmu_datastruct nv_c2c_pmu_hw_eventsstruct nv_c2c_pmufunction get_event_typefunction get_filter_maskfunction nv_c2c_pmu_get_event_idxfunction nv_c2c_pmu_validate_eventfunction nv_c2c_pmu_validate_groupfunction for_each_sibling_eventfunction nv_c2c_pmu_event_initfunction taskfunction read_reg64_hilohifunction nv_c2c_pmu_check_statusfunction nv_c2c_pmu_read_counterfunction for_each_set_bitfunction for_each_set_bitfunction nv_c2c_pmu_event_updatefunction nv_c2c_pmu_startfunction nv_c2c_pmu_stopfunction nv_c2c_pmu_addfunction nv_c2c_pmu_delfunction nv_c2c_pmu_readfunction nv_c2c_pmu_enablefunction nv_c2c_pmu_disablefunction nv_c2c_pmu_identifier_showfunction nv_c2c_pmu_peer_showfunction nv_c2c_pmu_sysfs_event_showfunction nv_c2c_pmu_cpumask_showfunction nv_c2c_pmu_online_cpufunction nv_c2c_pmu_cpu_teardownfunction nv_c2c_pmu_get_cpusfunction for_each_possible_cpufunction nv_c2c_pmu_init_socketfunction nv_c2c_pmu_init_idfunction nv_c2c_pmu_init_filterfunction nv_c2c_pmu_init_mmiofunction nv_c2c_pmu_register_pmufunction nv_c2c_pmu_probefunction nv_c2c_pmu_device_removefunction nv_c2c_pmu_initfunction nv_c2c_pmu_exitmodule init nv_c2c_pmu_init
Annotated Snippet
module_init(nv_c2c_pmu_init);
module_exit(nv_c2c_pmu_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("NVIDIA Tegra410 C2C PMU driver");
MODULE_AUTHOR("Besar Wicaksono <bwicaksono@nvidia.com>");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/bitops.h`, `linux/cpumask.h`, `linux/device.h`, `linux/interrupt.h`, `linux/io.h`, `linux/module.h`, `linux/perf_event.h`.
- Detected declarations: `struct nv_c2c_pmu_data`, `struct nv_c2c_pmu_hw_events`, `struct nv_c2c_pmu`, `function get_event_type`, `function get_filter_mask`, `function nv_c2c_pmu_get_event_idx`, `function nv_c2c_pmu_validate_event`, `function nv_c2c_pmu_validate_group`, `function for_each_sibling_event`, `function nv_c2c_pmu_event_init`.
- Atlas domain: Driver Families / drivers/perf.
- Implementation status: integration 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.