clkid 54 arch/arm/vdso/vgettimeofday.c register clockid_t clkid asm("r0") = _clkid; clkid 61 arch/arm/vdso/vgettimeofday.c : "r" (clkid), "r" (ts), "r" (nr) clkid 188 arch/arm/vdso/vgettimeofday.c notrace int __vdso_clock_gettime(clockid_t clkid, struct timespec *ts) clkid 195 arch/arm/vdso/vgettimeofday.c switch (clkid) { clkid 213 arch/arm/vdso/vgettimeofday.c ret = clock_gettime_fallback(clkid, ts); clkid 43 arch/arm64/include/asm/vdso/compat_gettimeofday.h register clockid_t clkid asm("r0") = _clkid; clkid 50 arch/arm64/include/asm/vdso/compat_gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 60 arch/arm64/include/asm/vdso/compat_gettimeofday.h register clockid_t clkid asm("r0") = _clkid; clkid 67 arch/arm64/include/asm/vdso/compat_gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 77 arch/arm64/include/asm/vdso/compat_gettimeofday.h register clockid_t clkid asm("r0") = _clkid; clkid 88 arch/arm64/include/asm/vdso/compat_gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 98 arch/arm64/include/asm/vdso/compat_gettimeofday.h register clockid_t clkid asm("r0") = _clkid; clkid 109 arch/arm64/include/asm/vdso/compat_gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 39 arch/arm64/include/asm/vdso/gettimeofday.h register clockid_t clkid asm("x0") = _clkid; clkid 46 arch/arm64/include/asm/vdso/gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 56 arch/arm64/include/asm/vdso/gettimeofday.h register clockid_t clkid asm("x0") = _clkid; clkid 63 arch/arm64/include/asm/vdso/gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 54 arch/mips/include/asm/vdso/gettimeofday.h register clockid_t clkid asm("a0") = _clkid; clkid 66 arch/mips/include/asm/vdso/gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 78 arch/mips/include/asm/vdso/gettimeofday.h register clockid_t clkid asm("a0") = _clkid; clkid 90 arch/mips/include/asm/vdso/gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 106 arch/mips/include/asm/vdso/gettimeofday.h register clockid_t clkid asm("a0") = _clkid; clkid 114 arch/mips/include/asm/vdso/gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 126 arch/mips/include/asm/vdso/gettimeofday.h register clockid_t clkid asm("a0") = _clkid; clkid 134 arch/mips/include/asm/vdso/gettimeofday.h : "r" (clkid), "r" (ts), "r" (nr) clkid 54 arch/nds32/kernel/vdso/gettimeofday.c register clockid_t clkid asm("$r0") = _clkid; clkid 60 arch/nds32/kernel/vdso/gettimeofday.c :"r"(clkid), "r"(ts), "i"(__NR_clock_gettime) clkid 161 arch/nds32/kernel/vdso/gettimeofday.c notrace int __vdso_clock_gettime(clockid_t clkid, struct timespec *ts) clkid 168 arch/nds32/kernel/vdso/gettimeofday.c return clock_gettime_fallback(clkid, ts); clkid 170 arch/nds32/kernel/vdso/gettimeofday.c switch (clkid) { clkid 188 arch/nds32/kernel/vdso/gettimeofday.c ret = clock_gettime_fallback(clkid, ts); clkid 40 drivers/clk/meson/meson-aoclk.c int ret, clkid; clkid 69 drivers/clk/meson/meson-aoclk.c for (clkid = 0; clkid < data->num_clks; clkid++) clkid 70 drivers/clk/meson/meson-aoclk.c data->clks[clkid]->map = regmap; clkid 73 drivers/clk/meson/meson-aoclk.c for (clkid = 0; clkid < data->hw_data->num; clkid++) { clkid 74 drivers/clk/meson/meson-aoclk.c if (!data->hw_data->hws[clkid]) clkid 77 drivers/clk/meson/meson-aoclk.c ret = devm_clk_hw_register(dev, data->hw_data->hws[clkid]); clkid 190 drivers/clk/tegra/clk.c const struct tegra_clk_periph_regs *get_reg_bank(int clkid) clkid 192 drivers/clk/tegra/clk.c int reg_bank = clkid / 32; clkid 777 drivers/clk/tegra/clk.h const struct tegra_clk_periph_regs *get_reg_bank(int clkid); clkid 316 drivers/firmware/arm_scmi/clock.c int clkid, ret; clkid 335 drivers/firmware/arm_scmi/clock.c for (clkid = 0; clkid < cinfo->num_clocks; clkid++) { clkid 336 drivers/firmware/arm_scmi/clock.c struct scmi_clock_info *clk = cinfo->clk + clkid; clkid 338 drivers/firmware/arm_scmi/clock.c ret = scmi_clock_attributes_get(handle, clkid, clk); clkid 340 drivers/firmware/arm_scmi/clock.c scmi_clock_describe_rates_get(handle, clkid, clk); clkid 903 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c PPCLK_e clkid, struct vega12_clock_range *clock) clkid 907 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetMaxDpmFreq, (clkid << 16)) == 0, clkid 914 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetMinDpmFreq, (clkid << 16)) == 0, clkid 921 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetDcModeMaxDpmFreq, (clkid << 16)) == 0, clkid 174 drivers/input/evdev.c static int evdev_set_clk_type(struct evdev_client *client, unsigned int clkid) clkid 179 drivers/input/evdev.c switch (clkid) { clkid 197 kernel/time/posix-cpu-timers.c static u64 cpu_clock_sample(const clockid_t clkid, struct task_struct *p) clkid 201 kernel/time/posix-cpu-timers.c if (clkid == CPUCLOCK_SCHED) clkid 206 kernel/time/posix-cpu-timers.c switch (clkid) { clkid 343 kernel/time/posix-cpu-timers.c static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, clkid 359 kernel/time/posix-cpu-timers.c return samples[clkid]; clkid 364 kernel/time/posix-cpu-timers.c const clockid_t clkid = CPUCLOCK_WHICH(clock); clkid 373 kernel/time/posix-cpu-timers.c t = cpu_clock_sample(clkid, tsk); clkid 375 kernel/time/posix-cpu-timers.c t = cpu_clock_sample_group(clkid, tsk, false); clkid 564 kernel/time/posix-cpu-timers.c clockid_t clkid = CPUCLOCK_WHICH(timer->it_clock); clkid 615 kernel/time/posix-cpu-timers.c val = cpu_clock_sample(clkid, p); clkid 617 kernel/time/posix-cpu-timers.c val = cpu_clock_sample_group(clkid, p, true); clkid 704 kernel/time/posix-cpu-timers.c clockid_t clkid = CPUCLOCK_WHICH(timer->it_clock); clkid 724 kernel/time/posix-cpu-timers.c now = cpu_clock_sample(clkid, p); clkid 744 kernel/time/posix-cpu-timers.c now = cpu_clock_sample_group(clkid, p, false); clkid 978 kernel/time/posix-cpu-timers.c clockid_t clkid = CPUCLOCK_WHICH(timer->it_clock); clkid 992 kernel/time/posix-cpu-timers.c now = cpu_clock_sample(clkid, p); clkid 1018 kernel/time/posix-cpu-timers.c now = cpu_clock_sample_group(clkid, p, true); clkid 1178 kernel/time/posix-cpu-timers.c void set_process_cpu_timer(struct task_struct *tsk, unsigned int clkid, clkid 1183 kernel/time/posix-cpu-timers.c if (WARN_ON_ONCE(clkid >= CPUCLOCK_SCHED)) clkid 1186 kernel/time/posix-cpu-timers.c nextevt = &tsk->signal->posix_cputimers.bases[clkid].nextevt; clkid 1187 kernel/time/posix-cpu-timers.c now = cpu_clock_sample_group(clkid, tsk, true); clkid 161 tools/testing/selftests/ptp/testptp.c clockid_t clkid; clkid 255 tools/testing/selftests/ptp/testptp.c clkid = get_clockid(fd); clkid 256 tools/testing/selftests/ptp/testptp.c if (CLOCK_INVALID == clkid) { clkid 287 tools/testing/selftests/ptp/testptp.c if (clock_adjtime(clkid, &tx)) { clkid 299 tools/testing/selftests/ptp/testptp.c if (clock_adjtime(clkid, &tx) < 0) { clkid 307 tools/testing/selftests/ptp/testptp.c if (clock_gettime(clkid, &ts)) { clkid 317 tools/testing/selftests/ptp/testptp.c if (clock_settime(clkid, &ts)) { clkid 325 tools/testing/selftests/ptp/testptp.c clock_gettime(clkid, &ts); clkid 336 tools/testing/selftests/ptp/testptp.c if (clock_settime(clkid, &ts)) { clkid 393 tools/testing/selftests/ptp/testptp.c if (clock_gettime(clkid, &ts)) {