diff options
Diffstat (limited to 'sound/pci/asihpi/hpi_internal.h')
-rw-r--r-- | sound/pci/asihpi/hpi_internal.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sound/pci/asihpi/hpi_internal.h b/sound/pci/asihpi/hpi_internal.h index 3b9fd115da36..bf5eced76bac 100644 --- a/sound/pci/asihpi/hpi_internal.h +++ b/sound/pci/asihpi/hpi_internal.h | |||
@@ -294,7 +294,7 @@ enum HPI_CONTROL_ATTRIBUTES { | |||
294 | 294 | ||
295 | /* These defines are used to fill in protocol information for an Ethernet packet | 295 | /* These defines are used to fill in protocol information for an Ethernet packet |
296 | sent using HMI on CS18102 */ | 296 | sent using HMI on CS18102 */ |
297 | /** ID supplied by Cirrius for ASI packets. */ | 297 | /** ID supplied by Cirrus for ASI packets. */ |
298 | #define HPI_ETHERNET_PACKET_ID 0x85 | 298 | #define HPI_ETHERNET_PACKET_ID 0x85 |
299 | /** Simple packet - no special routing required */ | 299 | /** Simple packet - no special routing required */ |
300 | #define HPI_ETHERNET_PACKET_V1 0x01 | 300 | #define HPI_ETHERNET_PACKET_V1 0x01 |
@@ -307,7 +307,7 @@ enum HPI_CONTROL_ATTRIBUTES { | |||
307 | /** This packet must make its way to the host across the HPI interface */ | 307 | /** This packet must make its way to the host across the HPI interface */ |
308 | #define HPI_ETHERNET_PACKET_HOSTED_VIA_HPI_V1 0x41 | 308 | #define HPI_ETHERNET_PACKET_HOSTED_VIA_HPI_V1 0x41 |
309 | 309 | ||
310 | #define HPI_ETHERNET_UDP_PORT (44600) /*!< UDP messaging port */ | 310 | #define HPI_ETHERNET_UDP_PORT 44600 /**< HPI UDP service */ |
311 | 311 | ||
312 | /** Default network timeout in milli-seconds. */ | 312 | /** Default network timeout in milli-seconds. */ |
313 | #define HPI_ETHERNET_TIMEOUT_MS 500 | 313 | #define HPI_ETHERNET_TIMEOUT_MS 500 |
@@ -397,14 +397,14 @@ enum HPI_FUNCTION_IDS { | |||
397 | HPI_SUBSYS_OPEN = HPI_FUNC_ID(SUBSYSTEM, 1), | 397 | HPI_SUBSYS_OPEN = HPI_FUNC_ID(SUBSYSTEM, 1), |
398 | HPI_SUBSYS_GET_VERSION = HPI_FUNC_ID(SUBSYSTEM, 2), | 398 | HPI_SUBSYS_GET_VERSION = HPI_FUNC_ID(SUBSYSTEM, 2), |
399 | HPI_SUBSYS_GET_INFO = HPI_FUNC_ID(SUBSYSTEM, 3), | 399 | HPI_SUBSYS_GET_INFO = HPI_FUNC_ID(SUBSYSTEM, 3), |
400 | HPI_SUBSYS_FIND_ADAPTERS = HPI_FUNC_ID(SUBSYSTEM, 4), | 400 | /* HPI_SUBSYS_FIND_ADAPTERS = HPI_FUNC_ID(SUBSYSTEM, 4), */ |
401 | HPI_SUBSYS_CREATE_ADAPTER = HPI_FUNC_ID(SUBSYSTEM, 5), | 401 | HPI_SUBSYS_CREATE_ADAPTER = HPI_FUNC_ID(SUBSYSTEM, 5), |
402 | HPI_SUBSYS_CLOSE = HPI_FUNC_ID(SUBSYSTEM, 6), | 402 | HPI_SUBSYS_CLOSE = HPI_FUNC_ID(SUBSYSTEM, 6), |
403 | HPI_SUBSYS_DELETE_ADAPTER = HPI_FUNC_ID(SUBSYSTEM, 7), | 403 | /* HPI_SUBSYS_DELETE_ADAPTER = HPI_FUNC_ID(SUBSYSTEM, 7), */ |
404 | HPI_SUBSYS_DRIVER_LOAD = HPI_FUNC_ID(SUBSYSTEM, 8), | 404 | HPI_SUBSYS_DRIVER_LOAD = HPI_FUNC_ID(SUBSYSTEM, 8), |
405 | HPI_SUBSYS_DRIVER_UNLOAD = HPI_FUNC_ID(SUBSYSTEM, 9), | 405 | HPI_SUBSYS_DRIVER_UNLOAD = HPI_FUNC_ID(SUBSYSTEM, 9), |
406 | HPI_SUBSYS_READ_PORT_8 = HPI_FUNC_ID(SUBSYSTEM, 10), | 406 | /* HPI_SUBSYS_READ_PORT_8 = HPI_FUNC_ID(SUBSYSTEM, 10), */ |
407 | HPI_SUBSYS_WRITE_PORT_8 = HPI_FUNC_ID(SUBSYSTEM, 11), | 407 | /* HPI_SUBSYS_WRITE_PORT_8 = HPI_FUNC_ID(SUBSYSTEM, 11), */ |
408 | HPI_SUBSYS_GET_NUM_ADAPTERS = HPI_FUNC_ID(SUBSYSTEM, 12), | 408 | HPI_SUBSYS_GET_NUM_ADAPTERS = HPI_FUNC_ID(SUBSYSTEM, 12), |
409 | HPI_SUBSYS_GET_ADAPTER = HPI_FUNC_ID(SUBSYSTEM, 13), | 409 | HPI_SUBSYS_GET_ADAPTER = HPI_FUNC_ID(SUBSYSTEM, 13), |
410 | HPI_SUBSYS_SET_NETWORK_INTERFACE = HPI_FUNC_ID(SUBSYSTEM, 14), | 410 | HPI_SUBSYS_SET_NETWORK_INTERFACE = HPI_FUNC_ID(SUBSYSTEM, 14), |
@@ -433,7 +433,8 @@ enum HPI_FUNCTION_IDS { | |||
433 | HPI_ADAPTER_DEBUG_READ = HPI_FUNC_ID(ADAPTER, 18), | 433 | HPI_ADAPTER_DEBUG_READ = HPI_FUNC_ID(ADAPTER, 18), |
434 | HPI_ADAPTER_IRQ_QUERY_AND_CLEAR = HPI_FUNC_ID(ADAPTER, 19), | 434 | HPI_ADAPTER_IRQ_QUERY_AND_CLEAR = HPI_FUNC_ID(ADAPTER, 19), |
435 | HPI_ADAPTER_IRQ_CALLBACK = HPI_FUNC_ID(ADAPTER, 20), | 435 | HPI_ADAPTER_IRQ_CALLBACK = HPI_FUNC_ID(ADAPTER, 20), |
436 | #define HPI_ADAPTER_FUNCTION_COUNT 20 | 436 | HPI_ADAPTER_DELETE = HPI_FUNC_ID(ADAPTER, 21), |
437 | #define HPI_ADAPTER_FUNCTION_COUNT 21 | ||
437 | 438 | ||
438 | HPI_OSTREAM_OPEN = HPI_FUNC_ID(OSTREAM, 1), | 439 | HPI_OSTREAM_OPEN = HPI_FUNC_ID(OSTREAM, 1), |
439 | HPI_OSTREAM_CLOSE = HPI_FUNC_ID(OSTREAM, 2), | 440 | HPI_OSTREAM_CLOSE = HPI_FUNC_ID(OSTREAM, 2), |
@@ -1561,8 +1562,6 @@ void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr); | |||
1561 | u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource, | 1562 | u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource, |
1562 | u16 *pw_adapter_index); | 1563 | u16 *pw_adapter_index); |
1563 | 1564 | ||
1564 | u16 hpi_subsys_delete_adapter(u16 adapter_index); | ||
1565 | |||
1566 | u16 hpi_outstream_host_buffer_get_info(u32 h_outstream, u8 **pp_buffer, | 1565 | u16 hpi_outstream_host_buffer_get_info(u32 h_outstream, u8 **pp_buffer, |
1567 | struct hpi_hostbuffer_status **pp_status); | 1566 | struct hpi_hostbuffer_status **pp_status); |
1568 | 1567 | ||
@@ -1584,9 +1583,7 @@ void hpi_stream_response_to_legacy(struct hpi_stream_res *pSR); | |||
1584 | 1583 | ||
1585 | /*////////////////////////////////////////////////////////////////////////// */ | 1584 | /*////////////////////////////////////////////////////////////////////////// */ |
1586 | /* declarations for individual HPI entry points */ | 1585 | /* declarations for individual HPI entry points */ |
1587 | hpi_handler_func HPI_1000; | ||
1588 | hpi_handler_func HPI_6000; | 1586 | hpi_handler_func HPI_6000; |
1589 | hpi_handler_func HPI_6205; | 1587 | hpi_handler_func HPI_6205; |
1590 | hpi_handler_func HPI_COMMON; | ||
1591 | 1588 | ||
1592 | #endif /* _HPI_INTERNAL_H_ */ | 1589 | #endif /* _HPI_INTERNAL_H_ */ |