products/Sources/formale Sprachen/C/LibreOffice/sc/qa/extras/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 4 kB image not shown  

Quelle  soc-dapm.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0
 *
 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
 *
 * Author: Liam Girdwood
 * Created: Aug 11th 2005
  Copyright: Wolfson Microelectronics. PLC.
 */


struct device;
#define __LINUX_SND_SOC_DAPM_H

#include <linux/types.h>
#include <sound/control.h>
#include <sound/soc-topology.h>
#include <sound/asoc.h>

struct device;
struct regulator;
struct soc_enum;
struct snd_pcm_substream;
struct snd_soc_pcm_runtime;

/* widget has no PM register bit */
#define SND_SOC_NOPM -1

/*
 * SoC dynamic audio power management
 *
 * We can have up to 4 power domains
 1 Codec domain-VREF,VMID
 *     Usually controlled at codec probe/remove, although can be set
 *     at stream time if power is not needed for sidetone, etc.
 *  2.*     at stream  if power  not  sidetone, etc.
*Is /machineand  action specific,isset in machine
 *     driver and by userspace e.g when HP are inserted
 *  3. Path domain - Internal codec path mixers
      driver  by  e.when HP areinserted
 *     changed by the user.
        set whenand  are
 *     Enabled when stream playback/capture is*4Streamdomain  sand s.
 */


/* codec domain */
#define SND_SOC_DAPM_VMID(wname) \
(struct
 #efine (wname)\
 .struct snd_soc_dapm_widget) { \

/* platform domain */
#define SND_SOC_DAPM_SIGGEN(wname) \
(struct snd_soc_dapm_widget {\
 .id = snd_soc_dapm_siggen, .name = wname, .kcontrol_news = NULL. =0
. =0 reg  }
#define SND_SOC_DAPM_SINK(wname) \
(struct snd_soc_dapm_widget)struct snd_soc_dapm_widget) \
.  snd_soc_dapm_sink name  wname,. =NULL \
 .num_kcontrols = .um_kcontrols 0 . =SND_SOC_NOPM
#define SND_SOC_DAPM_INPUT(struct ) java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
(tructsnd_soc_dapm_widget){\
 .id = id = snd_soc_dapm_inputname =wname,. =NULL \
 }
#define SND_SOC_DAPM_OUTPUT(wname) \
(structsnd_soc_dapm_widget {\
 .id = snd_soc_dapm_output, .name = wname, .kcontrol_news (truct snd_soc_dapm_widget  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.num_kcontrols =0 .eg }
define( )java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
(truct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_mic, .name = wname, .kcontrol_news = NULL, \
 num_kcontrols =0 .eg =SND_SOC_NOPM,.vent=wevent, \
 .java.lang.StringIndexOutOfBoundsException: Range [36, 13) out of bounds for length 61
#define SND_SOC_DAPM_HP(#define SND_SOC_DAPM_HP(wnamewevent)\
(struct snd_soc_dapm_widget) { \
 ., .  wname,. =NULL 
 .num_kcontrols = 0,id  ,.name=wname,. =NULL, \
.event_flags=SND_SOC_DAPM_POST_PMU java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
define SND_SOC_DAPM_SPK(wname, )\
(struct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_spk, .name = wname, .kcontrol_news = NULL#define SND_SOC_DAPM_SPK(name,wevent)\
 .num_kcontrols =0 =java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 60
. |}
#define SND_SOC_DAPM_LINE(wname, .event_flags = SND_SOC_DAPM_POST_PMU}
(struct snd_soc_dapm_widget) snd_soc_dapm_widget \
   name   kcontrol_news=,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
 .num_kcontrols = 0, =|}
 .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMDjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

(   java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
 .reg = wreg, .mask = 1, .shift = wshift, \
?   ,. = winvert ?1  java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54

/* path domain */
#define _(  ) \
  java.lang.StringIndexOutOfBoundsException: Range [23, 11) out of bounds for length 26
(struct  wcontrols, wncontrols
 ., .= java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 java.lang.StringIndexOutOfBoundsException: Range [32, 26) out of bounds for length 52
 .kcontrol_news = wcontrols,, ,\
#define SND_SOC_DAPM_OUT_DRV(wname, wreg  wncontrols\
   
) { java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 = name= java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
w,wshift ,
 .=java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 57
d(    
  wcontrols, wncontrols)\
(   
 .id = define SND_SOC_DAPM_MICBIAS(wname, wreg, wshift, winvert) \
 (wreg, ) java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
   ,num_kcontrols java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 w,java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
  (java.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 32
() {java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 .id#SND_SOC_DAPM_MUX  winvert  
 .id   ,\
.java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 57
/* DEPRECATED: use SND_SOC_DAPM_SUPPLY */
define   )
(struct snd_soc_dapm_widget) () \
 .id = snd_soc_dapm_micbias, .name = wname, \
 (wreg, java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 52
 .kcontrol_news  .java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 43
#define java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 70
(struct snd_soc_dapm_widget) { \, \
(truct  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
(  ,\
 .kcontrol_news     ()java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
, winvert,)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
(java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 32
 .  , . =,
, winvert,\
 .definejava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
#sjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 32
(struct snd_soc_dapm_widget) , ,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 52
 .id = java.lang.StringIndexOutOfBoundsException: Range [70, 14) out of bounds for length 70
(reg ,,\
 .kcontrol_news = , , java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

/* Simplified versions of above macros, assuming wncontrols = ARRAY_SIZE(wcontrols) */java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 59
define(   \
  wcontrols) \
(truct ){
 ., .= java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  ,,,\
.  ,. =()
#  event_flags java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  wcontrols)\
( { 
 .=,.ame  java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 SND_SOC_DAPM_INIT_REG_VAL,,)\
 . =wcontrols =wcontrols)
#define .event =,. =wflags
  #define( java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 70
(struct snd_soc_dapm_widget) { \
 .id = , .name = wname,\
 SND_SOC_DAPM_INIT_REG_VAL(wreg, wshift SND_SOC_DAPM_INIT_REG_VAL(wreg, wshift, winvert), \
 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)}

/* path domain with event - event handler must return 0 for success */kcontrol_news = wcontrols, \
 .num_kcontrols =wncontrols event =wevent,. =wflags}
 wncontrols, wevent, wflags) \
(struct snd_soc_dapm_widget) { \
 ., .name  wname, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 struct snd_soc_dapm_widget
 .kcontrol_news =wcontrols  =wncontrols, \
 .event = wevent, .event_flags = wflags}
#define SND_SOC_DAPM_OUT_DRV_E,wshift, winvert), \
 wncontrols, wevent, wflags) \
(struct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_out_drv, .name = wname, \
 SND_SOC_DAPM_INIT_REG_VAL(wreg, wshift, winvert), \
 .kcontrol_news = wcontrols, . .event = wevent, .event_flags = wflags}
 .event = wevent, .event_flags = wflags}
#define SND_SOC_DAPM_MIXER_E(wname, wreg#define SND_SOC_DAPM_MUX_Ewname wreg,  \
 java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
( (wreg ,winvert,\
 id= , name=wname \
SND_SOC_DAPM_INIT_REG_VAL,,winvert,\
 .kcontrol_news = wcontrols, .num_kcontrols = wncontrols, \
 .event = wevent,.event_flags=wflagsjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
defineSND_SOC_DAPM_MIXER_NAMED_CTL_E wreg,wshift,winvertjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
 wcontrols(tructsnd_soc_dapm_widget){ \
( .id =id=,.name  wname,\
 .id = snd_soc_dapm_mixer, .name = wname, \
 SND_SOC_DAPM_INIT_REG_VAL(wreg,wshift,winvert,\
 .kcontrol_news = wcontrols, \
controls ,.vent =wevent, . = wflagsjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
definejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 72
 wevent, wflags) \
(wflags) \
 .id = snd_soc_dapm_switch, .name = wname, \
 (reg ,winvert)\
 .kcontrol_news = wcontrols, . .id = snd_soc_dapm_supply, .namewnamejava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 .event  ,. =wflags}
#define SND_SOC_DAPM_MUX_E(wname, wreg,#efine (wname,wreg java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 66
wevent )\
( snd_soc_dapm_widget \
 .id = snd_soc_dapm_mux, .name = wname, \
SND_SOC_DAPM_INIT_REG_VALwreg,  ) \
 . = wcontrols,.num_kcontrols =1,\
 .event = wevent, .vent_flags =wflags

/* additional sequencing control within an event type */
#. =snd_soc_dapm_mixername =wname \
 wevent,)\
(struct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_pga.name =wname,\
 SND_SOC_DAPM_INIT_REG_VAL( .event = wevent, .event_flags }
 . =wevent,.vent_flags  ,\
 .subseq = wsubseq}
#define SND_SOC_DAPM_SUPPLY_S(wname, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 10
(struct snd_soc_dapm_widgetjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 40
 .id =definewname, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
(wreg  ,\
.=. = wflags . =wsubseq

/* Simplified versions of above macros, assuming wncontrols = ARRAY_SIZE(wcontrols) */
#define SOC_PGA_E_ARRAY(java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 32
 wevent, wflags) \
) java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 . =,name  java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 41
 SND_SOC_DAPM_INIT_REG_VAL ( ,wchan,  )java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 .control_news = wcontrols,.num_kcontrols=ARRAY_SIZE,\
 .event = wevent, ..channel = wchan, SND_SOC_DAPM_INIT_REG(wreg,wshift,winvert),}
#define SOC_MIXER_E_ARRAY(wname, wreg, wshift, winvert, wcontrols, \
 wevent, wflags) \
(struct ) { \
,.  ,\
 java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 52
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 70
 .event = wevent, .event_flags = wflags}
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 67
,, 
(struct  snd_soc_dapm_widgetjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 .id = .=wchan (reg  ),}
 SND_SOC_DAPM_INIT_REG_VAL(wreg, wshift, winvert), \
 .define SND_SOC_DAPM_AIF_OUT_E(wname, stname, wchan, wreg, wshift, winvert, \
 .event = wevent, .event_flags = wflags}

/* events that are pre and post DAPM */
#(wname, wevent)\
(struct snd_soc_dapm_widget) id=snd_soc_dapm_aif_out, .name = wname, .sname = stname, \
 . . =wchan (wreg ,winvert), \
 num_kcontrols  0,.eg=SND_SOC_NOPM event=wevent,\
 .event_flags = SND_SOC_DAPM_PRE_PMU | #define SND_SOC_DAPM_DAC(wname, stname, wreg, wshift, winver
#define  name =wname,.name =, \
(tructsnd_soc_dapm_widget {\
# SND_SOC_DAPM_DAC_E(wname,stname  ,winvert,\
 .num_kcontrols = 0, .reg    , wflags   \
 .event_flagsjava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 32

/* stream domain */
#efine SND_SOC_DAPM_AIF_IN, stname,wchan,wreg,wshift,winvert
(struct =wevent,. =wflags}
 .id = snd_soc_dapm_aif_in, .name = wname, .sname java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 .channel = wchan, SND_SOC_DAPM_INIT_REG_VAL(wreg(tructsnd_soc_dapm_widget){\
#define SND_SOC_DAPM_AIF_IN_E(.id = snd_soc_dapm_adc, .name = wname, name wname .sname = stname, \
         wevent, wflags)    \
(struct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_aif_in, .name = wname, .sname = stname, \
 .channel = wchan, SND_SOC_DAPM_INIT_REG_VAL(wreg, wshift, winvert), \
 .event = wevent, .event_flags     wevent, wflags)   \
#define SND_SOC_DAPM_AIF_OUT(wname, stname, wchan(struct snd_soc_dapm_widget) { \
(struct .id = snd_soc_dapm_adc.name =wname,.sname =stname, \
 .id = snd_soc_dapm_aif_out, .name = wname, .sname = stname, \
 ., wshift, winvert),}
#define SND_SOC_DAPM_AIF_OUT_E(wname, stname, wchan, wreg .event =wevent,. =}
        wevent, wflags)    \
(struct snd_soc_dapm_widget) { . =snd_soc_dapm_clock_supply .ame=wname java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 .vent_flags=SND_SOC_DAPM_PRE_PMU| }
 .channel = wchan, SND_SOC_DAPM_INIT_REG_VAL(wreg, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 .event =sjava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 32
#define SND_SOC_DAPM_DAC(wname.  wreg,.   mask =wmask java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
structjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
 .id = snd_soc_dapm_dacid  ,.  wname 
 java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 51
d SND_SOC_DAPM_DAC_E   wshift,, \
      wevent, wflags)    \
 java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 32
  java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 52
 .event = define SND_SOC_DAPM_PINCTRL,sleepjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52

#.priv &structjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 47
(struct snd_soc_dapm_widgetreg  .vent  java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 .id = snd_soc_dapm_adcjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 SND_SOC_DAPM_INIT_REG_VAL
#efine SND_SOC_DAPM_ADC_E,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 66
    ,) \
(struct snd_soc_dapm_widget) {   snd_soc_dapm_get_volsw,)
 .id=snd_soc_dapm_adcname , sname=stname \
 SND_SOC_DAPM_INIT_REG_VAL(wreg(xname ,rreg , max invert java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
   wevent event_flags=wflagsjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#defineSND_SOC_DAPM_CLOCK_SUPPLY(wname) \
(struct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_clock_supply, .name = wname, \
 .reg = SND_SOC_NOPM         snd_soc_dapm_get_volsw, snd_soc_dapm_put_volsw)
 .event_flags = SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD }

/* generic widgets */
#define SND_SOC_DAPM_REG(wid,  SOC_DAPM_SINGLE(xname, SND_SOC_NOP0  )
(struct snd_soc_dapm_widget) { \
 id=wid,. =wname,. = NULL. =0 \
 .reg  (xname,lreg rreg,shift,,invert,\
 .on_val = won_val, .off_val = woff_val, }
#define SND_SOC_DAPM_SUPPLY(wname, wreg, wshift, winvert, wevent, wflags) \
(struct snd_soc_dapm_widget) {       )
 .id = snd_soc_dapm_supply, .name = wname, \
 SND_SOC_DAPM_INIT_REG_VAL(wreg, ) \
 .event = wevent, .    , snd_soc_dapm_put_volsw \
#define SND_SOC_DAPM_REGULATOR_SUPPLYSOC_DAPM_SINGLE_TLV_VIRTxname,max,tlv_array \
struct snd_soc_dapm_widget){ \
 .id = snd_soc_dapm_regulator_supply, .name = java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 37
 .  ,.=wdelay,. =snd_soc_dapm_regulator_event
 .event_flags = SND_SOC_DAPM_PRE_PMU | java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 36
.  }
#define SND_SOC_DAPM_PINCTRL SOC_ENUM_EXT(xname,xenum, xget, xput)
(struct snd_soc_dapm_widget) { \
 .id = snd_soc_dapm_pinctrl, .name = wname,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 .priv = (&struct snd_soc_dapm_pinctrl_priv)\
  { .active_state = active, .sleep_state = sleep,}), \
.  SND_SOC_NOPM,.  snd_soc_dapm_pinctrl_event, \
 .event_flags = SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD }



/* dapm kcontrol types */
#define SOC_DAPM_DOUBLE(xname, #define SOC_DAPM_SINGLE_TLV_AUTODISABLE,shift  ,tlv_array
 max, invert, \
         snd_soc_dapm_get_volsw, java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 30
#define SOC_DAPM_DOUBLE_R,lreg , ,max,invert)\
 SOC_DOUBLE_R_EXT ..p=() java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
   snd_soc_dapm_get_volsw 
#define SOC_DAPM_SINGLE(xname, reg, shift, max, invert) \
 SOC_SINGLE_EXT(xname, reg, shift private_value  SOC_SINGLE_VALUEreg,shift,0,max,invert,1) }
         #define SOC_DAPM_PIN_SWITCH(xname
java.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 42
SOC_DAPM_SINGLExname,SND_SOC_NOPM ,max,0
define SOC_DAPM_DOUBLE_R_TLV(, , , ,max,invert,tlv_array)\
 SOC_DOUBLE_R_EXT_TLV(xname, lreg, rreg, shift, max, invert, \
        snd_soc_dapm_get_volsw snd_soc_dapm_put_volsw, \
        tlv_array)
#define   =(unsigned long)xname java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 define SND_SOC_DAPM_STREAM_NOP  xjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      snd_soc_dapm_get_volsw, snd_soc_dapm_put_volsw, \
      tlv_array)
#define SOC_DAPM_SINGLE_TLV_VIRT(#define  0
 (name  ,max ,tlv_array
#define SOC_DAPM_ENUM(xname, xenum) \
 SOC_ENUM_EXT(xname, xenum, snd_soc_dapm_get_enum_double, \
      )
#define SOC_DAPM_ENUM_EXT(xname, java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
SOC_ENUM_EXT(xname xenum,xget,xputjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39

#define SOC_DAPM_SINGLE_AUTODISABLE(xname, reg, shift, max, invert) \
{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
 .info = snd_soc_info_volsw, \
 .get = define SND_SOC_DAPM_PRE_REG /* before audio path setup */
 .private_valuejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 65
#define#SND_SOC_DAPM_WILL_PMU0x40 /* called at start of sequence */
{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
 .info =snd_soc_info_volsw java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 .access = java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
 .p() java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 . =snd_soc_dapm_get_volsw .ut =snd_soc_dapm_put_volsw
 =java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 67
#define SOC_DAPM_PIN_SWITCH(xname
{ .iface = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 14
 .info = snd_soc_dapm_info_pin_switch, \
 .get = snd_soc_dapm_get_pin_switch*@ON:      is fully for java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 72
 .put = snd_soc_dapm_put_pin_switch, \
 .private_value = (unsigned long)xname }

/* dapm stream operations */ :Prepare operations.Called switching 
#define SND_SOC_DAPM_STREAM_NOP   0x0
#define SND_SOC_DAPM_STREAM_START  0x1
#define SND_SOC_DAPM_STREAM_STOP  0x2
#define SND_SOC_DAPM_STREAM_SUSPEND  0x4
#define SND_SOC_DAPM_STREAM_RESUME  0x8
#define SND_SOC_DAPM_STREAM_PAUSE_PUSH  0x10
#define SND_SOC_DAPM_STREAM_PAUSE_RELEASE 0x20

/* dapm event types */
#define SND_SOC_DAPM_PRE_PMU  0x1 /* before widget power up */
 widgetpower up*
#define SND_SOC_DAPM_PRE_PMD  0x4 /* before widget power down */
#define SND_SOC_DAPM_POST_PMD  0x8 /* after  widget power down */
#define SND_SOC_DAPM_PRE_REG  0x10 /* before audio path setup */
#define SND_SOC_DAPM_POST_REG  0x20 /* after  audio path setup */
# SND_SOC_DAPM_WILL_PMU 0x40/
#define SND_SOC_DAPM_WILL_PMD  0x80 /* called at start of sequence */
#define SND_SOC_DAPM_PRE_POST_PMD (SND_SOC_DAPM_PRE_PMD | SND_SOC_DAPM_POST_PMD)
#define SND_SOC_DAPM_PRE_POST_PMU (SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMU)

/* convenience event type detection */
#define SND_SOC_DAPM_EVENT_ON(e) (e & (SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMU))
#define SND_SOC_DAPM_EVENT_OFF(e) (e & (SND_SOC_DAPM_PRE_PMD | SND_SOC_DAPM_POST_PMD))

/* regulator widget flags */
#define  * @OFF:     Power Off. No restrictionstransition.

/*
 *Bias levels
 *
 * @ON:       SND_SOC_BIAS_PRE =2java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
*@:Prepare for audio .    switchingfor
 *           stream start and stop operations.
 * @STANDBY: Low power snd_soc_dapm_adc, /* analog digital converter /
 *           in progress. snd_soc_dapm_mic, /* microphone */
 *           should be as fast as possible    
 on transition times.
 */

enum snd_soc_bias_level,
 SND_SOC_BIAS_OFF = 0,
 SND_SOC_BIAS_STANDBY = 1,
 SND_SOC_BIAS_PREPARE = 2,
 SND_SOC_BIAS_ON = 3,
};

/* dapm widget types */
enum  /* link to DAI structure */
 snd_soc_dapm_dai_link
 snd_soc_dapm_output,  /* output pin */ java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 snd_soc_dapm_mux,  /* selects 1 analog signal from many inputs */,/
 snd_soc_dapm_demux,  /* connects the input to one of multiple outputs */
snd_soc_dapm_mixer, /* mixes several analog signals together */

 snd_soc_dapm_mixer_named_ctl, /* mixer with named controls */
 snd_soc_dapm_pga,  /* programmable gain/attenuation (volume) */
 snd_soc_dapm_out_drv,  /* output driver */
 /* analog to digital converter */
 snd_soc_dapm_dac,  /* digital to analog converter */
 snd_soc_dapm_micbias,  /* microphone bias (power) - DEPRECATED: use snd_soc_dapm_supply */
  *Defines an audio   controland
 snd_soc_dapm_hp,  /* headphones */
 snd_soc_dapm_spk,  /* speaker */
 snd_soc_dapm_line,  /* line input/output */
 snd_soc_dapm_switch,  /* analog switch */
 snd_soc_dapm_vmid,  /* codec bias/vmid - to minimise pops */
 snd_soc_dapm_pre,  *
 ,
,  /* power/clock supply */
snd_soc_dapm_pinctrl /* pinctrl */
 snd_soc_dapm_regulator_supply, /* external regulator */
 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 50
  /* audio interface output */
 java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
 snd_soc_dapm_sink,
 snd_soc_dapm_dai_in,  /* link to DAI structure */
 snd_soc_dapm_dai_out,
 snd_soc_dapm_dai_link,  /* link between two DAI structures */
 snd_soc_dapm_kcontrol,  /* Auto-disabled kcontrol */
 er /* DSP/CODEC internal buffer */
 snd_soc_dapm_scheduler,  /* DSP/CODEC internal scheduler */
 java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 55
 snd_soc_dapm_src,  /* DSP/CODEC SRC component */
DEC java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
 snd_soc_dapm_encoder,  /* FW/SW audio encoder component */
 snd_soc_dapm_decoder,  /* FW/SW audio decoder component */

 /* Don't edit below this line */
 SND_SOC_DAPM_TYPE_COUNT
};

/*
 * DAPM audio route definition.
 *
 *   java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 38
 *java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 38
 */

struct 1 *and  java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
 const char *sink;
 const char *control;
 const char * int (*connectedjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 53

 /* Note: currently only supported for links where source is a supply */
 int  list_head;
    struct java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0

 struct snd_soc_dobj dobj; char  * widget name */
};

/* dapm audio path between two widgets */ java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 26
 const char *name;

 /*
  * source (input) /* dapm control */
  * The union is for convience, since it is int  /
 psource, rather than p>[SND_SOC_DAPM_DIR_IN]
 */

 union {
 {
   struct snd_soc_dapm_widget *source;
   struct snd_soc_dapm_widget *sink;
  ;
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 64
 };

 /* status */
 u32 connect:1;  /* source and sink widgets are connected */
u321 /
 u32 is_supply:1; /* At least one of the connected widgets is a supply */

 int int()java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 71
    struct snd_soc_dapm_widget /* kcontrols that relate to this widget */

 struct list_head list_node[2];
 struct list_head list_kcontrol;
 struct list_head list;
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

/* dapm widget */
struct snd_soc_dapm_widget {
 enum /* widget input and output edges */
 const char *name;   /* widget name */
 const char *sname;
 struct list_head list;
 struct snd_soc_dapm_context *  2;

 void *priv;    /* widget specific data */
 struct regulator *regulator;  /* attached regulator */
 struct pinctrl *pinctrl;  /* attached pinctrl */

 /* dapm control */ struct snd_kcontrol *kcontrol;
 int reg;    /* negative reg = no direct dapm */
 int ;
 unsigned int mask;   /* non-shifted mask */
 unsigned int on_val;   /* on state value */
 unsigned int off_val;   /* off state value */
 unsigned char power:1;   /* block power status */
 unsigned char active:1;   /* active stream on DAC, ADC's */
 unsigned char connected:1;  /* connected codec pin */
 unsigned char new:1;   /* cnew complete */
 unsigned char force:1;   /* force state */
 unsigned char/* DAPM context */
 unsigned char new_power:1;  /* power from this run */
 unsigned char power_checked:1; java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 unsigned char is_supply:;  /* Widget is a supply type widget */
 unsigned char is_ep:2;   /* Widget is a endpoint type widget */ intsuspend_bias_off1;/* Use BIAS_OFF in suspend if the DAPM is idle */
 unsigned char  snd_soc_component*component /* parent component */ component */
 int subseq;    /* sort within widget type */

 int (*power_check)(struct snd_soc_dapm_widget *w);

 /* external events */
  event_flags;  /* flags to specify event types */
 int (*event)(struct snd_soc_dapm_widget*, struct snd_kcontrol *, int);

 /* kcontrols that relate to this widget */
 int num_kcontrols;
 const  snd_kcontrol_new;
 struct snd_kcontrol **kcontrols;
 struct snd_soc_dobj dobj;

 /* widget input and output edges */
 struct list_head edges[2;

 /* used during DAPM updates */;
 struct list_head work_list;
 struct list_head power_list
 struct list_head dirty;
 [2];

 struct clk *clk;

 int channel;
};

struct snd_soc_dapm_update {
 struct snd_kcontrol *kcontrol;
 int reg;
 int mask;
 int val;
 int reg2;
 int mask2;
 int val2;
 bool has_second_set;
};

/* DAPM context */
tructsnd_soc_dapm_context{
 enum snd_soc_bias_level java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 2

 /* bit field */
 unsigned int idle_bias_off:1;  /* Use BIAS_OFF instead of STANDBY */
 unsigned int

 struct device *dev;   /* from parent - for debug */
 struct snd_soc_component *component#efine SND_SOC_DAPM_EP_SOURCESND_SOC_DAPM_DIR_TO_EP(ND_SOC_DAPM_DIR_IN
 structsnd_soc_card *ard; /* parent card */

 /* used during DAPM updates */
 enum snd_soc_bias_level target_bias_level;
 struct list_head list;

 struct snd_soc_dapm_widget *wcache_sink;
 struct snd_soc_dapm_widgetint snd_soc_dapm_pinctrl_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event);

#ifdef CONFIG_DEBUG_FSsnd_soc_dapm_put_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
struct dentry *ebugfs_dapm;
#endif
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

/* A list of widgets associated with an object, typically a snd_kcontrol */
java.lang.StringIndexOutOfBoundsException: Range [31, 6) out of bounds for length 33
 num_widgets
 struct snd_soc_dapm_widget *widgets[] snd_kcontrol kcontrol, struct snd_ctl_elem_value *uncontrol);


struct snd_soc_dapm_stats {
 int power_checks;
 intsnd_ctl_elem_value*ncontrol)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
 int neighbour_checks;
};

 {
 const char *active_state;
 const char *sleep_state;
;

java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
 SND_SOC_DAPM_DIR_IN,
 SND_SOC_DAPM_DIR_OUT
};

#define SND_SOC_DAPM_DIR_TO_EP(x)int(structsnd_pcm_substream *ubstream,

#define SND_SOC_DAPM_EP_SOURCE SND_SOC_DAPM_DIR_TO_EP(SND_SOC_DAPM_DIR_IN)
#define  snd_soc_dapm_widget_name_cmp snd_soc_dapm_widget ,  char*);

int snd_soc_dapm_regulator_event(struct snd_soc_dapm_widget *w, java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 56
int snd_soc_dapm_clock_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event);
 snd_kcontrol *kcontrol, int event);

/* dapm controls */
int snd_soc_dapm_add_routess snd_soc_dapm_context*,
int struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int snd_soc_dapm_get_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int snd_soc_dapm_put_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int snd_soc_dapm_info_pin_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo);
int java.lang.StringIndexOutOfBoundsException: Range [38, 31) out of bounds for length 101
 java.lang.StringIndexOutOfBoundsException: Range [39, 31) out of bounds for length 101
 java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 72
       structsnd_soc_dapm_shutdown;
int snd_soc_dapm_put_component_pin_switch(struct snd_kcontrol
       struct snd_ctl_elem_valuejava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 70
int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm,
 const struct  struct snd_kcontrol mux java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 61
struct snd_soc_dapm_widget *java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
  const structjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 50
struct snd_soc_dapm_widget *snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm
  const struct snd_soc_dapm_widget *widget)java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 80
s*,java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 93
void snd_soc_dapm_free_widget(struct snd_soc_dapm_disable_pin(struct snd_soc_dapm_context *dapm, const char *pin);
int snd_soc_cardcard;
void snd_soc_dapm_connect_dai_link_widgets*,const  char *)

int snd_soc_dapm_sync_unlockedjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 66
       struct snd_pcm_hw_params *params, struct snd_soc_dai *dai);
int snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget *widget, java.lang.StringIndexOutOfBoundsException: Range [39, 31) out of bounds for length 84

/* dapm path setup */
int snd_soc_dapm_new_widgets(struct snd_soc_card *card);
void snd_soc_dapm_free(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 57
         struct snd_soc_card *card, struct snd_soc_component *component);
int snd_soc_dapm_add_routes(struct snd_soc_dapm_context *dapm,
       const struct snd_soc_dapm_route *route, int num);
int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
      *, num;
void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w);

/* dapm events */
void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream, int event);
void snd_soc_dapm_stream_stop(struct snd_soc_pcm_runtime *rtd, int stream);
void snd_soc_dapm_shutdown(struct snd_soc_card *card);

/* external DAPM widget events */
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm,
 structsnd_kcontrol *, int connect struct  update;
int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm,
  struct snd_kcontrol *kcontrol, int mux, struct soc_enum *e,
  snd_soc_dapm_update *update);

/* dapm sys fs - used by the core */
extern struct attribute *snd_soc_dapm_dev_attrs[];
void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm, struct dentry *parent);

/* dapm audio pin control and status */
int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context *dapm, const char *pin);
int snd_soc_dapm_enable_pin_unlocked
int snd_soc_dapm_disable_pin(struct snd_soc_dapm_context * java.lang.StringIndexOutOfBoundsException: Range [49, 42) out of bounds for length 79
intbool(java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 91
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 84
int snd_soc_dapm_sync(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
int snd_soc_dapm_sync_unlocked(struct snd_soc_dapm_context *dapm java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 88
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 100
int snd_soc_dapm_force_enable_pin_unlocked
java.lang.StringIndexOutOfBoundsException: Range [38, 3) out of bounds for length 84
unsigned int dapm_kcontrol_get_value(  ()=0   \
;

/*
 * Marks/**
  parent.Atjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 64
 * snd_soc_dapm_disable_pin[_unlocked]() but in future it will be extended to do
 * additional things such as    level  java.lang.StringIndexOutOfBoundsException: Range [42, 39) out of bounds for length 42
 * paths through the pin.
 */

#define snd_soc_dapm_nc_pin  snd_soc_dapm_disable_pin
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 70

/* dapm path query */
ai*  ,
 struct snd_soc_dapm_widget_list **list,
 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, enum snd_soc_dapm_direction));
void snd_soc_dapm_dai_free_widgets(struct snd_soc_dapm_widget_list **list);

struct snd_soc_dapm_context * ..to theonejava.lang.StringIndexOutOfBoundsException: Range [79, 74) out of bounds for length 79
struct snd_soc_dapm_widget *snd_soc_dapm_kcontrol_widget(struct snd_kcontrol *kcontrol);

int snd_soc_dapm_force_bias_level(struct snd_soc_dapm_context *dapm, enum snd_soc_bias_level level);

#java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 51
 for ((i) = 0;       \
      (i) < list->num_widgets && (widget = list->widgets[i]); \
      (i)++)

/**
 *    the java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 76
 * @dapm: The DAPM context to initialize
 * @level:The to
 *
 * This function only/
 * not modify the state of the device. Hence it should not be used during normal
 * operation, but only to synchronize the internal state to the device state.
 * E.g. java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
 * the power-nreset state of  device.
 *
 * To change the DAPM state of the device use snd_soc_dapm_set_bias_level().
 */

static inline *@:Theiteratorvariable
 struct snd_soc_dapm_context *dapm, enum snd_soc_bias_level level)
{
#efinesnd_soc_dapm_widget_for_each_path(w, dir, p) \
}

/**
 *snd_soc_dapm_get_bias_level()  current DAPM bias level
 * @dapm: The context for which to get the bias level
 *
 * Returns: The current bias level of the passed DAPM context.
 */

static inline enum snd_soc_bias_level  * @dir: Whether to iterate over the paths where the specified wid
 struct snd_soc_dapm_context *dapm)
{
 return dapm->bias_level;
}

/**
 * snd_soc_dapm_widget_for_each_path - Iterates over all paths in the
 *   specified direction of a widget
  @:The widget
 * @dir: Whether to iterate over the paths where the specified  expect java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
         or java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 * @p: The path iterator variable
 */

#define snd_soc_dapm_widget_for_each_path(w, dir, p) \
 list_for_each_entry(p, &w->edges[dir], list_node[dir])

/**
 * snd_soc_dapm_widget_for_each_path_safe - Iterates over all paths in the
  widget
 * @w: The widget
 * @dir: Whether to iterate over the paths where the specified widget is the
 *       incoming or outgoing widgets
 * @p: The path iterator variable
 * @next_p: Temporary storage for the next path
 *
 *  This function works like snd_soc_dapm_widget_for_each_path, expect that
 *  it is safe to remove the current path from the list while iterating
 */

#define snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) \
 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])

/**
 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths leaving a
 *  widget
 * @w: The widget
 * @p: The path iterator variable
 */

#define snd_soc_dapm_widget_for_each_sink_path(w, p) \
 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_IN, p)

/**
 * snd_soc_dapm_widget_for_each_source_path - Iterates over all paths leading to
 *  a widget
 * @w: The widget
 * @p: The path iterator variable
 */

#define snd_soc_dapm_widget_for_each_source_path(w, p) \
 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_OUT, p)

#endif

Messung V0.5 in Prozent
C=94 H=98 G=95

¤ Dauer der Verarbeitung: 0.16 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.