Lines Matching refs:ctl

920     struct mixer_ctl *ctl;  in get_cvd_version()  local
924 ctl = mixer_get_ctl_by_name(adev->mixer, CVD_VERSION_MIXER_CTL); in get_cvd_version()
925 if (!ctl) { in get_cvd_version()
929 mixer_ctl_update(ctl); in get_cvd_version()
931 count = mixer_ctl_get_num_values(ctl); in get_cvd_version()
935 ret = mixer_ctl_get_array(ctl, cvd_version, count); in get_cvd_version()
1698 struct mixer_ctl *ctl; in platform_set_voice_volume() local
1711 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_voice_volume()
1712 if (!ctl) { in platform_set_voice_volume()
1718 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_voice_volume()
1734 struct mixer_ctl *ctl; in platform_set_mic_mute() local
1749 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_mic_mute()
1750 if (!ctl) { in platform_set_mic_mute()
1756 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_mic_mute()
1772 struct mixer_ctl *ctl; in platform_set_device_mute() local
1792 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_device_mute()
1793 if (!ctl) { in platform_set_device_mute()
1801 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_device_mute()
2312 struct mixer_ctl *ctl; in platform_set_hdmi_channels() local
2331 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_hdmi_channels()
2332 if (!ctl) { in platform_set_hdmi_channels()
2338 mixer_ctl_set_enum_by_string(ctl, channel_cnt_str); in platform_set_hdmi_channels()
2353 struct mixer_ctl *ctl; in platform_edid_get_max_channels() local
2355 ctl = mixer_get_ctl_by_name(adev->mixer, AUDIO_DATA_BLOCK_MIXER_CTL); in platform_edid_get_max_channels()
2356 if (!ctl) { in platform_edid_get_max_channels()
2362 mixer_ctl_update(ctl); in platform_edid_get_max_channels()
2364 count = mixer_ctl_get_num_values(ctl); in platform_edid_get_max_channels()
2370 ret = mixer_ctl_get_array(ctl, block, count); in platform_edid_get_max_channels()
2403 struct mixer_ctl *ctl; in platform_set_incall_recording_session_id() local
2408 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_incall_recording_session_id()
2409 if (!ctl) { in platform_set_incall_recording_session_id()
2414 num_ctl_values = mixer_ctl_get_num_values(ctl); in platform_set_incall_recording_session_id()
2416 if (mixer_ctl_set_value(ctl, i, session_id)) { in platform_set_incall_recording_session_id()
2627 const struct mixer_ctl *ctl; in ramp_speaker_gain() local