sound/soc/codecs/rt1017-sdca-sdw.h
Source file repositories/reference/linux-study-clean/sound/soc/codecs/rt1017-sdca-sdw.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/rt1017-sdca-sdw.h- Extension
.h- Size
- 4288 bytes
- Lines
- 184
- 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
linux/regmap.hlinux/soundwire/sdw.hlinux/soundwire/sdw_type.hlinux/soundwire/sdw_registers.hsound/soc.h
Detected Declarations
struct rt1017_sdca_priv
Annotated Snippet
struct rt1017_sdca_priv {
struct snd_soc_component *component;
struct regmap *regmap;
struct sdw_slave *sdw_slave;
struct sdw_bus_params params;
bool hw_init;
bool first_hw_init;
};
static const struct reg_default rt1017_sdca_reg_defaults[] = {
{ 0x3206, 0x00 },
{ 0xc001, 0x43 },
{ 0xc030, 0x54 },
{ 0xc104, 0x8a },
{ 0xc10b, 0x2f },
{ 0xc10c, 0x2f },
{ 0xc110, 0x49 },
{ 0xc112, 0x10 },
{ 0xc300, 0xff },
{ 0xc301, 0xdd },
{ 0xc318, 0x40 },
{ 0xc325, 0x00 },
{ 0xc326, 0x00 },
{ 0xc327, 0x00 },
{ 0xc328, 0x02 },
{ 0xc331, 0xb2 },
{ 0xc340, 0x02 },
{ 0xc350, 0x21 },
{ 0xc500, 0x00 },
{ 0xc502, 0x00 },
{ 0xc504, 0x3f },
{ 0xc507, 0x1f },
{ 0xc509, 0x1f },
{ 0xc510, 0x40 },
{ 0xc512, 0x00 },
{ 0xc518, 0x02 },
{ 0xc51b, 0x7f },
{ 0xc51d, 0x0f },
{ 0xc520, 0x00 },
{ 0xc540, 0x80 },
{ 0xc541, 0x00 },
{ 0xc542, 0x0a },
{ 0xc550, 0x80 },
{ 0xc551, 0x0f },
{ 0xc552, 0xff },
{ 0xc600, 0x10 },
{ 0xc602, 0x83 },
{ 0xc612, 0x40 },
{ 0xc622, 0x40 },
{ 0xc632, 0x40 },
{ 0xc642, 0x40 },
{ 0xc651, 0x00 },
{ 0xca00, 0xc1 },
{ 0xca09, 0x00 },
{ 0xca0a, 0x51 },
{ 0xca0b, 0xeb },
{ 0xca0c, 0x85 },
{ 0xca0e, 0x00 },
{ 0xca0f, 0x10 },
{ 0xca10, 0x62 },
{ 0xca11, 0x4d },
{ 0xca16, 0x0f },
{ 0xca17, 0x00 },
{ 0xcb00, 0x10 },
{ 0xcc00, 0x10 },
{ 0xcc02, 0x0b },
{ 0xd017, 0x09 },
{ 0xd01a, 0x00 },
{ 0xd01b, 0x00 },
{ 0xd01c, 0x00 },
{ 0xd101, 0xa0 },
{ 0xd20c, 0x14 },
{ 0xd300, 0x0f },
{ 0xd370, 0x18 },
{ 0xd500, 0x00 },
{ 0xd545, 0x0b },
{ 0xd546, 0xf9 },
{ 0xd547, 0xb2 },
{ 0xd548, 0xa9 },
{ 0xd5a5, 0x00 },
{ 0xd5a6, 0x00 },
{ 0xd5a7, 0x00 },
{ 0xd5a8, 0x00 },
{ 0xd5aa, 0x00 },
{ 0xd5ab, 0x00 },
{ 0xd5ac, 0x00 },
{ 0xd5ad, 0x00 },
{ 0xda04, 0x03 },
{ 0xda05, 0x33 },
{ 0xda06, 0x33 },
Annotation
- Immediate include surface: `linux/regmap.h`, `linux/soundwire/sdw.h`, `linux/soundwire/sdw_type.h`, `linux/soundwire/sdw_registers.h`, `sound/soc.h`.
- Detected declarations: `struct rt1017_sdca_priv`.
- 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.