include/sound/ump_msg.h
Source file repositories/reference/linux-study-clean/include/sound/ump_msg.h
File Facts
- System
- Linux kernel
- Corpus path
include/sound/ump_msg.h- Extension
.h- Size
- 14143 bytes
- Lines
- 766
- Domain
- Driver Families
- Bucket
- include/sound
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct snd_ump_midi1_msg_notestruct snd_ump_midi1_msg_pafstruct snd_ump_midi1_msg_ccstruct snd_ump_midi1_msg_programstruct snd_ump_midi1_msg_cafstruct snd_ump_midi1_msg_pitchbendstruct snd_ump_system_msgstruct snd_ump_midi2_msg_notestruct snd_ump_midi2_msg_pafstruct snd_ump_midi2_msg_pernote_ccstruct snd_ump_midi2_msg_pernote_mgmtstruct snd_ump_midi2_msg_ccstruct snd_ump_midi2_msg_rpnstruct snd_ump_midi2_msg_programstruct snd_ump_midi2_msg_cafstruct snd_ump_midi2_msg_pitchbendstruct snd_ump_midi2_msg_pernote_pitchbendstruct snd_ump_stream_msg_ep_discoverystruct snd_ump_stream_msg_ep_infostruct snd_ump_stream_msg_device_infostruct snd_ump_stream_msg_stream_cfgstruct snd_ump_stream_msg_fb_discoverystruct snd_ump_stream_msg_fb_infostruct snd_ump_stream_msg_fb_name
Annotated Snippet
struct snd_ump_midi1_msg_note {
#ifdef __BIG_ENDIAN_BITFIELD
u32 type:4;
u32 group:4;
u32 status:4;
u32 channel:4;
u32 note:8;
u32 velocity:8;
#else
u32 velocity:8;
u32 note:8;
u32 channel:4;
u32 status:4;
u32 group:4;
u32 type:4;
#endif
} __packed;
/* MIDI 1.0 Poly Pressure (32bit) */
struct snd_ump_midi1_msg_paf {
#ifdef __BIG_ENDIAN_BITFIELD
u32 type:4;
u32 group:4;
u32 status:4;
u32 channel:4;
u32 note:8;
u32 data:8;
#else
u32 data:8;
u32 note:8;
u32 channel:4;
u32 status:4;
u32 group:4;
u32 type:4;
#endif
} __packed;
/* MIDI 1.0 Control Change (32bit) */
struct snd_ump_midi1_msg_cc {
#ifdef __BIG_ENDIAN_BITFIELD
u32 type:4;
u32 group:4;
u32 status:4;
u32 channel:4;
u32 index:8;
u32 data:8;
#else
u32 data:8;
u32 index:8;
u32 channel:4;
u32 status:4;
u32 group:4;
u32 type:4;
#endif
} __packed;
/* MIDI 1.0 Program Change (32bit) */
struct snd_ump_midi1_msg_program {
#ifdef __BIG_ENDIAN_BITFIELD
u32 type:4;
u32 group:4;
u32 status:4;
u32 channel:4;
u32 program:8;
u32 reserved:8;
#else
u32 reserved:8;
u32 program:8;
u32 channel:4;
u32 status:4;
u32 group:4;
u32 type:4;
#endif
} __packed;
/* MIDI 1.0 Channel Pressure (32bit) */
struct snd_ump_midi1_msg_caf {
#ifdef __BIG_ENDIAN_BITFIELD
u32 type:4;
u32 group:4;
u32 status:4;
u32 channel:4;
u32 data:8;
u32 reserved:8;
#else
u32 reserved:8;
u32 data:8;
u32 channel:4;
u32 status:4;
u32 group:4;
Annotation
- Detected declarations: `struct snd_ump_midi1_msg_note`, `struct snd_ump_midi1_msg_paf`, `struct snd_ump_midi1_msg_cc`, `struct snd_ump_midi1_msg_program`, `struct snd_ump_midi1_msg_caf`, `struct snd_ump_midi1_msg_pitchbend`, `struct snd_ump_system_msg`, `struct snd_ump_midi2_msg_note`, `struct snd_ump_midi2_msg_paf`, `struct snd_ump_midi2_msg_pernote_cc`.
- Atlas domain: Driver Families / include/sound.
- 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.