/linux-master/sound/pci/asihpi/ |
H A D | hpimsginit.c | 27 static void hpi_init_message(struct hpi_message *phm, u16 object, argument 36 size = sizeof(*phm); 39 memset(phm, 0, size); 40 phm->size = size; 43 phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE; 45 phm->type = HPI_TYPE_REQUEST; 46 phm->object = object; 47 phm->function = function; 48 phm->version = 0; 49 phm 78 hpi_init_message_response(struct hpi_message *phm, struct hpi_response *phr, u16 object, u16 function) argument 88 hpi_init_messageV1(struct hpi_message_header *phm, u16 size, u16 object, u16 function) argument 114 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 | hpidebug.c | 37 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline) argument 39 if (phm) { 40 printk(KERN_DEBUG "HPI_MSG%d,%d,%d,%d,%d\n", phm->version, 41 phm->adapter_index, phm->obj_index, phm->function, 42 phm->u.c.attribute);
|
H A D | hpimsgx.c | 61 static inline void hw_entry_point(struct hpi_message *phm, argument 64 if ((phm->adapter_index < HPI_MAX_ADAPTERS) 65 && hpi_entry_points[phm->adapter_index]) 66 hpi_entry_points[phm->adapter_index] (phm, phr); 68 hpi_init_response(phr, phm->object, phm->function, 72 static void adapter_open(struct hpi_message *phm, struct hpi_response *phr); 73 static void adapter_close(struct hpi_message *phm, struct hpi_response *phr); 75 static void mixer_open(struct hpi_message *phm, struc 146 subsys_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 206 adapter_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 235 mixer_message(struct hpi_message *phm, struct hpi_response *phr) argument 250 outstream_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 272 instream_message(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 297 hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 352 adapter_open(struct hpi_message *phm, struct hpi_response *phr) argument 359 adapter_close(struct hpi_message *phm, struct hpi_response *phr) argument 365 mixer_open(struct hpi_message *phm, struct hpi_response *phr) argument 371 mixer_close(struct hpi_message *phm, struct hpi_response *phr) argument 376 instream_open(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 426 instream_close(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 473 outstream_open(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 523 outstream_close(struct hpi_message *phm, struct hpi_response *phr, void *h_owner) argument 687 HPIMSGX__init(struct hpi_message *phm, struct hpi_response *phr ) argument [all...] |
H A D | hpimsgx.h | 20 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
|
H A D | hpicmn.c | 34 * @phm: message 37 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) argument 44 if (phr->object != phm->object) { 50 if (phr->function != phm->function) { 151 static void subsys_get_adapter(struct hpi_message *phm, argument 154 int count = phm->obj_index; 312 struct hpi_message *phm, struct hpi_response *phr) 325 if (phm->u.c.attribute == HPI_METER_PEAK) { 328 } else if (phm->u.c.attribute == HPI_METER_RMS) { 345 if (phm 311 hpi_check_control_cache_single(struct hpi_control_cache_single *pC, struct hpi_message *phm, struct hpi_response *phr) argument 529 hpi_check_control_cache(struct hpi_control_cache *p_cache, struct hpi_message *phm, struct hpi_response *phr) argument 555 hpi_cmn_control_cache_sync_to_msg_single(struct hpi_control_cache_single *pC, struct hpi_message *phm, struct hpi_response *phr) argument 613 hpi_cmn_control_cache_sync_to_msg(struct hpi_control_cache *p_cache, struct hpi_message *phm, struct hpi_response *phr) argument 671 subsys_message(struct hpi_message *phm, struct hpi_response *phr) argument 698 HPI_COMMON(struct hpi_message *phm, struct hpi_response *phr) argument [all...] |
H A D | hpi6205.c | 15 void HPI_6205(struct hpi_message *phm, struct hpi_response *phr) 138 struct hpi_message *phm, struct hpi_response *phr); 140 static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, 145 static void subsys_create_adapter(struct hpi_message *phm, 148 struct hpi_message *phm, struct hpi_response *phr); 159 struct hpi_message *phm, struct hpi_response *phr); 162 struct hpi_message *phm, struct hpi_response *phr); 165 struct hpi_message *phm, struct hpi_response *phr); 167 struct hpi_message *phm, struct hpi_response *phr); 170 struct hpi_message *phm, struc 221 subsys_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 234 control_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 271 adapter_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 284 outstream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 328 instream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 371 _HPI_6205(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 424 HPI_6205(struct hpi_message *phm, struct hpi_response *phr) argument 452 subsys_create_adapter(struct hpi_message *phm, struct hpi_response *phr) argument 491 adapter_delete(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 729 outstream_host_buffer_allocate(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 831 outstream_host_buffer_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 860 outstream_host_buffer_free(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 892 outstream_write(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 966 outstream_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 992 outstream_start(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 998 outstream_reset(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1006 outstream_open(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1015 instream_host_buffer_allocate(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1108 instream_host_buffer_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1137 instream_host_buffer_free(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1165 instream_start(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1176 instream_read(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1227 instream_get_info(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 2084 message_response_sequence(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 2168 hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument [all...] |
H A D | hpicmn.h | 53 struct hpi_message *phm, struct hpi_response *phr); 56 struct hpi_message *phm, struct hpi_response *phr); 64 struct hpi_message *phm, struct hpi_response *phr); 67 *pC, struct hpi_message *phm, struct hpi_response *phr); 69 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr);
|
H A D | hpimsginit.h | 25 void hpi_init_message_response(struct hpi_message *phm, 31 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
|
H A D | hpioctl.h | 25 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|
H A D | hpi6000.c | 12 void HPI_6000(struct hpi_message *phm, struct hpi_response *phr) 158 struct hpi_message *phm); 160 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr); 162 static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, 174 struct hpi_message *phm, struct hpi_response *phr); 177 struct hpi_message *phm, struct hpi_response *phr); 189 static void subsys_create_adapter(struct hpi_message *phm, 193 struct hpi_message *phm, struct hpi_response *phr); 196 struct hpi_message *phm, struct hpi_response *phr); 208 static void subsys_message(struct hpi_message *phm, struc argument 220 control_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 259 adapter_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 277 outstream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 296 instream_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 321 HPI_6000(struct hpi_message *phm, struct hpi_response *phr) argument 395 subsys_create_adapter(struct hpi_message *phm, struct hpi_response *phr) argument 451 adapter_delete(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 600 adapter_get_asserts(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument 1283 hpi6000_message_response_sequence(struct hpi_adapter_obj *pao, u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) argument 1402 hpi6000_send_data(struct hpi_adapter_obj *pao, u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) argument 1475 hpi6000_get_data(struct hpi_adapter_obj *pao, u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) argument 1627 hpi6000_update_control_cache(struct hpi_adapter_obj *pao, struct hpi_message *phm) argument 1705 get_dsp_index(struct hpi_adapter_obj *pao, struct hpi_message *phm) argument 1726 hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument [all...] |
H A D | hpidebug.h | 58 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline); 68 #define HPI_DEBUG_MESSAGE(level, phm) \ 71 hpi_debug_message(phm, HPI_DEBUG_FLAG_##level \
|
H A D | hpioctl.c | 58 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, argument 61 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) 62 && (phm->object != HPI_OBJ_SUBSYSTEM)) 65 hpi_send_recv_ex(phm, phr, file); 72 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) argument 74 hpi_send_recv_f(phm, phr, HOWNER_KERNEL); 118 if (get_user(puhm, &phpi_ioctl_data->phm)
|
H A D | hpios.h | 65 void __user *phm; member in struct:hpi_ioctl_linux
|
H A D | hpi_internal.h | 1394 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|