drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h
Source file repositories/reference/linux-study-clean/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h- Extension
.h- Size
- 689 bytes
- Lines
- 30
- Domain
- Driver Families
- Bucket
- drivers/hid
- 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
../amd_sfh_common.h
Detected Declarations
struct amd_sfh1_1_ops
Annotated Snippet
struct amd_sfh1_1_ops {
int (*init)(struct amd_mp2_dev *mp2);
void (*toggle_hpd)(struct amd_mp2_dev *mp2, bool enable);
};
int amd_sfh1_1_init(struct amd_mp2_dev *mp2);
void amd_sfh_toggle_hpd(struct amd_mp2_dev *mp2, bool enabled);
static const struct amd_sfh1_1_ops __maybe_unused sfh1_1_ops = {
.init = amd_sfh1_1_init,
.toggle_hpd = amd_sfh_toggle_hpd,
};
#endif
Annotation
- Immediate include surface: `../amd_sfh_common.h`.
- Detected declarations: `struct amd_sfh1_1_ops`.
- Atlas domain: Driver Families / drivers/hid.
- 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.