Home
last modified time | relevance | path

Searched refs:amp_gain (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/sound/soc/samsung/
Ds3c24xx_simtec.c42 gpio_set_value_cansleep(pdata->amp_gain[0], value & 1); in speaker_gain_set()
43 gpio_set_value_cansleep(pdata->amp_gain[1], value >> 1); in speaker_gain_set()
88 if (to && pdata->amp_gain[0] > 0) in spk_unmute_state()
141 if (pdata->amp_gain[0] > 0) { in simtec_audio_init()
232 if (pdata->amp_gain[0] > 0) { in attach_gpio_amp()
233 ret = gpio_request(pd->amp_gain[0], "gpio-amp-gain0"); in attach_gpio_amp()
239 ret = gpio_request(pd->amp_gain[1], "gpio-amp-gain1"); in attach_gpio_amp()
242 gpio_free(pdata->amp_gain[0]); in attach_gpio_amp()
246 gpio_direction_output(pd->amp_gain[0], 0); in attach_gpio_amp()
247 gpio_direction_output(pd->amp_gain[1], 0); in attach_gpio_amp()
[all …]
/linux-6.1.9/include/linux/platform_data/
Dasoc-s3c24xx_simtec.h27 int amp_gain[2]; member
/linux-6.1.9/arch/arm/mach-s3c/
Dmach-anubis.c371 .amp_gain[0] = S3C2410_GPD(10),
372 .amp_gain[1] = S3C2410_GPD(11),