Lines Matching refs:codec
4 The codec class driver is generic and hardware independent code that configures
5 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback.
10 Each codec class driver *must* provide the following features:-
19 Optionally, codec drivers can also provide:-
23 Its probably best to use this guide in conjunction with the existing codec
31 Each codec driver must have a struct snd_soc_dai_driver to define its DAI and
67 The codec can usually be controlled via an I2C or SPI style interface
68 (AC97 combines control with data in the DAI). The codec driver should use the
69 Regmap API for all codec IO. Please see include/linux/regmap.h and existing
70 codec drivers for example regmap usage.
75 All the codec mixers and audio controls can be defined using the convenience
83 reg = codec register
114 The codec driver also supports the following ALSA PCM operations:-
131 The Dynamic Audio Power Management description describes the codec power
135 Please also see the examples in other codec drivers.
140 This function is a callback that handles codec domain PM calls and system
141 domain PM calls (e.g. suspend and resume). It is used to put the codec
164 A callback can be created that is called by the core for each codec DAI
171 struct snd_soc_codec *codec = dai->codec;
172 u16 mute_reg = snd_soc_read(codec, WM8974_DAC) & 0xffbf;
175 snd_soc_write(codec, WM8974_DAC, mute_reg | 0x40);
177 snd_soc_write(codec, WM8974_DAC, mute_reg);