Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | hpi_adapters_list |
struct | pad_ofs_size |
Macros | |
#define | SOURCEFILE_NAME "hpicmn.c" |
#define | HPICMN_PAD_OFS_AND_SIZE(m) |
Functions | |
u16 | hpi_validate_response (struct hpi_message *phm, struct hpi_response *phr) |
u16 | hpi_add_adapter (struct hpi_adapter_obj *pao) |
void | hpi_delete_adapter (struct hpi_adapter_obj *pao) |
struct hpi_adapter_obj * | hpi_find_adapter (u16 adapter_index) |
short | hpi_check_control_cache (struct hpi_control_cache *p_cache, struct hpi_message *phm, struct hpi_response *phr) |
void | hpi_cmn_control_cache_sync_to_msg (struct hpi_control_cache *p_cache, struct hpi_message *phm, struct hpi_response *phr) |
struct hpi_control_cache * | hpi_alloc_control_cache (const u32 control_count, const u32 size_in_bytes, u8 *p_dsp_control_buffer) |
void | hpi_free_control_cache (struct hpi_control_cache *p_cache) |
void | HPI_COMMON (struct hpi_message *phm, struct hpi_response *phr) |
#define HPICMN_PAD_OFS_AND_SIZE | ( | m | ) |
u16 hpi_add_adapter | ( | struct hpi_adapter_obj * | pao | ) |
short hpi_check_control_cache | ( | struct hpi_control_cache * | p_cache, |
struct hpi_message * | phm, | ||
struct hpi_response * | phr | ||
) |
CheckControlCache checks the cache and fills the struct hpi_response accordingly. It returns one if a cache hit occurred, zero otherwise.
void hpi_cmn_control_cache_sync_to_msg | ( | struct hpi_control_cache * | p_cache, |
struct hpi_message * | phm, | ||
struct hpi_response * | phr | ||
) |
void HPI_COMMON | ( | struct hpi_message * | phm, |
struct hpi_response * | phr | ||
) |
void hpi_delete_adapter | ( | struct hpi_adapter_obj * | pao | ) |
|
read |
FindAdapter returns a pointer to the struct hpi_adapter_obj with index wAdapterIndex in an HPI_ADAPTERS_LIST structure.
void hpi_free_control_cache | ( | struct hpi_control_cache * | p_cache | ) |
u16 hpi_validate_response | ( | struct hpi_message * | phm, |
struct hpi_response * | phr | ||
) |