sound/soc/meson/axg-tdm-formatter.h
Source file repositories/reference/linux-study-clean/sound/soc/meson/axg-tdm-formatter.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/meson/axg-tdm-formatter.h- Extension
.h- Size
- 1239 bytes
- Lines
- 46
- Domain
- Driver Families
- Bucket
- sound/soc
- 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
axg-tdm.h
Detected Declarations
struct platform_devicestruct regmapstruct snd_soc_dapm_widgetstruct snd_kcontrolstruct axg_tdm_formatter_hwstruct axg_tdm_formatter_opsstruct axg_tdm_formatter_driver
Annotated Snippet
struct axg_tdm_formatter_hw {
unsigned int skew_offset;
};
struct axg_tdm_formatter_ops {
struct axg_tdm_stream *(*get_stream)(struct snd_soc_dapm_widget *w);
void (*enable)(struct regmap *map);
void (*disable)(struct regmap *map);
int (*prepare)(struct regmap *map,
const struct axg_tdm_formatter_hw *quirks,
struct axg_tdm_stream *ts);
};
struct axg_tdm_formatter_driver {
const struct snd_soc_component_driver *component_drv;
const struct regmap_config *regmap_cfg;
const struct axg_tdm_formatter_ops *ops;
const struct axg_tdm_formatter_hw *quirks;
};
int axg_tdm_formatter_set_channel_masks(struct regmap *map,
struct axg_tdm_stream *ts,
unsigned int offset);
int axg_tdm_formatter_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *control,
int event);
int axg_tdm_formatter_probe(struct platform_device *pdev);
#endif /* _MESON_AXG_TDM_FORMATTER_H */
Annotation
- Immediate include surface: `axg-tdm.h`.
- Detected declarations: `struct platform_device`, `struct regmap`, `struct snd_soc_dapm_widget`, `struct snd_kcontrol`, `struct axg_tdm_formatter_hw`, `struct axg_tdm_formatter_ops`, `struct axg_tdm_formatter_driver`.
- Atlas domain: Driver Families / sound/soc.
- 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.