• Home
  • Raw
  • Download

Lines Matching refs:ms

808         struct mixer_state * ms = &ar->mixer_state[ctl_index];  in audio_route_update_path()  local
810 type = mixer_ctl_get_type(ms->ctl); in audio_route_update_path()
815 if (reverse && ms->active_count > 0) { in audio_route_update_path()
816 ms->active_count--; in audio_route_update_path()
818 ms->active_count++; in audio_route_update_path()
823 for (j = 0; j < ms->num_values; j++) { in audio_route_update_path()
825 if (ms->old_value.bytes[j] != ms->new_value.bytes[j]) { in audio_route_update_path()
826 if (reverse && ms->active_count > 0) { in audio_route_update_path()
829 mixer_ctl_get_name(ms->ctl), name); in audio_route_update_path()
830 memcpy(ms->new_value.bytes, ms->old_value.bytes, in audio_route_update_path()
831 ms->num_values * value_sz); in audio_route_update_path()
834 mixer_ctl_set_array(ms->ctl, ms->new_value.bytes, ms->num_values); in audio_route_update_path()
835 memcpy(ms->old_value.bytes, ms->new_value.bytes, ms->num_values * value_sz); in audio_route_update_path()
839 if (ms->old_value.enumerated[j] != ms->new_value.enumerated[j]) { in audio_route_update_path()
840 if (reverse && ms->active_count > 0) { in audio_route_update_path()
843 mixer_ctl_get_name(ms->ctl), name); in audio_route_update_path()
844 memcpy(ms->new_value.enumerated, ms->old_value.enumerated, in audio_route_update_path()
845 ms->num_values * value_sz); in audio_route_update_path()
848 mixer_ctl_set_value(ms->ctl, 0, ms->new_value.enumerated[0]); in audio_route_update_path()
849 memcpy(ms->old_value.enumerated, ms->new_value.enumerated, in audio_route_update_path()
850 ms->num_values * value_sz); in audio_route_update_path()
853 } else if (ms->old_value.integer[j] != ms->new_value.integer[j]) { in audio_route_update_path()
854 if (reverse && ms->active_count > 0) { in audio_route_update_path()
857 mixer_ctl_get_name(ms->ctl), name); in audio_route_update_path()
858 memcpy(ms->new_value.integer, ms->old_value.integer, in audio_route_update_path()
859 ms->num_values * value_sz); in audio_route_update_path()
862 mixer_ctl_set_array(ms->ctl, ms->new_value.integer, ms->num_values); in audio_route_update_path()
863 memcpy(ms->old_value.integer, ms->new_value.integer, ms->num_values * value_sz); in audio_route_update_path()