/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 190 struct mlx5_clock *clock = &mdev->clock; in mlx5_update_clock_info_page() local 245 struct mlx5_clock *clock; in mlx5_timestamp_overflow() local 446 struct mlx5_clock *clock = in mlx5_extts_configure() local 506 struct mlx5_clock *clock = &mdev->clock; in find_target_cycles() local 631 struct mlx5_clock *clock = in mlx5_perout_configure() local 707 struct mlx5_clock *clock = in mlx5_pps_configure() local 837 struct mlx5_clock *clock = &mdev->clock; in mlx5_get_pps_caps() local 873 struct mlx5_clock *clock) in perout_conf_next_event_timer() 933 struct mlx5_clock *clock = &mdev->clock; in mlx5_timecounter_init() local 986 struct mlx5_clock *clock = &mdev->clock; in mlx5_init_clock_info() 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()
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | clock_manager_gen5.c | 320 u32 reg, clock; in cm_get_main_vco_clk_hz() local 335 u32 reg, clock = 0; in cm_get_per_vco_clk_hz() local 360 u32 reg, clock; in cm_get_mpu_clk_hz() local 374 u32 reg, clock = 0; in cm_get_sdram_clk_hz() local 405 u32 reg, clock = 0; in cm_get_l4_sp_clk_hz() local 439 u32 reg, clock = 0; in cm_get_mmc_controller_clk_hz() local 469 u32 reg, clock = 0; in cm_get_qspi_controller_clk_hz() local 497 u32 reg, clock = 0; in cm_get_spi_controller_clk_hz() local
|
H A D | clock_manager_s10.c | 237 unsigned long clock = readl(&clock_manager_base->main_pll.mpuclk); in cm_get_mpu_clk_hz() local 274 u32 clock = readl(&clock_manager_base->main_pll.nocclk); in cm_get_l3_main_clk_hz() local 311 u32 clock = readl(&clock_manager_base->per_pll.cntr6clk); in cm_get_mmc_controller_clk_hz() local 345 u32 clock = cm_get_l3_main_clk_hz(); in cm_get_l4_sp_clk_hz() local 359 u32 clock = cm_get_l3_main_clk_hz(); in cm_get_spi_controller_clk_hz() local
|
H A D | wrap_pll_config_s10.c | 39 u32 clock = readl(S10_HANDOFF_CLOCK_OSC); in cm_get_osc_clk_hz() local 54 u32 clock = readl(S10_HANDOFF_CLOCK_FPGA); in cm_get_fpga_clk_hz() local
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vclock_gettime.c | 41 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime() 49 int __vdso_clock_getres(clockid_t clock, in __vdso_clock_getres() 62 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) in __vdso_clock_gettime() 70 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64() 78 int __vdso_clock_getres(clockid_t clock, struct old_timespec32 *res) in __vdso_clock_getres()
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | ucc.c | 118 int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock, in ucc_set_qe_mux_rxtx() 215 static int ucc_get_tdm_common_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_common_clk() 275 static int ucc_get_tdm_rx_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_rx_clk() 381 static int ucc_get_tdm_tx_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_tx_clk() 489 enum qe_clock clock) in ucc_get_tdm_rxtx_clk() 516 int ucc_set_tdm_rxtx_clk(u32 tdm_num, enum qe_clock clock, in ucc_set_tdm_rxtx_clk() 548 static int ucc_get_tdm_sync_source(u32 tdm_num, enum qe_clock clock, in ucc_get_tdm_sync_source() 630 int ucc_set_tdm_rxtx_sync(u32 tdm_num, enum qe_clock clock, in ucc_set_tdm_rxtx_sync()
|
/openbmc/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
|
/openbmc/linux/lib/vdso/ |
H A D | gettimeofday.c | 228 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_common() 255 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_data() 266 __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __cvdso_clock_gettime() 273 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime32_data() 292 __cvdso_clock_gettime32(clockid_t clock, struct old_timespec32 *res) in __cvdso_clock_gettime32() 357 int __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_common() 398 int __cvdso_clock_getres_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_data() 409 int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res) in __cvdso_clock_getres() 416 __cvdso_clock_getres_time32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_getres_time32_data() 435 __cvdso_clock_getres_time32(clockid_t clock, struct old_timespec32 *res) in __cvdso_clock_getres_time32()
|
/openbmc/linux/drivers/net/ethernet/cavium/common/ |
H A D | cavium_ptp.c | 95 struct cavium_ptp *clock = in cavium_ptp_adjfine() local 142 struct cavium_ptp *clock = in cavium_ptp_adjtime() local 164 struct cavium_ptp *clock = in cavium_ptp_gettime() local 186 struct cavium_ptp *clock = in cavium_ptp_settime() local 214 struct cavium_ptp *clock = in cavium_ptp_cc_read() local 224 struct cavium_ptp *clock; in cavium_ptp_probe() local 313 struct cavium_ptp *clock = pci_get_drvdata(pdev); in cavium_ptp_remove() local
|
/openbmc/linux/arch/mips/vdso/ |
H A D | vgettimeofday.c | 14 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime() 42 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64() 50 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
|
/openbmc/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
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83640.c | 107 struct dp83640_clock *clock; member 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 968 struct dp83640_clock *clock; in dp83640_free_clocks() local 1046 struct dp83640_clock *clock = NULL, *tmp; in dp83640_clock_get_bus() local 1425 struct dp83640_clock *clock; in dp83640_probe() local [all …]
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 135 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_read_frc() local 191 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjfine() local 262 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_overflow() local 276 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_init() local 328 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_clock_fini() local 374 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjfine() local 387 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjtime() local 412 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_gettimex() local 425 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_settime() local 445 struct mlxsw_sp_ptp_clock *clock; in mlxsw_sp2_ptp_clock_init() local [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 373 const struct dpll *clock) in intel_pll_is_valid() 448 struct dpll clock; in i9xx_find_best_dpll() local 506 struct dpll clock; in pnv_find_best_dpll() local 562 struct dpll clock; in g4x_find_best_dpll() local 657 struct dpll clock; in vlv_find_best_dpll() local 716 struct dpll clock; in chv_find_best_dpll() local 787 const struct dpll *clock, in i9xx_update_pll_dividers() 807 const struct dpll *clock, in i9xx_compute_dpll() 886 const struct dpll *clock, in i8xx_compute_dpll() 1031 const struct dpll *clock, in ilk_update_pll_dividers() [all …]
|
/openbmc/qemu/replay/ |
H A D | replay-time.c | 17 int64_t replay_save_clock(ReplayClockKind kind, int64_t clock, in replay_save_clock() 40 int64_t clock = replay_get_qword(); in replay_read_next_clock() local
|
/openbmc/linux/arch/csky/kernel/vdso/ |
H A D | vgettimeofday.c | 9 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime() 17 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-mpc.c | 240 static int mpc_i2c_get_fdr_52xx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_52xx() 277 u32 clock) in mpc_i2c_setup_52xx() 299 u32 clock) in mpc_i2c_setup_52xx() 307 u32 clock) in mpc_i2c_setup_512x() 335 u32 clock) in mpc_i2c_setup_512x() 428 static int mpc_i2c_get_fdr_8xxx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_8xxx() 463 u32 clock) in mpc_i2c_setup_8xxx() 488 u32 clock) in mpc_i2c_setup_8xxx() 786 u32 clock; in fsl_i2c_probe() local
|
/openbmc/linux/drivers/video/fbdev/vermilion/ |
H A D | cr_pll.c | 86 static int crvml_nearest_index(const struct vml_sys *sys, int clock) in crvml_nearest_index() 106 static int crvml_nearest_clock(const struct vml_sys *sys, int clock) in crvml_nearest_clock() 111 static int crvml_set_clock(struct vml_sys *sys, int clock) in crvml_set_clock()
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/sdeventplus/test/ |
H A D | clock.cpp | 37 Clock<ClockId::RealTime> clock(event); in TEST_F() local 52 Clock<ClockId::Monotonic> clock(std::move(event)); in TEST_F() local
|
/openbmc/qemu/util/ |
H A D | qemu-timer.c | 67 QEMUClock *clock; member 101 QEMUClock *clock = qemu_clock_ptr(type); in timerlist_new() local 125 QEMUClock *clock = qemu_clock_ptr(type); in qemu_clock_init() local 144 QEMUClock *clock = qemu_clock_ptr(type); in qemu_clock_notify() local 159 QEMUClock *clock = qemu_clock_ptr(type); in qemu_clock_enable() local 257 QEMUClock *clock = qemu_clock_ptr(type); in qemu_clock_deadline_ns_all() local 686 int64_t clock = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in qemu_clock_advance_virtual_time() local
|