/sound/pci/asihpi/ |
D | hpimsgx.c | 72 struct hpi_response *phr) in hw_entry_point() argument 76 hpi_entry_points[phm->adapter_index] (phm, phr); in hw_entry_point() 78 hpi_init_response(phr, phm->object, phm->function, in hw_entry_point() 82 static void adapter_open(struct hpi_message *phm, struct hpi_response *phr); 83 static void adapter_close(struct hpi_message *phm, struct hpi_response *phr); 85 static void mixer_open(struct hpi_message *phm, struct hpi_response *phr); 86 static void mixer_close(struct hpi_message *phm, struct hpi_response *phr); 88 static void outstream_open(struct hpi_message *phm, struct hpi_response *phr, 90 static void outstream_close(struct hpi_message *phm, struct hpi_response *phr, 92 static void instream_open(struct hpi_message *phm, struct hpi_response *phr, [all …]
|
D | hpimsginit.c | 60 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument 63 memset(phr, 0, sizeof(*phr)); in hpi_init_response() 64 phr->type = HPI_TYPE_RESPONSE; in hpi_init_response() 66 phr->size = res_size[object]; in hpi_init_response() 68 phr->size = sizeof(*phr); in hpi_init_response() 69 phr->object = object; in hpi_init_response() 70 phr->function = function; in hpi_init_response() 71 phr->error = error; in hpi_init_response() 72 phr->specific_error = 0; in hpi_init_response() 73 phr->version = 0; in hpi_init_response() [all …]
|
D | hpicmn.c | 46 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) in hpi_validate_response() argument 48 if (phr->type != HPI_TYPE_RESPONSE) { in hpi_validate_response() 49 HPI_DEBUG_LOG(ERROR, "header type %d invalid\n", phr->type); in hpi_validate_response() 53 if (phr->object != phm->object) { in hpi_validate_response() 55 phr->object); in hpi_validate_response() 59 if (phr->function != phm->function) { in hpi_validate_response() 61 phr->function); in hpi_validate_response() 161 struct hpi_response *phr) in subsys_get_adapter() argument 176 phr->u.s.adapter_index = adapters.adapter[index].index; in subsys_get_adapter() 177 phr->u.s.adapter_type = adapters.adapter[index].type; in subsys_get_adapter() [all …]
|
D | hpi6205.c | 149 struct hpi_message *phm, struct hpi_response *phr); 152 struct hpi_response *phr); 157 struct hpi_response *phr); 159 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); 173 struct hpi_message *phm, struct hpi_response *phr); 175 struct hpi_message *phm, struct hpi_response *phr); 178 struct hpi_message *phm, struct hpi_response *phr); 181 struct hpi_message *phm, struct hpi_response *phr); [all …]
|
D | hpi6000.c | 171 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr); 174 struct hpi_response *phr); 185 struct hpi_message *phm, struct hpi_response *phr); 188 struct hpi_message *phm, struct hpi_response *phr); 201 struct hpi_response *phr); 204 struct hpi_message *phm, struct hpi_response *phr); 207 struct hpi_message *phm, struct hpi_response *phr); 219 static void subsys_message(struct hpi_message *phm, struct hpi_response *phr) in subsys_message() argument 223 subsys_create_adapter(phm, phr); in subsys_message() 226 phr->error = HPI_ERROR_INVALID_FUNC; in subsys_message() [all …]
|
D | hpidebug.h | 88 #define HPI_DEBUG_RESPONSE(phr) \ argument 91 (phr->error)) ||\ 94 phr->version, phr->error, phr->specific_error); \
|
D | hpimsginit.h | 33 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, 37 struct hpi_response *phr, u16 object, u16 function); 39 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size, 43 struct hpi_response_header *phr, u16 res_size, u16 object,
|
D | hpicmn.h | 57 struct hpi_message *phm, struct hpi_response *phr); 63 struct hpi_message *phm, struct hpi_response *phr); 65 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr);
|
D | hpioctl.c | 66 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument 71 phr->error = HPI_ERROR_INVALID_OBJ_INDEX; in hpi_send_recv_f() 73 hpi_send_recv_ex(phm, phr, file); in hpi_send_recv_f() 80 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) in hpi_send_recv() argument 82 hpi_send_recv_f(phm, phr, HOWNER_KERNEL); in hpi_send_recv() 126 || get_user(puhr, &phpi_ioctl_data->phr)) { in asihpi_hpi_ioctl()
|
D | hpimsgx.h | 31 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
|
D | hpioctl.h | 36 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|
D | hpios.h | 81 void __user *phr; member
|
D | hpi_internal.h | 1401 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|