• 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:hm

101 	struct hpi_message hm;
107 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
109 hpi_send_recv(&hm, &hr);
120 struct hpi_message hm;
123 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
125 hpi_send_recv(&hm, &hr);
131 struct hpi_message hm;
134 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
136 hpi_send_recv(&hm, &hr);
144 struct hpi_message hm;
147 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
149 hpi_send_recv(&hm, &hr);
157 struct hpi_message hm;
159 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
162 hpi_send_recv(&hm, &hr);
177 struct hpi_message hm;
179 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
182 hpi_send_recv(&hm, &hr);
200 struct hpi_message hm;
203 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
205 hm.u.s.resource = *p_resource;
207 hpi_send_recv(&hm, &hr);
216 struct hpi_message hm;
218 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
220 hm.adapter_index = adapter_index;
221 hpi_send_recv(&hm, &hr);
228 struct hpi_message hm;
230 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
232 hpi_send_recv(&hm, &hr);
240 struct hpi_message hm;
242 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
244 hm.adapter_index = (u16)iterator;
245 hpi_send_recv(&hm, &hr);
254 struct hpi_message hm;
256 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
260 hm.u.s.resource.r.net_if = sz_interface;
261 hpi_send_recv(&hm, &hr);
267 struct hpi_message hm;
269 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
271 hm.adapter_index = adapter_index;
273 hpi_send_recv(&hm, &hr);
281 struct hpi_message hm;
283 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
285 hm.adapter_index = adapter_index;
287 hpi_send_recv(&hm, &hr);
302 struct hpi_message hm;
305 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
307 hm.adapter_index = adapter_index;
308 hm.u.a.adapter_mode = adapter_mode;
309 hm.u.a.assert_id = query_or_set;
310 hpi_send_recv(&hm, &hr);
317 struct hpi_message hm;
319 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
321 hm.adapter_index = adapter_index;
322 hpi_send_recv(&hm, &hr);
332 struct hpi_message hm;
334 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
336 hm.adapter_index = adapter_index;
338 hpi_send_recv(&hm, &hr);
353 struct hpi_message hm;
356 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
358 hm.adapter_index = adapter_index;
359 hm.u.ax.module_info.index = module_index;
361 hpi_send_recv(&hm, &hr);
377 struct hpi_message hm;
379 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
381 hm.adapter_index = adapter_index;
382 hpi_send_recv(&hm, &hr);
414 struct hpi_message hm;
416 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
418 hm.adapter_index = adapter_index;
420 hpi_send_recv(&hm, &hr);
460 struct hpi_message hm;
462 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
464 hm.adapter_index = adapter_index;
465 hm.u.a.assert_id = assert_id;
467 hpi_send_recv(&hm, &hr);
475 struct hpi_message hm;
477 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
479 hm.adapter_index = adapter_index;
480 hm.u.a.assert_id = capability;
481 hm.u.a.adapter_mode = key;
483 hpi_send_recv(&hm, &hr);
491 struct hpi_message hm;
493 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
495 hm.adapter_index = adapter_index;
496 hpi_send_recv(&hm, &hr);
503 struct hpi_message hm;
505 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
510 hm.adapter_index = adapter_index;
511 hm.u.ax.debug_read.dsp_address = dsp_address;
516 hm.u.ax.debug_read.count_bytes = *count_bytes;
518 hpi_send_recv(&hm, &hr);
531 struct hpi_message hm;
533 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
535 hm.adapter_index = adapter_index;
536 hm.u.ax.property_set.property = property;
537 hm.u.ax.property_set.parameter1 = parameter1;
538 hm.u.ax.property_set.parameter2 = parameter2;
540 hpi_send_recv(&hm, &hr);
549 struct hpi_message hm;
551 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER,
553 hm.adapter_index = adapter_index;
554 hm.u.ax.property_set.property = property;
556 hpi_send_recv(&hm, &hr);
718 struct hpi_message hm;
720 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
722 hm.adapter_index = adapter_index;
723 hm.obj_index = outstream_index;
725 hpi_send_recv(&hm, &hr);
738 struct hpi_message hm;
741 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
743 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
744 hpi_send_recv(&hm, &hr);
746 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
748 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
749 hpi_send_recv(&hm, &hr);
751 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
753 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
754 hpi_send_recv(&hm, &hr);
763 struct hpi_message hm;
765 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
767 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
769 hpi_send_recv(&hm, &hr);
789 struct hpi_message hm;
791 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
793 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
794 hm.u.d.u.data.pb_data = (u8 *)pb_data;
795 hm.u.d.u.data.data_size = bytes_to_write;
797 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
799 hpi_send_recv(&hm, &hr);
806 struct hpi_message hm;
808 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
810 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
812 hpi_send_recv(&hm, &hr);
820 struct hpi_message hm;
822 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
824 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
826 hpi_send_recv(&hm, &hr);
833 struct hpi_message hm;
835 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
837 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
839 hpi_send_recv(&hm, &hr);
847 struct hpi_message hm;
849 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
851 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
853 hpi_send_recv(&hm, &hr);
860 struct hpi_message hm;
862 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
864 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
866 hpi_send_recv(&hm, &hr);
874 struct hpi_message hm;
877 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
879 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
881 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
883 hpi_send_recv(&hm, &hr);
891 struct hpi_message hm;
894 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
896 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
898 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
900 hpi_send_recv(&hm, &hr);
908 struct hpi_message hm;
911 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
913 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
914 hm.u.d.u.velocity = velocity;
916 hpi_send_recv(&hm, &hr);
924 struct hpi_message hm;
927 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
929 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
931 hm.u.d.u.pio.punch_in_sample = punch_in_sample;
932 hm.u.d.u.pio.punch_out_sample = punch_out_sample;
934 hpi_send_recv(&hm, &hr);
942 struct hpi_message hm;
945 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
947 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
948 hm.u.d.u.data.format.channels = mode;
949 hpi_send_recv(&hm, &hr);
956 struct hpi_message hm;
959 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
961 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
962 hpi_send_recv(&hm, &hr);
977 struct hpi_message hm;
980 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
982 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
983 hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer;
984 hm.u.d.u.data.data_size =
987 if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes)
988 hpi_send_recv(&hm, &hr);
997 struct hpi_message hm;
1000 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1002 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1004 hm.u.d.u.time_scale = time_scale;
1006 hpi_send_recv(&hm, &hr);
1014 struct hpi_message hm;
1017 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1019 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1020 hm.u.d.u.data.data_size = size_in_bytes;
1021 hpi_send_recv(&hm, &hr);
1029 struct hpi_message hm;
1032 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1034 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1035 hpi_send_recv(&hm, &hr);
1049 struct hpi_message hm;
1052 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1054 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1055 hpi_send_recv(&hm, &hr);
1062 struct hpi_message hm;
1067 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1070 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1074 hm.u.d.u.stream.object_type = HPI_OBJ_OSTREAM;
1076 &hm.u.d.u.stream.stream_index);
1079 hm.u.d.u.stream.object_type = HPI_OBJ_ISTREAM;
1081 &hm.u.d.u.stream.stream_index);
1086 if (adapter != hm.adapter_index)
1089 hpi_send_recv(&hm, &hr);
1096 struct hpi_message hm;
1099 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1101 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1102 hpi_send_recv(&hm, &hr);
1115 struct hpi_message hm;
1118 hpi_init_message_response(&hm, &hr, HPI_OBJ_OSTREAM,
1120 u32TOINDEXES(h_outstream, &hm.adapter_index, &hm.obj_index);
1121 hpi_send_recv(&hm, &hr);
1128 struct hpi_message hm;
1131 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1133 hm.adapter_index = adapter_index;
1134 hm.obj_index = instream_index;
1136 hpi_send_recv(&hm, &hr);
1150 struct hpi_message hm;
1153 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1155 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1156 hpi_send_recv(&hm, &hr);
1158 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1160 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1161 hpi_send_recv(&hm, &hr);
1163 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1165 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1166 hpi_send_recv(&hm, &hr);
1174 struct hpi_message hm;
1177 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1179 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1180 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
1182 hpi_send_recv(&hm, &hr);
1190 struct hpi_message hm;
1193 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1195 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1196 hpi_format_to_msg(&hm.u.d.u.data.format, p_format);
1198 hpi_send_recv(&hm, &hr);
1206 struct hpi_message hm;
1209 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1211 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1212 hm.u.d.u.data.data_size = bytes_to_read;
1213 hm.u.d.u.data.pb_data = pb_data;
1215 hpi_send_recv(&hm, &hr);
1222 struct hpi_message hm;
1225 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1227 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1229 hpi_send_recv(&hm, &hr);
1237 struct hpi_message hm;
1240 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1242 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1244 hpi_send_recv(&hm, &hr);
1251 struct hpi_message hm;
1254 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1256 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1258 hpi_send_recv(&hm, &hr);
1265 struct hpi_message hm;
1268 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1270 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1272 hpi_send_recv(&hm, &hr);
1281 struct hpi_message hm;
1283 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1285 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1287 hpi_send_recv(&hm, &hr);
1307 struct hpi_message hm;
1309 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1311 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1312 hm.u.d.u.data.format.attributes = bytes_per_frame;
1313 hm.u.d.u.data.format.format = (mode << 8) | (alignment & 0xff);
1314 hm.u.d.u.data.format.channels = idle_bit;
1315 hpi_send_recv(&hm, &hr);
1322 struct hpi_message hm;
1324 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1326 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1327 hpi_send_recv(&hm, &hr);
1341 struct hpi_message hm;
1344 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1346 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1347 hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer;
1348 hm.u.d.u.data.data_size =
1351 if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes)
1352 hpi_send_recv(&hm, &hr);
1362 struct hpi_message hm;
1365 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1367 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1368 hm.u.d.u.data.data_size = size_in_bytes;
1369 hpi_send_recv(&hm, &hr);
1377 struct hpi_message hm;
1380 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1382 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1383 hpi_send_recv(&hm, &hr);
1398 struct hpi_message hm;
1401 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1403 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1404 hpi_send_recv(&hm, &hr);
1411 struct hpi_message hm;
1416 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1419 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1424 hm.u.d.u.stream.object_type = HPI_OBJ_OSTREAM;
1426 &hm.u.d.u.stream.stream_index);
1429 hm.u.d.u.stream.object_type = HPI_OBJ_ISTREAM;
1431 &hm.u.d.u.stream.stream_index);
1437 if (adapter != hm.adapter_index)
1440 hpi_send_recv(&hm, &hr);
1447 struct hpi_message hm;
1450 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1452 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1453 hpi_send_recv(&hm, &hr);
1466 struct hpi_message hm;
1469 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM,
1471 u32TOINDEXES(h_instream, &hm.adapter_index, &hm.obj_index);
1472 hpi_send_recv(&hm, &hr);
1479 struct hpi_message hm;
1481 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_OPEN);
1482 hm.adapter_index = adapter_index;
1484 hpi_send_recv(&hm, &hr);
1497 struct hpi_message hm;
1499 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_CLOSE);
1500 u32TOINDEX(h_mixer, &hm.adapter_index);
1501 hpi_send_recv(&hm, &hr);
1509 struct hpi_message hm;
1511 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER,
1513 u32TOINDEX(h_mixer, &hm.adapter_index);
1514 hm.u.m.node_type1 = src_node_type;
1515 hm.u.m.node_index1 = src_node_type_index;
1516 hm.u.m.node_type2 = dst_node_type;
1517 hm.u.m.node_index2 = dst_node_type_index;
1518 hm.u.m.control_type = control_type;
1520 hpi_send_recv(&hm, &hr);
1525 hm.adapter_index, hr.u.m.control_index);
1536 struct hpi_message hm;
1538 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER,
1540 u32TOINDEX(h_mixer, &hm.adapter_index);
1541 hm.u.m.control_index = control_index;
1542 hpi_send_recv(&hm, &hr);
1558 hm.adapter_index, control_index);
1568 struct hpi_message hm;
1570 hpi_init_message_response(&hm, &hr, HPI_OBJ_MIXER, HPI_MIXER_STORE);
1571 u32TOINDEX(h_mixer, &hm.adapter_index);
1572 hm.u.mx.store.command = command;
1573 hm.u.mx.store.index = index;
1574 hpi_send_recv(&hm, &hr);
1583 struct hpi_message hm;
1586 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1588 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1589 hm.u.c.attribute = attrib;
1590 hm.u.c.param1 = param1;
1591 hm.u.c.param2 = param2;
1592 hpi_send_recv(&hm, &hr);
1599 struct hpi_message hm;
1602 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1604 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1605 hm.u.c.attribute = attrib;
1606 hm.u.c.an_log_value[0] = sv0;
1607 hm.u.c.an_log_value[1] = sv1;
1608 hpi_send_recv(&hm, &hr);
1617 struct hpi_message hm;
1620 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1622 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1623 hm.u.c.attribute = attrib;
1624 hm.u.c.param1 = param1;
1625 hm.u.c.param2 = param2;
1626 hpi_send_recv(&hm, &hr);
1643 struct hpi_message hm;
1645 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1647 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1648 hm.u.c.attribute = attrib;
1650 hpi_send_recv(&hm, &hr);
1662 struct hpi_message hm;
1665 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1667 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1669 hm.u.c.attribute = attrib;
1670 hm.u.c.param1 = index;
1671 hm.u.c.param2 = param;
1673 hpi_send_recv(&hm, &hr);
1691 struct hpi_message hm;
1694 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1696 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1697 hm.u.c.attribute = attribute;
1698 hm.u.c.param1 = sub_string_index;
1699 hm.u.c.param2 = 0;
1700 hpi_send_recv(&hm, &hr);
1779 struct hpi_message hm;
1781 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1783 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1784 hm.u.c.attribute = HPI_AESEBURX_USERDATA;
1785 hm.u.c.param1 = index;
1787 hpi_send_recv(&hm, &hr);
1797 struct hpi_message hm;
1799 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1801 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1802 hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS;
1803 hm.u.c.param1 = index;
1805 hpi_send_recv(&hm, &hr);
1902 struct hpi_message hm;
1904 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
1906 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1907 hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY;
1908 hpi_send_recv(&hm, &hr);
1949 struct hpi_message hm;
1952 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROLEX,
1954 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1956 hm.u.cx.u.cobranet_data.byte_count = byte_count;
1957 hm.u.cx.u.cobranet_data.hmi_address = hmi_address;
1960 memcpy(hm.u.cx.u.cobranet_data.data, pb_data, byte_count);
1961 hm.u.cx.attribute = HPI_COBRANET_SET;
1963 hm.u.cx.u.cobranet_bigdata.pb_data = pb_data;
1964 hm.u.cx.attribute = HPI_COBRANET_SET_DATA;
1967 hpi_send_recv(&hm, &hr);
1975 struct hpi_message hm;
1978 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROLEX,
1980 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
1982 hm.u.cx.u.cobranet_data.byte_count = max_byte_count;
1983 hm.u.cx.u.cobranet_data.hmi_address = hmi_address;
1986 hm.u.cx.attribute = HPI_COBRANET_GET;
1988 hm.u.cx.u.cobranet_bigdata.pb_data = pb_data;
1989 hm.u.cx.attribute = HPI_COBRANET_GET_DATA;
1992 hpi_send_recv(&hm, &hr);
2000 if (hm.u.cx.attribute == HPI_COBRANET_GET) {
2015 struct hpi_message hm;
2018 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROLEX,
2020 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2022 hm.u.cx.attribute = HPI_COBRANET_GET_STATUS;
2024 hpi_send_recv(&hm, &hr);
2203 struct hpi_message hm;
2206 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2208 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2209 hm.u.c.attribute = HPI_COMPANDER_THRESHOLD;
2210 hm.u.c.param2 = index;
2211 hm.u.c.an_log_value[0] = threshold0_01dB;
2213 hpi_send_recv(&hm, &hr);
2221 struct hpi_message hm;
2224 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2226 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2227 hm.u.c.attribute = HPI_COMPANDER_THRESHOLD;
2228 hm.u.c.param2 = index;
2230 hpi_send_recv(&hm, &hr);
2253 struct hpi_message hm;
2256 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2258 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2259 hm.u.c.attribute = HPI_LEVEL_RANGE;
2261 hpi_send_recv(&hm, &hr);
2305 struct hpi_message hm;
2308 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2310 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2311 hm.obj_index = hm.obj_index;
2312 hm.u.c.attribute = HPI_METER_PEAK;
2314 hpi_send_recv(&hm, &hr);
2331 struct hpi_message hm;
2334 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2336 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2337 hm.u.c.attribute = HPI_METER_RMS;
2339 hpi_send_recv(&hm, &hr);
2445 struct hpi_message hm;
2447 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2449 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2450 hm.u.c.attribute = HPI_MULTIPLEXER_QUERYSOURCE;
2451 hm.u.c.param1 = index;
2453 hpi_send_recv(&hm, &hr);
2489 struct hpi_message hm;
2492 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2494 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2495 hm.u.c.attribute = HPI_EQUALIZER_FILTER;
2496 hm.u.c.param2 = index;
2498 hpi_send_recv(&hm, &hr);
2516 struct hpi_message hm;
2519 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2521 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2523 hm.u.c.param1 = frequency_hz;
2524 hm.u.c.param2 = (index & 0xFFFFL) + ((u32)type << 16);
2525 hm.u.c.an_log_value[0] = gain0_01dB;
2526 hm.u.c.an_log_value[1] = q100;
2527 hm.u.c.attribute = HPI_EQUALIZER_FILTER;
2529 hpi_send_recv(&hm, &hr);
2538 struct hpi_message hm;
2541 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2543 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2544 hm.u.c.attribute = HPI_EQUALIZER_COEFFICIENTS;
2545 hm.u.c.param2 = index;
2547 hpi_send_recv(&hm, &hr);
2901 struct hpi_message hm;
2904 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2906 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2907 hm.u.c.attribute = HPI_TUNER_LEVEL;
2908 hm.u.c.param1 = HPI_TUNER_LEVEL_AVERAGE;
2909 hpi_send_recv(&hm, &hr);
2918 struct hpi_message hm;
2921 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
2923 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
2924 hm.u.c.attribute = HPI_TUNER_LEVEL;
2925 hm.u.c.param1 = HPI_TUNER_LEVEL_RAW;
2926 hpi_send_recv(&hm, &hr);
3046 struct hpi_message hm;
3049 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
3051 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
3052 hm.u.c.attribute = HPI_TUNER_RDS;
3053 hpi_send_recv(&hm, &hr);
3130 struct hpi_message hm;
3133 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
3135 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
3136 hm.u.c.attribute = HPI_VOLUME_RANGE;
3138 hpi_send_recv(&hm, &hr);
3157 struct hpi_message hm;
3160 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
3162 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
3164 memcpy(hm.u.c.an_log_value, an_stop_gain0_01dB,
3167 hm.u.c.attribute = HPI_VOLUME_AUTOFADE;
3168 hm.u.c.param1 = duration_ms;
3169 hm.u.c.param2 = profile;
3171 hpi_send_recv(&hm, &hr);
3186 struct hpi_message hm;
3188 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
3190 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
3191 hm.u.c.attribute = HPI_VOX_THRESHOLD;
3193 hm.u.c.an_log_value[0] = an_gain0_01dB;
3195 hpi_send_recv(&hm, &hr);
3203 struct hpi_message hm;
3205 hpi_init_message_response(&hm, &hr, HPI_OBJ_CONTROL,
3207 u32TOINDEXES(h_control, &hm.adapter_index, &hm.obj_index);
3208 hm.u.c.attribute = HPI_VOX_THRESHOLD;
3210 hpi_send_recv(&hm, &hr);
3366 struct hpi_msg_strv hm;
3378 hpi_init_message_responseV1(&hm.h, (u16)sizeof(hm), &phr->h,
3381 u32TOINDEXES(hC, &hm.h.adapter_index, &hm.h.obj_index);
3383 hm.strv.header.size = sizeof(hm.strv);
3386 hpi_send_recv((struct hpi_message *)&hm.h,
3410 struct hpi_msg_strv hm;
3422 hpi_init_message_responseV1(&hm.h, (u16)sizeof(hm), &phr->h,
3425 u32TOINDEXES(hC, &hm.h.adapter_index, &hm.h.obj_index);
3427 hm.strv.header.size = sizeof(hm.strv);
3430 hpi_send_recv((struct hpi_message *)&hm.h,
3560 struct hpi_message hm;
3562 hpi_init_message_response(&hm, &hr, HPI_OBJ_GPIO, HPI_GPIO_OPEN);
3563 hm.adapter_index = adapter_index;
3565 hpi_send_recv(&hm, &hr);
3582 struct hpi_message hm;
3584 hpi_init_message_response(&hm, &hr, HPI_OBJ_GPIO, HPI_GPIO_READ_BIT);
3585 u32TOINDEX(h_gpio, &hm.adapter_index);
3586 hm.u.l.bit_index = bit_index;
3588 hpi_send_recv(&hm, &hr);
3598 struct hpi_message hm;
3600 hpi_init_message_response(&hm, &hr, HPI_OBJ_GPIO, HPI_GPIO_READ_ALL);
3601 u32TOINDEX(h_gpio, &hm.adapter_index);
3603 hpi_send_recv(&hm, &hr);
3617 struct hpi_message hm;
3619 hpi_init_message_response(&hm, &hr, HPI_OBJ_GPIO, HPI_GPIO_WRITE_BIT);
3620 u32TOINDEX(h_gpio, &hm.adapter_index);
3621 hm.u.l.bit_index = bit_index;
3622 hm.u.l.bit_data = bit_data;
3624 hpi_send_recv(&hm, &hr);
3633 struct hpi_message hm;
3635 hpi_init_message_response(&hm, &hr, HPI_OBJ_GPIO,
3637 u32TOINDEX(h_gpio, &hm.adapter_index);
3639 hpi_send_recv(&hm, &hr);
3653 struct hpi_message hm;
3655 hpi_init_message_response(&hm, &hr, HPI_OBJ_ASYNCEVENT,
3657 hm.adapter_index = adapter_index;
3659 hpi_send_recv(&hm, &hr);
3674 struct hpi_message hm;
3676 hpi_init_message_response(&hm, &hr, HPI_OBJ_ASYNCEVENT,
3678 u32TOINDEX(h_async, &hm.adapter_index);
3680 hpi_send_recv(&hm, &hr);
3696 struct hpi_message hm;
3698 hpi_init_message_response(&hm, &hr, HPI_OBJ_ASYNCEVENT,
3700 u32TOINDEX(h_async, &hm.adapter_index);
3702 hpi_send_recv(&hm, &hr);
3715 struct hpi_message hm;
3717 hpi_init_message_response(&hm, &hr, HPI_OBJ_ASYNCEVENT,
3719 u32TOINDEX(h_async, &hm.adapter_index);
3721 hpi_send_recv(&hm, &hr);
3734 struct hpi_message hm;
3736 hpi_init_message_response(&hm, &hr, HPI_OBJ_NVMEMORY,
3738 hm.adapter_index = adapter_index;
3740 hpi_send_recv(&hm, &hr);
3756 struct hpi_message hm;
3758 hpi_init_message_response(&hm, &hr, HPI_OBJ_NVMEMORY,
3760 u32TOINDEX(h_nv_memory, &hm.adapter_index);
3761 hm.u.n.address = index;
3763 hpi_send_recv(&hm, &hr);
3772 struct hpi_message hm;
3774 hpi_init_message_response(&hm, &hr, HPI_OBJ_NVMEMORY,
3776 u32TOINDEX(h_nv_memory, &hm.adapter_index);
3777 hm.u.n.address = index;
3778 hm.u.n.data = data;
3780 hpi_send_recv(&hm, &hr);
3789 struct hpi_message hm;
3791 hpi_init_message_response(&hm, &hr, HPI_OBJ_PROFILE,
3793 hm.adapter_index = adapter_index;
3794 hm.obj_index = profile_index;
3795 hpi_send_recv(&hm, &hr);
3811 struct hpi_message hm;
3813 hpi_init_message_response(&hm, &hr, HPI_OBJ_PROFILE, HPI_PROFILE_GET);
3814 u32TOINDEXES(h_profile, &hm.adapter_index, &hm.obj_index);
3815 hm.u.p.bin_index = bin_index;
3816 hpi_send_recv(&hm, &hr);
3833 struct hpi_message hm;
3835 hpi_init_message_response(&hm, &hr, HPI_OBJ_PROFILE,
3837 u32TOINDEXES(h_profile, &hm.adapter_index, &hm.obj_index);
3838 hpi_send_recv(&hm, &hr);
3852 struct hpi_message hm;
3854 hpi_init_message_response(&hm, &hr, HPI_OBJ_PROFILE,
3856 u32TOINDEXES(h_profile, &hm.adapter_index, &hm.obj_index);
3857 hm.u.p.bin_index = bin_index;
3858 hpi_send_recv(&hm, &hr);
3872 struct hpi_message hm;
3874 hpi_init_message_response(&hm, &hr, HPI_OBJ_PROFILE,
3876 u32TOINDEXES(h_profile, &hm.adapter_index, &hm.obj_index);
3877 hpi_send_recv(&hm, &hr);
3884 struct hpi_message hm;
3886 hpi_init_message_response(&hm, &hr, HPI_OBJ_PROFILE,
3888 u32TOINDEXES(h_profile, &hm.adapter_index, &hm.obj_index);
3889 hpi_send_recv(&hm, &hr);
3897 struct hpi_message hm;
3899 hpi_init_message_response(&hm, &hr, HPI_OBJ_WATCHDOG,
3901 hm.adapter_index = adapter_index;
3903 hpi_send_recv(&hm, &hr);
3917 struct hpi_message hm;
3919 hpi_init_message_response(&hm, &hr, HPI_OBJ_WATCHDOG,
3921 u32TOINDEX(h_watchdog, &hm.adapter_index);
3922 hm.u.w.time_ms = time_millisec;
3924 hpi_send_recv(&hm, &hr);
3931 struct hpi_message hm;
3933 hpi_init_message_response(&hm, &hr, HPI_OBJ_WATCHDOG,
3935 u32TOINDEX(h_watchdog, &hm.adapter_index);
3937 hpi_send_recv(&hm, &hr);