Lines Matching refs:h_control

343 	u32 h_control;  in snd_card_asihpi_pcm_samplerates()  local
360 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_card_asihpi_pcm_samplerates()
368 if (hpi_sample_clock_get_sample_rate(h_control, in snd_card_asihpi_pcm_samplerates()
371 } else if (hpi_sample_clock_query_local_rate(h_control, in snd_card_asihpi_pcm_samplerates()
953 u32 h_control; in snd_card_asihpi_playback_formats() local
962 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_card_asihpi_playback_formats()
965 err = hpi_sample_clock_get_sample_rate(h_control, in snd_card_asihpi_playback_formats()
1128 u32 h_control; in snd_card_asihpi_capture_formats() local
1136 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_card_asihpi_capture_formats()
1139 err = hpi_sample_clock_get_sample_rate(h_control, in snd_card_asihpi_capture_formats()
1287 u32 h_control; member
1382 snd_control->private_value = hpi_ctl->h_control; in asihpi_ctl_init()
1429 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_info() local
1437 err = hpi_volume_query_range(h_control, in snd_asihpi_volume_info()
1445 err = hpi_meter_query_channels(h_control, &count); in snd_asihpi_volume_info()
1460 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_get() local
1463 hpi_handle_error(hpi_volume_get_gain(h_control, an_gain_mB)); in snd_asihpi_volume_get()
1473 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_put() local
1483 hpi_handle_error(hpi_volume_set_gain(h_control, an_gain_mB)); in snd_asihpi_volume_put()
1494 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_mute_get() local
1497 hpi_handle_error(hpi_volume_get_mute(h_control, &mute)); in snd_asihpi_volume_mute_get()
1506 u32 h_control = kcontrol->private_value; in snd_asihpi_volume_mute_put() local
1511 hpi_handle_error(hpi_volume_set_mute(h_control, mute)); in snd_asihpi_volume_mute_put()
1535 if (hpi_volume_get_mute(hpi_ctl->h_control, &mute) == 0) { in snd_asihpi_volume_add()
1552 u32 h_control = kcontrol->private_value; in snd_asihpi_level_info() local
1559 hpi_level_query_range(h_control, &min_gain_mB, in snd_asihpi_level_info()
1578 u32 h_control = kcontrol->private_value; in snd_asihpi_level_get() local
1581 hpi_handle_error(hpi_level_get_gain(h_control, an_gain_mB)); in snd_asihpi_level_get()
1594 u32 h_control = kcontrol->private_value; in snd_asihpi_level_put() local
1605 hpi_handle_error(hpi_level_set_gain(h_control, an_gain_mB)); in snd_asihpi_level_put()
1647 u32 h_control = kcontrol->private_value; in snd_asihpi_aesebu_format_get() local
1650 err = func(h_control, &source); in snd_asihpi_aesebu_format_get()
1669 u32 h_control = kcontrol->private_value; in snd_asihpi_aesebu_format_put() local
1679 if (func(h_control, source) != 0) in snd_asihpi_aesebu_format_put()
1713 u32 h_control = kcontrol->private_value; in snd_asihpi_aesebu_rxstatus_get() local
1717 h_control, &status)); in snd_asihpi_aesebu_rxstatus_get()
1784 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_gain_info() local
1790 err = hpi_tuner_query_gain(h_control, in snd_asihpi_tuner_gain_info()
1810 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_gain_get() local
1813 hpi_handle_error(hpi_tuner_get_gain(h_control, &gain)); in snd_asihpi_tuner_gain_get()
1825 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_gain_put() local
1829 hpi_handle_error(hpi_tuner_set_gain(h_control, gain)); in snd_asihpi_tuner_gain_put()
1838 u32 h_control = kcontrol->private_value; in asihpi_tuner_band_query() local
1844 h_control, i, &band_list[i]); in asihpi_tuner_band_query()
1873 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_band_get() local
1884 hpi_handle_error(hpi_tuner_get_band(h_control, &band)); in snd_asihpi_tuner_band_get()
1902 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_band_put() local
1915 hpi_handle_error(hpi_tuner_set_band(h_control, band)); in snd_asihpi_tuner_band_put()
1925 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_freq_info() local
1940 err = hpi_tuner_query_frequency(h_control, in snd_asihpi_tuner_freq_info()
1970 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_freq_get() local
1973 hpi_handle_error(hpi_tuner_get_frequency(h_control, &freq)); in snd_asihpi_tuner_freq_get()
1982 u32 h_control = kcontrol->private_value; in snd_asihpi_tuner_freq_put() local
1986 hpi_handle_error(hpi_tuner_set_frequency(h_control, freq)); in snd_asihpi_tuner_freq_put()
1998 snd_control.private_value = hpi_ctl->h_control; in snd_asihpi_tuner_add()
2001 if (!hpi_tuner_get_gain(hpi_ctl->h_control, NULL)) { in snd_asihpi_tuner_add()
2033 u32 h_control = kcontrol->private_value; in snd_asihpi_meter_info() local
2036 err = hpi_meter_query_channels(h_control, &count); in snd_asihpi_meter_info()
2073 u32 h_control = kcontrol->private_value; in snd_asihpi_meter_get() local
2077 err = hpi_meter_get_peak(h_control, an_gain_mB); in snd_asihpi_meter_get()
2118 u32 h_control = snd_control->private_value; in snd_card_asihpi_mux_count_sources() local
2122 err = hpi_multiplexer_query_source(h_control, s, in snd_card_asihpi_mux_count_sources()
2137 u32 h_control = kcontrol->private_value; in snd_asihpi_mux_info() local
2148 hpi_multiplexer_query_source(h_control, in snd_asihpi_mux_info()
2161 u32 h_control = kcontrol->private_value; in snd_asihpi_mux_get() local
2166 hpi_handle_error(hpi_multiplexer_get_source(h_control, in snd_asihpi_mux_get()
2170 if (hpi_multiplexer_query_source(h_control, s, in snd_asihpi_mux_get()
2182 h_control, source_type, source_index); in snd_asihpi_mux_get()
2191 u32 h_control = kcontrol->private_value; in snd_asihpi_mux_put() local
2197 e = hpi_multiplexer_query_source(h_control, in snd_asihpi_mux_put()
2202 hpi_multiplexer_set_source(h_control, in snd_asihpi_mux_put()
2237 u32 h_control = kcontrol->private_value; in snd_asihpi_cmode_info() local
2248 h_control, i, &mode)) { in snd_asihpi_cmode_info()
2262 u32 h_control = kcontrol->private_value; in snd_asihpi_cmode_get() local
2265 if (hpi_channel_mode_get(h_control, &mode)) in snd_asihpi_cmode_get()
2277 u32 h_control = kcontrol->private_value; in snd_asihpi_cmode_put() local
2281 hpi_handle_error(hpi_channel_mode_set(h_control, in snd_asihpi_cmode_put()
2342 u32 h_control = kcontrol->private_value; in snd_asihpi_clksrc_get() local
2347 if (hpi_sample_clock_get_source(h_control, &source)) in snd_asihpi_clksrc_get()
2351 if (hpi_sample_clock_get_source_index(h_control, &srcindex)) in snd_asihpi_clksrc_get()
2372 u32 h_control = kcontrol->private_value; in snd_asihpi_clksrc_put() local
2380 h_control, clkcache->s[item].source)); in snd_asihpi_clksrc_put()
2384 h_control, clkcache->s[item].index)); in snd_asihpi_clksrc_put()
2407 u32 h_control = kcontrol->private_value; in snd_asihpi_clklocal_get() local
2411 e = hpi_sample_clock_get_local_rate(h_control, &rate); in snd_asihpi_clklocal_get()
2423 u32 h_control = kcontrol->private_value; in snd_asihpi_clklocal_put() local
2429 hpi_handle_error(hpi_sample_clock_set_local_rate(h_control, in snd_asihpi_clklocal_put()
2449 u32 h_control = kcontrol->private_value; in snd_asihpi_clkrate_get() local
2453 e = hpi_sample_clock_get_sample_rate(h_control, &rate); in snd_asihpi_clkrate_get()
2468 u32 hSC = hpi_ctl->h_control; in snd_asihpi_sampleclock_add()
2477 snd_control.private_value = hpi_ctl->h_control; in snd_asihpi_sampleclock_add()
2574 &hpi_ctl.h_control); in snd_card_asihpi_mixer_new()
2673 u32 h_control; in snd_asihpi_proc_read() local
2704 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_asihpi_proc_read()
2707 err = hpi_sample_clock_get_sample_rate(h_control, &rate); in snd_asihpi_proc_read()
2708 err += hpi_sample_clock_get_source(h_control, &source); in snd_asihpi_proc_read()
2784 u32 h_control; in snd_asihpi_probe() local
2900 HPI_CONTROL_SAMPLECLOCK, &h_control); in snd_asihpi_probe()
2904 h_control, adapter_fs); in snd_asihpi_probe()