Lines Matching defs:h_control
1308 u16 hpi_control_param_set(const u32 h_control, const u16 attrib,
1316 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1325 static u16 hpi_control_log_set2(u32 h_control, u16 attrib, short sv0,
1333 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1343 u16 hpi_control_param_get(const u32 h_control, const u16 attrib, u32 param1,
1351 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1370 static u16 hpi_control_log_get2(u32 h_control, u16 attrib, short *sv0,
1377 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1389 u16 hpi_control_query(const u32 h_control, const u16 attrib, const u32 index,
1397 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1410 static u16 hpi_control_get_string(const u32 h_control, const u16 attribute,
1427 if (hpi_handle_indexes(h_control, &hm.adapter_index,
1480 u16 hpi_aesebu_receiver_set_format(u32 h_control, u16 format)
1482 return hpi_control_param_set(h_control, HPI_AESEBURX_FORMAT, format,
1486 u16 hpi_aesebu_receiver_get_format(u32 h_control, u16 *pw_format)
1491 err = hpi_control_param1_get(h_control, HPI_AESEBURX_FORMAT, ¶m);
1498 u16 hpi_aesebu_receiver_get_sample_rate(u32 h_control, u32 *psample_rate)
1500 return hpi_control_param1_get(h_control, HPI_AESEBURX_SAMPLERATE,
1504 u16 hpi_aesebu_receiver_get_user_data(u32 h_control, u16 index, u16 *pw_data)
1510 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1522 u16 hpi_aesebu_receiver_get_channel_status(u32 h_control, u16 index,
1529 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1541 u16 hpi_aesebu_receiver_get_error_status(u32 h_control, u16 *pw_error_data)
1546 err = hpi_control_param1_get(h_control, HPI_AESEBURX_ERRORSTATUS,
1553 u16 hpi_aesebu_transmitter_set_sample_rate(u32 h_control, u32 sample_rate)
1555 return hpi_control_param_set(h_control, HPI_AESEBUTX_SAMPLERATE,
1559 u16 hpi_aesebu_transmitter_set_user_data(u32 h_control, u16 index, u16 data)
1561 return hpi_control_param_set(h_control, HPI_AESEBUTX_USERDATA, index,
1565 u16 hpi_aesebu_transmitter_set_channel_status(u32 h_control, u16 index,
1568 return hpi_control_param_set(h_control, HPI_AESEBUTX_CHANNELSTATUS,
1572 u16 hpi_aesebu_transmitter_get_channel_status(u32 h_control, u16 index,
1589 u16 hpi_aesebu_transmitter_set_format(u32 h_control, u16 output_format)
1591 return hpi_control_param_set(h_control, HPI_AESEBUTX_FORMAT,
1595 u16 hpi_aesebu_transmitter_get_format(u32 h_control, u16 *pw_output_format)
1600 err = hpi_control_param1_get(h_control, HPI_AESEBUTX_FORMAT, ¶m);
1607 u16 hpi_bitstream_set_clock_edge(u32 h_control, u16 edge_type)
1609 return hpi_control_param_set(h_control, HPI_BITSTREAM_CLOCK_EDGE,
1613 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity)
1615 return hpi_control_param_set(h_control, HPI_BITSTREAM_DATA_POLARITY,
1619 u16 hpi_bitstream_get_activity(u32 h_control, u16 *pw_clk_activity,
1626 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1648 u16 hpi_channel_mode_set(u32 h_control, u16 mode)
1650 return hpi_control_param_set(h_control, HPI_CHANNEL_MODE_MODE, mode,
1654 u16 hpi_channel_mode_get(u32 h_control, u16 *mode)
1657 u16 err = hpi_control_param1_get(h_control,
1664 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count,
1673 if (hpi_handle_indexes(h_control, &hm.h.adapter_index,
1690 u16 hpi_cobranet_hmi_read(u32 h_control, u32 hmi_address, u32 max_byte_count,
1699 if (hpi_handle_indexes(h_control, &hm.h.adapter_index,
1727 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus,
1735 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1754 u16 hpi_cobranet_get_ip_address(u32 h_control, u32 *pdw_ip_address)
1760 err = hpi_cobranet_hmi_read(h_control,
1775 u16 hpi_cobranet_set_ip_address(u32 h_control, u32 dw_ip_address)
1784 err = hpi_cobranet_hmi_write(h_control,
1791 u16 hpi_cobranet_get_static_ip_address(u32 h_control, u32 *pdw_ip_address)
1796 err = hpi_cobranet_hmi_read(h_control,
1811 u16 hpi_cobranet_set_static_ip_address(u32 h_control, u32 dw_ip_address)
1820 err = hpi_cobranet_hmi_write(h_control,
1827 u16 hpi_cobranet_get_macaddress(u32 h_control, u32 *p_mac_msbs,
1834 err = hpi_cobranet_hmi_read(h_control,
1844 err = hpi_cobranet_hmi_read(h_control,
1862 u16 hpi_compander_set_enable(u32 h_control, u32 enable)
1864 return hpi_control_param_set(h_control, HPI_GENERIC_ENABLE, enable,
1868 u16 hpi_compander_get_enable(u32 h_control, u32 *enable)
1870 return hpi_control_param1_get(h_control, HPI_GENERIC_ENABLE, enable);
1873 u16 hpi_compander_set_makeup_gain(u32 h_control, short makeup_gain0_01dB)
1875 return hpi_control_log_set2(h_control, HPI_COMPANDER_MAKEUPGAIN,
1879 u16 hpi_compander_get_makeup_gain(u32 h_control, short *makeup_gain0_01dB)
1881 return hpi_control_log_get2(h_control, HPI_COMPANDER_MAKEUPGAIN,
1885 u16 hpi_compander_set_attack_time_constant(u32 h_control, unsigned int index,
1888 return hpi_control_param_set(h_control, HPI_COMPANDER_ATTACK, attack,
1892 u16 hpi_compander_get_attack_time_constant(u32 h_control, unsigned int index,
1895 return hpi_control_param_get(h_control, HPI_COMPANDER_ATTACK, 0,
1899 u16 hpi_compander_set_decay_time_constant(u32 h_control, unsigned int index,
1902 return hpi_control_param_set(h_control, HPI_COMPANDER_DECAY, decay,
1906 u16 hpi_compander_get_decay_time_constant(u32 h_control, unsigned int index,
1909 return hpi_control_param_get(h_control, HPI_COMPANDER_DECAY, 0, index,
1914 u16 hpi_compander_set_threshold(u32 h_control, unsigned int index,
1922 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1933 u16 hpi_compander_get_threshold(u32 h_control, unsigned int index,
1941 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1952 u16 hpi_compander_set_ratio(u32 h_control, u32 index, u32 ratio100)
1954 return hpi_control_param_set(h_control, HPI_COMPANDER_RATIO, ratio100,
1958 u16 hpi_compander_get_ratio(u32 h_control, u32 index, u32 *ratio100)
1960 return hpi_control_param_get(h_control, HPI_COMPANDER_RATIO, 0, index,
1964 u16 hpi_level_query_range(u32 h_control, short *min_gain_01dB,
1972 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
1991 u16 hpi_level_set_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS]
1994 return hpi_control_log_set2(h_control, HPI_LEVEL_GAIN,
1998 u16 hpi_level_get_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS]
2001 return hpi_control_log_get2(h_control, HPI_LEVEL_GAIN,
2011 u16 hpi_meter_get_peak(u32 h_control, short an_peakdB[HPI_MAX_CHANNELS]
2021 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2037 u16 hpi_meter_get_rms(u32 h_control, short an_rmsdB[HPI_MAX_CHANNELS]
2047 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2063 u16 hpi_meter_set_rms_ballistics(u32 h_control, u16 attack, u16 decay)
2065 return hpi_control_param_set(h_control, HPI_METER_RMS_BALLISTICS,
2069 u16 hpi_meter_get_rms_ballistics(u32 h_control, u16 *pn_attack, u16 *pn_decay)
2075 error = hpi_control_param2_get(h_control, HPI_METER_RMS_BALLISTICS,
2086 u16 hpi_meter_set_peak_ballistics(u32 h_control, u16 attack, u16 decay)
2088 return hpi_control_param_set(h_control, HPI_METER_PEAK_BALLISTICS,
2092 u16 hpi_meter_get_peak_ballistics(u32 h_control, u16 *pn_attack,
2099 error = hpi_control_param2_get(h_control, HPI_METER_PEAK_BALLISTICS,
2110 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off)
2112 return hpi_control_param_set(h_control, HPI_MICROPHONE_PHANTOM_POWER,
2116 u16 hpi_microphone_get_phantom_power(u32 h_control, u16 *pw_on_off)
2120 error = hpi_control_param1_get(h_control,
2127 u16 hpi_multiplexer_set_source(u32 h_control, u16 source_node_type,
2130 return hpi_control_param_set(h_control, HPI_MULTIPLEXER_SOURCE,
2134 u16 hpi_multiplexer_get_source(u32 h_control, u16 *source_node_type,
2138 u16 err = hpi_control_param2_get(h_control,
2148 u16 hpi_multiplexer_query_source(u32 h_control, u16 index,
2155 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2169 u16 hpi_parametric_eq_get_info(u32 h_control, u16 *pw_number_of_bands,
2176 error = hpi_control_param2_get(h_control, HPI_EQUALIZER_NUM_FILTERS,
2185 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off)
2187 return hpi_control_param_set(h_control, HPI_EQUALIZER_NUM_FILTERS,
2191 u16 hpi_parametric_eq_get_band(u32 h_control, u16 index, u16 *pn_type,
2199 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2218 u16 hpi_parametric_eq_set_band(u32 h_control, u16 index, u16 type,
2226 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2240 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5]
2248 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2276 u16 hpi_sample_clock_set_source(u32 h_control, u16 source)
2278 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_SOURCE,
2282 u16 hpi_sample_clock_get_source(u32 h_control, u16 *pw_source)
2286 err = hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_SOURCE,
2306 u16 hpi_sample_clock_set_source_index(u32 h_control, u16 source_index)
2308 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_SOURCE_INDEX,
2312 u16 hpi_sample_clock_get_source_index(u32 h_control, u16 *pw_source_index)
2316 err = hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_SOURCE_INDEX,
2331 u16 hpi_sample_clock_set_local_rate(u32 h_control, u32 sample_rate)
2333 return hpi_control_param_set(h_control,
2337 u16 hpi_sample_clock_get_local_rate(u32 h_control, u32 *psample_rate)
2341 err = hpi_control_param1_get(h_control,
2349 u16 hpi_sample_clock_get_sample_rate(u32 h_control, u32 *psample_rate)
2353 err = hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_SAMPLERATE,
2361 u16 hpi_sample_clock_set_auto(u32 h_control, u32 enable)
2363 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_AUTO, enable,
2367 u16 hpi_sample_clock_get_auto(u32 h_control, u32 *penable)
2369 return hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_AUTO,
2373 u16 hpi_sample_clock_set_local_rate_lock(u32 h_control, u32 lock)
2375 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_LOCAL_LOCK,
2379 u16 hpi_sample_clock_get_local_rate_lock(u32 h_control, u32 *plock)
2381 return hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_LOCAL_LOCK,
2385 u16 hpi_tone_detector_get_frequency(u32 h_control, u32 index, u32 *frequency)
2387 return hpi_control_param_get(h_control, HPI_TONEDETECTOR_FREQUENCY,
2391 u16 hpi_tone_detector_get_state(u32 h_control, u32 *state)
2393 return hpi_control_param1_get(h_control, HPI_TONEDETECTOR_STATE,
2397 u16 hpi_tone_detector_set_enable(u32 h_control, u32 enable)
2399 return hpi_control_param_set(h_control, HPI_GENERIC_ENABLE, enable,
2403 u16 hpi_tone_detector_get_enable(u32 h_control, u32 *enable)
2405 return hpi_control_param1_get(h_control, HPI_GENERIC_ENABLE, enable);
2408 u16 hpi_tone_detector_set_event_enable(u32 h_control, u32 event_enable)
2410 return hpi_control_param_set(h_control, HPI_GENERIC_EVENT_ENABLE,
2414 u16 hpi_tone_detector_get_event_enable(u32 h_control, u32 *event_enable)
2416 return hpi_control_param1_get(h_control, HPI_GENERIC_EVENT_ENABLE,
2420 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold)
2422 return hpi_control_param_set(h_control, HPI_TONEDETECTOR_THRESHOLD,
2426 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold)
2428 return hpi_control_param1_get(h_control, HPI_TONEDETECTOR_THRESHOLD,
2432 u16 hpi_silence_detector_get_state(u32 h_control, u32 *state)
2434 return hpi_control_param1_get(h_control, HPI_SILENCEDETECTOR_STATE,
2438 u16 hpi_silence_detector_set_enable(u32 h_control, u32 enable)
2440 return hpi_control_param_set(h_control, HPI_GENERIC_ENABLE, enable,
2444 u16 hpi_silence_detector_get_enable(u32 h_control, u32 *enable)
2446 return hpi_control_param1_get(h_control, HPI_GENERIC_ENABLE, enable);
2449 u16 hpi_silence_detector_set_event_enable(u32 h_control, u32 event_enable)
2451 return hpi_control_param_set(h_control, HPI_GENERIC_EVENT_ENABLE,
2455 u16 hpi_silence_detector_get_event_enable(u32 h_control, u32 *event_enable)
2457 return hpi_control_param1_get(h_control, HPI_GENERIC_EVENT_ENABLE,
2461 u16 hpi_silence_detector_set_delay(u32 h_control, u32 delay)
2463 return hpi_control_param_set(h_control, HPI_SILENCEDETECTOR_DELAY,
2467 u16 hpi_silence_detector_get_delay(u32 h_control, u32 *delay)
2469 return hpi_control_param1_get(h_control, HPI_SILENCEDETECTOR_DELAY,
2473 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold)
2475 return hpi_control_param_set(h_control, HPI_SILENCEDETECTOR_THRESHOLD,
2479 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold)
2481 return hpi_control_param1_get(h_control,
2495 u16 hpi_tuner_set_band(u32 h_control, u16 band)
2497 return hpi_control_param_set(h_control, HPI_TUNER_BAND, band, 0);
2500 u16 hpi_tuner_get_band(u32 h_control, u16 *pw_band)
2505 error = hpi_control_param1_get(h_control, HPI_TUNER_BAND, &band);
2517 u16 hpi_tuner_set_frequency(u32 h_control, u32 freq_ink_hz)
2519 return hpi_control_param_set(h_control, HPI_TUNER_FREQ, freq_ink_hz,
2523 u16 hpi_tuner_get_frequency(u32 h_control, u32 *pw_freq_ink_hz)
2525 return hpi_control_param1_get(h_control, HPI_TUNER_FREQ,
2539 u16 hpi_tuner_set_gain(u32 h_control, short gain)
2541 return hpi_control_param_set(h_control, HPI_TUNER_GAIN, gain, 0);
2544 u16 hpi_tuner_get_gain(u32 h_control, short *pn_gain)
2549 error = hpi_control_param1_get(h_control, HPI_TUNER_GAIN, &gain);
2555 u16 hpi_tuner_get_rf_level(u32 h_control, short *pw_level)
2562 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2571 u16 hpi_tuner_get_raw_rf_level(u32 h_control, short *pw_level)
2578 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2594 u16 hpi_tuner_set_deemphasis(u32 h_control, u32 deemphasis)
2596 return hpi_control_param_set(h_control, HPI_TUNER_DEEMPHASIS,
2600 u16 hpi_tuner_get_deemphasis(u32 h_control, u32 *pdeemphasis)
2602 return hpi_control_param1_get(h_control, HPI_TUNER_DEEMPHASIS,
2612 u16 hpi_tuner_set_program(u32 h_control, u32 program)
2614 return hpi_control_param_set(h_control, HPI_TUNER_PROGRAM, program,
2618 u16 hpi_tuner_get_program(u32 h_control, u32 *pprogram)
2620 return hpi_control_param1_get(h_control, HPI_TUNER_PROGRAM, pprogram);
2623 u16 hpi_tuner_get_hd_radio_dsp_version(u32 h_control, char *psz_dsp_version,
2626 return hpi_control_get_string(h_control,
2630 u16 hpi_tuner_get_hd_radio_sdk_version(u32 h_control, char *psz_sdk_version,
2633 return hpi_control_get_string(h_control,
2637 u16 hpi_tuner_get_status(u32 h_control, u16 *pw_status_mask, u16 *pw_status)
2642 error = hpi_control_param1_get(h_control, HPI_TUNER_STATUS, &status);
2655 u16 hpi_tuner_set_mode(u32 h_control, u32 mode, u32 value)
2657 return hpi_control_param_set(h_control, HPI_TUNER_MODE, mode, value);
2660 u16 hpi_tuner_get_mode(u32 h_control, u32 mode, u32 *pn_value)
2662 return hpi_control_param_get(h_control, HPI_TUNER_MODE, mode, 0,
2666 u16 hpi_tuner_get_hd_radio_signal_quality(u32 h_control, u32 *pquality)
2668 return hpi_control_param1_get(h_control,
2672 u16 hpi_tuner_get_hd_radio_signal_blend(u32 h_control, u32 *pblend)
2674 return hpi_control_param1_get(h_control, HPI_TUNER_HDRADIO_BLEND,
2678 u16 hpi_tuner_set_hd_radio_signal_blend(u32 h_control, const u32 blend)
2680 return hpi_control_param_set(h_control, HPI_TUNER_HDRADIO_BLEND,
2684 u16 hpi_tuner_get_rds(u32 h_control, char *p_data)
2691 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2703 u16 hpi_pad_get_channel_name(u32 h_control, char *psz_string,
2706 return hpi_control_get_string(h_control, HPI_PAD_CHANNEL_NAME,
2710 u16 hpi_pad_get_artist(u32 h_control, char *psz_string, const u32 data_length)
2712 return hpi_control_get_string(h_control, HPI_PAD_ARTIST, psz_string,
2716 u16 hpi_pad_get_title(u32 h_control, char *psz_string, const u32 data_length)
2718 return hpi_control_get_string(h_control, HPI_PAD_TITLE, psz_string,
2722 u16 hpi_pad_get_comment(u32 h_control, char *psz_string,
2725 return hpi_control_get_string(h_control, HPI_PAD_COMMENT, psz_string,
2729 u16 hpi_pad_get_program_type(u32 h_control, u32 *ppTY)
2731 return hpi_control_param1_get(h_control, HPI_PAD_PROGRAM_TYPE, ppTY);
2734 u16 hpi_pad_get_rdsPI(u32 h_control, u32 *ppI)
2736 return hpi_control_param1_get(h_control, HPI_PAD_PROGRAM_ID, ppI);
2745 u16 hpi_volume_set_gain(u32 h_control, short an_log_gain[HPI_MAX_CHANNELS]
2748 return hpi_control_log_set2(h_control, HPI_VOLUME_GAIN,
2752 u16 hpi_volume_get_gain(u32 h_control, short an_log_gain[HPI_MAX_CHANNELS]
2755 return hpi_control_log_get2(h_control, HPI_VOLUME_GAIN,
2759 u16 hpi_volume_set_mute(u32 h_control, u32 mute)
2761 return hpi_control_param_set(h_control, HPI_VOLUME_MUTE, mute, 0);
2764 u16 hpi_volume_get_mute(u32 h_control, u32 *mute)
2766 return hpi_control_param1_get(h_control, HPI_VOLUME_MUTE, mute);
2769 u16 hpi_volume_query_range(u32 h_control, short *min_gain_01dB,
2777 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2796 u16 hpi_volume_auto_fade_profile(u32 h_control,
2805 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2820 u16 hpi_volume_auto_fade(u32 h_control,
2823 return hpi_volume_auto_fade_profile(h_control, an_stop_gain0_01dB,
2837 u16 hpi_vox_set_threshold(u32 h_control, short an_gain0_01dB)
2843 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))
2854 u16 hpi_vox_get_threshold(u32 h_control, short *an_gain0_01dB)
2860 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index))