Home
last modified time | relevance | path

Searched defs:clock_id (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dset-timer-lat.c53 int clock_id; variable
123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer()
210 int do_timer(int clock_id, int flags) in do_timer()
228 int do_timer_oneshot(int clock_id, int flags) in do_timer_oneshot()
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
Dset-timer-lat.c53 int clock_id; variable
123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer()
210 int do_timer(int clock_id, int flags) in do_timer()
228 int do_timer_oneshot(int clock_id, int flags) in do_timer_oneshot()
/kernel/linux/linux-5.10/drivers/firmware/xilinx/
Dzynqmp.c382 int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable()
397 int zynqmp_pm_clock_disable(u32 clock_id) in zynqmp_pm_clock_disable()
413 int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) in zynqmp_pm_clock_getstate()
436 int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) in zynqmp_pm_clock_setdivider()
453 int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) in zynqmp_pm_clock_getdivider()
475 int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate) in zynqmp_pm_clock_setrate()
494 int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate) in zynqmp_pm_clock_getrate()
516 int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) in zynqmp_pm_clock_setparent()
533 int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) in zynqmp_pm_clock_getparent()
/kernel/linux/linux-6.6/arch/mips/vdso/
Dvgettimeofday.c36 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
72 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-5.10/arch/mips/vdso/
Dvgettimeofday.c36 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
72 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-6.6/arch/powerpc/kernel/vdso/
Dvgettimeofday.c15 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, in __c_kernel_clock_getres()
33 int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res, in __c_kernel_clock_getres()
/kernel/linux/linux-5.10/include/linux/firmware/
Dxlnx-zynqmp.h373 static inline int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable()
378 static inline int zynqmp_pm_clock_disable(u32 clock_id) in zynqmp_pm_clock_disable()
383 static inline int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) in zynqmp_pm_clock_getstate()
388 static inline int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) in zynqmp_pm_clock_setdivider()
393 static inline int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) in zynqmp_pm_clock_getdivider()
398 static inline int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate) in zynqmp_pm_clock_setrate()
403 static inline int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate) in zynqmp_pm_clock_getrate()
408 static inline int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) in zynqmp_pm_clock_setparent()
413 static inline int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) in zynqmp_pm_clock_getparent()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c139 static __u64 gettime(clockid_t clock_id) in gettime()
153 static void verify_xdp_metadata(void *data, clockid_t clock_id) in verify_xdp_metadata()
231 static int verify_metadata(struct xsk *rx_xsk, int rxq, int server_fd, clockid_t clock_id) in verify_metadata()
409 clockid_t clock_id = CLOCK_TAI; in main() local
/kernel/linux/linux-6.6/drivers/firmware/xilinx/
Dzynqmp.c531 int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable()
546 int zynqmp_pm_clock_disable(u32 clock_id) in zynqmp_pm_clock_disable()
562 int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) in zynqmp_pm_clock_getstate()
585 int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) in zynqmp_pm_clock_setdivider()
602 int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) in zynqmp_pm_clock_getdivider()
624 int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate) in zynqmp_pm_clock_setrate()
643 int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate) in zynqmp_pm_clock_getrate()
665 int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) in zynqmp_pm_clock_setparent()
682 int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) in zynqmp_pm_clock_getparent()
/kernel/linux/linux-6.6/arch/arm64/kernel/vdso/
Dvgettimeofday.c25 int __kernel_clock_getres(clockid_t clock_id, in __kernel_clock_getres()
/kernel/linux/linux-6.6/arch/loongarch/vdso/
Dvgettimeofday.c25 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/kernel/linux/linux-5.10/arch/loongarch/vdso/
Dvgettimeofday.c23 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso/
Dvgettimeofday.c21 int __kernel_clock_getres(clockid_t clock_id, in __kernel_clock_getres()
/kernel/linux/linux-6.6/arch/riscv/kernel/vdso/
Dvgettimeofday.c28 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/kernel/linux/linux-5.10/arch/riscv/kernel/vdso/
Dvgettimeofday.c28 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres()
/kernel/linux/linux-5.10/kernel/time/
Dhrtimer.c431 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack()
443 clockid_t clock_id, enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack()
1450 static inline int hrtimer_clockid_to_base(clockid_t clock_id) in hrtimer_clockid_to_base()
1462 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in __hrtimer_init()
1510 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init()
1895 clockid_t clock_id, enum hrtimer_mode mode) in __hrtimer_init_sleeper()
1932 void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, in hrtimer_init_sleeper()
2320 const enum hrtimer_mode mode, clockid_t clock_id) in schedule_hrtimeout_range_clock()
/kernel/linux/linux-6.6/kernel/time/
Dhrtimer.c461 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack()
473 clockid_t clock_id, enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack()
1599 static inline int hrtimer_clockid_to_base(clockid_t clock_id) in hrtimer_clockid_to_base()
1611 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in __hrtimer_init()
1659 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init()
2040 clockid_t clock_id, enum hrtimer_mode mode) in __hrtimer_init_sleeper()
2077 void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, in hrtimer_init_sleeper()
2348 const enum hrtimer_mode mode, clockid_t clock_id) in schedule_hrtimeout_range_clock()
/kernel/linux/linux-6.6/arch/csky/kernel/vdso/
Dvgettimeofday.c35 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/
Dvdso_test_clock_getres.c68 static inline int vdso_test_clock(unsigned int clock_id) in vdso_test_clock()
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Dclkc.c225 static int zynqmp_pm_clock_get_name(u32 clock_id, in zynqmp_pm_clock_get_name()
257 static int zynqmp_pm_clock_get_topology(u32 clock_id, u32 index, in zynqmp_pm_clock_get_topology()
331 static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, in zynqmp_pm_clock_get_parents()
357 static int zynqmp_pm_clock_get_attributes(u32 clock_id, in zynqmp_pm_clock_get_attributes()
/kernel/linux/linux-6.6/drivers/clk/zynqmp/
Dclkc.c226 static int zynqmp_pm_clock_get_name(u32 clock_id, in zynqmp_pm_clock_get_name()
262 static int zynqmp_pm_clock_get_topology(u32 clock_id, u32 index, in zynqmp_pm_clock_get_topology()
359 static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, in zynqmp_pm_clock_get_parents()
385 static int zynqmp_pm_clock_get_attributes(u32 clock_id, in zynqmp_pm_clock_get_attributes()
/kernel/linux/linux-5.10/arch/arm/vdso/
Dvgettimeofday.c33 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-6.6/arch/arm64/kernel/vdso32/
Dvgettimeofday.c27 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso32/
Dvgettimeofday.c27 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()
/kernel/linux/linux-6.6/arch/arm/vdso/
Dvgettimeofday.c30 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres()

123