Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/include/linux/
H A Dhrtimer.h178 extern unsigned int hrtimer_resolution;
182 #define hrtimer_resolution (unsigned int)LOW_RES_NSEC macro
196 rem -= hrtimer_resolution; in __hrtimer_expires_remaining_adjusted()
/linux-6.15/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.c713 unsigned int hrtimer_resolution __read_mostly = LOW_RES_NSEC;
714 EXPORT_SYMBOL_GPL(hrtimer_resolution);
747 hrtimer_resolution = HIGH_RES_NSEC; in hrtimer_switch_to_hres()
1055 if (interval < hrtimer_resolution) in hrtimer_forward()
1056 interval = hrtimer_resolution; in hrtimer_forward()
1187 tim = ktime_add_safe(tim, hrtimer_resolution); in hrtimer_update_lowres()
H A Dvsyscall.c113 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.c632 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-6.15/sound/core/
H A Dhrtimer.c132 resolution = hrtimer_resolution; in snd_hrtimer_init()
/linux-6.15/sound/drivers/pcsp/
H A Dpcsp.c45 unsigned int resolution = hrtimer_resolution; in snd_pcsp_create()
/linux-6.15/scripts/gdb/linux/
H A Dconstants.py.in62 LX_GDBPARSED(hrtimer_resolution)
/linux-6.15/net/sched/
H A Dsch_api.c2449 (u32)NSEC_PER_SEC / hrtimer_resolution); in psched_show()