drivers/hwtracing/coresight/coresight-syscfg-configfs.h
Source file repositories/reference/linux-study-clean/drivers/hwtracing/coresight/coresight-syscfg-configfs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/hwtracing/coresight/coresight-syscfg-configfs.h- Extension
.h- Size
- 1320 bytes
- Lines
- 50
- Domain
- Driver Families
- Bucket
- drivers/hwtracing
- 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
linux/configfs.hcoresight-syscfg.h
Detected Declarations
struct cscfg_fs_configstruct cscfg_fs_featurestruct cscfg_fs_paramstruct cscfg_fs_preset
Annotated Snippet
struct cscfg_fs_config {
struct cscfg_config_desc *config_desc;
struct config_group group;
bool active;
int preset;
};
/* container for feature view */
struct cscfg_fs_feature {
struct cscfg_feature_desc *feat_desc;
struct config_group group;
};
/* container for parameter view */
struct cscfg_fs_param {
int param_idx;
struct cscfg_feature_desc *feat_desc;
struct config_group group;
};
/* container for preset view */
struct cscfg_fs_preset {
int preset_num;
struct cscfg_config_desc *config_desc;
struct config_group group;
};
int cscfg_configfs_init(struct cscfg_manager *cscfg_mgr);
void cscfg_configfs_release(struct cscfg_manager *cscfg_mgr);
int cscfg_configfs_add_config(struct cscfg_config_desc *config_desc);
int cscfg_configfs_add_feature(struct cscfg_feature_desc *feat_desc);
void cscfg_configfs_del_config(struct cscfg_config_desc *config_desc);
void cscfg_configfs_del_feature(struct cscfg_feature_desc *feat_desc);
#endif /* CORESIGHT_SYSCFG_CONFIGFS_H */
Annotation
- Immediate include surface: `linux/configfs.h`, `coresight-syscfg.h`.
- Detected declarations: `struct cscfg_fs_config`, `struct cscfg_fs_feature`, `struct cscfg_fs_param`, `struct cscfg_fs_preset`.
- Atlas domain: Driver Families / drivers/hwtracing.
- 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.