diff options
Diffstat (limited to 'sound/pci/ctxfi/ctatc.h')
-rw-r--r-- | sound/pci/ctxfi/ctatc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctatc.h b/sound/pci/ctxfi/ctatc.h index 7167c0185d5..3a0def656af 100644 --- a/sound/pci/ctxfi/ctatc.h +++ b/sound/pci/ctxfi/ctatc.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <sound/core.h> | 25 | #include <sound/core.h> |
26 | 26 | ||
27 | #include "ctvmem.h" | 27 | #include "ctvmem.h" |
28 | #include "cthardware.h" | ||
28 | #include "ctresource.h" | 29 | #include "ctresource.h" |
29 | 30 | ||
30 | enum CTALSADEVS { /* Types of alsa devices */ | 31 | enum CTALSADEVS { /* Types of alsa devices */ |
@@ -115,12 +116,17 @@ struct ct_atc { | |||
115 | int (*line_clfe_unmute)(struct ct_atc *atc, unsigned char state); | 116 | int (*line_clfe_unmute)(struct ct_atc *atc, unsigned char state); |
116 | int (*line_rear_unmute)(struct ct_atc *atc, unsigned char state); | 117 | int (*line_rear_unmute)(struct ct_atc *atc, unsigned char state); |
117 | int (*line_in_unmute)(struct ct_atc *atc, unsigned char state); | 118 | int (*line_in_unmute)(struct ct_atc *atc, unsigned char state); |
119 | int (*mic_unmute)(struct ct_atc *atc, unsigned char state); | ||
118 | int (*spdif_out_unmute)(struct ct_atc *atc, unsigned char state); | 120 | int (*spdif_out_unmute)(struct ct_atc *atc, unsigned char state); |
119 | int (*spdif_in_unmute)(struct ct_atc *atc, unsigned char state); | 121 | int (*spdif_in_unmute)(struct ct_atc *atc, unsigned char state); |
120 | int (*spdif_out_get_status)(struct ct_atc *atc, unsigned int *status); | 122 | int (*spdif_out_get_status)(struct ct_atc *atc, unsigned int *status); |
121 | int (*spdif_out_set_status)(struct ct_atc *atc, unsigned int status); | 123 | int (*spdif_out_set_status)(struct ct_atc *atc, unsigned int status); |
122 | int (*spdif_out_passthru)(struct ct_atc *atc, unsigned char state); | 124 | int (*spdif_out_passthru)(struct ct_atc *atc, unsigned char state); |
123 | int (*have_digit_io_switch)(struct ct_atc *atc); | 125 | struct capabilities (*capabilities)(struct ct_atc *atc); |
126 | int (*output_switch_get)(struct ct_atc *atc); | ||
127 | int (*output_switch_put)(struct ct_atc *atc, int position); | ||
128 | int (*mic_source_switch_get)(struct ct_atc *atc); | ||
129 | int (*mic_source_switch_put)(struct ct_atc *atc, int position); | ||
124 | 130 | ||
125 | /* Don't touch! Used for internal object. */ | 131 | /* Don't touch! Used for internal object. */ |
126 | void *rsc_mgrs[NUM_RSCTYP]; /* chip resource managers */ | 132 | void *rsc_mgrs[NUM_RSCTYP]; /* chip resource managers */ |