Home
last modified time | relevance | path

Searched refs:ena (Results 1 – 5 of 5) sorted by relevance

/sound/soc/codecs/
Dwm1250-ev1.c39 int ena; in wm1250_ev1_set_bias_level() local
42 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
44 ena = -1; in wm1250_ev1_set_bias_level()
54 if (ena >= 0) in wm1250_ev1_set_bias_level()
55 gpio_set_value_cansleep(ena, 1); in wm1250_ev1_set_bias_level()
59 if (ena >= 0) in wm1250_ev1_set_bias_level()
60 gpio_set_value_cansleep(ena, 0); in wm1250_ev1_set_bias_level()
Dwm8958-dsp2.c243 int i, ena; in wm8958_dsp_start_vss() local
282 ena = 0; in wm8958_dsp_start_vss()
284 ena |= 0x8; in wm8958_dsp_start_vss()
286 ena |= 0x4; in wm8958_dsp_start_vss()
288 ena |= 0x2; in wm8958_dsp_start_vss()
290 ena |= 0x1; in wm8958_dsp_start_vss()
292 snd_soc_write(codec, 0x2201, ena); in wm8958_dsp_start_vss()
335 int ena, reg, aif; in wm8958_dsp_apply() local
356 ena = wm8994->mbc_ena[path] || wm8994->vss_ena[path] || in wm8958_dsp_apply()
360 ena = 0; in wm8958_dsp_apply()
[all …]
Dwm8350.c1344 int ena; in wm8350_hp_jack_detect() local
1350 ena = WM8350_JDL_ENA; in wm8350_hp_jack_detect()
1356 ena = WM8350_JDR_ENA; in wm8350_hp_jack_detect()
1365 wm8350_set_bits(wm8350, WM8350_JACK_DETECT, ena); in wm8350_hp_jack_detect()
1367 wm8350_clear_bits(wm8350, WM8350_JACK_DETECT, ena); in wm8350_hp_jack_detect()
Darizona.c670 static void arizona_in_set_vu(struct snd_soc_codec *codec, int ena) in arizona_in_set_vu() argument
676 if (ena) in arizona_in_set_vu()
/sound/oss/
Dswarm_cs4297a.c308 unsigned ena; member
749 if (s->ena & FMODE_WRITE) { in serdma_reg_access()
821 s->ena &= ~FMODE_WRITE; in stop_dac()
826 __raw_writeq((s->ena & FMODE_READ) ? M_SYNCSER_DMA_RX_EN : 0, in stop_dac()
840 if (!(s->ena & FMODE_WRITE) && (s->dma_dac.mapped || in start_dac()
843 s->ena |= FMODE_WRITE; in start_dac()
867 s->ena &= ~FMODE_READ; in stop_adc()
888 if (!(s->ena & FMODE_READ) && in start_adc()
918 s->ena |= FMODE_READ; in start_adc()
947 if ((s->ena & FMODE_READ) || (status & (M_SYNCSER_RX_EOP_COUNT))) { in cs4297a_update_ptr()
[all …]