Lines Matching refs:hr
220 struct hpi_response hr;
221 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
224 hw_entry_point(&hm, &hr);
381 struct hpi_response hr;
401 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
405 hw_entry_point(&hm, &hr);
408 if (hr.error) {
411 phr->error = hr.error;
431 struct hpi_response hr;
446 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
450 hw_entry_point(&hm, &hr);
452 if (hr.error) {
455 phr->error = hr.error;
478 struct hpi_response hr;
498 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
502 hw_entry_point(&hm, &hr);
505 if (hr.error) {
508 phr->error = hr.error;
528 struct hpi_response hr;
544 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
548 hw_entry_point(&hm, &hr);
550 if (hr.error) {
553 phr->error = hr.error;
574 struct hpi_response hr;
580 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
583 hw_entry_point(&hm, &hr);
584 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr,
586 if (hr.error)
587 return hr.error;
590 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
593 hw_entry_point(&hm, &hr);
594 if (hr.error)
595 return hr.error;
597 aDAPTER_INFO[adapter].num_outstreams = hr.u.ax.info.num_outstreams;
598 aDAPTER_INFO[adapter].num_instreams = hr.u.ax.info.num_instreams;
599 aDAPTER_INFO[adapter].type = hr.u.ax.info.adapter_type;
603 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
607 hw_entry_point(&hm, &hr);
608 memcpy(&rESP_HPI_OSTREAM_OPEN[adapter][i], &hr,
616 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
620 hw_entry_point(&hm, &hr);
621 memcpy(&rESP_HPI_ISTREAM_OPEN[adapter][i], &hr,
628 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_OPEN);
630 hw_entry_point(&hm, &hr);
631 memcpy(&rESP_HPI_MIXER_OPEN[adapter], &hr,
641 struct hpi_response hr;
646 hpi_init_response(&hr, HPI_OBJ_ADAPTER,
648 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr,
651 hpi_init_response(&hr, HPI_OBJ_MIXER, HPI_MIXER_OPEN,
653 memcpy(&rESP_HPI_MIXER_OPEN[adapter], &hr,
657 hpi_init_response(&hr, HPI_OBJ_OSTREAM,
661 &hr,
664 hpi_init_response(&hr, HPI_OBJ_ISTREAM,
668 &hr,
695 struct hpi_response hr;
698 hpi_init_response(&hr, phm->object, phm->function,
706 entry_point_func(phm, &hr);
711 if (hr.error == 0) {
714 hpi_entry_points[hr.u.s.adapter_index] = entry_point_func;
719 adapter_prepare(hr.u.s.adapter_index);
721 memcpy(phr, &hr, hr.size);
746 struct hpi_response hr;
752 hpi_init_message_response(&hm, &hr,
756 hw_entry_point(&hm, &hr);
759 hw_entry_point(&hm, &hr);
762 hw_entry_point(&hm, &hr);
770 struct hpi_response hr;
776 hpi_init_message_response(&hm, &hr,
780 hw_entry_point(&hm, &hr);
783 hw_entry_point(&hm, &hr);
786 hw_entry_point(&hm, &hr);