Lines Matching refs:ctl
695 struct mixer_ctl *ctl;
707 struct mixer_ctl *ctl;
2909 struct mixer_ctl *ctl;
2921 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_COMPRESS_PLAYBACK_VOLUME);
2922 if (!ctl) {
2923 ALOGE("%s: Could not get ctl for mixer cmd - %s",
2929 mixer_ctl_set_array(ctl, offload_volume,
4439 struct mixer_ctl *ctl;
4468 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_HEADPHONE_JACK_SWITCH);
4469 if (ctl != NULL)
4470 mixer_ctl_set_value(ctl, 0, 1);
4476 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_CODEC_VMIXER_CODEC_SWITCH);
4477 if (ctl != NULL)
4478 mixer_ctl_set_value(ctl, 0, 1);
4484 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_SPK_VMIXER_SPK_SWITCH);
4485 if (ctl != NULL)
4486 mixer_ctl_set_value(ctl, 0, 1);
4532 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_HEADPHONE_JACK_SWITCH);
4533 if (ctl != NULL)
4534 mixer_ctl_set_value(ctl, 0, 0);
4535 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_CODEC_VMIXER_CODEC_SWITCH);
4536 if (ctl != NULL)
4537 mixer_ctl_set_value(ctl, 0, 0);
4539 ctl = mixer_get_ctl_by_name(mixer, MIXER_CTL_SPK_VMIXER_SPK_SWITCH);
4540 if (ctl != NULL)
4541 mixer_ctl_set_value(ctl, 0, 0);