/kernel/linux/linux-5.10/drivers/clk/meson/ |
D | meson-aoclk.c | 41 int ret, clkid; in meson_aoclkc_probe() local 72 for (clkid = 0; clkid < data->num_clks; clkid++) in meson_aoclkc_probe() 73 data->clks[clkid]->map = regmap; in meson_aoclkc_probe() 76 for (clkid = 0; clkid < data->hw_data->num; clkid++) { in meson_aoclkc_probe() 77 if (!data->hw_data->hws[clkid]) in meson_aoclkc_probe() 80 ret = devm_clk_hw_register(dev, data->hw_data->hws[clkid]); in meson_aoclkc_probe()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/vdso/ |
D | gettimeofday.h | 43 register clockid_t clkid asm("r0") = _clkid; in clock_gettime_fallback() 50 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 61 register clockid_t clkid asm("r0") = _clkid; in clock_gettime32_fallback() 68 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime32_fallback() 79 register clockid_t clkid asm("r0") = _clkid; in clock_getres_fallback() 86 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback() 97 register clockid_t clkid asm("r0") = _clkid; in clock_getres32_fallback() 104 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres32_fallback()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/vdso/ |
D | compat_gettimeofday.h | 42 register clockid_t clkid asm("r0") = _clkid; in clock_gettime_fallback() 49 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 59 register clockid_t clkid asm("r0") = _clkid; in clock_gettime32_fallback() 66 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime32_fallback() 76 register clockid_t clkid asm("r0") = _clkid; in clock_getres_fallback() 83 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback() 93 register clockid_t clkid asm("r0") = _clkid; in clock_getres32_fallback() 100 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres32_fallback()
|
D | gettimeofday.h | 37 register clockid_t clkid asm("x0") = _clkid; in clock_gettime_fallback() 44 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 54 register clockid_t clkid asm("x0") = _clkid; in clock_getres_fallback() 61 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/vdso/ |
D | gettimeofday.h | 56 register clockid_t clkid asm("a0") = _clkid; in clock_gettime_fallback() 68 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 82 register clockid_t clkid asm("a0") = _clkid; in clock_getres_fallback() 94 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback() 110 register clockid_t clkid asm("a0") = _clkid; in clock_gettime32_fallback() 118 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime32_fallback() 132 register clockid_t clkid asm("a0") = _clkid; in clock_getres32_fallback() 140 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres32_fallback()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/vdso/ |
D | gettimeofday.h | 34 register clockid_t clkid asm("a0") = _clkid; in clock_gettime_fallback() 41 : "r"(clkid), "r"(ts), "r"(nr) in clock_gettime_fallback() 50 register clockid_t clkid asm("a0") = _clkid; in clock_getres_fallback() 57 : "r"(clkid), "r"(ts), "r"(nr) in clock_getres_fallback()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/vdso/ |
D | gettimeofday.h | 38 long clock_gettime_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_gettime_fallback() argument 41 register unsigned long r2 __asm__("r2") = (unsigned long)clkid; in clock_gettime_fallback() 61 long clock_getres_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_getres_fallback() argument 64 register unsigned long r2 __asm__("r2") = (unsigned long)clkid; in clock_getres_fallback()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
D | testptp.c | 165 clockid_t clkid; in main() local 267 clkid = get_clockid(fd); in main() 268 if (CLOCK_INVALID == clkid) { in main() 301 if (clock_adjtime(clkid, &tx)) { in main() 313 if (clock_adjtime(clkid, &tx) < 0) { in main() 321 if (clock_gettime(clkid, &ts)) { in main() 331 if (clock_settime(clkid, &ts)) { in main() 339 clock_gettime(clkid, &ts); in main() 350 if (clock_settime(clkid, &ts)) { in main() 417 if (clock_gettime(clkid, &ts)) { in main()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/vdso/ |
D | gettimeofday.c | 54 register clockid_t clkid asm("$r0") = _clkid; in clock_gettime_fallback() 60 :"r"(clkid), "r"(ts), "i"(__NR_clock_gettime) in clock_gettime_fallback() 158 notrace int __vdso_clock_gettime(clockid_t clkid, struct __kernel_old_timespec *ts) in __vdso_clock_gettime() argument 165 return clock_gettime_fallback(clkid, ts); in __vdso_clock_gettime() 167 switch (clkid) { in __vdso_clock_gettime() 185 ret = clock_gettime_fallback(clkid, ts); in __vdso_clock_gettime()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | posix-cpu-timers.c | 187 static u64 cpu_clock_sample(const clockid_t clkid, struct task_struct *p) in cpu_clock_sample() argument 191 if (clkid == CPUCLOCK_SCHED) in cpu_clock_sample() 196 switch (clkid) { in cpu_clock_sample() 331 static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, in cpu_clock_sample_group() argument 347 return samples[clkid]; in cpu_clock_sample_group() 352 const clockid_t clkid = CPUCLOCK_WHICH(clock); in posix_cpu_clock_get() local 364 t = cpu_clock_sample(clkid, tsk); in posix_cpu_clock_get() 366 t = cpu_clock_sample_group(clkid, tsk, false); in posix_cpu_clock_get() 575 clockid_t clkid = CPUCLOCK_WHICH(timer->it_clock); in posix_cpu_timer_set() local 636 val = cpu_clock_sample(clkid, p); in posix_cpu_timer_set() [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
D | clock.c | 336 int clkid, ret; in scmi_clock_protocol_init() local 355 for (clkid = 0; clkid < cinfo->num_clocks; clkid++) { in scmi_clock_protocol_init() 356 struct scmi_clock_info *clk = cinfo->clk + clkid; in scmi_clock_protocol_init() 358 ret = scmi_clock_attributes_get(handle, clkid, clk); in scmi_clock_protocol_init() 360 scmi_clock_describe_rates_get(handle, clkid, clk); in scmi_clock_protocol_init()
|
/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_ines.c | 145 u64 clkid; member 322 ts.clkid = ines_txts64(port, 4); in ines_find_txts() 446 u64 clkid; in ines_match() local 456 clkid = be64_to_cpup((__be64 *)&hdr->source_port_identity.clock_identity.id[0]); in ines_match() 465 if (ts->clkid != clkid) { in ines_match() 467 ts->clkid, clkid); in ines_match() 536 ts->clkid = ines_rxts64(port, 4); in ines_rxfifo_read()
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
D | clk.c | 147 const struct tegra_clk_periph_regs *get_reg_bank(int clkid) in get_reg_bank() argument 149 int reg_bank = clkid / 32; in get_reg_bank()
|
D | clk.h | 855 const struct tegra_clk_periph_regs *get_reg_bank(int clkid);
|
/kernel/linux/linux-5.10/drivers/input/ |
D | evdev.c | 174 static int evdev_set_clk_type(struct evdev_client *client, unsigned int clkid) in evdev_set_clk_type() argument 179 switch (clkid) { in evdev_set_clk_type()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_hwmgr.c | 989 PPCLK_e clkid, struct vega12_clock_range *clock) in vega12_get_all_clock_ranges_helper() argument 993 smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetMaxDpmFreq, (clkid << 16), in vega12_get_all_clock_ranges_helper() 1000 smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetMinDpmFreq, (clkid << 16), in vega12_get_all_clock_ranges_helper() 1007 smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetDcModeMaxDpmFreq, (clkid << 16), in vega12_get_all_clock_ranges_helper()
|