/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 124 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_getmaxphase() local 220 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_getcrosststamp() local 265 struct mlx5_clock *clock = container_of(timer, struct mlx5_clock, timer); in read_internal_timer() local 275 struct mlx5_clock *clock = &mdev->clock; in mlx5_update_clock_info_page() local 300 struct mlx5_clock *clock = container_of(pps_info, struct mlx5_clock, in mlx5_pps_out() local 330 struct mlx5_clock *clock; in mlx5_timestamp_overflow() local 367 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_settime() local 404 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_gettimex() local 444 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_adjtime() local 468 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_adjphase() local [all …]
|
H A D | clock.h | 65 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time() 82 static inline ktime_t mlx5_real_time_cyc2time(struct mlx5_clock *clock, in mlx5_real_time_cyc2time() 97 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time() 103 static inline ktime_t mlx5_real_time_cyc2time(struct mlx5_clock *clock, in mlx5_real_time_cyc2time()
|
/linux/fs/bcachefs/ |
H A D | clock.c | 22 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_add() 41 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_del() 79 void bch2_io_clock_schedule_timeout(struct io_clock *clock, u64 until) in bch2_io_clock_schedule_timeout() 93 void bch2_kthread_io_clock_wait(struct io_clock *clock, in bch2_kthread_io_clock_wait() 129 static struct io_timer *get_expired_timer(struct io_clock *clock, u64 now) in get_expired_timer() 142 void __bch2_increment_clock(struct io_clock *clock, u64 sectors) in __bch2_increment_clock() 153 void bch2_io_timers_to_text(struct printbuf *out, struct io_clock *clock) in bch2_io_timers_to_text() 171 void bch2_io_clock_exit(struct io_clock *clock) in bch2_io_clock_exit() 177 int bch2_io_clock_init(struct io_clock *clock) in bch2_io_clock_init()
|
/linux/arch/x86/entry/vdso/ |
H A D | vclock_gettime.c | 36 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime() 44 int __vdso_clock_getres(clockid_t clock, in __vdso_clock_getres() 54 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) in __vdso_clock_gettime() 62 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64() 70 int __vdso_clock_getres(clockid_t clock, struct old_timespec32 *res) in __vdso_clock_getres()
|
/linux/drivers/soc/fsl/qe/ |
H A D | ucc.c | 119 int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock, in ucc_set_qe_mux_rxtx() 216 static int ucc_get_tdm_common_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_common_clk() 276 static int ucc_get_tdm_rx_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_rx_clk() 382 static int ucc_get_tdm_tx_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_tx_clk() 490 enum qe_clock clock) in ucc_get_tdm_rxtx_clk() 517 int ucc_set_tdm_rxtx_clk(u32 tdm_num, enum qe_clock clock, in ucc_set_tdm_rxtx_clk() 549 static int ucc_get_tdm_sync_source(u32 tdm_num, enum qe_clock clock, in ucc_get_tdm_sync_source() 631 int ucc_set_tdm_rxtx_sync(u32 tdm_num, enum qe_clock clock, in ucc_set_tdm_rxtx_sync()
|
/linux/drivers/clk/renesas/ |
H A D | clk-div6.c | 48 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_enable() local 60 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_disable() local 78 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_is_enabled() local 86 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_recalc_rate() local 151 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_set_rate() local 167 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_get_parent() local 188 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_set_parent() local 213 struct div6_clock *clock = container_of(nb, struct div6_clock, nb); in cpg_div6_clock_notifier_call() local 250 struct div6_clock *clock; in cpg_div6_register() local
|
/linux/lib/vdso/ |
H A D | gettimeofday.c | 245 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_common() 272 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_data() 283 __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __cvdso_clock_gettime() 290 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime32_data() 309 __cvdso_clock_gettime32(clockid_t clock, struct old_timespec32 *res) in __cvdso_clock_gettime32() 374 int __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_common() 415 int __cvdso_clock_getres_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_data() 426 int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res) in __cvdso_clock_getres() 433 __cvdso_clock_getres_time32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_time32_data() 452 __cvdso_clock_getres_time32(clockid_t clock, struct old_timespec32 *res) in __cvdso_clock_getres_time32()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 316 static int pnv_calc_dpll_params(int refclk, struct dpll *clock) in pnv_calc_dpll_params() 334 int i9xx_calc_dpll_params(int refclk, struct dpll *clock) in i9xx_calc_dpll_params() 347 static int vlv_calc_dpll_params(int refclk, struct dpll *clock) in vlv_calc_dpll_params() 360 int chv_calc_dpll_params(int refclk, struct dpll *clock) in chv_calc_dpll_params() 428 struct dpll clock; in i9xx_crtc_clock_get() local 521 struct dpll clock; in vlv_crtc_clock_get() local 548 struct dpll clock; in chv_crtc_clock_get() local 581 const struct dpll *clock) in intel_pll_is_valid() 659 struct dpll clock; in i9xx_find_best_dpll() local 717 struct dpll clock; in pnv_find_best_dpll() local [all …]
|
/linux/drivers/net/phy/ |
H A D | dp83640.c | 107 struct dp83640_clock *clock; member 303 static int periodic_output(struct dp83640_clock *clock, in periodic_output() 376 struct dp83640_clock *clock = in ptp_dp83640_adjfine() local 409 struct dp83640_clock *clock = in ptp_dp83640_adjtime() local 431 struct dp83640_clock *clock = in ptp_dp83640_gettime() local 456 struct dp83640_clock *clock = in ptp_dp83640_settime() local 473 struct dp83640_clock *clock = in ptp_dp83640_enable() local 533 struct dp83640_clock *clock = in ptp_dp83640_verify() local 552 struct dp83640_clock *clock = dp83640->clock; in enable_status_frames() local 629 static void recalibrate(struct dp83640_clock *clock) in recalibrate() [all …]
|
/linux/arch/mips/vdso/ |
H A D | vgettimeofday.c | 15 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime() 43 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64() 51 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 112 static u64 __mlxsw_sp1_ptp_read_frc(struct mlxsw_sp1_ptp_clock *clock, in __mlxsw_sp1_ptp_read_frc() 136 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_read_frc() local 143 mlxsw_sp_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp_ptp_phc_adjfreq() 164 mlxsw_sp1_ptp_phc_settime(struct mlxsw_sp1_ptp_clock *clock, u64 nsec) in mlxsw_sp1_ptp_phc_settime() 192 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjfine() local 208 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjtime() local 223 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_gettimex() local 239 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_settime() local 263 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_overflow() local 277 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_init() local [all …]
|
/linux/drivers/clocksource/ |
H A D | clps711x-timer.c | 30 static void __init clps711x_clksrc_init(struct clk *clock, void __iomem *base) in clps711x_clksrc_init() 51 static int __init _clps711x_clkevt_init(struct clk *clock, void __iomem *base, in _clps711x_clkevt_init() 79 struct clk *clock = of_clk_get(np, 0); in clps711x_timer_init() local
|
/linux/arch/powerpc/kernel/vdso/ |
H A D | vgettimeofday.c | 9 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime() 21 int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, in __c_kernel_clock_gettime() 27 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime64()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-mpc.c | 237 static int mpc_i2c_get_fdr_52xx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_52xx() 274 u32 clock) in mpc_i2c_setup_52xx() 296 u32 clock) in mpc_i2c_setup_52xx() 304 u32 clock) in mpc_i2c_setup_512x() 330 u32 clock) in mpc_i2c_setup_512x() 422 static int mpc_i2c_get_fdr_8xxx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_8xxx() 457 u32 clock) in mpc_i2c_setup_8xxx() 482 u32 clock) in mpc_i2c_setup_8xxx() 780 u32 clock; in fsl_i2c_probe() local
|
/linux/include/linux/ |
H A D | posix-timers_types.h | 20 #define CPUCLOCK_PID(clock) ((pid_t) ~((clock) >> 3)) argument 21 #define CPUCLOCK_PERTHREAD(clock) \ argument 25 #define CPUCLOCK_WHICH(clock) ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK) argument
|
/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_display.c | 214 struct gma_clock_t *clock, bool is_lvds, u32 ddi_select) in cdv_dpll_set_clock_cdv() 393 static void cdv_intel_clock(int refclk, struct gma_clock_t *clock) in cdv_intel_clock() 407 struct gma_clock_t clock; in cdv_intel_find_dp_pll() local 583 struct gma_clock_t clock; in cdv_intel_crtc_mode_set() local 826 static void i8xx_clock(int refclk, struct gma_clock_t *clock) in i8xx_clock() 844 struct gma_clock_t clock; in cdv_intel_crtc_clock_get() local
|
H A D | oaktrail_crtc.c | 114 static void mrst_lvds_clock(int refclk, struct gma_clock_t *clock) in mrst_lvds_clock() 119 static void mrst_print_pll(struct gma_clock_t *clock) in mrst_print_pll() 130 struct gma_clock_t clock; in mrst_sdvo_find_best_pll() local 188 struct gma_clock_t clock; in mrst_lvds_find_best_pll() local 371 struct gma_clock_t clock; in oaktrail_crtc_mode_set() local
|
/linux/arch/s390/kernel/vdso64/ |
H A D | vdso64_generic.c | 11 int __s390_vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __s390_vdso_clock_gettime() 16 int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts) in __s390_vdso_clock_getres()
|
/linux/arch/parisc/kernel/vdso32/ |
H A D | vdso32_generic.c | 24 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) in __vdso_clock_gettime() 29 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64()
|
/linux/kernel/sched/ |
H A D | clock.c | 91 u64 clock; member 265 u64 now, clock, old_clock, min_clock, max_clock, gtod; in sched_clock_local() local 298 u64 clock; in local_clock_noinstr() local 391 u64 clock; in sched_clock_cpu() local
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_afmt.c | 51 static void amdgpu_afmt_calc_cts(uint32_t clock, int *CTS, int *N, int freq) in amdgpu_afmt_calc_cts() 88 struct amdgpu_afmt_acr amdgpu_afmt_acr(uint32_t clock) in amdgpu_afmt_acr()
|
/linux/sound/firewire/fireworks/ |
H A D | fireworks_command.c | 274 command_get_clock(struct snd_efw *efw, struct efc_clock *clock) in command_get_clock() 296 struct efc_clock clock = {0}; in command_set_clock() local 346 struct efc_clock clock = {0}; in snd_efw_command_get_clock_source() local 358 struct efc_clock clock = {0}; in snd_efw_command_get_sampling_rate() local
|
/linux/arch/arm/vdso/ |
H A D | vgettimeofday.c | 13 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime() 19 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
|
/linux/arch/arm64/kernel/vdso32/ |
H A D | vgettimeofday.c | 11 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime() 17 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
|
/linux/sound/pci/echoaudio/ |
H A D | darla24_dsp.c | 101 u8 clock; in set_sample_rate() local 157 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
|