Lines Matching refs:ctl
929 struct mixer_ctl *ctl; in get_cvd_version() local
933 ctl = mixer_get_ctl_by_name(adev->mixer, CVD_VERSION_MIXER_CTL); in get_cvd_version()
934 if (!ctl) { in get_cvd_version()
938 mixer_ctl_update(ctl); in get_cvd_version()
940 count = mixer_ctl_get_num_values(ctl); in get_cvd_version()
944 ret = mixer_ctl_get_array(ctl, cvd_version, count); in get_cvd_version()
1744 struct mixer_ctl *ctl; in platform_set_voice_volume() local
1757 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_voice_volume()
1758 if (!ctl) { in platform_set_voice_volume()
1764 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_voice_volume()
1779 struct mixer_ctl *ctl; in platform_set_mic_mute() local
1787 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_mic_mute()
1788 if (!ctl) { in platform_set_mic_mute()
1794 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_mic_mute()
1809 struct mixer_ctl *ctl; in platform_set_device_mute() local
1829 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_device_mute()
1830 if (!ctl) { in platform_set_device_mute()
1838 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_device_mute()
2347 struct mixer_ctl *ctl; in platform_set_hdmi_channels() local
2366 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_hdmi_channels()
2367 if (!ctl) { in platform_set_hdmi_channels()
2373 mixer_ctl_set_enum_by_string(ctl, channel_cnt_str); in platform_set_hdmi_channels()
2388 struct mixer_ctl *ctl; in platform_edid_get_max_channels() local
2390 ctl = mixer_get_ctl_by_name(adev->mixer, AUDIO_DATA_BLOCK_MIXER_CTL); in platform_edid_get_max_channels()
2391 if (!ctl) { in platform_edid_get_max_channels()
2397 mixer_ctl_update(ctl); in platform_edid_get_max_channels()
2399 count = mixer_ctl_get_num_values(ctl); in platform_edid_get_max_channels()
2405 ret = mixer_ctl_get_array(ctl, block, count); in platform_edid_get_max_channels()
2436 struct mixer_ctl *ctl; in platform_set_slowtalk() local
2442 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_slowtalk()
2443 if (!ctl) { in platform_set_slowtalk()
2449 ret = mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_slowtalk()
2466 struct mixer_ctl *ctl; in set_hd_voice() local
2473 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in set_hd_voice()
2474 if (!ctl) { in set_hd_voice()
2480 ret = mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in set_hd_voice()
2570 struct mixer_ctl *ctl; in platform_set_incall_recording_session_id() local
2575 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_incall_recording_session_id()
2576 if (!ctl) { in platform_set_incall_recording_session_id()
2581 num_ctl_values = mixer_ctl_get_num_values(ctl); in platform_set_incall_recording_session_id()
2583 if (mixer_ctl_set_value(ctl, i, session_id)) { in platform_set_incall_recording_session_id()