Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
de6c74f3
Commit
de6c74f3
authored
Jul 04, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Define some constants in patch_via.c
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
b89596a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
sound/pci/hda/patch_via.c
sound/pci/hda/patch_via.c
+6
-4
No files found.
sound/pci/hda/patch_via.c
View file @
de6c74f3
...
@@ -107,6 +107,8 @@ struct via_input {
...
@@ -107,6 +107,8 @@ struct via_input {
const
char
*
label
;
/* input-source label */
const
char
*
label
;
/* input-source label */
};
};
#define VIA_MAX_ADCS 3
struct
via_spec
{
struct
via_spec
{
/* codec parameterization */
/* codec parameterization */
const
struct
snd_kcontrol_new
*
mixers
[
6
];
const
struct
snd_kcontrol_new
*
mixers
[
6
];
...
@@ -132,15 +134,15 @@ struct via_spec {
...
@@ -132,15 +134,15 @@ struct via_spec {
int
num_active_streams
;
int
num_active_streams
;
int
dac_mixer_idx
;
int
dac_mixer_idx
;
struct
nid_path
out_path
[
4
];
struct
nid_path
out_path
[
HDA_SIDE
+
1
];
struct
nid_path
hp_path
;
struct
nid_path
hp_path
;
struct
nid_path
hp_dep_path
;
struct
nid_path
hp_dep_path
;
struct
nid_path
speaker_path
;
struct
nid_path
speaker_path
;
/* capture */
/* capture */
unsigned
int
num_adc_nids
;
unsigned
int
num_adc_nids
;
hda_nid_t
adc_nids
[
3
];
hda_nid_t
adc_nids
[
VIA_MAX_ADCS
];
hda_nid_t
mux_nids
[
3
];
hda_nid_t
mux_nids
[
VIA_MAX_ADCS
];
hda_nid_t
aa_mix_nid
;
hda_nid_t
aa_mix_nid
;
hda_nid_t
dig_in_nid
;
hda_nid_t
dig_in_nid
;
...
@@ -148,7 +150,7 @@ struct via_spec {
...
@@ -148,7 +150,7 @@ struct via_spec {
bool
dyn_adc_switch
;
bool
dyn_adc_switch
;
int
num_inputs
;
int
num_inputs
;
struct
via_input
inputs
[
AUTO_CFG_MAX_INS
+
1
];
struct
via_input
inputs
[
AUTO_CFG_MAX_INS
+
1
];
unsigned
int
cur_mux
[
3
];
unsigned
int
cur_mux
[
VIA_MAX_ADCS
];
/* dynamic ADC switching */
/* dynamic ADC switching */
hda_nid_t
cur_adc
;
hda_nid_t
cur_adc
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment