Lines Matching +full:codec +full:- +full:1
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
32 #define AC97_CAP_MICCHANNEL (1 << 0)
33 #define AC97_CAP_TONE (1 << 2)
34 #define AC97_CAP_SIMSTEREO (1 << 3)
35 #define AC97_CAP_HEADPHONE (1 << 4)
36 #define AC97_CAP_LOUDNESS (1 << 5)
37 #define AC97_CAP_DAC_18 (1 << 6)
38 #define AC97_CAP_DAC_20 (1 << 7)
39 #define AC97_CAP_ADC_18 (1 << 8)
40 #define AC97_CAP_ADC_20 (1 << 9)
59 #define AC97_POWER_ADC (1 << 0)
60 #define AC97_POWER_DAC (1 << 1)
61 #define AC97_POWER_ANL (1 << 2)
62 #define AC97_POWER_REF (1 << 3)
66 #define AC97_EXTCAP_VRA (1 << 0)
67 #define AC97_EXTCAP_DRA (1 << 1)
68 #define AC97_EXTCAP_VRM (1 << 3)
70 #define AC97_EXTCAP_SDAC (1 << 7)
96 void ac97_destroy(struct ac97_info *codec);
97 void ac97_setflags(struct ac97_info *codec, u_int32_t val);
98 u_int32_t ac97_getflags(struct ac97_info *codec);
99 int ac97_setrate(struct ac97_info *codec, int which, int rate);
100 int ac97_setextmode(struct ac97_info *codec, u_int16_t mode);
101 u_int16_t ac97_getextmode(struct ac97_info *codec);
102 u_int16_t ac97_getextcaps(struct ac97_info *codec);
103 u_int16_t ac97_getcaps(struct ac97_info *codec);
104 u_int32_t ac97_getsubvendor(struct ac97_info *codec);
106 u_int16_t ac97_rdcd(struct ac97_info *codec, int reg);
107 void ac97_wrcd(struct ac97_info *codec, int reg, u_int16_t val);