Lines Matching refs:h_control

1308 u16 hpi_control_param_set(const u32 h_control, const u16 attrib,  in hpi_control_param_set()  argument
1316 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_control_param_set()
1325 static u16 hpi_control_log_set2(u32 h_control, u16 attrib, short sv0, in hpi_control_log_set2() argument
1333 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_control_log_set2()
1343 u16 hpi_control_param_get(const u32 h_control, const u16 attrib, u32 param1, in hpi_control_param_get() argument
1351 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_control_param_get()
1370 static u16 hpi_control_log_get2(u32 h_control, u16 attrib, short *sv0, in hpi_control_log_get2() argument
1377 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_control_log_get2()
1389 u16 hpi_control_query(const u32 h_control, const u16 attrib, const u32 index, in hpi_control_query() argument
1397 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_control_query()
1410 static u16 hpi_control_get_string(const u32 h_control, const u16 attribute, in hpi_control_get_string() argument
1427 if (hpi_handle_indexes(h_control, &hm.adapter_index, in hpi_control_get_string()
1480 u16 hpi_aesebu_receiver_set_format(u32 h_control, u16 format) in hpi_aesebu_receiver_set_format() argument
1482 return hpi_control_param_set(h_control, HPI_AESEBURX_FORMAT, format, in hpi_aesebu_receiver_set_format()
1486 u16 hpi_aesebu_receiver_get_format(u32 h_control, u16 *pw_format) in hpi_aesebu_receiver_get_format() argument
1491 err = hpi_control_param1_get(h_control, HPI_AESEBURX_FORMAT, &param); in hpi_aesebu_receiver_get_format()
1498 u16 hpi_aesebu_receiver_get_sample_rate(u32 h_control, u32 *psample_rate) in hpi_aesebu_receiver_get_sample_rate() argument
1500 return hpi_control_param1_get(h_control, HPI_AESEBURX_SAMPLERATE, in hpi_aesebu_receiver_get_sample_rate()
1504 u16 hpi_aesebu_receiver_get_user_data(u32 h_control, u16 index, u16 *pw_data) in hpi_aesebu_receiver_get_user_data() argument
1510 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_aesebu_receiver_get_user_data()
1522 u16 hpi_aesebu_receiver_get_channel_status(u32 h_control, u16 index, in hpi_aesebu_receiver_get_channel_status() argument
1529 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_aesebu_receiver_get_channel_status()
1541 u16 hpi_aesebu_receiver_get_error_status(u32 h_control, u16 *pw_error_data) in hpi_aesebu_receiver_get_error_status() argument
1546 err = hpi_control_param1_get(h_control, HPI_AESEBURX_ERRORSTATUS, in hpi_aesebu_receiver_get_error_status()
1553 u16 hpi_aesebu_transmitter_set_sample_rate(u32 h_control, u32 sample_rate) in hpi_aesebu_transmitter_set_sample_rate() argument
1555 return hpi_control_param_set(h_control, HPI_AESEBUTX_SAMPLERATE, in hpi_aesebu_transmitter_set_sample_rate()
1559 u16 hpi_aesebu_transmitter_set_user_data(u32 h_control, u16 index, u16 data) in hpi_aesebu_transmitter_set_user_data() argument
1561 return hpi_control_param_set(h_control, HPI_AESEBUTX_USERDATA, index, in hpi_aesebu_transmitter_set_user_data()
1565 u16 hpi_aesebu_transmitter_set_channel_status(u32 h_control, u16 index, in hpi_aesebu_transmitter_set_channel_status() argument
1568 return hpi_control_param_set(h_control, HPI_AESEBUTX_CHANNELSTATUS, in hpi_aesebu_transmitter_set_channel_status()
1572 u16 hpi_aesebu_transmitter_get_channel_status(u32 h_control, u16 index, in hpi_aesebu_transmitter_get_channel_status() argument
1589 u16 hpi_aesebu_transmitter_set_format(u32 h_control, u16 output_format) in hpi_aesebu_transmitter_set_format() argument
1591 return hpi_control_param_set(h_control, HPI_AESEBUTX_FORMAT, in hpi_aesebu_transmitter_set_format()
1595 u16 hpi_aesebu_transmitter_get_format(u32 h_control, u16 *pw_output_format) in hpi_aesebu_transmitter_get_format() argument
1600 err = hpi_control_param1_get(h_control, HPI_AESEBUTX_FORMAT, &param); in hpi_aesebu_transmitter_get_format()
1607 u16 hpi_bitstream_set_clock_edge(u32 h_control, u16 edge_type) in hpi_bitstream_set_clock_edge() argument
1609 return hpi_control_param_set(h_control, HPI_BITSTREAM_CLOCK_EDGE, in hpi_bitstream_set_clock_edge()
1613 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity) in hpi_bitstream_set_data_polarity() argument
1615 return hpi_control_param_set(h_control, HPI_BITSTREAM_DATA_POLARITY, in hpi_bitstream_set_data_polarity()
1619 u16 hpi_bitstream_get_activity(u32 h_control, u16 *pw_clk_activity, in hpi_bitstream_get_activity() argument
1626 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_bitstream_get_activity()
1648 u16 hpi_channel_mode_set(u32 h_control, u16 mode) in hpi_channel_mode_set() argument
1650 return hpi_control_param_set(h_control, HPI_CHANNEL_MODE_MODE, mode, in hpi_channel_mode_set()
1654 u16 hpi_channel_mode_get(u32 h_control, u16 *mode) in hpi_channel_mode_get() argument
1657 u16 err = hpi_control_param1_get(h_control, in hpi_channel_mode_get()
1664 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count, in hpi_cobranet_hmi_write() argument
1673 if (hpi_handle_indexes(h_control, &hm.h.adapter_index, in hpi_cobranet_hmi_write()
1690 u16 hpi_cobranet_hmi_read(u32 h_control, u32 hmi_address, u32 max_byte_count, in hpi_cobranet_hmi_read() argument
1699 if (hpi_handle_indexes(h_control, &hm.h.adapter_index, in hpi_cobranet_hmi_read()
1727 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus, in hpi_cobranet_hmi_get_status() argument
1735 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_cobranet_hmi_get_status()
1754 u16 hpi_cobranet_get_ip_address(u32 h_control, u32 *pdw_ip_address) in hpi_cobranet_get_ip_address() argument
1760 err = hpi_cobranet_hmi_read(h_control, in hpi_cobranet_get_ip_address()
1775 u16 hpi_cobranet_set_ip_address(u32 h_control, u32 dw_ip_address) in hpi_cobranet_set_ip_address() argument
1784 err = hpi_cobranet_hmi_write(h_control, in hpi_cobranet_set_ip_address()
1791 u16 hpi_cobranet_get_static_ip_address(u32 h_control, u32 *pdw_ip_address) in hpi_cobranet_get_static_ip_address() argument
1796 err = hpi_cobranet_hmi_read(h_control, in hpi_cobranet_get_static_ip_address()
1811 u16 hpi_cobranet_set_static_ip_address(u32 h_control, u32 dw_ip_address) in hpi_cobranet_set_static_ip_address() argument
1820 err = hpi_cobranet_hmi_write(h_control, in hpi_cobranet_set_static_ip_address()
1827 u16 hpi_cobranet_get_macaddress(u32 h_control, u32 *p_mac_msbs, in hpi_cobranet_get_macaddress() argument
1834 err = hpi_cobranet_hmi_read(h_control, in hpi_cobranet_get_macaddress()
1844 err = hpi_cobranet_hmi_read(h_control, in hpi_cobranet_get_macaddress()
1862 u16 hpi_compander_set_enable(u32 h_control, u32 enable) in hpi_compander_set_enable() argument
1864 return hpi_control_param_set(h_control, HPI_GENERIC_ENABLE, enable, in hpi_compander_set_enable()
1868 u16 hpi_compander_get_enable(u32 h_control, u32 *enable) in hpi_compander_get_enable() argument
1870 return hpi_control_param1_get(h_control, HPI_GENERIC_ENABLE, enable); in hpi_compander_get_enable()
1873 u16 hpi_compander_set_makeup_gain(u32 h_control, short makeup_gain0_01dB) in hpi_compander_set_makeup_gain() argument
1875 return hpi_control_log_set2(h_control, HPI_COMPANDER_MAKEUPGAIN, in hpi_compander_set_makeup_gain()
1879 u16 hpi_compander_get_makeup_gain(u32 h_control, short *makeup_gain0_01dB) in hpi_compander_get_makeup_gain() argument
1881 return hpi_control_log_get2(h_control, HPI_COMPANDER_MAKEUPGAIN, in hpi_compander_get_makeup_gain()
1885 u16 hpi_compander_set_attack_time_constant(u32 h_control, unsigned int index, in hpi_compander_set_attack_time_constant() argument
1888 return hpi_control_param_set(h_control, HPI_COMPANDER_ATTACK, attack, in hpi_compander_set_attack_time_constant()
1892 u16 hpi_compander_get_attack_time_constant(u32 h_control, unsigned int index, in hpi_compander_get_attack_time_constant() argument
1895 return hpi_control_param_get(h_control, HPI_COMPANDER_ATTACK, 0, in hpi_compander_get_attack_time_constant()
1899 u16 hpi_compander_set_decay_time_constant(u32 h_control, unsigned int index, in hpi_compander_set_decay_time_constant() argument
1902 return hpi_control_param_set(h_control, HPI_COMPANDER_DECAY, decay, in hpi_compander_set_decay_time_constant()
1906 u16 hpi_compander_get_decay_time_constant(u32 h_control, unsigned int index, in hpi_compander_get_decay_time_constant() argument
1909 return hpi_control_param_get(h_control, HPI_COMPANDER_DECAY, 0, index, in hpi_compander_get_decay_time_constant()
1914 u16 hpi_compander_set_threshold(u32 h_control, unsigned int index, in hpi_compander_set_threshold() argument
1922 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_compander_set_threshold()
1933 u16 hpi_compander_get_threshold(u32 h_control, unsigned int index, in hpi_compander_get_threshold() argument
1941 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_compander_get_threshold()
1952 u16 hpi_compander_set_ratio(u32 h_control, u32 index, u32 ratio100) in hpi_compander_set_ratio() argument
1954 return hpi_control_param_set(h_control, HPI_COMPANDER_RATIO, ratio100, in hpi_compander_set_ratio()
1958 u16 hpi_compander_get_ratio(u32 h_control, u32 index, u32 *ratio100) in hpi_compander_get_ratio() argument
1960 return hpi_control_param_get(h_control, HPI_COMPANDER_RATIO, 0, index, in hpi_compander_get_ratio()
1964 u16 hpi_level_query_range(u32 h_control, short *min_gain_01dB, in hpi_level_query_range() argument
1972 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_level_query_range()
1991 u16 hpi_level_set_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS] in hpi_level_set_gain() argument
1994 return hpi_control_log_set2(h_control, HPI_LEVEL_GAIN, in hpi_level_set_gain()
1998 u16 hpi_level_get_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS] in hpi_level_get_gain() argument
2001 return hpi_control_log_get2(h_control, HPI_LEVEL_GAIN, in hpi_level_get_gain()
2011 u16 hpi_meter_get_peak(u32 h_control, short an_peakdB[HPI_MAX_CHANNELS] in hpi_meter_get_peak() argument
2021 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_meter_get_peak()
2036 u16 hpi_meter_get_rms(u32 h_control, short an_rmsdB[HPI_MAX_CHANNELS] in hpi_meter_get_rms() argument
2046 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_meter_get_rms()
2062 u16 hpi_meter_set_rms_ballistics(u32 h_control, u16 attack, u16 decay) in hpi_meter_set_rms_ballistics() argument
2064 return hpi_control_param_set(h_control, HPI_METER_RMS_BALLISTICS, in hpi_meter_set_rms_ballistics()
2068 u16 hpi_meter_get_rms_ballistics(u32 h_control, u16 *pn_attack, u16 *pn_decay) in hpi_meter_get_rms_ballistics() argument
2074 error = hpi_control_param2_get(h_control, HPI_METER_RMS_BALLISTICS, in hpi_meter_get_rms_ballistics()
2085 u16 hpi_meter_set_peak_ballistics(u32 h_control, u16 attack, u16 decay) in hpi_meter_set_peak_ballistics() argument
2087 return hpi_control_param_set(h_control, HPI_METER_PEAK_BALLISTICS, in hpi_meter_set_peak_ballistics()
2091 u16 hpi_meter_get_peak_ballistics(u32 h_control, u16 *pn_attack, in hpi_meter_get_peak_ballistics() argument
2098 error = hpi_control_param2_get(h_control, HPI_METER_PEAK_BALLISTICS, in hpi_meter_get_peak_ballistics()
2109 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off) in hpi_microphone_set_phantom_power() argument
2111 return hpi_control_param_set(h_control, HPI_MICROPHONE_PHANTOM_POWER, in hpi_microphone_set_phantom_power()
2115 u16 hpi_microphone_get_phantom_power(u32 h_control, u16 *pw_on_off) in hpi_microphone_get_phantom_power() argument
2119 error = hpi_control_param1_get(h_control, in hpi_microphone_get_phantom_power()
2126 u16 hpi_multiplexer_set_source(u32 h_control, u16 source_node_type, in hpi_multiplexer_set_source() argument
2129 return hpi_control_param_set(h_control, HPI_MULTIPLEXER_SOURCE, in hpi_multiplexer_set_source()
2133 u16 hpi_multiplexer_get_source(u32 h_control, u16 *source_node_type, in hpi_multiplexer_get_source() argument
2137 u16 err = hpi_control_param2_get(h_control, in hpi_multiplexer_get_source()
2147 u16 hpi_multiplexer_query_source(u32 h_control, u16 index, in hpi_multiplexer_query_source() argument
2154 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_multiplexer_query_source()
2168 u16 hpi_parametric_eq_get_info(u32 h_control, u16 *pw_number_of_bands, in hpi_parametric_eq_get_info() argument
2175 error = hpi_control_param2_get(h_control, HPI_EQUALIZER_NUM_FILTERS, in hpi_parametric_eq_get_info()
2184 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off) in hpi_parametric_eq_set_state() argument
2186 return hpi_control_param_set(h_control, HPI_EQUALIZER_NUM_FILTERS, in hpi_parametric_eq_set_state()
2190 u16 hpi_parametric_eq_get_band(u32 h_control, u16 index, u16 *pn_type, in hpi_parametric_eq_get_band() argument
2198 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_parametric_eq_get_band()
2217 u16 hpi_parametric_eq_set_band(u32 h_control, u16 index, u16 type, in hpi_parametric_eq_set_band() argument
2225 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_parametric_eq_set_band()
2239 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5] in hpi_parametric_eq_get_coeffs() argument
2247 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_parametric_eq_get_coeffs()
2275 u16 hpi_sample_clock_set_source(u32 h_control, u16 source) in hpi_sample_clock_set_source() argument
2277 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_SOURCE, in hpi_sample_clock_set_source()
2281 u16 hpi_sample_clock_get_source(u32 h_control, u16 *pw_source) in hpi_sample_clock_get_source() argument
2285 err = hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_SOURCE, in hpi_sample_clock_get_source()
2305 u16 hpi_sample_clock_set_source_index(u32 h_control, u16 source_index) in hpi_sample_clock_set_source_index() argument
2307 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_SOURCE_INDEX, in hpi_sample_clock_set_source_index()
2311 u16 hpi_sample_clock_get_source_index(u32 h_control, u16 *pw_source_index) in hpi_sample_clock_get_source_index() argument
2315 err = hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_SOURCE_INDEX, in hpi_sample_clock_get_source_index()
2330 u16 hpi_sample_clock_set_local_rate(u32 h_control, u32 sample_rate) in hpi_sample_clock_set_local_rate() argument
2332 return hpi_control_param_set(h_control, in hpi_sample_clock_set_local_rate()
2336 u16 hpi_sample_clock_get_local_rate(u32 h_control, u32 *psample_rate) in hpi_sample_clock_get_local_rate() argument
2340 err = hpi_control_param1_get(h_control, in hpi_sample_clock_get_local_rate()
2348 u16 hpi_sample_clock_get_sample_rate(u32 h_control, u32 *psample_rate) in hpi_sample_clock_get_sample_rate() argument
2352 err = hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_SAMPLERATE, in hpi_sample_clock_get_sample_rate()
2360 u16 hpi_sample_clock_set_auto(u32 h_control, u32 enable) in hpi_sample_clock_set_auto() argument
2362 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_AUTO, enable, in hpi_sample_clock_set_auto()
2366 u16 hpi_sample_clock_get_auto(u32 h_control, u32 *penable) in hpi_sample_clock_get_auto() argument
2368 return hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_AUTO, in hpi_sample_clock_get_auto()
2372 u16 hpi_sample_clock_set_local_rate_lock(u32 h_control, u32 lock) in hpi_sample_clock_set_local_rate_lock() argument
2374 return hpi_control_param_set(h_control, HPI_SAMPLECLOCK_LOCAL_LOCK, in hpi_sample_clock_set_local_rate_lock()
2378 u16 hpi_sample_clock_get_local_rate_lock(u32 h_control, u32 *plock) in hpi_sample_clock_get_local_rate_lock() argument
2380 return hpi_control_param1_get(h_control, HPI_SAMPLECLOCK_LOCAL_LOCK, in hpi_sample_clock_get_local_rate_lock()
2384 u16 hpi_tone_detector_get_frequency(u32 h_control, u32 index, u32 *frequency) in hpi_tone_detector_get_frequency() argument
2386 return hpi_control_param_get(h_control, HPI_TONEDETECTOR_FREQUENCY, in hpi_tone_detector_get_frequency()
2390 u16 hpi_tone_detector_get_state(u32 h_control, u32 *state) in hpi_tone_detector_get_state() argument
2392 return hpi_control_param1_get(h_control, HPI_TONEDETECTOR_STATE, in hpi_tone_detector_get_state()
2396 u16 hpi_tone_detector_set_enable(u32 h_control, u32 enable) in hpi_tone_detector_set_enable() argument
2398 return hpi_control_param_set(h_control, HPI_GENERIC_ENABLE, enable, in hpi_tone_detector_set_enable()
2402 u16 hpi_tone_detector_get_enable(u32 h_control, u32 *enable) in hpi_tone_detector_get_enable() argument
2404 return hpi_control_param1_get(h_control, HPI_GENERIC_ENABLE, enable); in hpi_tone_detector_get_enable()
2407 u16 hpi_tone_detector_set_event_enable(u32 h_control, u32 event_enable) in hpi_tone_detector_set_event_enable() argument
2409 return hpi_control_param_set(h_control, HPI_GENERIC_EVENT_ENABLE, in hpi_tone_detector_set_event_enable()
2413 u16 hpi_tone_detector_get_event_enable(u32 h_control, u32 *event_enable) in hpi_tone_detector_get_event_enable() argument
2415 return hpi_control_param1_get(h_control, HPI_GENERIC_EVENT_ENABLE, in hpi_tone_detector_get_event_enable()
2419 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold) in hpi_tone_detector_set_threshold() argument
2421 return hpi_control_param_set(h_control, HPI_TONEDETECTOR_THRESHOLD, in hpi_tone_detector_set_threshold()
2425 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold) in hpi_tone_detector_get_threshold() argument
2427 return hpi_control_param1_get(h_control, HPI_TONEDETECTOR_THRESHOLD, in hpi_tone_detector_get_threshold()
2431 u16 hpi_silence_detector_get_state(u32 h_control, u32 *state) in hpi_silence_detector_get_state() argument
2433 return hpi_control_param1_get(h_control, HPI_SILENCEDETECTOR_STATE, in hpi_silence_detector_get_state()
2437 u16 hpi_silence_detector_set_enable(u32 h_control, u32 enable) in hpi_silence_detector_set_enable() argument
2439 return hpi_control_param_set(h_control, HPI_GENERIC_ENABLE, enable, in hpi_silence_detector_set_enable()
2443 u16 hpi_silence_detector_get_enable(u32 h_control, u32 *enable) in hpi_silence_detector_get_enable() argument
2445 return hpi_control_param1_get(h_control, HPI_GENERIC_ENABLE, enable); in hpi_silence_detector_get_enable()
2448 u16 hpi_silence_detector_set_event_enable(u32 h_control, u32 event_enable) in hpi_silence_detector_set_event_enable() argument
2450 return hpi_control_param_set(h_control, HPI_GENERIC_EVENT_ENABLE, in hpi_silence_detector_set_event_enable()
2454 u16 hpi_silence_detector_get_event_enable(u32 h_control, u32 *event_enable) in hpi_silence_detector_get_event_enable() argument
2456 return hpi_control_param1_get(h_control, HPI_GENERIC_EVENT_ENABLE, in hpi_silence_detector_get_event_enable()
2460 u16 hpi_silence_detector_set_delay(u32 h_control, u32 delay) in hpi_silence_detector_set_delay() argument
2462 return hpi_control_param_set(h_control, HPI_SILENCEDETECTOR_DELAY, in hpi_silence_detector_set_delay()
2466 u16 hpi_silence_detector_get_delay(u32 h_control, u32 *delay) in hpi_silence_detector_get_delay() argument
2468 return hpi_control_param1_get(h_control, HPI_SILENCEDETECTOR_DELAY, in hpi_silence_detector_get_delay()
2472 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold) in hpi_silence_detector_set_threshold() argument
2474 return hpi_control_param_set(h_control, HPI_SILENCEDETECTOR_THRESHOLD, in hpi_silence_detector_set_threshold()
2478 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold) in hpi_silence_detector_get_threshold() argument
2480 return hpi_control_param1_get(h_control, in hpi_silence_detector_get_threshold()
2494 u16 hpi_tuner_set_band(u32 h_control, u16 band) in hpi_tuner_set_band() argument
2496 return hpi_control_param_set(h_control, HPI_TUNER_BAND, band, 0); in hpi_tuner_set_band()
2499 u16 hpi_tuner_get_band(u32 h_control, u16 *pw_band) in hpi_tuner_get_band() argument
2504 error = hpi_control_param1_get(h_control, HPI_TUNER_BAND, &band); in hpi_tuner_get_band()
2516 u16 hpi_tuner_set_frequency(u32 h_control, u32 freq_ink_hz) in hpi_tuner_set_frequency() argument
2518 return hpi_control_param_set(h_control, HPI_TUNER_FREQ, freq_ink_hz, in hpi_tuner_set_frequency()
2522 u16 hpi_tuner_get_frequency(u32 h_control, u32 *pw_freq_ink_hz) in hpi_tuner_get_frequency() argument
2524 return hpi_control_param1_get(h_control, HPI_TUNER_FREQ, in hpi_tuner_get_frequency()
2538 u16 hpi_tuner_set_gain(u32 h_control, short gain) in hpi_tuner_set_gain() argument
2540 return hpi_control_param_set(h_control, HPI_TUNER_GAIN, gain, 0); in hpi_tuner_set_gain()
2543 u16 hpi_tuner_get_gain(u32 h_control, short *pn_gain) in hpi_tuner_get_gain() argument
2548 error = hpi_control_param1_get(h_control, HPI_TUNER_GAIN, &gain); in hpi_tuner_get_gain()
2554 u16 hpi_tuner_get_rf_level(u32 h_control, short *pw_level) in hpi_tuner_get_rf_level() argument
2561 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_tuner_get_rf_level()
2570 u16 hpi_tuner_get_raw_rf_level(u32 h_control, short *pw_level) in hpi_tuner_get_raw_rf_level() argument
2577 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_tuner_get_raw_rf_level()
2593 u16 hpi_tuner_set_deemphasis(u32 h_control, u32 deemphasis) in hpi_tuner_set_deemphasis() argument
2595 return hpi_control_param_set(h_control, HPI_TUNER_DEEMPHASIS, in hpi_tuner_set_deemphasis()
2599 u16 hpi_tuner_get_deemphasis(u32 h_control, u32 *pdeemphasis) in hpi_tuner_get_deemphasis() argument
2601 return hpi_control_param1_get(h_control, HPI_TUNER_DEEMPHASIS, in hpi_tuner_get_deemphasis()
2611 u16 hpi_tuner_set_program(u32 h_control, u32 program) in hpi_tuner_set_program() argument
2613 return hpi_control_param_set(h_control, HPI_TUNER_PROGRAM, program, in hpi_tuner_set_program()
2617 u16 hpi_tuner_get_program(u32 h_control, u32 *pprogram) in hpi_tuner_get_program() argument
2619 return hpi_control_param1_get(h_control, HPI_TUNER_PROGRAM, pprogram); in hpi_tuner_get_program()
2622 u16 hpi_tuner_get_hd_radio_dsp_version(u32 h_control, char *psz_dsp_version, in hpi_tuner_get_hd_radio_dsp_version() argument
2625 return hpi_control_get_string(h_control, in hpi_tuner_get_hd_radio_dsp_version()
2629 u16 hpi_tuner_get_hd_radio_sdk_version(u32 h_control, char *psz_sdk_version, in hpi_tuner_get_hd_radio_sdk_version() argument
2632 return hpi_control_get_string(h_control, in hpi_tuner_get_hd_radio_sdk_version()
2636 u16 hpi_tuner_get_status(u32 h_control, u16 *pw_status_mask, u16 *pw_status) in hpi_tuner_get_status() argument
2641 error = hpi_control_param1_get(h_control, HPI_TUNER_STATUS, &status); in hpi_tuner_get_status()
2654 u16 hpi_tuner_set_mode(u32 h_control, u32 mode, u32 value) in hpi_tuner_set_mode() argument
2656 return hpi_control_param_set(h_control, HPI_TUNER_MODE, mode, value); in hpi_tuner_set_mode()
2659 u16 hpi_tuner_get_mode(u32 h_control, u32 mode, u32 *pn_value) in hpi_tuner_get_mode() argument
2661 return hpi_control_param_get(h_control, HPI_TUNER_MODE, mode, 0, in hpi_tuner_get_mode()
2665 u16 hpi_tuner_get_hd_radio_signal_quality(u32 h_control, u32 *pquality) in hpi_tuner_get_hd_radio_signal_quality() argument
2667 return hpi_control_param1_get(h_control, in hpi_tuner_get_hd_radio_signal_quality()
2671 u16 hpi_tuner_get_hd_radio_signal_blend(u32 h_control, u32 *pblend) in hpi_tuner_get_hd_radio_signal_blend() argument
2673 return hpi_control_param1_get(h_control, HPI_TUNER_HDRADIO_BLEND, in hpi_tuner_get_hd_radio_signal_blend()
2677 u16 hpi_tuner_set_hd_radio_signal_blend(u32 h_control, const u32 blend) in hpi_tuner_set_hd_radio_signal_blend() argument
2679 return hpi_control_param_set(h_control, HPI_TUNER_HDRADIO_BLEND, in hpi_tuner_set_hd_radio_signal_blend()
2683 u16 hpi_tuner_get_rds(u32 h_control, char *p_data) in hpi_tuner_get_rds() argument
2690 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_tuner_get_rds()
2702 u16 hpi_pad_get_channel_name(u32 h_control, char *psz_string, in hpi_pad_get_channel_name() argument
2705 return hpi_control_get_string(h_control, HPI_PAD_CHANNEL_NAME, in hpi_pad_get_channel_name()
2709 u16 hpi_pad_get_artist(u32 h_control, char *psz_string, const u32 data_length) in hpi_pad_get_artist() argument
2711 return hpi_control_get_string(h_control, HPI_PAD_ARTIST, psz_string, in hpi_pad_get_artist()
2715 u16 hpi_pad_get_title(u32 h_control, char *psz_string, const u32 data_length) in hpi_pad_get_title() argument
2717 return hpi_control_get_string(h_control, HPI_PAD_TITLE, psz_string, in hpi_pad_get_title()
2721 u16 hpi_pad_get_comment(u32 h_control, char *psz_string, in hpi_pad_get_comment() argument
2724 return hpi_control_get_string(h_control, HPI_PAD_COMMENT, psz_string, in hpi_pad_get_comment()
2728 u16 hpi_pad_get_program_type(u32 h_control, u32 *ppTY) in hpi_pad_get_program_type() argument
2730 return hpi_control_param1_get(h_control, HPI_PAD_PROGRAM_TYPE, ppTY); in hpi_pad_get_program_type()
2733 u16 hpi_pad_get_rdsPI(u32 h_control, u32 *ppI) in hpi_pad_get_rdsPI() argument
2735 return hpi_control_param1_get(h_control, HPI_PAD_PROGRAM_ID, ppI); in hpi_pad_get_rdsPI()
2744 u16 hpi_volume_set_gain(u32 h_control, short an_log_gain[HPI_MAX_CHANNELS] in hpi_volume_set_gain() argument
2747 return hpi_control_log_set2(h_control, HPI_VOLUME_GAIN, in hpi_volume_set_gain()
2751 u16 hpi_volume_get_gain(u32 h_control, short an_log_gain[HPI_MAX_CHANNELS] in hpi_volume_get_gain() argument
2754 return hpi_control_log_get2(h_control, HPI_VOLUME_GAIN, in hpi_volume_get_gain()
2758 u16 hpi_volume_set_mute(u32 h_control, u32 mute) in hpi_volume_set_mute() argument
2760 return hpi_control_param_set(h_control, HPI_VOLUME_MUTE, mute, 0); in hpi_volume_set_mute()
2763 u16 hpi_volume_get_mute(u32 h_control, u32 *mute) in hpi_volume_get_mute() argument
2765 return hpi_control_param1_get(h_control, HPI_VOLUME_MUTE, mute); in hpi_volume_get_mute()
2768 u16 hpi_volume_query_range(u32 h_control, short *min_gain_01dB, in hpi_volume_query_range() argument
2776 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_volume_query_range()
2795 u16 hpi_volume_auto_fade_profile(u32 h_control, in hpi_volume_auto_fade_profile() argument
2804 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_volume_auto_fade_profile()
2819 u16 hpi_volume_auto_fade(u32 h_control, in hpi_volume_auto_fade() argument
2822 return hpi_volume_auto_fade_profile(h_control, an_stop_gain0_01dB, in hpi_volume_auto_fade()
2836 u16 hpi_vox_set_threshold(u32 h_control, short an_gain0_01dB) in hpi_vox_set_threshold() argument
2842 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_vox_set_threshold()
2853 u16 hpi_vox_get_threshold(u32 h_control, short *an_gain0_01dB) in hpi_vox_get_threshold() argument
2859 if (hpi_handle_indexes(h_control, &hm.adapter_index, &hm.obj_index)) in hpi_vox_get_threshold()