Lines Matching refs:ret
619 int ret;
622 ret = snd_ctl_remove_locked(card, kcontrol);
624 return ret;
641 int ret;
649 ret = snd_ctl_remove_locked(card, kctl);
651 return ret;
670 int idx, ret;
675 ret = -ENOENT;
679 ret = -EINVAL;
684 ret = -EBUSY;
687 ret = snd_ctl_remove_locked(card, kctl);
690 return ret;
711 int ret;
716 ret = -ENOENT;
721 ret = 0;
739 return ret;
1149 int i, ret;
1157 ret = sanity_check_int_value(card, control, info, i,
1159 if (ret < 0)
1160 return ret;
1177 int ret;
1180 ret = sanity_check_input_values(card, control, info, true);
1181 if (ret < 0)
1182 return ret;
1190 ret = -EINVAL;
1196 return ret;
1280 int ret;
1285 ret = -ENOENT;
1292 ret = -EPERM;
1302 ret = __snd_ctl_elem_info(card, kctl, &info, NULL);
1303 if (ret < 0)
1309 ret = snd_power_ref_and_wait(card);
1310 if (!ret)
1311 ret = kctl->get(kctl, control);
1313 if (ret < 0)
1322 ret = -EINVAL;
1327 return ret;
1904 int i, ret;
1922 ret = snd_power_ref_and_wait(file->card);
1923 if (!ret)
1924 ret = kctl->tlv.c(kctl, op_flag, size, buf);
1926 return ret;