Lines Matching refs:val
188 int val; in def_tmr_ioctl() local
208 if (__get_user(val, p)) in def_tmr_ioctl()
210 if (val) { in def_tmr_ioctl()
211 if (val < 1) in def_tmr_ioctl()
212 val = 1; in def_tmr_ioctl()
213 if (val > 1000) in def_tmr_ioctl()
214 val = 1000; in def_tmr_ioctl()
215 curr_timebase = val; in def_tmr_ioctl()
220 if (__get_user(val, p)) in def_tmr_ioctl()
222 if (val) { in def_tmr_ioctl()
223 if (val < 8) in def_tmr_ioctl()
224 val = 8; in def_tmr_ioctl()
225 if (val > 250) in def_tmr_ioctl()
226 val = 250; in def_tmr_ioctl()
230 curr_tempo = val; in def_tmr_ioctl()
236 if (__get_user(val, p)) in def_tmr_ioctl()
238 if (val != 0) /* Can't change */ in def_tmr_ioctl()
240 val = ((curr_tempo * curr_timebase) + 30) / 60; in def_tmr_ioctl()
241 return __put_user(val, p); in def_tmr_ioctl()