• 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

23  void HPI_6000(struct hpi_message *phm, struct hpi_response *phr)
172 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr);
175 struct hpi_response *phr);
186 struct hpi_message *phm, struct hpi_response *phr);
189 struct hpi_message *phm, struct hpi_response *phr);
202 struct hpi_response *phr);
205 struct hpi_response *phr);
208 struct hpi_message *phm, struct hpi_response *phr);
218 static void subsys_message(struct hpi_message *phm, struct hpi_response *phr)
229 phr->error = HPI_ERROR_UNIMPLEMENTED;
232 subsys_create_adapter(phm, phr);
235 subsys_delete_adapter(phm, phr);
238 phr->error = HPI_ERROR_INVALID_FUNC;
244 struct hpi_message *phm, struct hpi_response *phr)
254 phr->error = err;
260 phr))
263 hw_message(pao, phm, phr);
266 hw_message(pao, phm, phr);
269 hw_message(pao, phm, phr);
271 p_cache, phm, phr);
274 phr->error = HPI_ERROR_INVALID_FUNC;
280 struct hpi_message *phm, struct hpi_response *phr)
284 hw_message(pao, phm, phr);
287 adapter_get_asserts(pao, phm, phr);
299 hw_message(pao, phm, phr);
302 phr->error = HPI_ERROR_INVALID_FUNC;
308 struct hpi_message *phm, struct hpi_response *phr)
318 phr->error = HPI_ERROR_INVALID_FUNC;
321 hw_message(pao, phm, phr);
327 struct hpi_message *phm, struct hpi_response *phr)
338 phr->error = HPI_ERROR_INVALID_FUNC;
341 hw_message(pao, phm, phr);
351 void HPI_6000(struct hpi_message *phm, struct hpi_response *phr)
371 hpi_init_response(phr, phm->object, phm->function,
380 hpi_init_response(phr, phm->object, phm->function,
387 subsys_message(phm, phr);
391 phr->size =
394 adapter_message(pao, phm, phr);
398 control_message(pao, phm, phr);
402 outstream_message(pao, phm, phr);
406 instream_message(pao, phm, phr);
410 hw_message(pao, phm, phr);
416 phr->error = HPI_ERROR_INVALID_TYPE;
430 struct hpi_response *phr)
454 phr->error = HPI_ERROR_MEMORY_ALLOC;
466 phr->u.s.data = os_error_code;
468 phr->error = error;
476 phr->error = 950;
485 phr->u.s.aw_adapter_list[ao.index] = ao.adapter_type;
486 phr->u.s.adapter_index = ao.index;
487 phr->u.s.num_adapters++;
488 phr->error = 0;
492 struct hpi_response *phr)
509 phr->error = 0;
641 struct hpi_message *phm, struct hpi_response *phr)
646 phr->u.a.serial_number =
648 phr->u.a.adapter_index = 1; /* assert count */
649 phr->u.a.adapter_type = -1; /* "dsp index" */
650 strcpy(phr->u.a.sz_adapter_assert, "PCI2040 error");
653 phr->error = 0;
656 hw_message(pao, phm, phr); /*get DSP asserts */
1324 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr)
1405 p_data = (u32 *)phr;
1415 error = hpi_validate_response(phm, phr);
1447 struct hpi_message *phm, struct hpi_response *phr)
1457 (void)phr;
1520 struct hpi_message *phm, struct hpi_response *phr)
1529 (void)phr; /* this parameter not used! */
1771 struct hpi_response *phr)
1791 phr->error = HPI_ERROR_NO_INTERDSP_GROUPS;
1798 error = hpi6000_message_response_sequence(pao, dsp_index, phm, phr);
1803 phr->error = error;
1805 phr->size = sizeof(struct hpi_response_header);
1809 if (phr->error != 0) /* something failed in the DSP */
1815 error = hpi6000_send_data(pao, dsp_index, phm, phr);
1819 error = hpi6000_get_data(pao, dsp_index, phm, phr);
1822 phr->u.a.adapter_index = 0; /* dsp 0 default */
1824 if (!phr->u.a.adapter_type) {
1827 1, phm, phr);
1828 phr->u.a.adapter_index = 1;
1834 phr->error = error;