Home
last modified time | relevance | path

Searched full:ac97 (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/kernel/linux/linux-6.6/sound/pci/ac97/
Dac97_codec.c33 MODULE_PARM_DESC(enable_loopback, "Enable AC97 ADC/DAC Loopback Control");
49 int (*patch)(struct snd_ac97 *ac97);
50 int (*mpatch)(struct snd_ac97 *ac97);
62 * currently used by the AC97 emulation of the almost-AC97 PCI168 card.
194 static void update_power_regs(struct snd_ac97 *ac97);
196 #define ac97_is_power_save_mode(ac97) \ argument
197 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save)
199 #define ac97_is_power_save_mode(ac97) 0 argument
202 #define ac97_err(ac97, fmt, args...) \ argument
203 dev_err((ac97)->bus->card->dev, fmt, ##args)
[all …]
Dac97_patch.c18 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97,
20 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name,
28 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, in… in patch_build_controls() argument
33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls()
41 static void reset_tlv(struct snd_ac97 *ac97, const char *name, in reset_tlv() argument
49 kctl = snd_ctl_find_id(ac97->bus->card, &sid); in reset_tlv()
55 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page() argument
60 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page()
61 page_save = snd_ac97_read(ac97, AC97_INT_PAGING) & AC97_PAGE_MASK; in ac97_update_bits_page()
62 snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page); in ac97_update_bits_page()
[all …]
Dac97_proc.c22 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions() argument
37 snd_ac97_write(ac97, AC97_FUNC_SELECT, function << 1); in snd_ac97_proc_read_functions()
38 info = snd_ac97_read(ac97, AC97_FUNC_INFO); in snd_ac97_proc_read_functions()
45 sense_info = snd_ac97_read(ac97, AC97_SENSE_INFO); in snd_ac97_proc_read_functions()
92 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subi… in snd_ac97_proc_read_main() argument
101 snd_ac97_get_name(NULL, ac97->id, name, 0); in snd_ac97_proc_read_main()
102 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); in snd_ac97_proc_read_main()
104 if ((ac97->scaps & AC97_SCAP_AUDIO) == 0) in snd_ac97_proc_read_main()
108 ac97->subsystem_vendor); in snd_ac97_proc_read_main()
110 ac97->subsystem_device); in snd_ac97_proc_read_main()
[all …]
Dac97_pcm.c159 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate() argument
164 if (! (ac97->ext_id & AC97_EI_SPDIF)) in set_spdif_rate()
168 if (ac97->flags & AC97_CS_SPDIF) { in set_spdif_rate()
173 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
179 if (ac97->id == AC97_ID_CM9739 && rate != 48000) { in set_spdif_rate()
180 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
188 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
195 mutex_lock(&ac97->reg_mutex); in set_spdif_rate()
196 old = snd_ac97_read(ac97, reg) & mask; in set_spdif_rate()
198 snd_ac97_update_bits_nolock(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
[all …]
/kernel/linux/linux-5.10/sound/pci/ac97/
Dac97_codec.c33 MODULE_PARM_DESC(enable_loopback, "Enable AC97 ADC/DAC Loopback Control");
49 int (*patch)(struct snd_ac97 *ac97);
50 int (*mpatch)(struct snd_ac97 *ac97);
62 * currently used by the AC97 emulation of the almost-AC97 PCI168 card.
195 static void update_power_regs(struct snd_ac97 *ac97);
197 #define ac97_is_power_save_mode(ac97) \ argument
198 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save)
200 #define ac97_is_power_save_mode(ac97) 0 argument
203 #define ac97_err(ac97, fmt, args...) \ argument
204 dev_err((ac97)->bus->card->dev, fmt, ##args)
[all …]
Dac97_patch.c18 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97,
20 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name,
28 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, in… in patch_build_controls() argument
33 if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97))) < 0) in patch_build_controls()
39 static void reset_tlv(struct snd_ac97 *ac97, const char *name, in reset_tlv() argument
47 kctl = snd_ctl_find_id(ac97->bus->card, &sid); in reset_tlv()
53 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page() argument
58 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page()
59 page_save = snd_ac97_read(ac97, AC97_INT_PAGING) & AC97_PAGE_MASK; in ac97_update_bits_page()
60 snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page); in ac97_update_bits_page()
[all …]
Dac97_proc.c22 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions() argument
37 snd_ac97_write(ac97, AC97_FUNC_SELECT, function << 1); in snd_ac97_proc_read_functions()
38 info = snd_ac97_read(ac97, AC97_FUNC_INFO); in snd_ac97_proc_read_functions()
45 sense_info = snd_ac97_read(ac97, AC97_SENSE_INFO); in snd_ac97_proc_read_functions()
92 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subi… in snd_ac97_proc_read_main() argument
101 snd_ac97_get_name(NULL, ac97->id, name, 0); in snd_ac97_proc_read_main()
102 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); in snd_ac97_proc_read_main()
104 if ((ac97->scaps & AC97_SCAP_AUDIO) == 0) in snd_ac97_proc_read_main()
108 ac97->subsystem_vendor); in snd_ac97_proc_read_main()
110 ac97->subsystem_device); in snd_ac97_proc_read_main()
[all …]
Dac97_pcm.c159 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate() argument
164 if (! (ac97->ext_id & AC97_EI_SPDIF)) in set_spdif_rate()
168 if (ac97->flags & AC97_CS_SPDIF) { in set_spdif_rate()
173 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
179 if (ac97->id == AC97_ID_CM9739 && rate != 48000) { in set_spdif_rate()
180 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
188 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
195 mutex_lock(&ac97->reg_mutex); in set_spdif_rate()
196 old = snd_ac97_read(ac97, reg) & mask; in set_spdif_rate()
198 snd_ac97_update_bits_nolock(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); in set_spdif_rate()
[all …]
/kernel/linux/linux-6.6/sound/soc/
Dsoc-ac97.c3 // soc-ac97.c -- ALSA SoC Audio Layer AC97 support
125 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio() argument
134 ac97->gpio_priv = gpio_priv; in snd_soc_ac97_init_gpio()
147 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio() argument
149 gpiochip_remove(&ac97->gpio_priv->gpio_chip); in snd_soc_ac97_free_gpio()
152 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio() argument
158 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio() argument
168 * it. The caller is responsible to either call device_add(&ac97->dev) to
169 * register the device, or to call put_device(&ac97->dev) to free the device.
175 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() local
[all …]
/kernel/linux/linux-5.10/sound/ac97/
Dsnd_ac97_compat.c8 #include <sound/ac97/codec.h>
9 #include <sound/ac97/compat.h>
10 #include <sound/ac97/controller.h>
20 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset() argument
22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset()
29 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset() argument
31 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_warm_reset()
38 static void compat_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in compat_ac97_write() argument
41 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_write()
44 actrl->ops->write(actrl, ac97->num, reg, val); in compat_ac97_write()
[all …]
/kernel/linux/linux-6.6/sound/ac97/
Dsnd_ac97_compat.c8 #include <sound/ac97/codec.h>
9 #include <sound/ac97/compat.h>
10 #include <sound/ac97/controller.h>
20 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset() argument
22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset()
29 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset() argument
31 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_warm_reset()
38 static void compat_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in compat_ac97_write() argument
41 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_write()
44 actrl->ops->write(actrl, ac97->num, reg, val); in compat_ac97_write()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ac97.c3 // soc-ac97.c -- ALSA SoC Audio Layer AC97 support
128 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio() argument
137 ac97->gpio_priv = gpio_priv; in snd_soc_ac97_init_gpio()
150 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio() argument
152 gpiochip_remove(&ac97->gpio_priv->gpio_chip); in snd_soc_ac97_free_gpio()
155 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio() argument
161 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio() argument
171 * it. The caller is responsible to either call device_add(&ac97->dev) to
172 * register the device, or to call put_device(&ac97->dev) to free the device.
178 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() local
[all …]
/kernel/linux/linux-6.6/sound/soc/tegra/
Dtegra20_ac97.c3 * tegra20_ac97.c - Tegra20 AC97 platform driver
33 #define DRV_NAME "tegra20-ac97"
37 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset() argument
59 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset() argument
142 static inline void tegra20_ac97_start_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_start_playback() argument
144 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_start_playback()
148 regmap_update_bits(ac97->regmap, TEGRA20_AC97_CTRL, in tegra20_ac97_start_playback()
155 static inline void tegra20_ac97_stop_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_playback() argument
157 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_stop_playback()
160 regmap_update_bits(ac97->regmap, TEGRA20_AC97_CTRL, in tegra20_ac97_stop_playback()
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra20_ac97.c3 * tegra20_ac97.c - Tegra20 AC97 platform driver
33 #define DRV_NAME "tegra20-ac97"
37 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset() argument
59 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset() argument
142 static inline void tegra20_ac97_start_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_start_playback() argument
144 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_start_playback()
148 regmap_update_bits(ac97->regmap, TEGRA20_AC97_CTRL, in tegra20_ac97_start_playback()
155 static inline void tegra20_ac97_stop_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_playback() argument
157 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_stop_playback()
160 regmap_update_bits(ac97->regmap, TEGRA20_AC97_CTRL, in tegra20_ac97_stop_playback()
[all …]
/kernel/linux/linux-6.6/sound/
Dac97_bus.c3 * Linux driver model AC97 bus interface
18 * @ac97: The AC97 device to check
26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument
29 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; in snd_ac97_check_id()
30 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); in snd_ac97_check_id()
32 if (ac97->id == 0x0 || ac97->id == 0xffffffff) in snd_ac97_check_id()
35 if (id != 0 && id != (ac97->id & id_mask)) in snd_ac97_check_id()
43 * @ac97: The AC'97 device to reset
55 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset() argument
58 const struct snd_ac97_bus_ops *ops = ac97->bus->ops; in snd_ac97_reset()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dsoc-ac97link.txt1 AC97 link bindings
8 "ac97-running": AC97-link is active
9 "ac97-reset": AC97-link reset state
10 "ac97-warm-reset": AC97-link warm reset state
11 - ac97-gpios: List of gpio phandles with args in the order ac97-sync,
12 ac97-sdata, ac97-reset
20 pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset";
25 ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dsoc-ac97link.txt1 AC97 link bindings
8 "ac97-running": AC97-link is active
9 "ac97-reset": AC97-link reset state
10 "ac97-warm-reset": AC97-link warm reset state
11 - ac97-gpios: List of gpio phandles with args in the order ac97-sync,
12 ac97-sdata, ac97-reset
20 pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset";
25 ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>;
/kernel/linux/linux-5.10/sound/
Dac97_bus.c3 * Linux driver model AC97 bus interface
18 * @ac97: The AC97 device to check
26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument
29 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; in snd_ac97_check_id()
30 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); in snd_ac97_check_id()
32 if (ac97->id == 0x0 || ac97->id == 0xffffffff) in snd_ac97_check_id()
35 if (id != 0 && id != (ac97->id & id_mask)) in snd_ac97_check_id()
43 * @ac97: The AC'97 device to reset
55 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset() argument
58 const struct snd_ac97_bus_ops *ops = ac97->bus->ops; in snd_ac97_reset()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ducb1400.h85 struct snd_ac97 *ac97; member
95 struct snd_ac97 *ac97; member
112 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) in ucb1400_reg_read() argument
114 return ac97->bus->ops->read(ac97, reg); in ucb1400_reg_read()
117 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) in ucb1400_reg_write() argument
119 ac97->bus->ops->write(ac97, reg, val); in ucb1400_reg_write()
122 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value() argument
124 return ucb1400_reg_read(ac97, UCB_IO_DATA) & (1 << gpio); in ucb1400_gpio_get_value()
127 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value() argument
130 ucb1400_reg_write(ac97, UCB_IO_DATA, val ? in ucb1400_gpio_set_value()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dac97.c3 * ac97.c -- ALSA Soc AC97 codec support
8 * Generic AC97 support.
28 { "AC97 Capture", NULL, "RX" },
29 { "TX", NULL, "AC97 Playback" },
36 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() local
40 return snd_ac97_set_rate(ac97, reg, substream->runtime->rate); in ac97_prepare()
48 .name = "ac97-hifi",
50 .stream_name = "AC97 Playback",
56 .stream_name = "AC97 Capture",
66 struct snd_ac97 *ac97; in ac97_soc_probe() local
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dac97.c3 * ac97.c -- ALSA Soc AC97 codec support
8 * Generic AC97 support.
28 { "AC97 Capture", NULL, "RX" },
29 { "TX", NULL, "AC97 Playback" },
36 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() local
40 return snd_ac97_set_rate(ac97, reg, substream->runtime->rate); in ac97_prepare()
48 .name = "ac97-hifi",
50 .stream_name = "AC97 Playback",
56 .stream_name = "AC97 Capture",
66 struct snd_ac97 *ac97; in ac97_soc_probe() local
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Ducb1400_ts.c36 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_mode_int()
48 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_pressure()
55 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync); in ucb1400_ts_read_pressure()
66 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_xpos()
69 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_xpos()
72 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_xpos()
78 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync); in ucb1400_ts_read_xpos()
89 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_ypos()
92 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_ypos()
95 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_ypos()
[all …]
/kernel/linux/linux-6.6/include/sound/
Dac97_codec.h16 #include <sound/ac97/regs.h>
21 /* maximum number of devices on the AC97 bus */
124 /* ac97->scaps */
138 /* ac97->flags */
156 #define AC97_HAS_NO_STD_PCM (1<<17) /* no standard AC97 PCM volume and mute */
157 #define AC97_HAS_NO_AUX (1<<18) /* no standard AC97 AUX volume and mute */
178 int (*build_3d) (struct snd_ac97 *ac97);
179 int (*build_specific) (struct snd_ac97 *ac97);
180 int (*build_spdif) (struct snd_ac97 *ac97);
181 int (*build_post_spdif) (struct snd_ac97 *ac97);
[all …]
/kernel/linux/linux-5.10/include/sound/
Dac97_codec.h16 #include <sound/ac97/regs.h>
21 /* maximum number of devices on the AC97 bus */
124 /* ac97->scaps */
138 /* ac97->flags */
156 #define AC97_HAS_NO_STD_PCM (1<<17) /* no standard AC97 PCM volume and mute */
157 #define AC97_HAS_NO_AUX (1<<18) /* no standard AC97 AUX volume and mute */
178 int (*build_3d) (struct snd_ac97 *ac97);
179 int (*build_specific) (struct snd_ac97 *ac97);
180 int (*build_spdif) (struct snd_ac97 *ac97);
181 int (*build_post_spdif) (struct snd_ac97 *ac97);
[all …]
/kernel/linux/linux-6.6/sound/pci/cs5535audio/
Dcs5535audio.h42 /* cs5535 specific ac97 codec register defines */
87 struct snd_ac97 *ac97; member
102 struct snd_ac97_template *ac97);
103 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
105 void olpc_analog_input(struct snd_ac97 *ac97, int on);
106 void olpc_mic_bias(struct snd_ac97 *ac97, int on);
108 static inline void olpc_capture_open(struct snd_ac97 *ac97) in olpc_capture_open() argument
111 olpc_analog_input(ac97, 0); in olpc_capture_open()
113 olpc_mic_bias(ac97, 1); in olpc_capture_open()
116 static inline void olpc_capture_close(struct snd_ac97 *ac97) in olpc_capture_close() argument
[all …]

12345678910>>...25