Lines Matching refs:u
85 pSR->u.legacy_stream_info.auxiliary_data_available = in hpi_stream_response_to_legacy()
86 pSR->u.stream_info.auxiliary_data_available; in hpi_stream_response_to_legacy()
87 pSR->u.legacy_stream_info.state = pSR->u.stream_info.state; in hpi_stream_response_to_legacy()
104 *pversion_ex = hr.u.s.data; in hpi_subsys_get_version_ex()
115 *pn_num_adapters = (int)hr.u.s.num_adapters; in hpi_subsys_get_num_adapters()
128 *padapter_index = (int)hr.u.s.adapter_index; in hpi_subsys_get_adapter()
129 *pw_adapter_type = hr.u.s.adapter_type; in hpi_subsys_get_adapter()
176 hm.u.ax.mode.adapter_mode = adapter_mode; in hpi_adapter_set_mode_ex()
177 hm.u.ax.mode.query_or_set = query_or_set; in hpi_adapter_set_mode_ex()
191 *padapter_mode = hr.u.ax.mode.adapter_mode; in hpi_adapter_get_mode()
207 *pw_adapter_type = hr.u.ax.info.adapter_type; in hpi_adapter_get_info()
208 *pw_num_outstreams = hr.u.ax.info.num_outstreams; in hpi_adapter_get_info()
209 *pw_num_instreams = hr.u.ax.info.num_instreams; in hpi_adapter_get_info()
210 *pw_version = hr.u.ax.info.version; in hpi_adapter_get_info()
211 *pserial_number = hr.u.ax.info.serial_number; in hpi_adapter_get_info()
225 hm.u.ax.module_info.index = module_index; in hpi_adapter_get_module_by_index()
229 *pw_module_type = hr.u.ax.info.adapter_type; in hpi_adapter_get_module_by_index()
230 *pw_num_outputs = hr.u.ax.info.num_outstreams; in hpi_adapter_get_module_by_index()
231 *pw_num_inputs = hr.u.ax.info.num_instreams; in hpi_adapter_get_module_by_index()
232 *pw_version = hr.u.ax.info.version; in hpi_adapter_get_module_by_index()
233 *pserial_number = hr.u.ax.info.serial_number; in hpi_adapter_get_module_by_index()
247 hm.u.ax.property_set.property = property; in hpi_adapter_set_property()
248 hm.u.ax.property_set.parameter1 = parameter1; in hpi_adapter_set_property()
249 hm.u.ax.property_set.parameter2 = parameter2; in hpi_adapter_set_property()
264 hm.u.ax.property_set.property = property; in hpi_adapter_get_property()
269 *pw_parameter1 = hr.u.ax.property_get.parameter1; in hpi_adapter_get_property()
271 *pw_parameter2 = hr.u.ax.property_get.parameter2; in hpi_adapter_get_property()
484 *pw_state = hr.u.d.u.stream_info.state; in hpi_outstream_get_info_ex()
486 *pbuffer_size = hr.u.d.u.stream_info.buffer_size; in hpi_outstream_get_info_ex()
488 *pdata_to_play = hr.u.d.u.stream_info.data_available; in hpi_outstream_get_info_ex()
490 *psamples_played = hr.u.d.u.stream_info.samples_transferred; in hpi_outstream_get_info_ex()
493 hr.u.d.u.stream_info.auxiliary_data_available; in hpi_outstream_get_info_ex()
506 hm.u.d.u.data.pb_data = (u8 *)pb_data; in hpi_outstream_write_buf()
507 hm.u.d.u.data.data_size = bytes_to_write; in hpi_outstream_write_buf()
509 hpi_format_to_msg(&hm.u.d.u.data.format, p_format); in hpi_outstream_write_buf()
596 hpi_format_to_msg(&hm.u.d.u.data.format, p_format); in hpi_outstream_query_format()
613 hpi_format_to_msg(&hm.u.d.u.data.format, p_format); in hpi_outstream_set_format()
629 hm.u.d.u.velocity = velocity; in hpi_outstream_set_velocity()
647 hm.u.d.u.pio.punch_in_sample = punch_in_sample; in hpi_outstream_set_punch_in_out()
648 hm.u.d.u.pio.punch_out_sample = punch_out_sample; in hpi_outstream_set_punch_in_out()
664 hm.u.d.u.data.format.channels = mode; in hpi_outstream_ancillary_reset()
682 hr.u.d.u.stream_info.data_available / in hpi_outstream_ancillary_get_info()
700 hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer; in hpi_outstream_ancillary_read()
701 hm.u.d.u.data.data_size = in hpi_outstream_ancillary_read()
704 if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes) in hpi_outstream_ancillary_read()
721 hm.u.d.u.time_scale = time_scale; in hpi_outstream_set_time_scale()
737 hm.u.d.u.data.data_size = size_in_bytes; in hpi_outstream_host_buffer_allocate()
756 *pp_buffer = hr.u.d.u.hostbuffer_info.p_buffer; in hpi_outstream_host_buffer_get_info()
758 *pp_status = hr.u.d.u.hostbuffer_info.p_status; in hpi_outstream_host_buffer_get_info()
790 &hm.u.d.u.stream.stream_index)) in hpi_outstream_group_add()
797 hm.u.d.u.stream.object_type = c_obj_type; in hpi_outstream_group_add()
822 *poutstream_map = hr.u.d.u.group_info.outstream_group_map; in hpi_outstream_group_get_map()
824 *pinstream_map = hr.u.d.u.group_info.instream_group_map; in hpi_outstream_group_get_map()
898 hpi_format_to_msg(&hm.u.d.u.data.format, p_format); in hpi_instream_query_format()
914 hpi_format_to_msg(&hm.u.d.u.data.format, p_format); in hpi_instream_set_format()
930 hm.u.d.u.data.data_size = bytes_to_read; in hpi_instream_read_buf()
931 hm.u.d.u.data.pb_data = pb_data; in hpi_instream_read_buf()
1012 *pw_state = hr.u.d.u.stream_info.state; in hpi_instream_get_info_ex()
1014 *pbuffer_size = hr.u.d.u.stream_info.buffer_size; in hpi_instream_get_info_ex()
1016 *pdata_recorded = hr.u.d.u.stream_info.data_available; in hpi_instream_get_info_ex()
1018 *psamples_recorded = hr.u.d.u.stream_info.samples_transferred; in hpi_instream_get_info_ex()
1021 hr.u.d.u.stream_info.auxiliary_data_available; in hpi_instream_get_info_ex()
1034 hm.u.d.u.data.format.attributes = bytes_per_frame; in hpi_instream_ancillary_reset()
1035 hm.u.d.u.data.format.format = (mode << 8) | (alignment & 0xff); in hpi_instream_ancillary_reset()
1036 hm.u.d.u.data.format.channels = idle_bit; in hpi_instream_ancillary_reset()
1052 (hr.u.d.u.stream_info.buffer_size - in hpi_instream_ancillary_get_info()
1053 hr.u.d.u.stream_info.data_available) / in hpi_instream_ancillary_get_info()
1070 hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer; in hpi_instream_ancillary_write()
1071 hm.u.d.u.data.data_size = in hpi_instream_ancillary_write()
1074 if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes) in hpi_instream_ancillary_write()
1091 hm.u.d.u.data.data_size = size_in_bytes; in hpi_instream_host_buffer_allocate()
1110 *pp_buffer = hr.u.d.u.hostbuffer_info.p_buffer; in hpi_instream_host_buffer_get_info()
1112 *pp_status = hr.u.d.u.hostbuffer_info.p_status; in hpi_instream_host_buffer_get_info()
1146 &hm.u.d.u.stream.stream_index)) in hpi_instream_group_add()
1154 hm.u.d.u.stream.object_type = c_obj_type; in hpi_instream_group_add()
1180 *poutstream_map = hr.u.d.u.group_info.outstream_group_map; in hpi_instream_group_get_map()
1182 *pinstream_map = hr.u.d.u.group_info.instream_group_map; in hpi_instream_group_get_map()
1241 hm.u.m.node_type1 = src_node_type; in hpi_mixer_get_control()
1242 hm.u.m.node_index1 = src_node_type_index; in hpi_mixer_get_control()
1243 hm.u.m.node_type2 = dst_node_type; in hpi_mixer_get_control()
1244 hm.u.m.node_index2 = dst_node_type_index; in hpi_mixer_get_control()
1245 hm.u.m.control_type = control_type; in hpi_mixer_get_control()
1252 hm.adapter_index, hr.u.m.control_index); in hpi_mixer_get_control()
1268 hm.u.m.control_index = control_index; in hpi_mixer_get_control_by_index()
1273 hr.u.m.src_node_type + HPI_SOURCENODE_NONE; in hpi_mixer_get_control_by_index()
1274 *pw_src_node_index = hr.u.m.src_node_index; in hpi_mixer_get_control_by_index()
1275 *pw_dst_node_type = hr.u.m.dst_node_type + HPI_DESTNODE_NONE; in hpi_mixer_get_control_by_index()
1276 *pw_dst_node_index = hr.u.m.dst_node_index; in hpi_mixer_get_control_by_index()
1279 *pw_control_type = hr.u.m.control_index; in hpi_mixer_get_control_by_index()
1300 hm.u.mx.store.command = command; in hpi_mixer_store()
1301 hm.u.mx.store.index = index; in hpi_mixer_store()
1317 hm.u.c.attribute = attrib; in hpi_control_param_set()
1318 hm.u.c.param1 = param1; in hpi_control_param_set()
1319 hm.u.c.param2 = param2; in hpi_control_param_set()
1334 hm.u.c.attribute = attrib; in hpi_control_log_set2()
1335 hm.u.c.an_log_value[0] = sv0; in hpi_control_log_set2()
1336 hm.u.c.an_log_value[1] = sv1; in hpi_control_log_set2()
1352 hm.u.c.attribute = attrib; in hpi_control_param_get()
1353 hm.u.c.param1 = param1; in hpi_control_param_get()
1354 hm.u.c.param2 = param2; in hpi_control_param_get()
1357 *pparam1 = hr.u.c.param1; in hpi_control_param_get()
1359 *pparam2 = hr.u.c.param2; in hpi_control_param_get()
1378 hm.u.c.attribute = attrib; in hpi_control_log_get2()
1381 *sv0 = hr.u.c.an_log_value[0]; in hpi_control_log_get2()
1383 *sv1 = hr.u.c.an_log_value[1]; in hpi_control_log_get2()
1399 hm.u.c.attribute = attrib; in hpi_control_query()
1400 hm.u.c.param1 = index; in hpi_control_query()
1401 hm.u.c.param2 = param; in hpi_control_query()
1404 *psetting = hr.u.c.param1; in hpi_control_query()
1429 hm.u.c.attribute = attribute; in hpi_control_get_string()
1430 hm.u.c.param1 = sub_string_index; in hpi_control_get_string()
1431 hm.u.c.param2 = 0; in hpi_control_get_string()
1435 && (hr.u.cu.chars8.remaining_chars + 8) > in hpi_control_get_string()
1444 c = hr.u.cu.chars8.sz_data[j]; in hpi_control_get_string()
1456 if ((hr.u.cu.chars8.remaining_chars == 0) in hpi_control_get_string()
1511 hm.u.c.attribute = HPI_AESEBURX_USERDATA; in hpi_aesebu_receiver_get_user_data()
1512 hm.u.c.param1 = index; in hpi_aesebu_receiver_get_user_data()
1517 *pw_data = (u16)hr.u.c.param2; in hpi_aesebu_receiver_get_user_data()
1530 hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS; in hpi_aesebu_receiver_get_channel_status()
1531 hm.u.c.param1 = index; in hpi_aesebu_receiver_get_channel_status()
1536 *pw_data = (u16)hr.u.c.param2; in hpi_aesebu_receiver_get_channel_status()
1627 hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY; in hpi_bitstream_get_activity()
1630 *pw_clk_activity = (u16)hr.u.c.param1; in hpi_bitstream_get_activity()
1632 *pw_data_activity = (u16)hr.u.c.param2; in hpi_bitstream_get_activity()
1737 hm.u.c.attribute = HPI_COBRANET_GET_STATUS; in hpi_cobranet_hmi_get_status()
1742 *pstatus = hr.u.cu.cobranet.status.status; in hpi_cobranet_hmi_get_status()
1745 hr.u.cu.cobranet.status.readable_size; in hpi_cobranet_hmi_get_status()
1748 hr.u.cu.cobranet.status.writeable_size; in hpi_cobranet_hmi_get_status()
1923 hm.u.c.attribute = HPI_COMPANDER_THRESHOLD; in hpi_compander_set_threshold()
1924 hm.u.c.param2 = index; in hpi_compander_set_threshold()
1925 hm.u.c.an_log_value[0] = threshold0_01dB; in hpi_compander_set_threshold()
1942 hm.u.c.attribute = HPI_COMPANDER_THRESHOLD; in hpi_compander_get_threshold()
1943 hm.u.c.param2 = index; in hpi_compander_get_threshold()
1946 *threshold0_01dB = hr.u.c.an_log_value[0]; in hpi_compander_get_threshold()
1973 hm.u.c.attribute = HPI_LEVEL_RANGE; in hpi_level_query_range()
1977 hr.u.c.an_log_value[0] = 0; in hpi_level_query_range()
1978 hr.u.c.an_log_value[1] = 0; in hpi_level_query_range()
1979 hr.u.c.param1 = 0; in hpi_level_query_range()
1982 *min_gain_01dB = hr.u.c.an_log_value[0]; in hpi_level_query_range()
1984 *max_gain_01dB = hr.u.c.an_log_value[1]; in hpi_level_query_range()
1986 *step_gain_01dB = (short)hr.u.c.param1; in hpi_level_query_range()
2023 hm.u.c.attribute = HPI_METER_PEAK; in hpi_meter_get_peak()
2028 memcpy(an_peakdB, hr.u.c.an_log_value, in hpi_meter_get_peak()
2048 hm.u.c.attribute = HPI_METER_RMS; in hpi_meter_get_rms()
2053 memcpy(an_rmsdB, hr.u.c.an_log_value, in hpi_meter_get_rms()
2156 hm.u.c.attribute = HPI_MULTIPLEXER_QUERYSOURCE; in hpi_multiplexer_query_source()
2157 hm.u.c.param1 = index; in hpi_multiplexer_query_source()
2162 *source_node_type = (u16)hr.u.c.param1; in hpi_multiplexer_query_source()
2164 *source_node_index = (u16)hr.u.c.param2; in hpi_multiplexer_query_source()
2200 hm.u.c.attribute = HPI_EQUALIZER_FILTER; in hpi_parametric_eq_get_band()
2201 hm.u.c.param2 = index; in hpi_parametric_eq_get_band()
2206 *pfrequency_hz = hr.u.c.param1; in hpi_parametric_eq_get_band()
2208 *pn_type = (u16)(hr.u.c.param2 >> 16); in hpi_parametric_eq_get_band()
2210 *pnQ100 = hr.u.c.an_log_value[1]; in hpi_parametric_eq_get_band()
2212 *pn_gain0_01dB = hr.u.c.an_log_value[0]; in hpi_parametric_eq_get_band()
2228 hm.u.c.param1 = frequency_hz; in hpi_parametric_eq_set_band()
2229 hm.u.c.param2 = (index & 0xFFFFL) + ((u32)type << 16); in hpi_parametric_eq_set_band()
2230 hm.u.c.an_log_value[0] = gain0_01dB; in hpi_parametric_eq_set_band()
2231 hm.u.c.an_log_value[1] = q100; in hpi_parametric_eq_set_band()
2232 hm.u.c.attribute = HPI_EQUALIZER_FILTER; in hpi_parametric_eq_set_band()
2249 hm.u.c.attribute = HPI_EQUALIZER_COEFFICIENTS; in hpi_parametric_eq_get_coeffs()
2250 hm.u.c.param2 = index; in hpi_parametric_eq_get_coeffs()
2254 coeffs[0] = (short)hr.u.c.an_log_value[0]; in hpi_parametric_eq_get_coeffs()
2255 coeffs[1] = (short)hr.u.c.an_log_value[1]; in hpi_parametric_eq_get_coeffs()
2256 coeffs[2] = (short)hr.u.c.param1; in hpi_parametric_eq_get_coeffs()
2257 coeffs[3] = (short)(hr.u.c.param1 >> 16); in hpi_parametric_eq_get_coeffs()
2258 coeffs[4] = (short)hr.u.c.param2; in hpi_parametric_eq_get_coeffs()
2566 hm.u.cu.attribute = HPI_TUNER_LEVEL_AVG; in hpi_tuner_get_rf_level()
2569 *pw_level = hr.u.cu.tuner.s_level; in hpi_tuner_get_rf_level()
2582 hm.u.cu.attribute = HPI_TUNER_LEVEL_RAW; in hpi_tuner_get_raw_rf_level()
2585 *pw_level = hr.u.cu.tuner.s_level; in hpi_tuner_get_raw_rf_level()
2695 hm.u.c.attribute = HPI_TUNER_RDS; in hpi_tuner_get_rds()
2698 *(u32 *)&p_data[0] = hr.u.cu.tuner.rds.data[0]; in hpi_tuner_get_rds()
2699 *(u32 *)&p_data[4] = hr.u.cu.tuner.rds.data[1]; in hpi_tuner_get_rds()
2700 *(u32 *)&p_data[8] = hr.u.cu.tuner.rds.bLER; in hpi_tuner_get_rds()
2781 hm.u.c.attribute = HPI_VOLUME_RANGE; in hpi_volume_query_range()
2785 hr.u.c.an_log_value[0] = 0; in hpi_volume_query_range()
2786 hr.u.c.an_log_value[1] = 0; in hpi_volume_query_range()
2787 hr.u.c.param1 = 0; in hpi_volume_query_range()
2790 *min_gain_01dB = hr.u.c.an_log_value[0]; in hpi_volume_query_range()
2792 *max_gain_01dB = hr.u.c.an_log_value[1]; in hpi_volume_query_range()
2794 *step_gain_01dB = (short)hr.u.c.param1; in hpi_volume_query_range()
2810 memcpy(hm.u.c.an_log_value, an_stop_gain0_01dB, in hpi_volume_auto_fade_profile()
2813 hm.u.c.attribute = HPI_VOLUME_AUTOFADE; in hpi_volume_auto_fade_profile()
2814 hm.u.c.param1 = duration_ms; in hpi_volume_auto_fade_profile()
2815 hm.u.c.param2 = profile; in hpi_volume_auto_fade_profile()
2833 u32 u; in hpi_volume_query_auto_fade_profile() local
2834 e = hpi_control_query(h_volume, HPI_VOLUME_AUTOFADE, i, 0, &u); in hpi_volume_query_auto_fade_profile()
2835 *profile = (u16)u; in hpi_volume_query_auto_fade_profile()
2847 hm.u.c.attribute = HPI_VOX_THRESHOLD; in hpi_vox_set_threshold()
2849 hm.u.c.an_log_value[0] = an_gain0_01dB; in hpi_vox_set_threshold()
2864 hm.u.c.attribute = HPI_VOX_THRESHOLD; in hpi_vox_get_threshold()
2868 *an_gain0_01dB = hr.u.c.an_log_value[0]; in hpi_vox_get_threshold()