Lines Matching refs:h_control
336 u32 h_control; in snd_card_asihpi_pcm_samplerates() local
353 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_card_asihpi_pcm_samplerates()
361 if (hpi_sample_clock_get_sample_rate(h_control, in snd_card_asihpi_pcm_samplerates()
364 } else if (hpi_sample_clock_query_local_rate(h_control, in snd_card_asihpi_pcm_samplerates()
943 u32 h_control; in snd_card_asihpi_playback_formats() local
952 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_card_asihpi_playback_formats()
955 err = hpi_sample_clock_get_sample_rate(h_control, in snd_card_asihpi_playback_formats()
1113 u32 h_control; in snd_card_asihpi_capture_formats() local
1121 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_card_asihpi_capture_formats()
1124 err = hpi_sample_clock_get_sample_rate(h_control, in snd_card_asihpi_capture_formats()
1273 u32 h_control; member
1368 snd_control->private_value = hpi_ctl->h_control; in asihpi_ctl_init()
1413 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_info() local
1421 err = hpi_volume_query_range(h_control, in snd_asihpi_volume_info()
1429 err = hpi_meter_query_channels(h_control, &count); in snd_asihpi_volume_info()
1444 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_get() local
1447 hpi_handle_error(hpi_volume_get_gain(h_control, an_gain_mB)); in snd_asihpi_volume_get()
1457 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_put() local
1467 hpi_handle_error(hpi_volume_set_gain(h_control, an_gain_mB)); in snd_asihpi_volume_put()
1478 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_mute_get() local
1481 hpi_handle_error(hpi_volume_get_mute(h_control, &mute)); in snd_asihpi_volume_mute_get()
1490 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_mute_put() local
1495 hpi_handle_error(hpi_volume_set_mute(h_control, mute)); in snd_asihpi_volume_mute_put()
1519 if (hpi_volume_get_mute(hpi_ctl->h_control, &mute) == 0) { in snd_asihpi_volume_add()
1536 u32 h_control = kcontrol->private_value; in snd_asihpi_level_info() local
1543 hpi_level_query_range(h_control, &min_gain_mB, in snd_asihpi_level_info()
1562 u32 h_control = kcontrol->private_value; in snd_asihpi_level_get() local
1565 hpi_handle_error(hpi_level_get_gain(h_control, an_gain_mB)); in snd_asihpi_level_get()
1578 u32 h_control = kcontrol->private_value; in snd_asihpi_level_put() local
1589 hpi_handle_error(hpi_level_set_gain(h_control, an_gain_mB)); in snd_asihpi_level_put()
1631 u32 h_control = kcontrol->private_value; in snd_asihpi_aesebu_format_get() local
1634 err = func(h_control, &source); in snd_asihpi_aesebu_format_get()
1653 u32 h_control = kcontrol->private_value; in snd_asihpi_aesebu_format_put() local
1663 if (func(h_control, source) != 0) in snd_asihpi_aesebu_format_put()
1697 u32 h_control = kcontrol->private_value; in snd_asihpi_aesebu_rxstatus_get() local
1701 h_control, &status)); in snd_asihpi_aesebu_rxstatus_get()
1768 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_gain_info() local
1774 err = hpi_tuner_query_gain(h_control, in snd_asihpi_tuner_gain_info()
1794 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_gain_get() local
1797 hpi_handle_error(hpi_tuner_get_gain(h_control, &gain)); in snd_asihpi_tuner_gain_get()
1809 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_gain_put() local
1813 hpi_handle_error(hpi_tuner_set_gain(h_control, gain)); in snd_asihpi_tuner_gain_put()
1822 u32 h_control = kcontrol->private_value; in asihpi_tuner_band_query() local
1828 h_control, i, &band_list[i]); in asihpi_tuner_band_query()
1857 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_band_get() local
1868 hpi_handle_error(hpi_tuner_get_band(h_control, &band)); in snd_asihpi_tuner_band_get()
1886 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_band_put() local
1899 hpi_handle_error(hpi_tuner_set_band(h_control, band)); in snd_asihpi_tuner_band_put()
1909 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_freq_info() local
1924 err = hpi_tuner_query_frequency(h_control, in snd_asihpi_tuner_freq_info()
1954 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_freq_get() local
1957 hpi_handle_error(hpi_tuner_get_frequency(h_control, &freq)); in snd_asihpi_tuner_freq_get()
1966 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_freq_put() local
1970 hpi_handle_error(hpi_tuner_set_frequency(h_control, freq)); in snd_asihpi_tuner_freq_put()
1982 snd_control.private_value = hpi_ctl->h_control; in snd_asihpi_tuner_add()
1985 if (!hpi_tuner_get_gain(hpi_ctl->h_control, NULL)) { in snd_asihpi_tuner_add()
2017 u32 h_control = kcontrol->private_value; in snd_asihpi_meter_info() local
2020 err = hpi_meter_query_channels(h_control, &count); in snd_asihpi_meter_info()
2057 u32 h_control = kcontrol->private_value; in snd_asihpi_meter_get() local
2061 err = hpi_meter_get_peak(h_control, an_gain_mB); in snd_asihpi_meter_get()
2102 u32 h_control = snd_control->private_value; in snd_card_asihpi_mux_count_sources() local
2106 err = hpi_multiplexer_query_source(h_control, s, in snd_card_asihpi_mux_count_sources()
2121 u32 h_control = kcontrol->private_value; in snd_asihpi_mux_info() local
2132 hpi_multiplexer_query_source(h_control, in snd_asihpi_mux_info()
2145 u32 h_control = kcontrol->private_value; in snd_asihpi_mux_get() local
2150 hpi_handle_error(hpi_multiplexer_get_source(h_control, in snd_asihpi_mux_get()
2154 if (hpi_multiplexer_query_source(h_control, s, in snd_asihpi_mux_get()
2165 __func__, h_control, source_type, source_index); in snd_asihpi_mux_get()
2174 u32 h_control = kcontrol->private_value; in snd_asihpi_mux_put() local
2180 e = hpi_multiplexer_query_source(h_control, in snd_asihpi_mux_put()
2185 hpi_multiplexer_set_source(h_control, in snd_asihpi_mux_put()
2220 u32 h_control = kcontrol->private_value; in snd_asihpi_cmode_info() local
2231 h_control, i, &mode)) { in snd_asihpi_cmode_info()
2245 u32 h_control = kcontrol->private_value; in snd_asihpi_cmode_get() local
2248 if (hpi_channel_mode_get(h_control, &mode)) in snd_asihpi_cmode_get()
2260 u32 h_control = kcontrol->private_value; in snd_asihpi_cmode_put() local
2264 hpi_handle_error(hpi_channel_mode_set(h_control, in snd_asihpi_cmode_put()
2325 u32 h_control = kcontrol->private_value; in snd_asihpi_clksrc_get() local
2330 if (hpi_sample_clock_get_source(h_control, &source)) in snd_asihpi_clksrc_get()
2334 if (hpi_sample_clock_get_source_index(h_control, &srcindex)) in snd_asihpi_clksrc_get()
2355 u32 h_control = kcontrol->private_value; in snd_asihpi_clksrc_put() local
2363 h_control, clkcache->s[item].source)); in snd_asihpi_clksrc_put()
2367 h_control, clkcache->s[item].index)); in snd_asihpi_clksrc_put()
2390 u32 h_control = kcontrol->private_value; in snd_asihpi_clklocal_get() local
2394 e = hpi_sample_clock_get_local_rate(h_control, &rate); in snd_asihpi_clklocal_get()
2406 u32 h_control = kcontrol->private_value; in snd_asihpi_clklocal_put() local
2412 hpi_handle_error(hpi_sample_clock_set_local_rate(h_control, in snd_asihpi_clklocal_put()
2432 u32 h_control = kcontrol->private_value; in snd_asihpi_clkrate_get() local
2436 e = hpi_sample_clock_get_sample_rate(h_control, &rate); in snd_asihpi_clkrate_get()
2451 u32 hSC = hpi_ctl->h_control; in snd_asihpi_sampleclock_add()
2460 snd_control.private_value = hpi_ctl->h_control; in snd_asihpi_sampleclock_add()
2557 &hpi_ctl.h_control); in snd_card_asihpi_mixer_new()
2656 u32 h_control; in snd_asihpi_proc_read() local
2687 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_asihpi_proc_read()
2690 err = hpi_sample_clock_get_sample_rate(h_control, &rate); in snd_asihpi_proc_read()
2691 err += hpi_sample_clock_get_source(h_control, &source); in snd_asihpi_proc_read()
2767 u32 h_control; in snd_asihpi_probe() local
2883 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_asihpi_probe()
2887 h_control, adapter_fs); in snd_asihpi_probe()