drivers/hwtracing/stm/p_sys-t.c
Source file repositories/reference/linux-study-clean/drivers/hwtracing/stm/p_sys-t.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hwtracing/stm/p_sys-t.c- Extension
.c- Size
- 11534 bytes
- Lines
- 462
- Domain
- Driver Families
- Bucket
- drivers/hwtracing
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/configfs.hlinux/module.hlinux/device.hlinux/slab.hlinux/uuid.hlinux/stm.hstm.h
Detected Declarations
struct sys_t_policy_nodestruct sys_t_outputenum sys_t_message_typeenum sys_t_message_severityenum sys_t_message_build_subtypeenum sys_t_message_clock_subtypeenum sys_t_message_string_subtypeenum sys_t_message_sbd_subtypefunction sys_t_policy_node_initfunction sys_t_output_openfunction sys_t_output_closefunction sys_t_policy_uuid_showfunction sys_t_policy_uuid_storefunction sys_t_policy_do_len_showfunction sys_t_policy_do_len_storefunction sys_t_policy_ts_interval_showfunction sys_t_policy_ts_interval_storefunction sys_t_policy_clocksync_interval_showfunction sys_t_policy_clocksync_interval_storefunction sys_t_need_tsfunction sys_t_need_clock_syncfunction sys_t_clock_syncfunction sys_t_headerfunction sys_t_write_datafunction sys_t_writefunction sys_t_stm_initfunction sys_t_stm_exitmodule init sys_t_stm_init
Annotated Snippet
module_init(sys_t_stm_init);
module_exit(sys_t_stm_exit);
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("MIPI SyS-T STM framing protocol driver");
MODULE_AUTHOR("Alexander Shishkin <alexander.shishkin@linux.intel.com>");
Annotation
- Immediate include surface: `linux/configfs.h`, `linux/module.h`, `linux/device.h`, `linux/slab.h`, `linux/uuid.h`, `linux/stm.h`, `stm.h`.
- Detected declarations: `struct sys_t_policy_node`, `struct sys_t_output`, `enum sys_t_message_type`, `enum sys_t_message_severity`, `enum sys_t_message_build_subtype`, `enum sys_t_message_clock_subtype`, `enum sys_t_message_string_subtype`, `enum sys_t_message_sbd_subtype`, `function sys_t_policy_node_init`, `function sys_t_output_open`.
- Atlas domain: Driver Families / drivers/hwtracing.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.