Searched refs:phr (Results 1 - 13 of 13) sorted by relevance

/linux-master/sound/pci/asihpi/
H A Dhpimsginit.c56 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, argument
65 size = sizeof(*phr);
68 memset(phr, 0, sizeof(*phr));
69 phr->size = size;
70 phr->type = HPI_TYPE_RESPONSE;
71 phr->object = object;
72 phr->function = function;
73 phr->error = error;
74 phr
78 hpi_init_message_response(struct hpi_message *phm, struct hpi_response *phr, u16 object, u16 function) argument
102 hpi_init_responseV1(struct hpi_response_header *phr, 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 Dhpimsginit.h22 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function,
26 struct hpi_response *phr, u16 object, u16 function);
28 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size,
32 struct hpi_response_header *phr, u16 res_size, u16 object,
H A Dhpimsgx.h20 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
H A Dhpicmn.c35 * @phr: response
37 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) argument
39 if (phr->type != HPI_TYPE_RESPONSE) {
40 HPI_DEBUG_LOG(ERROR, "header type %d invalid\n", phr->type);
44 if (phr->object != phm->object) {
46 phr->object);
50 if (phr->function != phm->function) {
52 phr->function);
152 struct hpi_response *phr)
167 phr
151 subsys_get_adapter(struct hpi_message *phm, struct hpi_response *phr) argument
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 Dhpimsgx.c62 struct hpi_response *phr)
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, struct hpi_response *phr);
76 static void mixer_close(struct hpi_message *phm, struct hpi_response *phr);
78 static void outstream_open(struct hpi_message *phm, struct hpi_response *phr,
80 static void outstream_close(struct hpi_message *phm, struct hpi_response *phr,
82 static void instream_open(struct hpi_message *phm, struct hpi_response *phr,
61 hw_entry_point(struct hpi_message *phm, struct hpi_response *phr) argument
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
[all...]
H A Dhpicmn.h53 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 Dhpidebug.h76 #define HPI_DEBUG_RESPONSE(phr) \
79 (phr->error)) ||\
82 phr->version, phr->error, phr->specific_error); \
H A Dhpi6205.c15 void HPI_6205(struct hpi_message *phm, struct hpi_response *phr)
138 struct hpi_message *phm, struct hpi_response *phr);
141 struct hpi_response *phr);
146 struct hpi_response *phr);
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, struct hpi_response *phr);
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 Dhpi6000.c12 void HPI_6000(struct hpi_message *phm, struct hpi_response *phr)
160 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr);
163 struct hpi_response *phr);
174 struct hpi_message *phm, struct hpi_response *phr);
177 struct hpi_message *phm, struct hpi_response *phr);
190 struct hpi_response *phr);
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, struct hpi_response *phr) argument
212 subsys_create_adapter(phm, phr);
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
1726 hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, struct hpi_response *phr) argument
[all...]
H A Dhpioctl.h25 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
H A Dhpioctl.c58 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, argument
63 phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
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);
119 || get_user(puhr, &phpi_ioctl_data->phr)) {
H A Dhpios.h66 void __user *phr; member in struct:hpi_ioctl_linux
H A Dhpi_internal.h1394 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);

Completed in 198 milliseconds