Home
last modified time | relevance | path

Searched defs:clock (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c120 struct mlx5_clock *clock = container_of(timer, struct mlx5_clock, timer); in read_internal_timer() local
130 struct mlx5_clock *clock = &mdev->clock; in mlx5_update_clock_info_page() local
155 struct mlx5_clock *clock = container_of(pps_info, struct mlx5_clock, in mlx5_pps_out() local
185 struct mlx5_clock *clock; in mlx5_timestamp_overflow() local
220 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_settime() local
254 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_gettimex() local
301 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_adjtime() local
335 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_adjfreq() local
372 struct mlx5_clock *clock = in mlx5_extts_configure() local
432 struct mlx5_clock *clock = &mdev->clock; in find_target_cycles() local
[all …]
Dclock.h65 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-v5.15/arch/x86/entry/vdso/
Dvclock_gettime.c41 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()
/Linux-v5.15/drivers/soc/fsl/qe/
Ducc.c118 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()
/Linux-v5.15/drivers/clk/renesas/
Dclk-div6.c48 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
Drcar-cpg-lib.c132 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_enable() local
143 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_disable() local
150 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_is_enabled() local
158 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_recalc_rate() local
168 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_determine_rate() local
196 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_set_rate() local
230 struct sd_clock *clock; in cpg_sd_clk_register() local
/Linux-v5.15/lib/vdso/
Dgettimeofday.c228 __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()
/Linux-v5.15/drivers/net/ethernet/cavium/common/
Dcavium_ptp.c95 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
/Linux-v5.15/arch/mips/vdso/
Dvgettimeofday.c14 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()
/Linux-v5.15/drivers/net/phy/
Ddp83640.c107 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-v5.15/drivers/clocksource/
Dclps711x-timer.c30 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-v5.15/arch/s390/kernel/vdso64/
Dvdso64_generic.c11 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-v5.15/drivers/i2c/busses/
Di2c-mpc.c232 static int mpc_i2c_get_fdr_52xx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_52xx()
268 u32 clock) in mpc_i2c_setup_52xx()
290 u32 clock) in mpc_i2c_setup_52xx()
298 u32 clock) in mpc_i2c_setup_512x()
326 u32 clock) in mpc_i2c_setup_512x()
419 static int mpc_i2c_get_fdr_8xxx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_8xxx()
454 u32 clock) in mpc_i2c_setup_8xxx()
479 u32 clock) in mpc_i2c_setup_8xxx()
774 u32 clock = MPC_I2C_CLOCK_LEGACY; in fsl_i2c_probe() local
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_dpll.c300 int pnv_calc_dpll_params(int refclk, struct dpll *clock) in pnv_calc_dpll_params()
317 int i9xx_calc_dpll_params(int refclk, struct dpll *clock) in i9xx_calc_dpll_params()
329 int vlv_calc_dpll_params(int refclk, struct dpll *clock) in vlv_calc_dpll_params()
341 int chv_calc_dpll_params(int refclk, struct dpll *clock) in chv_calc_dpll_params()
360 const struct dpll *clock) in intel_pll_is_valid()
435 struct dpll clock; in i9xx_find_best_dpll() local
493 struct dpll clock; in pnv_find_best_dpll() local
549 struct dpll clock; in g4x_find_best_dpll() local
644 struct dpll clock; in vlv_find_best_dpll() local
705 struct dpll clock; in chv_find_best_dpll() local
[all …]
/Linux-v5.15/drivers/video/fbdev/vermilion/
Dcr_pll.c86 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()
/Linux-v5.15/arch/csky/kernel/vdso/
Dvgettimeofday.c6 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
12 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
/Linux-v5.15/drivers/gpu/drm/gma500/
Dcdv_intel_display.c213 struct gma_clock_t *clock, bool is_lvds, u32 ddi_select) in cdv_dpll_set_clock_cdv()
392 static void cdv_intel_clock(int refclk, struct gma_clock_t *clock) in cdv_intel_clock()
406 struct gma_clock_t clock; in cdv_intel_find_dp_pll() local
582 struct gma_clock_t clock; in cdv_intel_crtc_mode_set() local
820 static void i8xx_clock(int refclk, struct gma_clock_t *clock) in i8xx_clock()
838 struct gma_clock_t clock; in cdv_intel_crtc_clock_get() local
Doaktrail_crtc.c111 static void mrst_lvds_clock(int refclk, struct gma_clock_t *clock) in mrst_lvds_clock()
116 static void mrst_print_pll(struct gma_clock_t *clock) in mrst_print_pll()
127 struct gma_clock_t clock; in mrst_sdvo_find_best_pll() local
185 struct gma_clock_t clock; in mrst_lvds_find_best_pll() local
368 struct gma_clock_t clock; in oaktrail_crtc_mode_set() local
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_afmt.c51 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-v5.15/arch/arm/vdso/
Dvgettimeofday.c10 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
16 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
/Linux-v5.15/arch/arm64/kernel/vdso32/
Dvgettimeofday.c9 int __vdso_clock_gettime(clockid_t clock, in __vdso_clock_gettime()
15 int __vdso_clock_gettime64(clockid_t clock, in __vdso_clock_gettime64()
/Linux-v5.15/arch/powerpc/kernel/vdso32/
Dvgettimeofday.c7 int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, in __c_kernel_clock_gettime()
13 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime64()
/Linux-v5.15/sound/pci/echoaudio/
Ddarla24_dsp.c101 u8 clock; in set_sample_rate() local
157 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
/Linux-v5.15/drivers/gpu/drm/mgag200/
Dmgag200_pll.c11 static int mgag200_pixpll_compute_g200(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200()
114 static int mgag200_pixpll_compute_g200se_00(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200se_00()
189 static int mgag200_pixpll_compute_g200se_04(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200se_04()
300 static int mgag200_pixpll_compute_g200wb(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200wb()
473 static int mgag200_pixpll_compute_g200ev(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200ev()
598 static int mgag200_pixpll_compute_g200eh(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200eh()
722 static int mgag200_pixpll_compute_g200eh3(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200eh3()
779 static int mgag200_pixpll_compute_g200er(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200er()
892 static int mgag200_pixpll_compute_g200ew3(struct mgag200_pll *pixpll, long clock, in mgag200_pixpll_compute_g200ew3()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c73 static u64 __mlxsw_sp1_ptp_read_frc(struct mlxsw_sp_ptp_clock *clock, in __mlxsw_sp1_ptp_read_frc()
97 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_read_frc() local
104 mlxsw_sp1_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp1_ptp_phc_adjfreq()
125 mlxsw_sp1_ptp_phc_settime(struct mlxsw_sp_ptp_clock *clock, u64 nsec) in mlxsw_sp1_ptp_phc_settime()
153 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_adjfine() local
182 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_adjtime() local
198 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_gettimex() local
215 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_settime() local
240 struct mlxsw_sp_ptp_clock *clock; in mlxsw_sp1_ptp_clock_overflow() local
254 struct mlxsw_sp_ptp_clock *clock; in mlxsw_sp1_ptp_clock_init() local
[all …]

12345678910>>...19