• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/asihpi/

Lines Matching defs:phr

26  void HPI_6205(struct hpi_message *phm, struct hpi_response *phr)
150 struct hpi_message *phm, struct hpi_response *phr);
153 struct hpi_response *phr);
158 struct hpi_response *phr);
160 struct hpi_response *phr);
168 struct hpi_message *phm, struct hpi_response *phr);
171 struct hpi_message *phm, struct hpi_response *phr);
174 struct hpi_message *phm, struct hpi_response *phr);
176 struct hpi_message *phm, struct hpi_response *phr);
179 struct hpi_message *phm, struct hpi_response *phr);
182 struct hpi_message *phm, struct hpi_response *phr);
185 struct hpi_message *phm, struct hpi_response *phr);
188 struct hpi_message *phm, struct hpi_response *phr);
191 struct hpi_message *phm, struct hpi_response *phr);
194 struct hpi_message *phm, struct hpi_response *phr);
197 struct hpi_message *phm, struct hpi_response *phr);
200 struct hpi_message *phm, struct hpi_response *phr);
203 struct hpi_message *phm, struct hpi_response *phr);
206 struct hpi_message *phm, struct hpi_response *phr);
230 static void subsys_message(struct hpi_message *phm, struct hpi_response *phr)
241 phr->error = HPI_ERROR_UNIMPLEMENTED;
244 subsys_create_adapter(phm, phr);
247 subsys_delete_adapter(phm, phr);
250 phr->error = HPI_ERROR_INVALID_FUNC;
256 struct hpi_message *phm, struct hpi_response *phr)
265 if (hpi_check_control_cache(phw->p_cache, phm, phr))
268 hw_message(pao, phm, phr);
271 hw_message(pao, phm, phr);
274 hw_message(pao, phm, phr);
276 hpi_sync_control_cache(phw->p_cache, phm, phr);
279 phr->error = HPI_ERROR_INVALID_FUNC;
285 struct hpi_message *phm, struct hpi_response *phr)
289 hw_message(pao, phm, phr);
295 struct hpi_message *phm, struct hpi_response *phr)
299 phr->error = HPI_ERROR_INVALID_STREAM;
309 outstream_write(pao, phm, phr);
312 outstream_get_info(pao, phm, phr);
315 outstream_host_buffer_allocate(pao, phm, phr);
318 outstream_host_buffer_get_info(pao, phm, phr);
321 outstream_host_buffer_free(pao, phm, phr);
324 outstream_start(pao, phm, phr);
327 outstream_open(pao, phm, phr);
330 outstream_reset(pao, phm, phr);
333 hw_message(pao, phm, phr);
339 struct hpi_message *phm, struct hpi_response *phr)
343 phr->error = HPI_ERROR_INVALID_STREAM;
353 instream_read(pao, phm, phr);
356 instream_get_info(pao, phm, phr);
359 instream_host_buffer_allocate(pao, phm, phr);
362 instream_host_buffer_get_info(pao, phm, phr);
365 instream_host_buffer_free(pao, phm, phr);
368 instream_start(pao, phm, phr);
371 hw_message(pao, phm, phr);
380 void HPI_6205(struct hpi_message *phm, struct hpi_response *phr)
404 hpi_init_response(phr, phm->object, phm->function,
414 hpi_init_response(phr, phm->object, phm->function,
422 subsys_message(phm, phr);
426 phr->size =
429 adapter_message(pao, phm, phr);
434 control_message(pao, phm, phr);
438 outstream_message(pao, phm, phr);
442 instream_message(pao, phm, phr);
446 hw_message(pao, phm, phr);
452 phr->error = HPI_ERROR_INVALID_TYPE;
466 struct hpi_response *phr)
488 phr->error = HPI_ERROR_MEMORY_ALLOC;
497 phr->u.s.data = os_error_code;
499 phr->error = err;
503 phr->u.s.aw_adapter_list[ao.index] = ao.adapter_type;
504 phr->u.s.adapter_index = ao.index;
505 phr->u.s.num_adapters++;
506 phr->error = 0;
511 struct hpi_response *phr)
518 phr->error = HPI_ERROR_INVALID_OBJ_INDEX;
529 phr->error = 0;
789 struct hpi_message *phm, struct hpi_response *phr)
796 hpi_init_response(phr, phm->object, phm->function, 0);
807 phr->u.d.u.stream_info.data_available =
809 phr->u.d.u.stream_info.buffer_size =
828 phr->error = HPI_ERROR_INVALID_DATASIZE;
840 phr->u.d.u.stream_info.auxiliary_data_available =
847 phr->error = HPI_ERROR_MEMORY_ALLOC;
864 phr->error = HPI_ERROR_INVALID_DATASIZE;
877 hw_message(pao, phm, phr);
879 if (phr->error
890 struct hpi_message *phm, struct hpi_response *phr)
902 phr->error = HPI_ERROR_INVALID_OPERATION;
907 hpi_init_response(phr, HPI_OBJ_OSTREAM,
909 phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data;
910 phr->u.d.u.hostbuffer_info.p_status = status;
912 hpi_init_response(phr, HPI_OBJ_OSTREAM,
919 struct hpi_message *phm, struct hpi_response *phr)
928 hw_message(pao, phm, phr);
939 hpi_init_response(phr, HPI_OBJ_OSTREAM,
951 struct hpi_message *phm, struct hpi_response *phr)
960 hw_message(pao, phm, phr);
964 hpi_init_response(phr, phm->object, phm->function, 0);
988 hw_message(pao, phm, phr);
990 if (phr->error)
1014 phr->error = HPI_ERROR_INVALID_DATASIZE;
1030 phr->error = HPI_ERROR_INVALID_OPERATION;
1052 struct hpi_message *phm, struct hpi_response *phr)
1059 hw_message(pao, phm, phr);
1063 hpi_init_response(phr, phm->object, phm->function, 0);
1067 phr->u.d.u.stream_info.state = (u16)status->stream_state;
1068 phr->u.d.u.stream_info.samples_transferred =
1070 phr->u.d.u.stream_info.buffer_size = status->size_in_bytes;
1071 phr->u.d.u.stream_info.data_available =
1073 phr->u.d.u.stream_info.auxiliary_data_available =
1078 struct hpi_message *phm, struct hpi_response *phr)
1080 hw_message(pao, phm, phr);
1084 struct hpi_message *phm, struct hpi_response *phr)
1088 hw_message(pao, phm, phr);
1092 struct hpi_message *phm, struct hpi_response *phr)
1094 outstream_reset(pao, phm, phr);
1101 struct hpi_message *phm, struct hpi_response *phr)
1108 hpi_init_response(phr, phm->object, phm->function, 0);
1115 phr->u.d.u.stream_info.data_available =
1117 phr->u.d.u.stream_info.buffer_size =
1136 phr->error = HPI_ERROR_INVALID_DATASIZE;
1146 phr->u.d.u.stream_info.auxiliary_data_available =
1152 phr->error = HPI_ERROR_MEMORY_ALLOC;
1166 phr->error = HPI_ERROR_INVALID_DATASIZE;
1180 hw_message(pao, phm, phr);
1181 if (phr->error
1192 struct hpi_message *phm, struct hpi_response *phr)
1204 phr->error = HPI_ERROR_INVALID_OPERATION;
1209 hpi_init_response(phr, HPI_OBJ_ISTREAM,
1211 phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data;
1212 phr->u.d.u.hostbuffer_info.p_status = status;
1214 hpi_init_response(phr, HPI_OBJ_ISTREAM,
1221 struct hpi_message *phm, struct hpi_response *phr)
1230 hw_message(pao, phm, phr);
1241 hpi_init_response(phr, HPI_OBJ_ISTREAM,
1249 struct hpi_message *phm, struct hpi_response *phr)
1251 hw_message(pao, phm, phr);
1260 struct hpi_message *phm, struct hpi_response *phr)
1271 hw_message(pao, phm, phr);
1274 hpi_init_response(phr, phm->object, phm->function, 0);
1279 phr->error = HPI_ERROR_INVALID_DATASIZE;
1288 phr->error = HPI_ERROR_INVALID_OPERATION;
1311 struct hpi_message *phm, struct hpi_response *phr)
1317 hw_message(pao, phm, phr);
1323 hpi_init_response(phr, phm->object, phm->function, 0);
1325 phr->u.d.u.stream_info.state = (u16)status->stream_state;
1326 phr->u.d.u.stream_info.samples_transferred =
1328 phr->u.d.u.stream_info.buffer_size = status->size_in_bytes;
1329 phr->u.d.u.stream_info.data_available =
1331 phr->u.d.u.stream_info.auxiliary_data_available =
2173 struct hpi_message *phm, struct hpi_response *phr)
2243 *phr = interface->u.response_buffer;
2263 err = hpi_validate_response(phm, phr);
2268 struct hpi_response *phr)
2275 err = message_response_sequence(pao, phm, phr);
2280 phr->error = err;
2284 phr->size = sizeof(struct hpi_response_header);
2289 if (phr->error != 0) /* something failed in the DSP */
2319 phr->u.cx.u.cobranet_data.byte_count,
2323 phr->error = err;