€•,dŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ#/translations/zh_CN/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/zh_TW/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/it_IT/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/ja_JP/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/ko_KR/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/pt_BR/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/sp_SP/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒASoC Codec Class Driver”h]”hŒASoC Codec Class Driver”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ=/var/lib/git/docbuild/linux/Documentation/sound/soc/codec.rst”h´KubhŒ paragraph”“”)”}”(hXVThe codec class driver is generic and hardware independent code that configures the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. It should contain no code that is specific to the target platform or machine. All platform and machine specific code should be added to the platform and machine drivers respectively.”h]”hXVThe codec class driver is generic and hardware independent code that configures the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. It should contain no code that is specific to the target platform or machine. All platform and machine specific code should be added to the platform and machine drivers respectively.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒ?Each codec class driver *must* provide the following features:-”h]”(hŒEach codec class driver ”…””}”(hhÛh²hh³Nh´NubhŒemphasis”“”)”}”(hŒ*must*”h]”hŒmust”…””}”(hhåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhhÛubhŒ! provide the following features:-”…””}”(hhÛh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒCodec DAI and PCM configuration”h]”hÌ)”}”(hjh]”hŒCodec DAI and PCM configuration”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿh²hh³hÊh´Nubj)”}”(hŒ#Codec control IO - using RegMap API”h]”hÌ)”}”(hjh]”hŒ#Codec control IO - using RegMap API”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿh²hh³hÊh´Nubj)”}”(hŒMixers and audio controls”h]”hÌ)”}”(hj4h]”hŒMixers and audio controls”…””}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿh²hh³hÊh´Nubj)”}”(hŒCodec audio operations”h]”hÌ)”}”(hjKh]”hŒCodec audio operations”…””}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿh²hh³hÊh´Nubj)”}”(hŒDAPM description.”h]”hÌ)”}”(hjbh]”hŒDAPM description.”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿh²hh³hÊh´Nubj)”}”(hŒDAPM event handler. ”h]”hÌ)”}”(hŒDAPM event handler.”h]”hŒDAPM event handler.”…””}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhÿh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1hýhh·h²hh³hÊh´K ubhÌ)”}”(hŒ,Optionally, codec drivers can also provide:-”h]”hŒ,Optionally, codec drivers can also provide:-”…””}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhþ)”}”(hhh]”j)”}”(hŒDAC Digital mute control. ”h]”hÌ)”}”(hŒDAC Digital mute control.”h]”hŒDAC Digital mute control.”…””}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¨h²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”j•j–j—hj˜j™Œstart”Kuh1hýhh·h²hh³hÊh´KubhÌ)”}”(hŒkIts probably best to use this guide in conjunction with the existing codec driver code in sound/soc/codecs/”h]”hŒkIts probably best to use this guide in conjunction with the existing codec driver code in sound/soc/codecs/”…””}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒASoC Codec driver breakdown”h]”hŒASoC Codec driver breakdown”…””}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjØh²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒCodec DAI and PCM configuration”h]”hŒCodec DAI and PCM configuration”…””}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjéh²hh³hÊh´KubhÌ)”}”(hŒÉEach codec driver must have a struct snd_soc_dai_driver to define its DAI and PCM capabilities and operations. This struct is exported so that it can be registered with the core by your machine driver.”h]”hŒÉEach codec driver must have a struct snd_soc_dai_driver to define its DAI and PCM capabilities and operations. This struct is exported so that it can be registered with the core by your machine driver.”…””}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hjéh²hubhÌ)”}”(hŒe.g. ::”h]”hŒe.g.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K$hjéh²hubhŒ literal_block”“”)”}”(hXQstatic struct snd_soc_dai_ops wm8731_dai_ops = { .prepare = wm8731_pcm_prepare, .hw_params = wm8731_hw_params, .shutdown = wm8731_shutdown, .mute_stream = wm8731_mute, .set_sysclk = wm8731_set_dai_sysclk, .set_fmt = wm8731_set_dai_fmt, }; struct snd_soc_dai_driver wm8731_dai = { .name = "wm8731-hifi", .playback = { .stream_name = "Playback", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .capture = { .stream_name = "Capture", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .ops = &wm8731_dai_ops, .symmetric_rate = 1, };”h]”hXQstatic struct snd_soc_dai_ops wm8731_dai_ops = { .prepare = wm8731_pcm_prepare, .hw_params = wm8731_hw_params, .shutdown = wm8731_shutdown, .mute_stream = wm8731_mute, .set_sysclk = wm8731_set_dai_sysclk, .set_fmt = wm8731_set_dai_fmt, }; struct snd_soc_dai_driver wm8731_dai = { .name = "wm8731-hifi", .playback = { .stream_name = "Playback", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .capture = { .stream_name = "Capture", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .ops = &wm8731_dai_ops, .symmetric_rate = 1, };”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jh³hÊh´K'hjéh²hubeh}”(h]”Œcodec-dai-and-pcm-configuration”ah ]”h"]”Œcodec dai and pcm configuration”ah$]”h&]”uh1hµhjØh²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒCodec control IO”h]”hŒCodec control IO”…””}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj0h²hh³hÊh´KDubhÌ)”}”(hXThe codec can usually be controlled via an I2C or SPI style interface (AC97 combines control with data in the DAI). The codec driver should use the Regmap API for all codec IO. Please see include/linux/regmap.h and existing codec drivers for example regmap usage.”h]”hXThe codec can usually be controlled via an I2C or SPI style interface (AC97 combines control with data in the DAI). The codec driver should use the Regmap API for all codec IO. Please see include/linux/regmap.h and existing codec drivers for example regmap usage.”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KEhj0h²hubeh}”(h]”Œcodec-control-io”ah ]”h"]”Œcodec control io”ah$]”h&]”uh1hµhjØh²hh³hÊh´KDubh¶)”}”(hhh]”(h»)”}”(hŒMixers and audio controls”h]”hŒMixers and audio controls”…””}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjWh²hh³hÊh´KLubhÌ)”}”(hŒhAll the codec mixers and audio controls can be defined using the convenience macros defined in soc.h. ::”h]”hŒeAll the codec mixers and audio controls can be defined using the convenience macros defined in soc.h.”…””}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KMhjWh²hubj)”}”(hŒ3#define SOC_SINGLE(xname, reg, shift, mask, invert)”h]”hŒ3#define SOC_SINGLE(xname, reg, shift, mask, invert)”…””}”hjvsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´KQhjWh²hubhÌ)”}”(hŒ(Defines a single control as follows:- ::”h]”hŒ%Defines a single control as follows:-”…””}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KShjWh²hubj)”}”(hŒ¾xname = Control name e.g. "Playback Volume" reg = codec register shift = control bit(s) offset in register mask = control bit size(s) e.g. mask of 7 = 3 bits invert = the control is inverted”h]”hŒ¾xname = Control name e.g. "Playback Volume" reg = codec register shift = control bit(s) offset in register mask = control bit size(s) e.g. mask of 7 = 3 bits invert = the control is inverted”…””}”hj’sbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´KVhjWh²hubhÌ)”}”(hŒOther macros include:- ::”h]”hŒOther macros include:-”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K\hjWh²hubj)”}”(hŒE#define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)”h]”hŒE#define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)”…””}”hj®sbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´K_hjWh²hubhÌ)”}”(hŒA stereo control ::”h]”hŒA stereo control”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KahjWh²hubj)”}”(hŒE#define SOC_DOUBLE_R(xname, reg_left, reg_right, shift, mask, invert)”h]”hŒE#define SOC_DOUBLE_R(xname, reg_left, reg_right, shift, mask, invert)”…””}”hjÊsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´KdhjWh²hubhÌ)”}”(hŒ(A stereo control spanning 2 registers ::”h]”hŒ%A stereo control spanning 2 registers”…””}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KfhjWh²hubj)”}”(hŒ4#define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts)”h]”hŒ4#define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts)”…””}”hjæsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´KihjWh²hubhÌ)”}”(hŒ4Defines an single enumerated control as follows:- ::”h]”hŒ1Defines an single enumerated control as follows:-”…””}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KkhjWh²hubj)”}”(hŒØxreg = register xshift = control bit(s) offset in register xmask = control bit(s) size xtexts = pointer to array of strings that describe each setting #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts)”h]”hŒØxreg = register xshift = control bit(s) offset in register xmask = control bit(s) size xtexts = pointer to array of strings that describe each setting #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts)”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´KnhjWh²hubhÌ)”}”(hŒ#Defines a stereo enumerated control”h]”hŒ#Defines a stereo enumerated control”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KuhjWh²hubeh}”(h]”Œmixers-and-audio-controls”ah ]”h"]”Œmixers and audio controls”ah$]”h&]”uh1hµhjØh²hh³hÊh´KLubh¶)”}”(hhh]”(h»)”}”(hŒCodec Audio Operations”h]”hŒCodec Audio Operations”…””}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj&h²hh³hÊh´KyubhÌ)”}”(hŒEThe codec driver also supports the following ALSA PCM operations:- ::”h]”hŒBThe codec driver also supports the following ALSA PCM operations:-”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kzhj&h²hubj)”}”(hXE/* SoC audio ops */ struct snd_soc_ops { int (*startup)(struct snd_pcm_substream *); void (*shutdown)(struct snd_pcm_substream *); int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *); int (*hw_free)(struct snd_pcm_substream *); int (*prepare)(struct snd_pcm_substream *); };”h]”hXE/* SoC audio ops */ struct snd_soc_ops { int (*startup)(struct snd_pcm_substream *); void (*shutdown)(struct snd_pcm_substream *); int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *); int (*hw_free)(struct snd_pcm_substream *); int (*prepare)(struct snd_pcm_substream *); };”…””}”hjEsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´K}hj&h²hubhÌ)”}”(hŒlPlease refer to the :doc:`ALSA driver PCM documentation <../kernel-api/writing-an-alsa-driver>` for details.”h]”(hŒPlease refer to the ”…””}”(hjSh²hh³Nh´Nubh)”}”(hŒK:doc:`ALSA driver PCM documentation <../kernel-api/writing-an-alsa-driver>`”h]”hŒinline”“”)”}”(hj]h]”hŒALSA driver PCM documentation”…””}”(hjah²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-doc”eh"]”h$]”h&]”uh1j_hj[ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œsound/soc/codec”Œ refdomain”jlŒreftype”Œdoc”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œ$../kernel-api/writing-an-alsa-driver”uh1hh³hÊh´K†hjSubhŒ for details.”…””}”(hjSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K†hj&h²hubeh}”(h]”Œcodec-audio-operations”ah ]”h"]”Œcodec audio operations”ah$]”h&]”uh1hµhjØh²hh³hÊh´Kyubh¶)”}”(hhh]”(h»)”}”(hŒDAPM description”h]”hŒDAPM description”…””}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj’h²hh³hÊh´K‹ubhÌ)”}”(hŒÉThe Dynamic Audio Power Management description describes the codec power components and their relationships and registers to the ASoC core. Please read dapm.rst for details of building the description.”h]”hŒÉThe Dynamic Audio Power Management description describes the codec power components and their relationships and registers to the ASoC core. Please read dapm.rst for details of building the description.”…””}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KŒhj’h²hubhÌ)”}”(hŒ4Please also see the examples in other codec drivers.”h]”hŒ4Please also see the examples in other codec drivers.”…””}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj’h²hubeh}”(h]”Œdapm-description”ah ]”h"]”Œdapm description”ah$]”h&]”uh1hµhjØh²hh³hÊh´K‹ubh¶)”}”(hhh]”(h»)”}”(hŒDAPM event handler”h]”hŒDAPM event handler”…””}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÇh²hh³hÊh´K”ubhÌ)”}”(hŒªThis function is a callback that handles codec domain PM calls and system domain PM calls (e.g. suspend and resume). It is used to put the codec to sleep when not in use.”h]”hŒªThis function is a callback that handles codec domain PM calls and system domain PM calls (e.g. suspend and resume). It is used to put the codec to sleep when not in use.”…””}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K•hjÇh²hubhÌ)”}”(hŒPower states:- ::”h]”hŒPower states:-”…””}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K™hjÇh²hubj)”}”(hX.SNDRV_CTL_POWER_D0: /* full On */ /* vref/mid, clk and osc on, active */ SNDRV_CTL_POWER_D1: /* partial On */ SNDRV_CTL_POWER_D2: /* partial On */ SNDRV_CTL_POWER_D3hot: /* Off, with power */ /* everything off except vref/vmid, inactive */ SNDRV_CTL_POWER_D3cold: /* Everything Off, without power */”h]”hX.SNDRV_CTL_POWER_D0: /* full On */ /* vref/mid, clk and osc on, active */ SNDRV_CTL_POWER_D1: /* partial On */ SNDRV_CTL_POWER_D2: /* partial On */ SNDRV_CTL_POWER_D3hot: /* Off, with power */ /* everything off except vref/vmid, inactive */ SNDRV_CTL_POWER_D3cold: /* Everything Off, without power */”…””}”hjôsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´KœhjÇh²hubeh}”(h]”Œdapm-event-handler”ah ]”h"]”Œdapm event handler”ah$]”h&]”uh1hµhjØh²hh³hÊh´K”ubh¶)”}”(hhh]”(h»)”}”(hŒCodec DAC digital mute control”h]”hŒCodec DAC digital mute control”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj h²hh³hÊh´K©ubhÌ)”}”(hŒ–Most codecs have a digital mute before the DACs that can be used to minimise any system noise. The mute stops any digital data from entering the DAC.”h]”hŒ–Most codecs have a digital mute before the DACs that can be used to minimise any system noise. The mute stops any digital data from entering the DAC.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kªhj h²hubhÌ)”}”(hŒjA callback can be created that is called by the core for each codec DAI when the mute is applied or freed.”h]”hŒjA callback can be created that is called by the core for each codec DAI when the mute is applied or freed.”…””}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K®hj h²hubhÌ)”}”(hŒi.e. ::”h]”hŒi.e.”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K±hj h²hubj)”}”(hX˜static int wm8974_mute(struct snd_soc_dai *dai, int mute, int direction) { struct snd_soc_component *component = dai->component; u16 mute_reg = snd_soc_component_read(component, WM8974_DAC) & 0xffbf; if (mute) snd_soc_component_write(component, WM8974_DAC, mute_reg | 0x40); else snd_soc_component_write(component, WM8974_DAC, mute_reg); return 0; }”h]”hX˜static int wm8974_mute(struct snd_soc_dai *dai, int mute, int direction) { struct snd_soc_component *component = dai->component; u16 mute_reg = snd_soc_component_read(component, WM8974_DAC) & 0xffbf; if (mute) snd_soc_component_write(component, WM8974_DAC, mute_reg | 0x40); else snd_soc_component_write(component, WM8974_DAC, mute_reg); return 0; }”…””}”hjEsbah}”(h]”h ]”h"]”h$]”h&]”j&j'uh1jh³hÊh´K´hj h²hubeh}”(h]”Œcodec-dac-digital-mute-control”ah ]”h"]”Œcodec dac digital mute control”ah$]”h&]”uh1hµhjØh²hh³hÊh´K©ubeh}”(h]”Œasoc-codec-driver-breakdown”ah ]”h"]”Œasoc codec driver breakdown”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubeh}”(h]”Œasoc-codec-class-driver”ah ]”h"]”Œasoc codec class driver”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jŽŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jhjej`j]j-j*jTjQj#j jjŒjÄjÁjjjXjUuŒ nametypes”}”(jh‰j`‰j-‰jT‰j#‰j‰jĉj‰jX‰uh}”(jeh·j]jØj*jéjQj0j jWjŒj&jÁj’jjÇjUj uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”(hŒsystem_message”“”)”}”(hhh]”hÌ)”}”(hŒ:Enumerated list start value not ordinal-1: "7" (ordinal 7)”h]”hŒ>Enumerated list start value not ordinal-1: “7†(ordinal 7)”…””}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjòubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÊŒline”Kuh1jðhh·h²hh³hÊh´Kubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”K%Œsource”hÊuh1jðhjéh²hh³hÊh´K%ubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj)ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”KTŒsource”hÊuh1jðhjWh²hh³hÊh´KTubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjDubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”K]Œsource”hÊuh1jðhjWh²hh³hÊh´K]ubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj_ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”KbŒsource”hÊuh1jðhjWh²hh³hÊh´Kbubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjzubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”KgŒsource”hÊuh1jðhjWh²hh³hÊh´Kgubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj•ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”KlŒsource”hÊuh1jðhjWh²hh³hÊh´Klubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj°ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”K{Œsource”hÊuh1jðhj&h²hh³hÊh´K{ubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjËubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”KšŒsource”hÊuh1jðhjÇh²hh³hÊh´Kšubjñ)”}”(hhh]”hÌ)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjæubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j Œline”K²Œsource”hÊuh1jðhj h²hh³hÊh´K²ubeŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.