Lines Matching refs:hm

99 	struct hpi_message hm;
102 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
104 hpi_send_recv(&hm, &hr);
111 struct hpi_message hm;
113 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
115 hpi_send_recv(&hm, &hr);
123 struct hpi_message hm;
125 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
127 hm.obj_index = (u16)iterator;
128 hpi_send_recv(&hm, &hr);
137 struct hpi_message hm;
139 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
141 hm.adapter_index = adapter_index;
143 hpi_send_recv(&hm, &hr);
151 struct hpi_message hm;
153 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
155 hm.adapter_index = adapter_index;
157 hpi_send_recv(&hm, &hr);
171 struct hpi_message hm;
174 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
176 hm.adapter_index = adapter_index;
177 hm.u.ax.mode.adapter_mode = adapter_mode;
178 hm.u.ax.mode.query_or_set = query_or_set;
179 hpi_send_recv(&hm, &hr);
185 struct hpi_message hm;
187 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
189 hm.adapter_index = adapter_index;
190 hpi_send_recv(&hm, &hr);
200 struct hpi_message hm;
202 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
204 hm.adapter_index = adapter_index;
206 hpi_send_recv(&hm, &hr);
220 struct hpi_message hm;
223 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
225 hm.adapter_index = adapter_index;
226 hm.u.ax.module_info.index = module_index;
228 hpi_send_recv(&hm, &hr);
243 struct hpi_message hm;
245 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
247 hm.adapter_index = adapter_index;
248 hm.u.ax.property_set.property = property;
249 hm.u.ax.property_set.parameter1 = parameter1;
250 hm.u.ax.property_set.parameter2 = parameter2;
252 hpi_send_recv(&hm, &hr);
260 struct hpi_message hm;
262 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
264 hm.adapter_index = adapter_index;
265 hm.u.ax.property_set.property = property;
267 hpi_send_recv(&hm, &hr);
428 struct hpi_message hm;
430 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
432 hm.adapter_index = adapter_index;
433 hm.obj_index = outstream_index;
435 hpi_send_recv(&hm, &hr);
448 struct hpi_message hm;
451 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
453 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
456 hpi_send_recv(&hm, &hr);
458 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
460 hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index);
461 hpi_send_recv(&hm, &hr);
463 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
465 hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index);
466 hpi_send_recv(&hm, &hr);
475 struct hpi_message hm;
477 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
479 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
482 hpi_send_recv(&hm, &hr);
501 struct hpi_message hm;
503 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
505 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
507 hm.u.d.u.data.pb_data = (u8 *)pb_data;
508 hm.u.d.u.data.data_size = bytes_to_write;
510 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
512 hpi_send_recv(&hm, &hr);
519 struct hpi_message hm;
521 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
523 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
526 hpi_send_recv(&hm, &hr);
533 struct hpi_message hm;
535 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
537 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
540 hpi_send_recv(&hm, &hr);
547 struct hpi_message hm;
549 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
551 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
554 hpi_send_recv(&hm, &hr);
561 struct hpi_message hm;
563 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
565 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
568 hpi_send_recv(&hm, &hr);
575 struct hpi_message hm;
577 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
579 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
582 hpi_send_recv(&hm, &hr);
589 struct hpi_message hm;
592 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
594 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
597 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
599 hpi_send_recv(&hm, &hr);
606 struct hpi_message hm;
609 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
611 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
614 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
616 hpi_send_recv(&hm, &hr);
623 struct hpi_message hm;
626 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
628 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
630 hm.u.d.u.velocity = velocity;
632 hpi_send_recv(&hm, &hr);
640 struct hpi_message hm;
643 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
645 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
648 hm.u.d.u.pio.punch_in_sample = punch_in_sample;
649 hm.u.d.u.pio.punch_out_sample = punch_out_sample;
651 hpi_send_recv(&hm, &hr);
658 struct hpi_message hm;
661 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
663 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
665 hm.u.d.u.data.format.channels = mode;
666 hpi_send_recv(&hm, &hr);
672 struct hpi_message hm;
675 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
677 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
679 hpi_send_recv(&hm, &hr);
694 struct hpi_message hm;
697 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
699 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
701 hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer;
702 hm.u.d.u.data.data_size =
705 if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes)
706 hpi_send_recv(&hm, &hr);
714 struct hpi_message hm;
717 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
719 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
722 hm.u.d.u.time_scale = time_scale;
724 hpi_send_recv(&hm, &hr);
731 struct hpi_message hm;
734 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
736 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
738 hm.u.d.u.data.data_size = size_in_bytes;
739 hpi_send_recv(&hm, &hr);
746 struct hpi_message hm;
749 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
751 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
753 hpi_send_recv(&hm, &hr);
766 struct hpi_message hm;
769 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
771 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
773 hpi_send_recv(&hm, &hr);
779 struct hpi_message hm;
784 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
787 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
791 &hm.u.d.u.stream.stream_index))
798 hm.u.d.u.stream.object_type = c_obj_type;
803 if (adapter != hm.adapter_index)
806 hpi_send_recv(&hm, &hr);
813 struct hpi_message hm;
816 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
818 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
820 hpi_send_recv(&hm, &hr);
832 struct hpi_message hm;
835 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
837 if (hpi_handle_indexes(h_outstream, &hm.adapter_index, &hm.obj_index))
839 hpi_send_recv(&hm, &hr);
845 struct hpi_message hm;
848 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
850 hm.adapter_index = adapter_index;
851 hm.obj_index = instream_index;
853 hpi_send_recv(&hm, &hr);
867 struct hpi_message hm;
870 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
872 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
874 hpi_send_recv(&hm, &hr);
876 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
878 hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index);
879 hpi_send_recv(&hm, &hr);
881 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
883 hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index);
884 hpi_send_recv(&hm, &hr);
892 struct hpi_message hm;
895 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
897 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
899 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
901 hpi_send_recv(&hm, &hr);
908 struct hpi_message hm;
911 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
913 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
915 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
917 hpi_send_recv(&hm, &hr);
924 struct hpi_message hm;
927 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
929 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
931 hm.u.d.u.data.data_size = bytes_to_read;
932 hm.u.d.u.data.pb_data = pb_data;
934 hpi_send_recv(&hm, &hr);
941 struct hpi_message hm;
944 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
946 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
949 hpi_send_recv(&hm, &hr);
956 struct hpi_message hm;
959 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
961 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
964 hpi_send_recv(&hm, &hr);
971 struct hpi_message hm;
974 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
976 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
979 hpi_send_recv(&hm, &hr);
986 struct hpi_message hm;
989 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
991 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
994 hpi_send_recv(&hm, &hr);
1003 struct hpi_message hm;
1005 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1007 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1010 hpi_send_recv(&hm, &hr);
1029 struct hpi_message hm;
1031 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1033 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1035 hm.u.d.u.data.format.attributes = bytes_per_frame;
1036 hm.u.d.u.data.format.format = (mode << 8) | (alignment & 0xff);
1037 hm.u.d.u.data.format.channels = idle_bit;
1038 hpi_send_recv(&hm, &hr);
1044 struct hpi_message hm;
1046 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1048 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1050 hpi_send_recv(&hm, &hr);
1064 struct hpi_message hm;
1067 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1069 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1071 hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer;
1072 hm.u.d.u.data.data_size =
1075 if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes)
1076 hpi_send_recv(&hm, &hr);
1085 struct hpi_message hm;
1088 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1090 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1092 hm.u.d.u.data.data_size = size_in_bytes;
1093 hpi_send_recv(&hm, &hr);
1100 struct hpi_message hm;
1103 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1105 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1107 hpi_send_recv(&hm, &hr);
1121 struct hpi_message hm;
1124 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1126 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1128 hpi_send_recv(&hm, &hr);
1134 struct hpi_message hm;
1139 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1143 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1147 &hm.u.d.u.stream.stream_index))
1155 hm.u.d.u.stream.object_type = c_obj_type;
1161 if (adapter != hm.adapter_index)
1164 hpi_send_recv(&hm, &hr);
1171 struct hpi_message hm;
1174 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1176 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1178 hpi_send_recv(&hm, &hr);
1190 struct hpi_message hm;
1193 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1195 if (hpi_handle_indexes(h_instream, &hm.adapter_index, &hm.obj_index))
1197 hpi_send_recv(&hm, &hr);
1203 struct hpi_message hm;
1205 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_OPEN);
1206 hm.adapter_index = adapter_index;
1208 hpi_send_recv(&hm, &hr);
1221 struct hpi_message hm;
1224 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_CLOSE);
1225 if (hpi_handle_indexes(h_mixer, &hm.adapter_index, NULL))
1228 hpi_send_recv(&hm, &hr);
1236 struct hpi_message hm;
1238 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER,
1240 if (hpi_handle_indexes(h_mixer, &hm.adapter_index, NULL))
1242 hm.u.m.node_type1 = src_node_type;
1243 hm.u.m.node_index1 = src_node_type_index;
1244 hm.u.m.node_type2 = dst_node_type;
1245 hm.u.m.node_index2 = dst_node_type_index;
1246 hm.u.m.control_type = control_type;
1248 hpi_send_recv(&hm, &hr);
1253 hm.adapter_index, hr.u.m.control_index);
1263 struct hpi_message hm;
1265 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER,
1267 if (hpi_handle_indexes(h_mixer, &hm.adapter_index, NULL))
1269 hm.u.m.control_index = control_index;
1270 hpi_send_recv(&hm, &hr);
1286 hm.adapter_index, control_index);
1296 struct hpi_message hm;
1298 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_STORE);
1299 if (hpi_handle_indexes(h_mixer, &hm.adapter_index, NULL))
1301 hm.u.mx.store.command = command;
1302 hm.u.mx.store.index = index;
1303 hpi_send_recv(&hm, &hr);
1311 struct hpi_message hm;
1314 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1316 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1318 hm.u.c.attribute = attrib;
1319 hm.u.c.param1 = param1;
1320 hm.u.c.param2 = param2;
1321 hpi_send_recv(&hm, &hr);
1328 struct hpi_message hm;
1331 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1333 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1335 hm.u.c.attribute = attrib;
1336 hm.u.c.an_log_value[0] = sv0;
1337 hm.u.c.an_log_value[1] = sv1;
1338 hpi_send_recv(&hm, &hr);
1346 struct hpi_message hm;
1349 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1351 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1353 hm.u.c.attribute = attrib;
1354 hm.u.c.param1 = param1;
1355 hm.u.c.param2 = param2;
1356 hpi_send_recv(&hm, &hr);
1373 struct hpi_message hm;
1375 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1377 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1379 hm.u.c.attribute = attrib;
1381 hpi_send_recv(&hm, &hr);
1392 struct hpi_message hm;
1395 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1397 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1400 hm.u.c.attribute = attrib;
1401 hm.u.c.param1 = index;
1402 hm.u.c.param2 = param;
1404 hpi_send_recv(&hm, &hr);
1422 struct hpi_message hm;
1425 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1427 if (hpi_handle_indexes(h_control, &hm.adapter_index,
1428 &hm.obj_index))
1430 hm.u.c.attribute = attribute;
1431 hm.u.c.param1 = sub_string_index;
1432 hm.u.c.param2 = 0;
1433 hpi_send_recv(&hm, &hr);
1506 struct hpi_message hm;
1508 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1510 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1512 hm.u.c.attribute = HPI_AESEBURX_USERDATA;
1513 hm.u.c.param1 = index;
1515 hpi_send_recv(&hm, &hr);
1525 struct hpi_message hm;
1527 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1529 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1531 hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS;
1532 hm.u.c.param1 = index;
1534 hpi_send_recv(&hm, &hr);
1622 struct hpi_message hm;
1624 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1626 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1628 hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY;
1629 hpi_send_recv(&hm, &hr);
1667 struct hpi_msg_cobranet_hmiwrite hm;
1670 hpi_init_message_responseV1(&hm.h, sizeof(hm), &hr, sizeof(hr),
1673 if (hpi_handle_indexes(h_control, &hm.h.adapter_index,
1674 &hm.h.obj_index))
1677 if (byte_count > sizeof(hm.bytes))
1680 hm.p.attribute = HPI_COBRANET_SET;
1681 hm.p.byte_count = byte_count;
1682 hm.p.hmi_address = hmi_address;
1683 memcpy(hm.bytes, pb_data, byte_count);
1684 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count);
1686 hpi_send_recvV1(&hm.h, &hr);
1693 struct hpi_msg_cobranet_hmiread hm;
1696 hpi_init_message_responseV1(&hm.h, sizeof(hm), &hr.h, sizeof(hr),
1699 if (hpi_handle_indexes(h_control, &hm.h.adapter_index,
1700 &hm.h.obj_index))
1706 hm.p.attribute = HPI_COBRANET_GET;
1707 hm.p.byte_count = max_byte_count;
1708 hm.p.hmi_address = hmi_address;
1710 hpi_send_recvV1(&hm.h, &hr.h);
1730 struct hpi_message hm;
1733 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1735 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1738 hm.u.c.attribute = HPI_COBRANET_GET_STATUS;
1740 hpi_send_recv(&hm, &hr);
1917 struct hpi_message hm;
1920 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1922 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1924 hm.u.c.attribute = HPI_COMPANDER_THRESHOLD;
1925 hm.u.c.param2 = index;
1926 hm.u.c.an_log_value[0] = threshold0_01dB;
1928 hpi_send_recv(&hm, &hr);
1936 struct hpi_message hm;
1939 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1941 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1943 hm.u.c.attribute = HPI_COMPANDER_THRESHOLD;
1944 hm.u.c.param2 = index;
1946 hpi_send_recv(&hm, &hr);
1967 struct hpi_message hm;
1970 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1972 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1974 hm.u.c.attribute = HPI_LEVEL_RANGE;
1976 hpi_send_recv(&hm, &hr);
2016 struct hpi_message hm;
2019 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2021 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2023 hm.obj_index = hm.obj_index;
2024 hm.u.c.attribute = HPI_METER_PEAK;
2026 hpi_send_recv(&hm, &hr);
2042 struct hpi_message hm;
2045 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2047 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2049 hm.u.c.attribute = HPI_METER_RMS;
2051 hpi_send_recv(&hm, &hr);
2151 struct hpi_message hm;
2153 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2155 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2157 hm.u.c.attribute = HPI_MULTIPLEXER_QUERYSOURCE;
2158 hm.u.c.param1 = index;
2160 hpi_send_recv(&hm, &hr);
2194 struct hpi_message hm;
2197 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2199 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2201 hm.u.c.attribute = HPI_EQUALIZER_FILTER;
2202 hm.u.c.param2 = index;
2204 hpi_send_recv(&hm, &hr);
2221 struct hpi_message hm;
2224 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2226 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2229 hm.u.c.param1 = frequency_hz;
2230 hm.u.c.param2 = (index & 0xFFFFL) + ((u32)type << 16);
2231 hm.u.c.an_log_value[0] = gain0_01dB;
2232 hm.u.c.an_log_value[1] = q100;
2233 hm.u.c.attribute = HPI_EQUALIZER_FILTER;
2235 hpi_send_recv(&hm, &hr);
2243 struct hpi_message hm;
2246 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2248 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2250 hm.u.c.attribute = HPI_EQUALIZER_COEFFICIENTS;
2251 hm.u.c.param2 = index;
2253 hpi_send_recv(&hm, &hr);
2557 struct hpi_message hm;
2560 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2562 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2564 hm.u.cu.attribute = HPI_TUNER_LEVEL_AVG;
2565 hpi_send_recv(&hm, &hr);
2573 struct hpi_message hm;
2576 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2578 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2580 hm.u.cu.attribute = HPI_TUNER_LEVEL_RAW;
2581 hpi_send_recv(&hm, &hr);
2686 struct hpi_message hm;
2689 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2691 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2693 hm.u.c.attribute = HPI_TUNER_RDS;
2694 hpi_send_recv(&hm, &hr);
2772 struct hpi_message hm;
2775 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2777 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2779 hm.u.c.attribute = HPI_VOLUME_RANGE;
2781 hpi_send_recv(&hm, &hr);
2800 struct hpi_message hm;
2803 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2805 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2808 memcpy(hm.u.c.an_log_value, an_stop_gain0_01dB,
2811 hm.u.c.attribute = HPI_VOLUME_AUTOFADE;
2812 hm.u.c.param1 = duration_ms;
2813 hm.u.c.param2 = profile;
2815 hpi_send_recv(&hm, &hr);
2839 struct hpi_message hm;
2841 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2843 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2845 hm.u.c.attribute = HPI_VOX_THRESHOLD;
2847 hm.u.c.an_log_value[0] = an_gain0_01dB;
2849 hpi_send_recv(&hm, &hr);
2856 struct hpi_message hm;
2858 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2860 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2862 hm.u.c.attribute = HPI_VOX_THRESHOLD;
2864 hpi_send_recv(&hm, &hr);