diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2011-12-21 19:38:41 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-22 02:13:04 -0500 |
commit | 72868339e45cbd01ec20c2d3bb8c43e8d6911331 (patch) | |
tree | af4590765632cdb0b3908e5535096d552872ebbe /sound/pci/asihpi | |
parent | d8aefaef1b10f1063f295342b8967543e0d11d72 (diff) |
ALSA: asihpi - Add new function codes.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi')
-rw-r--r-- | sound/pci/asihpi/hpi_internal.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sound/pci/asihpi/hpi_internal.h b/sound/pci/asihpi/hpi_internal.h index e06c5e08d74c..2a633089c277 100644 --- a/sound/pci/asihpi/hpi_internal.h +++ b/sound/pci/asihpi/hpi_internal.h | |||
@@ -240,7 +240,9 @@ enum HPI_CONTROL_ATTRIBUTES { | |||
240 | HPI_PAD_PROGRAM_TYPE = HPI_CTL_ATTR(PAD, 5), | 240 | HPI_PAD_PROGRAM_TYPE = HPI_CTL_ATTR(PAD, 5), |
241 | HPI_PAD_PROGRAM_ID = HPI_CTL_ATTR(PAD, 6), | 241 | HPI_PAD_PROGRAM_ID = HPI_CTL_ATTR(PAD, 6), |
242 | HPI_PAD_TA_SUPPORT = HPI_CTL_ATTR(PAD, 7), | 242 | HPI_PAD_TA_SUPPORT = HPI_CTL_ATTR(PAD, 7), |
243 | HPI_PAD_TA_ACTIVE = HPI_CTL_ATTR(PAD, 8) | 243 | HPI_PAD_TA_ACTIVE = HPI_CTL_ATTR(PAD, 8), |
244 | |||
245 | HPI_UNIVERSAL_ENTITY = HPI_CTL_ATTR(UNIVERSAL, 1) | ||
244 | }; | 246 | }; |
245 | 247 | ||
246 | #define HPI_POLARITY_POSITIVE 0 | 248 | #define HPI_POLARITY_POSITIVE 0 |
@@ -425,7 +427,10 @@ enum HPI_FUNCTION_IDS { | |||
425 | HPI_ADAPTER_IRQ_QUERY_AND_CLEAR = HPI_FUNC_ID(ADAPTER, 19), | 427 | HPI_ADAPTER_IRQ_QUERY_AND_CLEAR = HPI_FUNC_ID(ADAPTER, 19), |
426 | HPI_ADAPTER_IRQ_CALLBACK = HPI_FUNC_ID(ADAPTER, 20), | 428 | HPI_ADAPTER_IRQ_CALLBACK = HPI_FUNC_ID(ADAPTER, 20), |
427 | HPI_ADAPTER_DELETE = HPI_FUNC_ID(ADAPTER, 21), | 429 | HPI_ADAPTER_DELETE = HPI_FUNC_ID(ADAPTER, 21), |
428 | #define HPI_ADAPTER_FUNCTION_COUNT 21 | 430 | HPI_ADAPTER_READ_FLASH = HPI_FUNC_ID(ADAPTER, 22), |
431 | HPI_ADAPTER_END_FLASH = HPI_FUNC_ID(ADAPTER, 23), | ||
432 | HPI_ADAPTER_FILESTORE_DELETE_ALL = HPI_FUNC_ID(ADAPTER, 24), | ||
433 | #define HPI_ADAPTER_FUNCTION_COUNT 24 | ||
429 | 434 | ||
430 | HPI_OSTREAM_OPEN = HPI_FUNC_ID(OSTREAM, 1), | 435 | HPI_OSTREAM_OPEN = HPI_FUNC_ID(OSTREAM, 1), |
431 | HPI_OSTREAM_CLOSE = HPI_FUNC_ID(OSTREAM, 2), | 436 | HPI_OSTREAM_CLOSE = HPI_FUNC_ID(OSTREAM, 2), |
@@ -490,7 +495,9 @@ enum HPI_FUNCTION_IDS { | |||
490 | HPI_MIXER_GET_CONTROL_MULTIPLE_VALUES = HPI_FUNC_ID(MIXER, 10), | 495 | HPI_MIXER_GET_CONTROL_MULTIPLE_VALUES = HPI_FUNC_ID(MIXER, 10), |
491 | HPI_MIXER_STORE = HPI_FUNC_ID(MIXER, 11), | 496 | HPI_MIXER_STORE = HPI_FUNC_ID(MIXER, 11), |
492 | HPI_MIXER_GET_CACHE_INFO = HPI_FUNC_ID(MIXER, 12), | 497 | HPI_MIXER_GET_CACHE_INFO = HPI_FUNC_ID(MIXER, 12), |
493 | #define HPI_MIXER_FUNCTION_COUNT 12 | 498 | HPI_MIXER_GET_BLOCK_HANDLE = HPI_FUNC_ID(MIXER, 13), |
499 | HPI_MIXER_GET_PARAMETER_HANDLE = HPI_FUNC_ID(MIXER, 14), | ||
500 | #define HPI_MIXER_FUNCTION_COUNT 14 | ||
494 | 501 | ||
495 | HPI_CONTROL_GET_INFO = HPI_FUNC_ID(CONTROL, 1), | 502 | HPI_CONTROL_GET_INFO = HPI_FUNC_ID(CONTROL, 1), |
496 | HPI_CONTROL_GET_STATE = HPI_FUNC_ID(CONTROL, 2), | 503 | HPI_CONTROL_GET_STATE = HPI_FUNC_ID(CONTROL, 2), |