Home
last modified time | relevance | path

Searched refs:hrtimer_resolution (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-gpio.c50 remainder = do_div(dividend, hrtimer_resolution); in pwm_gpio_round()
54 remainder = do_div(dividend, hrtimer_resolution); in pwm_gpio_round()
107 if (state->duty_cycle && state->duty_cycle < hrtimer_resolution) in pwm_gpio_apply()
111 (state->period - state->duty_cycle < hrtimer_resolution)) in pwm_gpio_apply()
/linux/include/linux/
H A Dhrtimer.h175 extern unsigned int hrtimer_resolution;
179 #define hrtimer_resolution (unsigned int)LOW_RES_NSEC macro
193 rem -= hrtimer_resolution; in __hrtimer_expires_remaining_adjusted()
/linux/kernel/time/
H A Dposix-stubs.c79 .tv_nsec = hrtimer_resolution, in SYSCALL_DEFINE2()
162 .tv_nsec = hrtimer_resolution, in SYSCALL_DEFINE2()
H A Dhrtimer.c706 unsigned int hrtimer_resolution __read_mostly = LOW_RES_NSEC;
707 EXPORT_SYMBOL_GPL(hrtimer_resolution);
740 hrtimer_resolution = HIGH_RES_NSEC; in hrtimer_switch_to_hres()
1048 if (interval < hrtimer_resolution) in hrtimer_forward()
1049 interval = hrtimer_resolution; in hrtimer_forward()
1180 tim = ktime_add_safe(tim, hrtimer_resolution); in hrtimer_update_lowres()
H A Dvsyscall.c112 WRITE_ONCE(vdata->hrtimer_res, hrtimer_resolution); in update_vsyscall()
H A Dtimer_list.c104 SEQ_printf(m, " .resolution: %u nsecs\n", hrtimer_resolution); in print_base()
H A Dalarmtimer.c614 tp->tv_nsec = hrtimer_resolution; in alarm_clock_getres()
H A Dposix-timers.c282 tp->tv_nsec = hrtimer_resolution; in posix_get_hrtimer_res()
/linux/sound/core/
H A Dhrtimer.c133 resolution = hrtimer_resolution; in snd_hrtimer_init()
/linux/sound/drivers/pcsp/
H A Dpcsp.c45 unsigned int resolution = hrtimer_resolution; in snd_pcsp_create()
/linux/scripts/gdb/linux/
H A Dconstants.py.in63 LX_GDBPARSED(hrtimer_resolution)
/linux/net/sched/
H A Dsch_api.c2440 (u32)NSEC_PER_SEC / hrtimer_resolution); in psched_show()