Lines Matching refs:hr
225 struct hpi_response hr; in adapter_message() local
226 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message()
229 hw_entry_point(&hm, &hr); in adapter_message()
386 struct hpi_response hr; in instream_open() local
406 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open()
410 hw_entry_point(&hm, &hr); in instream_open()
413 if (hr.error) { in instream_open()
416 phr->error = hr.error; in instream_open()
436 struct hpi_response hr; in instream_close() local
451 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_close()
455 hw_entry_point(&hm, &hr); in instream_close()
457 if (hr.error) { in instream_close()
460 phr->error = hr.error; in instream_close()
483 struct hpi_response hr; in outstream_open() local
503 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM, in outstream_open()
507 hw_entry_point(&hm, &hr); in outstream_open()
510 if (hr.error) { in outstream_open()
513 phr->error = hr.error; in outstream_open()
533 struct hpi_response hr; in outstream_close() local
549 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM, in outstream_close()
553 hw_entry_point(&hm, &hr); in outstream_close()
555 if (hr.error) { in outstream_close()
558 phr->error = hr.error; in outstream_close()
579 struct hpi_response hr; in adapter_prepare() local
585 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_prepare()
588 hw_entry_point(&hm, &hr); in adapter_prepare()
589 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr, in adapter_prepare()
591 if (hr.error) in adapter_prepare()
592 return hr.error; in adapter_prepare()
595 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_prepare()
598 hw_entry_point(&hm, &hr); in adapter_prepare()
599 if (hr.error) in adapter_prepare()
600 return hr.error; in adapter_prepare()
602 aDAPTER_INFO[adapter].num_outstreams = hr.u.ax.info.num_outstreams; in adapter_prepare()
603 aDAPTER_INFO[adapter].num_instreams = hr.u.ax.info.num_instreams; in adapter_prepare()
604 aDAPTER_INFO[adapter].type = hr.u.ax.info.adapter_type; in adapter_prepare()
608 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM, in adapter_prepare()
612 hw_entry_point(&hm, &hr); in adapter_prepare()
613 memcpy(&rESP_HPI_OSTREAM_OPEN[adapter][i], &hr, in adapter_prepare()
621 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in adapter_prepare()
625 hw_entry_point(&hm, &hr); in adapter_prepare()
626 memcpy(&rESP_HPI_ISTREAM_OPEN[adapter][i], &hr, in adapter_prepare()
633 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_OPEN); in adapter_prepare()
635 hw_entry_point(&hm, &hr); in adapter_prepare()
636 memcpy(&rESP_HPI_MIXER_OPEN[adapter], &hr, in adapter_prepare()
646 struct hpi_response hr; in HPIMSGX__reset() local
651 hpi_init_response(&hr, HPI_OBJ_ADAPTER, in HPIMSGX__reset()
653 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr, in HPIMSGX__reset()
656 hpi_init_response(&hr, HPI_OBJ_MIXER, HPI_MIXER_OPEN, in HPIMSGX__reset()
658 memcpy(&rESP_HPI_MIXER_OPEN[adapter], &hr, in HPIMSGX__reset()
662 hpi_init_response(&hr, HPI_OBJ_OSTREAM, in HPIMSGX__reset()
666 &hr, in HPIMSGX__reset()
669 hpi_init_response(&hr, HPI_OBJ_ISTREAM, in HPIMSGX__reset()
673 &hr, in HPIMSGX__reset()
700 struct hpi_response hr; in HPIMSGX__init() local
703 hpi_init_response(&hr, phm->object, phm->function, in HPIMSGX__init()
711 entry_point_func(phm, &hr); in HPIMSGX__init()
716 if (hr.error == 0) { in HPIMSGX__init()
719 hpi_entry_points[hr.u.s.adapter_index] = entry_point_func; in HPIMSGX__init()
724 adapter_prepare(hr.u.s.adapter_index); in HPIMSGX__init()
726 memcpy(phr, &hr, hr.size); in HPIMSGX__init()
751 struct hpi_response hr; in HPIMSGX__cleanup() local
757 hpi_init_message_response(&hm, &hr, in HPIMSGX__cleanup()
761 hw_entry_point(&hm, &hr); in HPIMSGX__cleanup()
764 hw_entry_point(&hm, &hr); in HPIMSGX__cleanup()
767 hw_entry_point(&hm, &hr); in HPIMSGX__cleanup()
775 struct hpi_response hr; in HPIMSGX__cleanup() local
781 hpi_init_message_response(&hm, &hr, in HPIMSGX__cleanup()
785 hw_entry_point(&hm, &hr); in HPIMSGX__cleanup()
788 hw_entry_point(&hm, &hr); in HPIMSGX__cleanup()
791 hw_entry_point(&hm, &hr); in HPIMSGX__cleanup()