Lines Matching +full:capture +full:- +full:only
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ad1980.c -- ALSA Soc AD1980 codec support
121 SOC_DOUBLE("PCM Capture Volume", AC97_REC_GAIN, 8, 0, 31, 0),
122 SOC_SINGLE("PCM Capture Switch", AC97_REC_GAIN, 15, 1, 1),
127 SOC_SINGLE("Phone Capture Volume", AC97_PHONE, 0, 31, 1),
128 SOC_SINGLE("Phone Capture Switch", AC97_PHONE, 15, 1, 1),
142 SOC_ENUM("Capture Source", ad1980_cap_src),
167 { "Capture", NULL, "MIC1" },
168 { "Capture", NULL, "MIC2" },
169 { "Capture", NULL, "CD_L" },
170 { "Capture", NULL, "CD_R" },
171 { "Capture", NULL, "AUX_L" },
172 { "Capture", NULL, "AUX_R" },
173 { "Capture", NULL, "LINE_IN_L" },
174 { "Capture", NULL, "LINE_IN_R" },
186 .name = "ad1980-hifi",
193 .capture = {
194 .stream_name = "Capture",
217 * Set bit 16slot in register 74h, then every slot will has only in ad1980_reset()
226 dev_err(component->dev, "Failed to reset: AC97 link error\n"); in ad1980_reset()
228 return -EIO; in ad1980_reset()
242 dev_err(component->dev, "Failed to register AC97 component: %d\n", ret); in ad1980_soc_probe()
261 dev_warn(component->dev, in ad1980_soc_probe()
262 "Found AD1981 - only 2/2 IN/OUT Channels supported\n"); in ad1980_soc_probe()
309 return devm_snd_soc_register_component(&pdev->dev, in ad1980_probe()