clock_id 23 arch/arm64/kernel/vdso/vgettimeofday.c int __kernel_clock_getres(clockid_t clock_id, clock_id 26 arch/arm64/kernel/vdso/vgettimeofday.c return __cvdso_clock_getres(clock_id, res); clock_id 37 arch/arm64/kernel/vdso32/vgettimeofday.c int __vdso_clock_getres(clockid_t clock_id, clock_id 44 arch/arm64/kernel/vdso32/vgettimeofday.c return __cvdso_clock_getres_time32(clock_id, res); clock_id 295 arch/mips/ar7/clock.c static int tnetd7200_get_clock_base(int clock_id, u32 *bootcr) clock_id 299 arch/mips/ar7/clock.c switch (clock_id) { clock_id 309 arch/mips/ar7/clock.c switch (clock_id) { clock_id 36 arch/mips/vdso/vgettimeofday.c int __vdso_clock_getres(clockid_t clock_id, clock_id 39 arch/mips/vdso/vgettimeofday.c return __cvdso_clock_getres_time32(clock_id, res); clock_id 72 arch/mips/vdso/vgettimeofday.c int __vdso_clock_getres(clockid_t clock_id, clock_id 75 arch/mips/vdso/vgettimeofday.c return __cvdso_clock_getres(clock_id, res); clock_id 149 drivers/clk/imx/clk-imx6q.c static int ldb_di_sel_by_clock_id(int clock_id) clock_id 151 drivers/clk/imx/clk-imx6q.c switch (clock_id) { clock_id 225 drivers/clk/zynqmp/clkc.c static int zynqmp_pm_clock_get_name(u32 clock_id, clock_id 232 drivers/clk/zynqmp/clkc.c qdata.arg1 = clock_id; clock_id 257 drivers/clk/zynqmp/clkc.c static int zynqmp_pm_clock_get_topology(u32 clock_id, u32 index, clock_id 265 drivers/clk/zynqmp/clkc.c qdata.arg1 = clock_id; clock_id 331 drivers/clk/zynqmp/clkc.c static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, clock_id 339 drivers/clk/zynqmp/clkc.c qdata.arg1 = clock_id; clock_id 357 drivers/clk/zynqmp/clkc.c static int zynqmp_pm_clock_get_attributes(u32 clock_id, clock_id 365 drivers/clk/zynqmp/clkc.c qdata.arg1 = clock_id; clock_id 308 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_enable(u32 clock_id) clock_id 310 drivers/firmware/xilinx/zynqmp.c return zynqmp_pm_invoke_fn(PM_CLOCK_ENABLE, clock_id, 0, 0, 0, NULL); clock_id 322 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_disable(u32 clock_id) clock_id 324 drivers/firmware/xilinx/zynqmp.c return zynqmp_pm_invoke_fn(PM_CLOCK_DISABLE, clock_id, 0, 0, 0, NULL); clock_id 337 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) clock_id 342 drivers/firmware/xilinx/zynqmp.c ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETSTATE, clock_id, 0, clock_id 359 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) clock_id 361 drivers/firmware/xilinx/zynqmp.c return zynqmp_pm_invoke_fn(PM_CLOCK_SETDIVIDER, clock_id, divider, clock_id 375 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) clock_id 380 drivers/firmware/xilinx/zynqmp.c ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETDIVIDER, clock_id, 0, clock_id 396 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate) clock_id 398 drivers/firmware/xilinx/zynqmp.c return zynqmp_pm_invoke_fn(PM_CLOCK_SETRATE, clock_id, clock_id 414 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate) clock_id 419 drivers/firmware/xilinx/zynqmp.c ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETRATE, clock_id, 0, clock_id 435 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) clock_id 437 drivers/firmware/xilinx/zynqmp.c return zynqmp_pm_invoke_fn(PM_CLOCK_SETPARENT, clock_id, clock_id 451 drivers/firmware/xilinx/zynqmp.c static int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) clock_id 456 drivers/firmware/xilinx/zynqmp.c ret = zynqmp_pm_invoke_fn(PM_CLOCK_GETPARENT, clock_id, 0, clock_id 832 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c enum pp_smu_nv_clock_id clock_id, int mhz) clock_id 842 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c switch (clock_id) { clock_id 210 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h enum pp_smu_nv_clock_id clock_id, int Mhz); clock_id 191 drivers/iio/industrialio-core.c static int iio_device_set_clock(struct iio_dev *indio_dev, clockid_t clock_id) clock_id 204 drivers/iio/industrialio-core.c indio_dev->clock_id = clock_id; clock_id 273 include/linux/firmware/xlnx-zynqmp.h int (*clock_enable)(u32 clock_id); clock_id 274 include/linux/firmware/xlnx-zynqmp.h int (*clock_disable)(u32 clock_id); clock_id 275 include/linux/firmware/xlnx-zynqmp.h int (*clock_getstate)(u32 clock_id, u32 *state); clock_id 276 include/linux/firmware/xlnx-zynqmp.h int (*clock_setdivider)(u32 clock_id, u32 divider); clock_id 277 include/linux/firmware/xlnx-zynqmp.h int (*clock_getdivider)(u32 clock_id, u32 *divider); clock_id 278 include/linux/firmware/xlnx-zynqmp.h int (*clock_setrate)(u32 clock_id, u64 rate); clock_id 279 include/linux/firmware/xlnx-zynqmp.h int (*clock_getrate)(u32 clock_id, u64 *rate); clock_id 280 include/linux/firmware/xlnx-zynqmp.h int (*clock_setparent)(u32 clock_id, u32 parent_id); clock_id 281 include/linux/firmware/xlnx-zynqmp.h int (*clock_getparent)(u32 clock_id, u32 *parent_id); clock_id 377 include/linux/hrtimer.h extern void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, clock_id 384 include/linux/hrtimer.h clockid_t clock_id, clock_id 397 include/linux/hrtimer.h clockid_t clock_id, clock_id 400 include/linux/hrtimer.h hrtimer_init_sleeper(sl, clock_id, mode); clock_id 520 include/linux/hrtimer.h clockid_t clock_id); clock_id 557 include/linux/iio/iio.h clockid_t clock_id; clock_id 625 include/linux/iio/iio.h return indio_dev->clock_id; clock_id 429 kernel/time/hrtimer.c static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, clock_id 432 kernel/time/hrtimer.c void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, clock_id 436 kernel/time/hrtimer.c __hrtimer_init(timer, clock_id, mode); clock_id 441 kernel/time/hrtimer.c clockid_t clock_id, enum hrtimer_mode mode); clock_id 444 kernel/time/hrtimer.c clockid_t clock_id, enum hrtimer_mode mode) clock_id 447 kernel/time/hrtimer.c __hrtimer_init_sleeper(sl, clock_id, mode); clock_id 1364 kernel/time/hrtimer.c static inline int hrtimer_clockid_to_base(clockid_t clock_id) clock_id 1366 kernel/time/hrtimer.c if (likely(clock_id < MAX_CLOCKS)) { clock_id 1367 kernel/time/hrtimer.c int base = hrtimer_clock_to_base_table[clock_id]; clock_id 1372 kernel/time/hrtimer.c WARN(1, "Invalid clockid %d. Using MONOTONIC\n", clock_id); clock_id 1376 kernel/time/hrtimer.c static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, clock_id 1401 kernel/time/hrtimer.c if (clock_id == CLOCK_REALTIME && mode & HRTIMER_MODE_REL) clock_id 1402 kernel/time/hrtimer.c clock_id = CLOCK_MONOTONIC; clock_id 1405 kernel/time/hrtimer.c base += hrtimer_clockid_to_base(clock_id); clock_id 1424 kernel/time/hrtimer.c void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, clock_id 1427 kernel/time/hrtimer.c debug_init(timer, clock_id, mode); clock_id 1428 kernel/time/hrtimer.c __hrtimer_init(timer, clock_id, mode); clock_id 1800 kernel/time/hrtimer.c clockid_t clock_id, enum hrtimer_mode mode) clock_id 1826 kernel/time/hrtimer.c __hrtimer_init(&sl->timer, clock_id, mode); clock_id 1837 kernel/time/hrtimer.c void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, clock_id 1840 kernel/time/hrtimer.c debug_init(&sl->timer, clock_id, mode); clock_id 1841 kernel/time/hrtimer.c __hrtimer_init_sleeper(sl, clock_id, mode); clock_id 2104 kernel/time/hrtimer.c const enum hrtimer_mode mode, clockid_t clock_id) clock_id 2125 kernel/time/hrtimer.c hrtimer_init_sleeper_on_stack(&t, clock_id, mode); clock_id 47 kernel/time/itimer.c static void get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, clock_id 51 kernel/time/itimer.c struct cpu_itimer *it = &tsk->signal->it[clock_id]; clock_id 61 kernel/time/itimer.c t = samples[clock_id]; clock_id 143 kernel/time/itimer.c static void set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, clock_id 148 kernel/time/itimer.c struct cpu_itimer *it = &tsk->signal->it[clock_id]; clock_id 164 kernel/time/itimer.c set_process_cpu_timer(tsk, clock_id, &nval, &oval); clock_id 168 kernel/time/itimer.c trace_itimer_state(clock_id == CPUCLOCK_VIRT ? clock_id 1364 kernel/trace/trace.c if (trace_clocks[tr->clock_id].in_ns) clock_id 4126 kernel/trace/trace.c if (trace_clocks[tr->clock_id].in_ns) clock_id 5891 kernel/trace/trace.c if (trace_clocks[tr->clock_id].in_ns) clock_id 6528 kernel/trace/trace.c i == tr->clock_id ? "[" : "", trace_clocks[i].name, clock_id 6529 kernel/trace/trace.c i == tr->clock_id ? "]" : ""); clock_id 6548 kernel/trace/trace.c tr->clock_id = i; clock_id 7554 kernel/trace/trace.c if (trace_clocks[tr->clock_id].in_ns) { clock_id 8914 kernel/trace/trace.c if (trace_clocks[iter->tr->clock_id].in_ns) clock_id 291 kernel/trace/trace.h int clock_id; clock_id 26 tools/perf/tests/sw-clock.c static int __test__sw_clock_freq(enum perf_sw_ids clock_id) clock_id 38 tools/perf/tests/sw-clock.c .config = clock_id, clock_id 53 tools/testing/selftests/timers/set-timer-lat.c int clock_id; clock_id 102 tools/testing/selftests/timers/set-timer-lat.c clock_gettime(clock_id, &ts); clock_id 118 tools/testing/selftests/timers/set-timer-lat.c clockstring(clock_id), clock_id 123 tools/testing/selftests/timers/set-timer-lat.c int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) clock_id 139 tools/testing/selftests/timers/set-timer-lat.c err = timer_create(clock_id, &se, tm1); clock_id 141 tools/testing/selftests/timers/set-timer-lat.c if ((clock_id == CLOCK_REALTIME_ALARM) || clock_id 142 tools/testing/selftests/timers/set-timer-lat.c (clock_id == CLOCK_BOOTTIME_ALARM)) { clock_id 144 tools/testing/selftests/timers/set-timer-lat.c clockstring(clock_id), clock_id 149 tools/testing/selftests/timers/set-timer-lat.c printf("%s - timer_create() failed\n", clockstring(clock_id)); clock_id 153 tools/testing/selftests/timers/set-timer-lat.c clock_gettime(clock_id, &start_time); clock_id 166 tools/testing/selftests/timers/set-timer-lat.c printf("%s - timer_settime() failed\n", clockstring(clock_id)); clock_id 210 tools/testing/selftests/timers/set-timer-lat.c int do_timer(int clock_id, int flags) clock_id 216 tools/testing/selftests/timers/set-timer-lat.c err = setup_timer(clock_id, flags, interval, &tm1); clock_id 228 tools/testing/selftests/timers/set-timer-lat.c int do_timer_oneshot(int clock_id, int flags) clock_id 235 tools/testing/selftests/timers/set-timer-lat.c err = setup_timer(clock_id, flags, interval, &tm1); clock_id 265 tools/testing/selftests/timers/set-timer-lat.c for (clock_id = 0; clock_id < NR_CLOCKIDS; clock_id++) { clock_id 267 tools/testing/selftests/timers/set-timer-lat.c if ((clock_id == CLOCK_PROCESS_CPUTIME_ID) || clock_id 268 tools/testing/selftests/timers/set-timer-lat.c (clock_id == CLOCK_THREAD_CPUTIME_ID) || clock_id 269 tools/testing/selftests/timers/set-timer-lat.c (clock_id == CLOCK_MONOTONIC_RAW) || clock_id 270 tools/testing/selftests/timers/set-timer-lat.c (clock_id == CLOCK_REALTIME_COARSE) || clock_id 271 tools/testing/selftests/timers/set-timer-lat.c (clock_id == CLOCK_MONOTONIC_COARSE) || clock_id 272 tools/testing/selftests/timers/set-timer-lat.c (clock_id == CLOCK_HWSPECIFIC)) clock_id 275 tools/testing/selftests/timers/set-timer-lat.c ret |= do_timer(clock_id, TIMER_ABSTIME); clock_id 276 tools/testing/selftests/timers/set-timer-lat.c ret |= do_timer(clock_id, 0); clock_id 277 tools/testing/selftests/timers/set-timer-lat.c ret |= do_timer_oneshot(clock_id, TIMER_ABSTIME); clock_id 278 tools/testing/selftests/timers/set-timer-lat.c ret |= do_timer_oneshot(clock_id, 0);