/Linux-v4.19/sound/pci/asihpi/ |
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 | hpimsgx.c | 73 struct hpi_response *phr) in hw_entry_point() argument 77 hpi_entry_points[phm->adapter_index] (phm, phr); in hw_entry_point() 79 hpi_init_response(phr, phm->object, phm->function, in hw_entry_point() 83 static void adapter_open(struct hpi_message *phm, struct hpi_response *phr); 84 static void adapter_close(struct hpi_message *phm, struct hpi_response *phr); 86 static void mixer_open(struct hpi_message *phm, struct hpi_response *phr); 87 static void mixer_close(struct hpi_message *phm, struct hpi_response *phr); 89 static void outstream_open(struct hpi_message *phm, struct hpi_response *phr, 91 static void outstream_close(struct hpi_message *phm, struct hpi_response *phr, 93 static void instream_open(struct hpi_message *phm, struct hpi_response *phr, [all …]
|
D | hpimsginit.c | 67 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument 76 size = sizeof(*phr); in hpi_init_response() 79 memset(phr, 0, sizeof(*phr)); in hpi_init_response() 80 phr->size = size; in hpi_init_response() 81 phr->type = HPI_TYPE_RESPONSE; in hpi_init_response() 82 phr->object = object; in hpi_init_response() 83 phr->function = function; in hpi_init_response() 84 phr->error = error; in hpi_init_response() 85 phr->specific_error = 0; in hpi_init_response() 86 phr->version = 0; in hpi_init_response() [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); 170 struct hpi_message *phm, struct hpi_response *phr); 173 struct hpi_message *phm, struct hpi_response *phr); 176 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); 184 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 | hpicmn.h | 64 struct hpi_message *phm, struct hpi_response *phr); 67 struct hpi_message *phm, struct hpi_response *phr); 75 struct hpi_message *phm, struct hpi_response *phr); 78 *pC, struct hpi_message *phm, struct hpi_response *phr); 80 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr);
|
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 | hpioctl.c | 65 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument 70 phr->error = HPI_ERROR_INVALID_OBJ_INDEX; in hpi_send_recv_f() 72 hpi_send_recv_ex(phm, phr, file); in hpi_send_recv_f() 79 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) in hpi_send_recv() argument 81 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 | 77 void __user *phr; member
|
D | hpi_internal.h | 1405 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|