/linux/sound/pci/asihpi/ |
H A D | hpimsgx.c | 61 static inline void hw_entry_point(struct hpi_message *phm, in hw_entry_point() argument 64 if ((phm->adapter_index < HPI_MAX_ADAPTERS) in hw_entry_point() 65 && hpi_entry_points[phm->adapter_index]) in hw_entry_point() 66 hpi_entry_points[phm->adapter_index] (phm, phr); in hw_entry_point() 68 hpi_init_response(phr, phm->object, phm->function, in hw_entry_point() 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, [all …]
|
H A D | hpi6205.c | 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, struct hpi_response *phr); 173 struct hpi_message *phm, struct hpi_response *phr); [all …]
|
H A D | hpicmn.c | 37 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) in hpi_validate_response() argument 44 if (phr->object != phm->object) { in hpi_validate_response() 50 if (phr->function != phm->function) { in hpi_validate_response() 151 static void subsys_get_adapter(struct hpi_message *phm, in subsys_get_adapter() argument 154 int count = phm->obj_index; in subsys_get_adapter() 312 struct hpi_message *phm, struct hpi_response *phr) in hpi_check_control_cache_single() argument 325 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single() 328 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single() 345 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single() 348 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single() [all …]
|
H A D | hpimsginit.c | 27 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument 36 size = sizeof(*phm); in hpi_init_message() 39 memset(phm, 0, size); in hpi_init_message() 40 phm->size = size; in hpi_init_message() 43 phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE; in hpi_init_message() 45 phm->type = HPI_TYPE_REQUEST; in hpi_init_message() 46 phm->object = object; in hpi_init_message() 47 phm->function = function; in hpi_init_message() 48 phm->version = 0; in hpi_init_message() 49 phm->adapter_index = HPI_ADAPTER_INDEX_INVALID; in hpi_init_message() [all …]
|
H A D | hpi6000.c | 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, struct hpi_response *phr) in subsys_message() argument 210 switch (phm->function) { in subsys_message() [all …]
|
H A D | hpidebug.c | 37 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline) in hpi_debug_message() argument 39 if (phm) { in hpi_debug_message() 40 printk(KERN_DEBUG "HPI_MSG%d,%d,%d,%d,%d\n", phm->version, in hpi_debug_message() 41 phm->adapter_index, phm->obj_index, phm->function, in hpi_debug_message() 42 phm->u.c.attribute); in hpi_debug_message()
|
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 | hpidebug.h | 58 void hpi_debug_message(struct hpi_message *phm, char *sz_fileline); 68 #define HPI_DEBUG_MESSAGE(level, phm) \ argument 71 hpi_debug_message(phm, HPI_DEBUG_FLAG_##level \
|
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.c | 58 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument 61 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) in hpi_send_recv_f() 62 && (phm->object != HPI_OBJ_SUBSYSTEM)) in hpi_send_recv_f() 65 hpi_send_recv_ex(phm, phr, file); in hpi_send_recv_f() 72 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) in hpi_send_recv() argument 74 hpi_send_recv_f(phm, phr, HOWNER_KERNEL); in hpi_send_recv() 118 if (get_user(puhm, &phpi_ioctl_data->phm) in asihpi_hpi_ioctl()
|
H A D | hpimsgx.h | 20 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
|
H A D | hpioctl.h | 25 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|
H A D | hpios.h | 65 void __user *phm; member
|
H A D | hpi_internal.h | 1394 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|