Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dwm1250-ev1.c34 int ena; in wm1250_ev1_set_bias_level() local
37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
39 ena = -1; in wm1250_ev1_set_bias_level()
49 if (ena >= 0) in wm1250_ev1_set_bias_level()
50 gpio_set_value_cansleep(ena, 1); in wm1250_ev1_set_bias_level()
54 if (ena >= 0) in wm1250_ev1_set_bias_level()
55 gpio_set_value_cansleep(ena, 0); in wm1250_ev1_set_bias_level()
Dwm8958-dsp2.c236 int i, ena; in wm8958_dsp_start_vss() local
275 ena = 0; in wm8958_dsp_start_vss()
277 ena |= 0x8; in wm8958_dsp_start_vss()
279 ena |= 0x4; in wm8958_dsp_start_vss()
281 ena |= 0x2; in wm8958_dsp_start_vss()
283 ena |= 0x1; in wm8958_dsp_start_vss()
285 snd_soc_component_write(component, 0x2201, ena); in wm8958_dsp_start_vss()
328 int ena, reg, aif; in wm8958_dsp_apply() local
349 ena = wm8994->mbc_ena[path] || wm8994->vss_ena[path] || in wm8958_dsp_apply()
353 ena = 0; in wm8958_dsp_apply()
[all …]
Dwm8350.c1324 int ena; in wm8350_hp_jack_detect() local
1330 ena = WM8350_JDL_ENA; in wm8350_hp_jack_detect()
1336 ena = WM8350_JDR_ENA; in wm8350_hp_jack_detect()
1345 wm8350_set_bits(wm8350, WM8350_JACK_DETECT, ena); in wm8350_hp_jack_detect()
1347 wm8350_clear_bits(wm8350, WM8350_JACK_DETECT, ena); in wm8350_hp_jack_detect()
Dmadera.c3842 static int madera_set_fll_clks_reg(struct madera_fll *fll, bool ena, in madera_set_fll_clks_reg() argument
3874 if (ena) { in madera_set_fll_clks_reg()
3882 static inline int madera_set_fll_clks(struct madera_fll *fll, int base, bool ena) in madera_set_fll_clks() argument
3884 return madera_set_fll_clks_reg(fll, ena, in madera_set_fll_clks()
3890 static inline int madera_set_fllao_clks(struct madera_fll *fll, int base, bool ena) in madera_set_fllao_clks() argument
3892 return madera_set_fll_clks_reg(fll, ena, in madera_set_fllao_clks()
3898 static inline int madera_set_fllhj_clks(struct madera_fll *fll, int base, bool ena) in madera_set_fllhj_clks() argument
3900 return madera_set_fll_clks_reg(fll, ena, in madera_set_fllhj_clks()
Dwm5110.c410 unsigned int ena, dre; in wm5110_put_dre() local
421 ret = regmap_read(arizona->regmap, ARIZONA_OUTPUT_ENABLES_1, &ena); in wm5110_put_dre()
435 lena = ena & (1 << mc->rshift); in wm5110_put_dre()
436 rena = ena & (1 << mc->shift); in wm5110_put_dre()
Darizona.c880 static void arizona_in_set_vu(struct snd_soc_component *component, int ena) in arizona_in_set_vu() argument
886 if (ena) in arizona_in_set_vu()
2380 static int arizona_set_fll_clks(struct arizona_fll *fll, int base, bool ena) in arizona_set_fll_clks() argument
2408 if (ena) { in arizona_set_fll_clks()