/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/asihpi/ |
H A D | hpimsginit.c | 52 static void hpi_init_message(struct hpi_message *phm, u16 object, argument 55 memset(phm, 0, sizeof(*phm)); 57 phm->size = msg_size[object]; 59 phm->size = sizeof(*phm); 62 phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE; 64 phm->type = HPI_TYPE_MESSAGE; 65 phm->object = object; 66 phm 90 hpi_init_message_response(struct hpi_message *phm, struct hpi_response *phr, u16 object, u16 function) argument 100 hpi_init_messageV1(struct hpi_message_header *phm, u16 size, u16 object, u16 function) argument 124 hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, struct hpi_response_header *phr, u16 res_size, u16 object, u16 function) argument [all...] |
H A D | hpimsgx.c | 67 static inline void hw_entry_point(struct hpi_message *phm, argument 73 if (phm->adapter_index < HPI_MAX_ADAPTERS) { 74 ep = (hpi_handler_func *) hpi_entry_points[phm-> 77 HPI_DEBUG_MESSAGE(DEBUG, phm); 78 ep(phm, phr); 83 hpi_init_response(phr, phm->object, phm->function, 87 static void adapter_open(struct hpi_message *phm, struct hpi_response *phr); 88 static void adapter_close(struct hpi_message *phm, struct hpi_response *phr); 90 static void mixer_open(struct hpi_message *phm, struc 167 subsys_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 290 adapter_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 306 mixer_message(struct hpi_message *phm, struct hpi_response *phr) argument 321 outstream_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 343 instream_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 368 hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 439 adapter_open(struct hpi_message *phm, struct hpi_response *phr) argument 446 adapter_close(struct hpi_message *phm, struct hpi_response *phr) argument 452 mixer_open(struct hpi_message *phm, struct hpi_response *phr) argument 458 mixer_close(struct hpi_message *phm, struct hpi_response *phr) argument 463 instream_open(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 513 instream_close(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 560 outstream_open(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 610 outstream_close(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 793 HPIMSGX__init(struct hpi_message *phm, struct hpi_response *phr ) argument [all...] |
H A D | hpimsgx.h | 31 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
|
H A D | hpicmn.c | 44 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) argument 49 || (phr->object != phm->object) 50 || (phr->function != phm->function)) 225 static short find_control(struct hpi_message *phm, argument 229 *pw_control_index = phm->obj_index; 234 phm->adapter_index, *pw_control_index); 241 phm->adapter_index, *pw_control_index); 253 struct hpi_message *phm, void **p, unsigned int *pN) 257 if ((phm->function == HPI_CONTROL_GET_STATE) 258 && (phm 252 hpi_check_buffer_mapping(struct hpi_control_cache *p_cache, struct hpi_message *phm, void **p, unsigned int *pN) argument 289 hpi_check_control_cache(struct hpi_control_cache *p_cache, struct hpi_message *phm, struct hpi_response *phr) argument 500 hpi_sync_control_cache(struct hpi_control_cache *p_cache, struct hpi_message *phm, struct hpi_response *phr) argument 595 subsys_message(struct hpi_message *phm, struct hpi_response *phr) argument 622 HPI_COMMON(struct hpi_message *phm, struct hpi_response *phr) argument [all...] |
H A D | hpidebug.c | 140 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline) argument 142 if (phm) { 143 if ((phm->object <= HPI_OBJ_MAXINDEX) && phm->object) { 148 index = phm->obj_index; 149 switch (phm->object) { 154 if (phm->function == 156 index = phm->u.m.control_index; 164 if (phm->version == 1) 167 attrib = phm [all...] |
H A D | hpicmn.h | 53 struct hpi_message *phm, struct hpi_response *phr); 61 struct hpi_message *phm, struct hpi_response *phr); 62 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr); 64 struct hpi_message *phm, void **p, unsigned int *pN);
|
H A D | hpimsginit.h | 32 void hpi_init_message_response(struct hpi_message *phm, 38 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
|
H A D | hpi6205.c | 26 void HPI_6205(struct hpi_message *phm, struct hpi_response *phr) 150 struct hpi_message *phm, struct hpi_response *phr); 152 static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, 157 static void subsys_create_adapter(struct hpi_message *phm, 159 static void subsys_delete_adapter(struct hpi_message *phm, 168 struct hpi_message *phm, struct hpi_response *phr); 171 struct hpi_message *phm, struct hpi_response *phr); 174 struct hpi_message *phm, struct hpi_response *phr); 176 struct hpi_message *phm, struct hpi_response *phr); 179 struct hpi_message *phm, struc 230 subsys_message(struct hpi_message *phm, struct hpi_response *phr) argument 255 control_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 284 adapter_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 294 outstream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 338 instream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 380 HPI_6205(struct hpi_message *phm, struct hpi_response *phr) argument 465 subsys_create_adapter(struct hpi_message *phm, struct hpi_response *phr) argument 510 subsys_delete_adapter(struct hpi_message *phm, struct hpi_response *phr) argument 788 outstream_host_buffer_allocate(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 889 outstream_host_buffer_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 918 outstream_host_buffer_free(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 950 outstream_write(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1051 outstream_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1077 outstream_start(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1083 outstream_reset(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1091 outstream_open(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1100 instream_host_buffer_allocate(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1191 instream_host_buffer_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1220 instream_host_buffer_free(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1248 instream_start(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1259 instream_read(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1310 instream_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 2172 message_response_sequence(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 2267 hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument [all...] |
H A D | hpi6000.c | 23 void HPI_6000(struct hpi_message *phm, struct hpi_response *phr) 170 struct hpi_message *phm); 172 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr); 174 static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, 186 struct hpi_message *phm, struct hpi_response *phr); 189 struct hpi_message *phm, struct hpi_response *phr); 201 static void subsys_create_adapter(struct hpi_message *phm, 204 static void subsys_delete_adapter(struct hpi_message *phm, 208 struct hpi_message *phm, struct hpi_response *phr); 218 static void subsys_message(struct hpi_message *phm, struc argument 243 control_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 279 adapter_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 307 outstream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 326 instream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 351 HPI_6000(struct hpi_message *phm, struct hpi_response *phr) argument 429 subsys_create_adapter(struct hpi_message *phm, struct hpi_response *phr) argument 491 subsys_delete_adapter(struct hpi_message *phm, struct hpi_response *phr) argument 640 adapter_get_asserts(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1323 hpi6000_message_response_sequence(struct hpi_adapter_obj *pao, u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) argument 1446 hpi6000_send_data(struct hpi_adapter_obj *pao, u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) argument 1519 hpi6000_get_data(struct hpi_adapter_obj *pao, u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) argument 1671 hpi6000_update_control_cache(struct hpi_adapter_obj *pao, struct hpi_message *phm) argument 1749 get_dsp_index(struct hpi_adapter_obj *pao, struct hpi_message *phm) argument 1770 hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument [all...] |
H A D | hpioctl.h | 36 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|
H A D | hpidebug.h | 77 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline); 87 #define HPI_DEBUG_MESSAGE(level, phm) \ 90 hpi_debug_message(phm,HPI_DEBUG_FLAG_##level \
|
H A D | hpioctl.c | 62 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, argument 65 int adapter = phm->adapter_index; 68 && (phm->object != HPI_OBJ_SUBSYSTEM)) 71 hpi_send_recv_ex(phm, phr, file); 78 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) argument 80 hpi_send_recv_f(phm, phr, HOWNER_KERNEL); 124 if (get_user(puhm, &phpi_ioctl_data->phm) ||
|
H A D | hpios.h | 82 void __user *phm; member in struct:hpi_ioctl_linux
|
H A D | hpifunc.c | 3454 struct hpi_msg_strv *phm; local 3457 phm = kmalloc(sizeof(phm->h) + value->header.size, GFP_KERNEL); 3458 HPI_DEBUG_ASSERT(phm != NULL); 3460 hpi_init_message_responseV1(&phm->h, 3461 sizeof(phm->h) + value->header.size, &hr.h, sizeof(hr), 3463 u32TOINDEXES(hC, &phm->h.adapter_index, &phm->h.obj_index); 3466 memcpy(&phm->strv, value, value->header.size); 3467 hpi_send_recv((struct hpi_message *)&phm [all...] |
H A D | hpi_internal.h | 1596 void hpi_send_recvUDP(struct hpi_message *phm, struct hpi_response *phr,
|