Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c70 struct mlx5_clock *clock = container_of(cc, struct mlx5_clock, cycles); in read_internal_timer() local
80 struct mlx5_clock *clock = &mdev->clock; in mlx5_update_clock_info_page() local
103 struct mlx5_clock *clock = container_of(pps_info, struct mlx5_clock, in mlx5_pps_out() local
131 struct mlx5_clock *clock = container_of(dwork, struct mlx5_clock, in mlx5_timestamp_overflow() local
145 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, in mlx5_ptp_settime() local
160 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, in mlx5_ptp_gettime() local
176 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, in mlx5_ptp_adjtime() local
194 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, in mlx5_ptp_adjfreq() local
220 struct mlx5_clock *clock = in mlx5_extts_configure() local
269 struct mlx5_clock *clock = in mlx5_perout_configure() local
[all …]
Dclock.h46 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time()
68 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time()
/Linux-v4.19/drivers/clk/renesas/
Dclk-div6.c53 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_enable() local
65 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_disable() local
83 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_is_enabled() local
91 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_recalc_rate() local
119 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_set_rate() local
135 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_get_parent() local
156 struct div6_clock *clock = to_div6_clock(hw); in cpg_div6_clock_set_parent() local
186 struct div6_clock *clock = container_of(nb, struct div6_clock, nb); in cpg_div6_clock_notifier_call() local
223 struct div6_clock *clock; in cpg_div6_register() local
Drcar-gen3-cpg.c265 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_enable() local
278 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_disable() local
285 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_is_enabled() local
293 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_recalc_rate() local
299 static unsigned int cpg_sd_clock_calc_div(struct sd_clock *clock, in cpg_sd_clock_calc_div()
316 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_round_rate() local
325 struct sd_clock *clock = to_sd_clock(hw); in cpg_sd_clock_set_rate() local
361 struct sd_clock *clock; in cpg_sd_clk_register() local
Dclk-mstp.c78 struct mstp_clock *clock = to_mstp_clock(hw); in cpg_mstp_clock_endisable() local
132 struct mstp_clock *clock = to_mstp_clock(hw); in cpg_mstp_clock_is_enabled() local
155 struct mstp_clock *clock; in cpg_mstp_clock_register() local
/Linux-v4.19/drivers/soc/fsl/qe/
Ducc.c123 int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock, in ucc_set_qe_mux_rxtx()
220 static int ucc_get_tdm_common_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_common_clk()
280 static int ucc_get_tdm_rx_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_rx_clk()
386 static int ucc_get_tdm_tx_clk(u32 tdm_num, enum qe_clock clock) in ucc_get_tdm_tx_clk()
494 enum qe_clock clock) in ucc_get_tdm_rxtx_clk()
521 int ucc_set_tdm_rxtx_clk(u32 tdm_num, enum qe_clock clock, in ucc_set_tdm_rxtx_clk()
553 static int ucc_get_tdm_sync_source(u32 tdm_num, enum qe_clock clock, in ucc_get_tdm_sync_source()
635 int ucc_set_tdm_rxtx_sync(u32 tdm_num, enum qe_clock clock, in ucc_set_tdm_rxtx_sync()
/Linux-v4.19/drivers/net/ethernet/cavium/common/
Dcavium_ptp.c92 struct cavium_ptp *clock = in cavium_ptp_adjfine() local
139 struct cavium_ptp *clock = in cavium_ptp_adjtime() local
161 struct cavium_ptp *clock = in cavium_ptp_gettime() local
183 struct cavium_ptp *clock = in cavium_ptp_settime() local
211 struct cavium_ptp *clock = in cavium_ptp_cc_read() local
221 struct cavium_ptp *clock; in cavium_ptp_probe() local
314 struct cavium_ptp *clock = pci_get_drvdata(pdev); in cavium_ptp_remove() local
Dcavium_ptp.h44 static inline int cavium_ptp_clock_index(struct cavium_ptp *clock) in cavium_ptp_clock_index()
63 static inline int cavium_ptp_clock_index(struct cavium_ptp *clock) in cavium_ptp_clock_index()
/Linux-v4.19/drivers/net/phy/
Ddp83640.c112 struct dp83640_clock *clock; member
307 static int periodic_output(struct dp83640_clock *clock, in periodic_output()
380 struct dp83640_clock *clock = in ptp_dp83640_adjfine() local
413 struct dp83640_clock *clock = in ptp_dp83640_adjtime() local
435 struct dp83640_clock *clock = in ptp_dp83640_gettime() local
460 struct dp83640_clock *clock = in ptp_dp83640_settime() local
477 struct dp83640_clock *clock = in ptp_dp83640_enable() local
521 struct dp83640_clock *clock = in ptp_dp83640_verify() local
540 struct dp83640_clock *clock = dp83640->clock; in enable_status_frames() local
615 static void recalibrate(struct dp83640_clock *clock) in recalibrate()
[all …]
/Linux-v4.19/drivers/clocksource/
Dclps711x-timer.c34 static int __init _clps711x_clksrc_init(struct clk *clock, void __iomem *base) in _clps711x_clksrc_init()
64 static int __init _clps711x_clkevt_init(struct clk *clock, void __iomem *base, in _clps711x_clkevt_init()
110 struct clk *clock = of_clk_get(np, 0); in clps711x_timer_init() local
/Linux-v4.19/include/linux/
Dposix-timers.h31 #define CPUCLOCK_PID(clock) ((pid_t) ~((clock) >> 3)) argument
32 #define CPUCLOCK_PERTHREAD(clock) \ argument
36 #define CPUCLOCK_WHICH(clock) ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK) argument
46 const clockid_t clock) in make_process_cpuclock()
51 const clockid_t clock) in make_thread_cpuclock()
/Linux-v4.19/drivers/i2c/busses/
Di2c-mpc.c201 static int mpc_i2c_get_fdr_52xx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_52xx()
237 u32 clock) in mpc_i2c_setup_52xx()
259 u32 clock) in mpc_i2c_setup_52xx()
267 u32 clock) in mpc_i2c_setup_512x()
295 u32 clock) in mpc_i2c_setup_512x()
388 static int mpc_i2c_get_fdr_8xxx(struct device_node *node, u32 clock, in mpc_i2c_get_fdr_8xxx()
423 u32 clock) in mpc_i2c_setup_8xxx()
448 u32 clock) in mpc_i2c_setup_8xxx()
657 u32 clock = MPC_I2C_CLOCK_LEGACY; in fsl_i2c_probe() local
/Linux-v4.19/drivers/video/fbdev/vermilion/
Dcr_pll.c100 static int crvml_nearest_index(const struct vml_sys *sys, int clock) in crvml_nearest_index()
120 static int crvml_nearest_clock(const struct vml_sys *sys, int clock) in crvml_nearest_clock()
125 static int crvml_set_clock(struct vml_sys *sys, int clock) in crvml_set_clock()
/Linux-v4.19/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-v4.19/drivers/gpu/drm/i915/
Dintel_dpll_mgr.c566 static unsigned hsw_wrpll_get_budget_for_freq(int clock) in hsw_wrpll_get_budget_for_freq()
700 hsw_ddi_calculate_wrpll(int clock /* in Hz */, in hsw_ddi_calculate_wrpll()
764 static struct intel_shared_dpll *hsw_ddi_hdmi_get_dpll(int clock, in hsw_ddi_hdmi_get_dpll()
790 hsw_ddi_dp_get_dpll(struct intel_encoder *encoder, int clock) in hsw_ddi_dp_get_dpll()
824 int clock = crtc_state->port_clock; in hsw_get_dpll() local
1230 skl_ddi_calculate_wrpll(int clock /* in Hz */, in skl_ddi_calculate_wrpll()
1304 int clock) in skl_ddi_hdmi_pll_dividers()
1340 skl_ddi_dp_set_dpll_hw_state(int clock, in skl_ddi_dp_set_dpll_hw_state()
1381 int clock = crtc_state->port_clock; in skl_get_dpll() local
1660 int clock; member
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dcdv_intel_display.c223 struct gma_clock_t *clock, bool is_lvds, u32 ddi_select) in cdv_dpll_set_clock_cdv()
402 static void cdv_intel_clock(int refclk, struct gma_clock_t *clock) in cdv_intel_clock()
416 struct gma_clock_t clock; in cdv_intel_find_dp_pll() local
590 struct gma_clock_t clock; in cdv_intel_crtc_mode_set() local
840 static void i8xx_clock(int refclk, struct gma_clock_t *clock) in i8xx_clock()
858 struct gma_clock_t clock; in cdv_intel_crtc_clock_get() local
Doaktrail_crtc.c121 static void mrst_lvds_clock(int refclk, struct gma_clock_t *clock) in mrst_lvds_clock()
126 static void mrst_print_pll(struct gma_clock_t *clock) in mrst_print_pll()
137 struct gma_clock_t clock; in mrst_sdvo_find_best_pll() local
194 struct gma_clock_t clock; in mrst_lvds_find_best_pll() local
376 struct gma_clock_t clock; in oaktrail_crtc_mode_set() local
/Linux-v4.19/drivers/ide/
Dpdc202xx_old.c128 u8 clock = inb(clock_reg); in pdc_old_enable_66MHz_clock() local
136 u8 clock = inb(clock_reg); in pdc_old_disable_66MHz_clock() local
156 u8 clock = inb(high_16 + 0x11); in pdc202xx_dma_start() local
174 u8 clock = 0; in pdc202xx_dma_end() local
/Linux-v4.19/sound/pci/echoaudio/
Ddarla24_dsp.c99 u8 clock; in set_sample_rate() local
155 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
Dgina24_dsp.c164 u32 control_reg, clock; in set_sample_rate() local
234 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
Dlayla24_dsp.c159 u32 control_reg, clock, base_rate; in set_sample_rate() local
249 static int set_input_clock(struct echoaudio *chip, u16 clock) in set_input_clock()
Dlayla20_dsp.c188 u16 clock; in set_input_clock() local
226 static int set_output_clock(struct echoaudio *chip, u16 clock) in set_output_clock()
/Linux-v4.19/arch/x86/entry/vdso/
Dvclock_gettime.c43 notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) in vdso_fallback_gettime()
65 notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) in vdso_fallback_gettime()
271 notrace int __vdso_clock_gettime(clockid_t clock, struct timespec *ts) in __vdso_clock_gettime()
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks_command.c275 command_get_clock(struct snd_efw *efw, struct efc_clock *clock) in command_get_clock()
297 struct efc_clock clock = {0}; in command_set_clock() local
347 struct efc_clock clock = {0}; in snd_efw_command_get_clock_source() local
359 struct efc_clock clock = {0}; in snd_efw_command_get_sampling_rate() local
/Linux-v4.19/kernel/sched/
Dclock.c92 u64 clock; member
266 u64 now, clock, old_clock, min_clock, max_clock, gtod; in sched_clock_local() local
367 u64 clock; in sched_clock_cpu() local

12345678910>>...16