Home
last modified time | relevance | path

Searched refs:clock_id (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/selftests/timers/
A Dset-timer-lat.c53 int clock_id; variable
102 clock_gettime(clock_id, &ts); in sigalarm()
118 clockstring(clock_id), in describe_timer()
139 err = timer_create(clock_id, &se, tm1); in setup_timer()
144 clockstring(clock_id), in setup_timer()
153 clock_gettime(clock_id, &start_time); in setup_timer()
210 int do_timer(int clock_id, int flags) in do_timer() argument
265 for (clock_id = 0; clock_id < NR_CLOCKIDS; clock_id++) { in main()
272 (clock_id == CLOCK_HWSPECIFIC)) in main()
276 ret |= do_timer(clock_id, 0); in main()
[all …]
/linux/include/linux/firmware/
A Dxlnx-zynqmp.h383 int zynqmp_pm_clock_enable(u32 clock_id);
384 int zynqmp_pm_clock_disable(u32 clock_id);
385 int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state);
386 int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider);
387 int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider);
388 int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate);
389 int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate);
390 int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id);
391 int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id);
447 static inline int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable() argument
[all …]
/linux/sound/soc/qcom/qdsp6/
A Dq6prm.c42 struct audio_hw_clk_cfg clock_id; member
48 struct audio_hw_clk_rel_cfg clock_id; member
136 req->clock_id.clock_id = clk_id; in q6prm_request_lpass_clock()
137 req->clock_id.clock_freq = freq; in q6prm_request_lpass_clock()
138 req->clock_id.clock_attri = clk_attr; in q6prm_request_lpass_clock()
139 req->clock_id.clock_root = clk_root; in q6prm_request_lpass_clock()
173 rel->clock_id.clock_id = clk_id; in q6prm_release_lpass_clock()
A Daudioreach.h547 uint32_t clock_id; member
554 uint32_t clock_id; member
/linux/arch/mips/vdso/
A Dvgettimeofday.c36 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres() argument
39 return __cvdso_clock_getres_time32(clock_id, res); in __vdso_clock_getres()
72 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres() argument
75 return __cvdso_clock_getres(clock_id, res); in __vdso_clock_getres()
/linux/drivers/firmware/xilinx/
A Dzynqmp.c389 int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable() argument
404 int zynqmp_pm_clock_disable(u32 clock_id) in zynqmp_pm_clock_disable() argument
420 int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) in zynqmp_pm_clock_getstate() argument
425 ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETSTATE, clock_id, 0, in zynqmp_pm_clock_getstate()
443 int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) in zynqmp_pm_clock_setdivider() argument
460 int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) in zynqmp_pm_clock_getdivider() argument
482 int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate) in zynqmp_pm_clock_setrate() argument
484 return zynqmp_pm_invoke_fn(PM_CLOCK_SETRATE, clock_id, in zynqmp_pm_clock_setrate()
501 int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate) in zynqmp_pm_clock_getrate() argument
506 ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETRATE, clock_id, 0, in zynqmp_pm_clock_getrate()
[all …]
/linux/tools/testing/selftests/vDSO/
A Dvdso_test_clock_getres.c68 static inline int vdso_test_clock(unsigned int clock_id) in vdso_test_clock() argument
72 printf("clock_id: %s", vdso_clock_name[clock_id]); in vdso_test_clock()
73 clock_getres(clock_id, &x); in vdso_test_clock()
74 syscall_clock_getres(clock_id, &y); in vdso_test_clock()
A Dvdso_test_abi.c161 static inline int vdso_test_clock(clockid_t clock_id) in vdso_test_clock() argument
165 ret0 = vdso_test_clock_gettime(clock_id); in vdso_test_clock()
170 ret1 = vdso_test_clock_getres(clock_id); in vdso_test_clock()
177 printf("clock_id: %s", vdso_clock_name[clock_id]); in vdso_test_clock()
/linux/kernel/time/
A Dhrtimer.c435 __hrtimer_init(timer, clock_id, mode); in hrtimer_init_on_stack()
443 clockid_t clock_id, enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack() argument
446 __hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper_on_stack()
1531 if (likely(clock_id < MAX_CLOCKS)) { in hrtimer_clockid_to_base()
1567 clock_id = CLOCK_MONOTONIC; in __hrtimer_init()
1570 base += hrtimer_clockid_to_base(clock_id); in __hrtimer_init()
1592 debug_init(timer, clock_id, mode); in hrtimer_init()
1593 __hrtimer_init(timer, clock_id, mode); in hrtimer_init()
1996 __hrtimer_init(&sl->timer, clock_id, mode); in __hrtimer_init_sleeper()
2010 debug_init(&sl->timer, clock_id, mode); in hrtimer_init_sleeper()
[all …]
A Ditimer.c47 static void get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in get_cpu_itimer() argument
51 struct cpu_itimer *it = &tsk->signal->it[clock_id]; in get_cpu_itimer()
61 t = samples[clock_id]; in get_cpu_itimer()
168 static void set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in set_cpu_itimer() argument
173 struct cpu_itimer *it = &tsk->signal->it[clock_id]; in set_cpu_itimer()
185 set_process_cpu_timer(tsk, clock_id, &nval, &oval); in set_cpu_itimer()
189 trace_itimer_state(clock_id == CPUCLOCK_VIRT ? in set_cpu_itimer()
/linux/arch/riscv/kernel/vdso/
A Dvgettimeofday.c27 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res);
28 int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) in __vdso_clock_getres() argument
30 return __cvdso_clock_getres(clock_id, res); in __vdso_clock_getres()
/linux/drivers/clk/zynqmp/
A Dclkc.c225 static int zynqmp_pm_clock_get_name(u32 clock_id, in zynqmp_pm_clock_get_name() argument
232 qdata.arg1 = 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() argument
265 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_topology()
354 static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, in zynqmp_pm_clock_get_parents() argument
362 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_parents()
380 static int zynqmp_pm_clock_get_attributes(u32 clock_id, in zynqmp_pm_clock_get_attributes() argument
388 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_attributes()
/linux/arch/arm64/kernel/vdso/
A Dvgettimeofday.c21 int __kernel_clock_getres(clockid_t clock_id, in __kernel_clock_getres() argument
24 return __cvdso_clock_getres(clock_id, res); in __kernel_clock_getres()
/linux/arch/csky/kernel/vdso/
A Dvgettimeofday.c24 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres() argument
27 return __cvdso_clock_getres_time32(clock_id, res); in __vdso_clock_getres()
/linux/arch/arm/vdso/
A Dvgettimeofday.c28 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres() argument
31 return __cvdso_clock_getres_time32(clock_id, res); in __vdso_clock_getres()
/linux/arch/arm64/kernel/vdso32/
A Dvgettimeofday.c27 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres() argument
30 return __cvdso_clock_getres_time32(clock_id, res); in __vdso_clock_getres()
/linux/include/linux/
A Dhrtimer.h374 extern void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id,
381 clockid_t clock_id,
394 clockid_t clock_id, in hrtimer_init_sleeper_on_stack() argument
397 hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper_on_stack()
520 clockid_t clock_id);
/linux/arch/powerpc/kernel/vdso64/
A Dvgettimeofday.c20 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, in __c_kernel_clock_getres() argument
23 return __cvdso_clock_getres_data(vd, clock_id, res); in __c_kernel_clock_getres()
/linux/arch/powerpc/kernel/vdso32/
A Dvgettimeofday.c25 int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res, in __c_kernel_clock_getres() argument
28 return __cvdso_clock_getres_time32_data(vd, clock_id, res); in __c_kernel_clock_getres()
/linux/tools/perf/tests/
A Dsw-clock.c27 static int __test__sw_clock_freq(enum perf_sw_ids clock_id) in __test__sw_clock_freq() argument
39 .config = clock_id, in __test__sw_clock_freq()
/linux/sound/usb/
A Dclock.c261 int ret, i, cur, err, pins, clock_id; in __uac_clock_find_source() local
291 clock_id = GET_VAL(selector, proto, bClockID); in __uac_clock_find_source()
302 ret = uac_clock_selector_get_val(chip, clock_id); in __uac_clock_find_source()
314 __func__, clock_id, ret); in __uac_clock_find_source()
/linux/arch/powerpc/include/asm/vdso/
A Dgettimeofday.h209 int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res,
216 int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res,
/linux/arch/mips/ar7/
A Dclock.c305 static int tnetd7200_get_clock_base(int clock_id, u32 *bootcr) in tnetd7200_get_clock_base() argument
309 switch (clock_id) { in tnetd7200_get_clock_base()
319 switch (clock_id) { in tnetd7200_get_clock_base()
/linux/include/linux/iio/
A Diio-opaque.h59 clockid_t clock_id; member
/linux/drivers/gpu/drm/amd/display/dc/
A Ddm_pp_smu.h203 enum pp_smu_nv_clock_id clock_id, int Mhz);

Completed in 52 milliseconds

12