Home
last modified time | relevance | path

Searched refs:phm (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/sound/pci/asihpi/
Dhpimsgx.c71 static inline void hw_entry_point(struct hpi_message *phm, in hw_entry_point() argument
74 if ((phm->adapter_index < HPI_MAX_ADAPTERS) in hw_entry_point()
75 && hpi_entry_points[phm->adapter_index]) in hw_entry_point()
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,
[all …]
Dhpi6205.c149 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);
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 …]
Dhpimsginit.c37 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument
40 memset(phm, 0, sizeof(*phm)); in hpi_init_message()
42 phm->size = msg_size[object]; in hpi_init_message()
44 phm->size = sizeof(*phm); in hpi_init_message()
47 phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE; in hpi_init_message()
49 phm->type = HPI_TYPE_REQUEST; in hpi_init_message()
50 phm->object = object; in hpi_init_message()
51 phm->function = function; in hpi_init_message()
52 phm->version = 0; in hpi_init_message()
53 phm->adapter_index = HPI_ADAPTER_INDEX_INVALID; in hpi_init_message()
[all …]
Dhpicmn.c46 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()
313 struct hpi_message *phm, struct hpi_response *phr) in hpi_check_control_cache() argument
319 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_check_control_cache()
322 phm->adapter_index); in hpi_check_control_cache()
343 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache()
346 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache()
[all …]
Dhpi6000.c169 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 …]
Dhpidebug.c48 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()
Dhpicmn.h57 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);
Dhpidebug.h70 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 \
Dhpimsginit.h36 void hpi_init_message_response(struct hpi_message *phm,
42 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
Dhpioctl.c66 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument
69 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) in hpi_send_recv_f()
70 && (phm->object != HPI_OBJ_SUBSYSTEM)) 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()
125 if (get_user(puhm, &phpi_ioctl_data->phm) in asihpi_hpi_ioctl()
Dhpimsgx.h31 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
Dhpioctl.h36 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
Dhpios.h80 void __user *phm; member
Dhpi_internal.h1401 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);