/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
D | set-timer-lat.c | 53 int clock_id; variable 102 clock_gettime(clock_id, &ts); in sigalarm() 118 clockstring(clock_id), in describe_timer() 123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument 139 err = timer_create(clock_id, &se, tm1); in setup_timer() 141 if ((clock_id == CLOCK_REALTIME_ALARM) || in setup_timer() 142 (clock_id == CLOCK_BOOTTIME_ALARM)) { in setup_timer() 144 clockstring(clock_id), in setup_timer() 149 printf("%s - timer_create() failed\n", clockstring(clock_id)); in setup_timer() 153 clock_gettime(clock_id, &start_time); in setup_timer() [all …]
|
/kernel/linux/linux-5.10/include/linux/firmware/ |
D | xlnx-zynqmp.h | 321 int zynqmp_pm_clock_enable(u32 clock_id); 322 int zynqmp_pm_clock_disable(u32 clock_id); 323 int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state); 324 int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider); 325 int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider); 326 int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate); 327 int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate); 328 int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id); 329 int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id); 373 static inline int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable() argument [all …]
|
/kernel/linux/linux-5.10/arch/mips/vdso/ |
D | vgettimeofday.c | 36 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()
|
/kernel/linux/linux-5.10/drivers/firmware/xilinx/ |
D | zynqmp.c | 382 int zynqmp_pm_clock_enable(u32 clock_id) in zynqmp_pm_clock_enable() argument 384 return zynqmp_pm_invoke_fn(PM_CLOCK_ENABLE, clock_id, 0, 0, 0, NULL); in zynqmp_pm_clock_enable() 397 int zynqmp_pm_clock_disable(u32 clock_id) in zynqmp_pm_clock_disable() argument 399 return zynqmp_pm_invoke_fn(PM_CLOCK_DISABLE, clock_id, 0, 0, 0, NULL); in zynqmp_pm_clock_disable() 413 int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) in zynqmp_pm_clock_getstate() argument 418 ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETSTATE, clock_id, 0, in zynqmp_pm_clock_getstate() 436 int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) in zynqmp_pm_clock_setdivider() argument 438 return zynqmp_pm_invoke_fn(PM_CLOCK_SETDIVIDER, clock_id, divider, in zynqmp_pm_clock_setdivider() 453 int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) in zynqmp_pm_clock_getdivider() argument 458 ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETDIVIDER, clock_id, 0, in zynqmp_pm_clock_getdivider() [all …]
|
/kernel/linux/linux-5.10/arch/riscv/kernel/vdso/ |
D | vgettimeofday.c | 27 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()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | hrtimer.c | 428 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, 431 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack() argument 435 __hrtimer_init(timer, clock_id, mode); in hrtimer_init_on_stack() 440 clockid_t clock_id, enum hrtimer_mode mode); 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() 1449 static inline int hrtimer_clockid_to_base(clockid_t clock_id) in hrtimer_clockid_to_base() argument 1451 if (likely(clock_id < MAX_CLOCKS)) { in hrtimer_clockid_to_base() 1452 int base = hrtimer_clock_to_base_table[clock_id]; in hrtimer_clockid_to_base() 1457 WARN(1, "Invalid clockid %d. Using MONOTONIC\n", clock_id); in hrtimer_clockid_to_base() [all …]
|
D | itimer.c | 47 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()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso/ |
D | vgettimeofday.c | 21 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()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso32/ |
D | vgettimeofday.c | 27 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()
|
/kernel/linux/linux-5.10/arch/arm/vdso/ |
D | vgettimeofday.c | 33 int __vdso_clock_getres(clockid_t clock_id, in __vdso_clock_getres() argument 36 return __cvdso_clock_getres_time32(clock_id, res); in __vdso_clock_getres()
|
/kernel/linux/linux-5.10/drivers/clk/zynqmp/ |
D | clkc.c | 225 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() 331 static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, in zynqmp_pm_clock_get_parents() argument 339 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_parents() 357 static int zynqmp_pm_clock_get_attributes(u32 clock_id, in zynqmp_pm_clock_get_attributes() argument 365 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_attributes()
|
/kernel/linux/linux-5.10/include/linux/ |
D | hrtimer.h | 382 extern void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, 389 clockid_t clock_id, 402 clockid_t clock_id, in hrtimer_init_sleeper_on_stack() argument 405 hrtimer_init_sleeper(sl, clock_id, mode); in hrtimer_init_sleeper_on_stack() 524 clockid_t clock_id);
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | sw-clock.c | 27 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()
|
/kernel/linux/linux-5.10/include/linux/iio/ |
D | iio.h | 549 clockid_t clock_id; member 610 return indio_dev->clock_id; in iio_device_get_clock() 613 int iio_device_set_clock(struct iio_dev *indio_dev, clockid_t clock_id);
|
/kernel/linux/linux-5.10/arch/mips/ar7/ |
D | clock.c | 295 static int tnetd7200_get_clock_base(int clock_id, u32 *bootcr) in tnetd7200_get_clock_base() argument 299 switch (clock_id) { in tnetd7200_get_clock_base() 309 switch (clock_id) { in tnetd7200_get_clock_base()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
D | dm_pp_smu.h | 203 enum pp_smu_nv_clock_id clock_id, int Mhz);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_pp_smu.c | 782 enum pp_smu_nv_clock_id clock_id, int mhz) in pp_nv_set_voltage_by_freq() argument 792 switch (clock_id) { in pp_nv_set_voltage_by_freq()
|
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-core.c | 215 int iio_device_set_clock(struct iio_dev *indio_dev, clockid_t clock_id) in iio_device_set_clock() argument 229 indio_dev->clock_id = clock_id; in iio_device_set_clock()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
D | arm,scpi.txt | 55 - clock-indices: The identifying number for the clocks(i.e.clock_id) in the
|
/kernel/linux/linux-5.10/drivers/clk/imx/ |
D | clk-imx6q.c | 143 static int ldb_di_sel_by_clock_id(int clock_id) in ldb_di_sel_by_clock_id() argument 145 switch (clock_id) { in ldb_di_sel_by_clock_id()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace.c | 1550 if (trace_clocks[tr->clock_id].in_ns) in trace_clock_in_ns() 4378 if (trace_clocks[tr->clock_id].in_ns) in __tracing_open() 6168 if (trace_clocks[tr->clock_id].in_ns) in tracing_open_pipe() 6799 i == tr->clock_id ? "[" : "", trace_clocks[i].name, in tracing_clock_show() 6800 i == tr->clock_id ? "]" : ""); in tracing_clock_show() 6819 tr->clock_id = i; in tracing_set_clock() 7824 if (trace_clocks[tr->clock_id].in_ns) { in tracing_stats_read() 9291 if (trace_clocks[iter->tr->clock_id].in_ns) in trace_init_global_iter()
|
D | trace.h | 339 int clock_id; member
|