/Linux-v4.19/sound/pci/asihpi/ |
D | hpimsgx.c | 72 static inline void hw_entry_point(struct hpi_message *phm, in hw_entry_point() argument 75 if ((phm->adapter_index < HPI_MAX_ADAPTERS) in hw_entry_point() 76 && hpi_entry_points[phm->adapter_index]) in hw_entry_point() 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, [all …]
|
D | hpi6205.c | 149 struct hpi_message *phm, struct hpi_response *phr); 151 static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, 156 static void subsys_create_adapter(struct hpi_message *phm, 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 | hpimsginit.c | 38 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument 47 size = sizeof(*phm); in hpi_init_message() 50 memset(phm, 0, size); in hpi_init_message() 51 phm->size = size; in hpi_init_message() 54 phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE; in hpi_init_message() 56 phm->type = HPI_TYPE_REQUEST; in hpi_init_message() 57 phm->object = object; in hpi_init_message() 58 phm->function = function; in hpi_init_message() 59 phm->version = 0; in hpi_init_message() 60 phm->adapter_index = HPI_ADAPTER_INDEX_INVALID; in hpi_init_message() [all …]
|
D | hpicmn.c | 46 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) in hpi_validate_response() argument 53 if (phr->object != phm->object) { in hpi_validate_response() 59 if (phr->function != phm->function) { in hpi_validate_response() 160 static void subsys_get_adapter(struct hpi_message *phm, in subsys_get_adapter() argument 163 int count = phm->obj_index; in subsys_get_adapter() 321 struct hpi_message *phm, struct hpi_response *phr) in hpi_check_control_cache_single() argument 334 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single() 337 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single() 354 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single() 357 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single() [all …]
|
D | hpi6000.c | 169 struct hpi_message *phm); 171 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr); 173 static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, 185 struct hpi_message *phm, struct hpi_response *phr); 188 struct hpi_message *phm, struct hpi_response *phr); 200 static void subsys_create_adapter(struct hpi_message *phm, 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 221 switch (phm->function) { in subsys_message() [all …]
|
D | hpidebug.c | 48 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline) in hpi_debug_message() argument 50 if (phm) { in hpi_debug_message() 51 printk(KERN_DEBUG "HPI_MSG%d,%d,%d,%d,%d\n", phm->version, in hpi_debug_message() 52 phm->adapter_index, phm->obj_index, phm->function, in hpi_debug_message() 53 phm->u.c.attribute); in hpi_debug_message()
|
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 | hpidebug.h | 70 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline); 80 #define HPI_DEBUG_MESSAGE(level, phm) \ argument 83 hpi_debug_message(phm, HPI_DEBUG_FLAG_##level \
|
D | hpimsginit.h | 36 void hpi_init_message_response(struct hpi_message *phm, 42 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
|
D | hpioctl.c | 65 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument 68 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) in hpi_send_recv_f() 69 && (phm->object != HPI_OBJ_SUBSYSTEM)) 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() 125 if (get_user(puhm, &phpi_ioctl_data->phm) 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 | 76 void __user *phm; member
|
D | hpi_internal.h | 1405 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|