Searched refs:max_valid_id (Results 1 – 1 of 1) sorted by relevance
1030 unsigned int max_valid_id; in tasdevice_set_capture_profile_id() local1037 max_valid_id = tas_priv->rcabin.ncfgs - 1; in tasdevice_set_capture_profile_id()1043 if (tas_priv->rcabin.ncfgs == 0 || user_prof_id > max_valid_id) in tasdevice_set_capture_profile_id()1153 unsigned int max_valid_id, current_prof_id; in tasdevice_get_capture_profile_id() local1155 max_valid_id = tas_priv->rcabin.ncfgs > 0 ? in tasdevice_get_capture_profile_id()1164 ucontrol->value.integer.value[0] = min(current_prof_id, max_valid_id); in tasdevice_get_capture_profile_id()