ALSA: asihpi - Add new function codes.
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Thu, 22 Dec 2011 00:38:41 +0000 (13:38 +1300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Dec 2011 07:13:04 +0000 (08:13 +0100)
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpi_internal.h

index e06c5e08d74c3439f6c950c5f8bbf4dae9924852..2a633089c27762173e09a796085247992265c659 100644 (file)
@@ -240,7 +240,9 @@ enum HPI_CONTROL_ATTRIBUTES {
        HPI_PAD_PROGRAM_TYPE = HPI_CTL_ATTR(PAD, 5),
        HPI_PAD_PROGRAM_ID = HPI_CTL_ATTR(PAD, 6),
        HPI_PAD_TA_SUPPORT = HPI_CTL_ATTR(PAD, 7),
-       HPI_PAD_TA_ACTIVE = HPI_CTL_ATTR(PAD, 8)
+       HPI_PAD_TA_ACTIVE = HPI_CTL_ATTR(PAD, 8),
+
+       HPI_UNIVERSAL_ENTITY = HPI_CTL_ATTR(UNIVERSAL, 1)
 };
 
 #define HPI_POLARITY_POSITIVE           0
@@ -425,7 +427,10 @@ enum HPI_FUNCTION_IDS {
        HPI_ADAPTER_IRQ_QUERY_AND_CLEAR = HPI_FUNC_ID(ADAPTER, 19),
        HPI_ADAPTER_IRQ_CALLBACK = HPI_FUNC_ID(ADAPTER, 20),
        HPI_ADAPTER_DELETE = HPI_FUNC_ID(ADAPTER, 21),
-#define HPI_ADAPTER_FUNCTION_COUNT 21
+       HPI_ADAPTER_READ_FLASH = HPI_FUNC_ID(ADAPTER, 22),
+       HPI_ADAPTER_END_FLASH = HPI_FUNC_ID(ADAPTER, 23),
+       HPI_ADAPTER_FILESTORE_DELETE_ALL = HPI_FUNC_ID(ADAPTER, 24),
+#define HPI_ADAPTER_FUNCTION_COUNT 24
 
        HPI_OSTREAM_OPEN = HPI_FUNC_ID(OSTREAM, 1),
        HPI_OSTREAM_CLOSE = HPI_FUNC_ID(OSTREAM, 2),
@@ -490,7 +495,9 @@ enum HPI_FUNCTION_IDS {
        HPI_MIXER_GET_CONTROL_MULTIPLE_VALUES = HPI_FUNC_ID(MIXER, 10),
        HPI_MIXER_STORE = HPI_FUNC_ID(MIXER, 11),
        HPI_MIXER_GET_CACHE_INFO = HPI_FUNC_ID(MIXER, 12),
-#define HPI_MIXER_FUNCTION_COUNT 12
+       HPI_MIXER_GET_BLOCK_HANDLE = HPI_FUNC_ID(MIXER, 13),
+       HPI_MIXER_GET_PARAMETER_HANDLE = HPI_FUNC_ID(MIXER, 14),
+#define HPI_MIXER_FUNCTION_COUNT 14
 
        HPI_CONTROL_GET_INFO = HPI_FUNC_ID(CONTROL, 1),
        HPI_CONTROL_GET_STATE = HPI_FUNC_ID(CONTROL, 2),