Home
last modified time | relevance | path

Searched refs:gparams (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/sound/core/
Dtimer_compat.c37 struct snd_timer_gparams gparams; in snd_timer_user_gparams_compat() local
39 if (copy_from_user(&gparams.tid, &user->tid, sizeof(gparams.tid)) || in snd_timer_user_gparams_compat()
40 get_user(gparams.period_num, &user->period_num) || in snd_timer_user_gparams_compat()
41 get_user(gparams.period_den, &user->period_den)) in snd_timer_user_gparams_compat()
44 return timer_set_gparams(&gparams); in snd_timer_user_gparams_compat()
Dtimer.c1689 static int timer_set_gparams(struct snd_timer_gparams *gparams) in timer_set_gparams() argument
1695 t = snd_timer_find(&gparams->tid); in timer_set_gparams()
1708 err = t->hw.set_period(t, gparams->period_num, gparams->period_den); in timer_set_gparams()
1717 struct snd_timer_gparams gparams; in snd_timer_user_gparams() local
1719 if (copy_from_user(&gparams, _gparams, sizeof(gparams))) in snd_timer_user_gparams()
1721 return timer_set_gparams(&gparams); in snd_timer_user_gparams()