sound/soc/tegra/tegra210_i2s.h

Source file repositories/reference/linux-study-clean/sound/soc/tegra/tegra210_i2s.h

File Facts

System
Linux kernel
Corpus path
sound/soc/tegra/tegra210_i2s.h
Extension
.h
Size
5820 bytes
Lines
179
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct tegra_i2s_soc_data {
	const struct regmap_config *regmap_conf;
	const struct snd_soc_component_driver *i2s_cmpnt;
	unsigned int max_ch;
	unsigned int tx_offset;
	unsigned int i2s_ctrl_offset;
	unsigned int fsync_width_mask;
	unsigned int fsync_width_shift;
	unsigned int slot_mask;
};

struct tegra210_i2s {
	const struct tegra_i2s_soc_data *soc_data;
	struct clk *clk_i2s;
	struct clk *clk_sync_input;
	struct regmap *regmap;
	int client_sample_format;
	unsigned int client_channels;
	unsigned int stereo_to_mono[I2S_PATHS];
	unsigned int mono_to_stereo[I2S_PATHS];
	unsigned int dai_fmt;
	unsigned int fsync_width;
	unsigned int bclk_ratio;
	unsigned int tx_mask;
	unsigned int rx_mask;
	unsigned int rx_fifo_th;
	bool loopback;
};

#endif

Annotation

Implementation Notes