Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/asihpi/
Dhpicmn.c37 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) in hpi_validate_response() argument
39 if (phr->type != HPI_TYPE_RESPONSE) { in hpi_validate_response()
40 HPI_DEBUG_LOG(ERROR, "header type %d invalid\n", phr->type); in hpi_validate_response()
44 if (phr->object != phm->object) { in hpi_validate_response()
46 phr->object); in hpi_validate_response()
50 if (phr->function != phm->function) { in hpi_validate_response()
52 phr->function); in hpi_validate_response()
152 struct hpi_response *phr) in subsys_get_adapter() argument
167 phr->u.s.adapter_index = adapters.adapter[index].index; in subsys_get_adapter()
168 phr->u.s.adapter_type = adapters.adapter[index].type; in subsys_get_adapter()
[all …]
Dhpimsgx.c62 struct hpi_response *phr) in hw_entry_point() argument
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,
80 static void outstream_close(struct hpi_message *phm, struct hpi_response *phr,
82 static void instream_open(struct hpi_message *phm, struct hpi_response *phr,
[all …]
Dhpimsginit.c56 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
65 size = sizeof(*phr); in hpi_init_response()
68 memset(phr, 0, sizeof(*phr)); in hpi_init_response()
69 phr->size = size; in hpi_init_response()
70 phr->type = HPI_TYPE_RESPONSE; in hpi_init_response()
71 phr->object = object; in hpi_init_response()
72 phr->function = function; in hpi_init_response()
73 phr->error = error; in hpi_init_response()
74 phr->specific_error = 0; in hpi_init_response()
75 phr->version = 0; in hpi_init_response()
[all …]
Dhpi6205.c138 struct hpi_message *phm, struct hpi_response *phr);
141 struct hpi_response *phr);
146 struct hpi_response *phr);
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 …]
Dhpi6000.c160 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr);
163 struct hpi_response *phr);
174 struct hpi_message *phm, struct hpi_response *phr);
177 struct hpi_message *phm, struct hpi_response *phr);
190 struct hpi_response *phr);
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
212 subsys_create_adapter(phm, phr); in subsys_message()
215 phr->error = HPI_ERROR_INVALID_FUNC; in subsys_message()
[all …]
Dhpidebug.h77 #define HPI_DEBUG_RESPONSE(phr) \ argument
80 (phr->error)) ||\
83 phr->version, phr->error, phr->specific_error); \
Dhpicmn.h53 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);
Dhpimsginit.h22 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function,
26 struct hpi_response *phr, u16 object, u16 function);
28 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size,
32 struct hpi_response_header *phr, u16 res_size, u16 object,
Dhpioctl.c58 static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, in hpi_send_recv_f() argument
63 phr->error = HPI_ERROR_INVALID_OBJ_INDEX; 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()
119 || get_user(puhr, &phpi_ioctl_data->phr)) { in asihpi_hpi_ioctl()
Dhpimsgx.h20 void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr,
Dhpioctl.h25 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
Dhpios.h66 void __user *phr; member
Dhpi_internal.h1394 void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);