Home
last modified time | relevance | path

Searched refs:phr (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/sound/pci/asihpi/
Dhpimsginit.c60 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 …]
Dhpimsgx.c72 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 …]
Dhpicmn.c46 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 …]
Dhpi6205.c149 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 …]
Dhpi6000.c171 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 …]
Dhpidebug.h88 #define HPI_DEBUG_RESPONSE(phr) \ argument
91 (phr->error)) ||\
94 phr->version, phr->error, phr->specific_error); \
Dhpimsginit.h33 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,
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);
Dhpioctl.c66 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()
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.h81 void __user *phr; member
Dhpi_internal.h1401 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);