Home
last modified time | relevance | path

Searched refs:clock_mode (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/kernel/time/
Dvsyscall.c76 s32 clock_mode; in update_vsyscall() local
82 clock_mode = tk->tkr_mono.clock->vdso_clock_mode; in update_vsyscall()
83 vdata[CS_HRES_COARSE].clock_mode = clock_mode; in update_vsyscall()
84 vdata[CS_RAW].clock_mode = clock_mode; in update_vsyscall()
113 if (clock_mode != VDSO_CLOCKMODE_NONE) in update_vsyscall()
/kernel/linux/linux-5.10/lib/vdso/
Dgettimeofday.c37 return vd->clock_mode != VDSO_CLOCKMODE_NONE; in vdso_clocksource_ok()
71 cycles = __arch_get_hw_counter(vd->clock_mode, vd); in do_hres_timens()
132 vd->clock_mode == VDSO_CLOCKMODE_TIMENS) in do_hres()
141 cycles = __arch_get_hw_counter(vd->clock_mode, vd); in do_hres()
211 vd->clock_mode == VDSO_CLOCKMODE_TIMENS) in do_coarse()
312 vd->clock_mode == VDSO_CLOCKMODE_TIMENS) in __cvdso_gettimeofday_data()
335 vd->clock_mode == VDSO_CLOCKMODE_TIMENS) in __cvdso_time_data()
365 vd->clock_mode == VDSO_CLOCKMODE_TIMENS) in __cvdso_clock_getres_common()
/kernel/linux/linux-5.10/arch/x86/include/asm/vdso/
Dgettimeofday.h244 static inline u64 __arch_get_hw_counter(s32 clock_mode, in __arch_get_hw_counter() argument
247 if (likely(clock_mode == VDSO_CLOCKMODE_TSC)) in __arch_get_hw_counter()
256 if (clock_mode == VDSO_CLOCKMODE_PVCLOCK) { in __arch_get_hw_counter()
262 if (clock_mode == VDSO_CLOCKMODE_HVCLOCK) { in __arch_get_hw_counter()
/kernel/linux/linux-5.10/arch/arm64/include/asm/vdso/
Dcompat_gettimeofday.h106 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode, in __arch_get_hw_counter() argument
116 if (clock_mode != VDSO_CLOCKMODE_ARCHTIMER) in __arch_get_hw_counter()
171 return vd->clock_mode == VDSO_CLOCKMODE_ARCHTIMER; in vdso_clocksource_ok()
Dgettimeofday.h67 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode, in __arch_get_hw_counter() argument
77 if (clock_mode == VDSO_CLOCKMODE_NONE) in __arch_get_hw_counter()
/kernel/linux/linux-5.10/sound/drivers/vx/
Dvx_uer.c241 if (chip->clock_mode == VX_CLOCK_MODE_EXTERNAL || in vx_set_clock()
242 (chip->clock_mode == VX_CLOCK_MODE_AUTO && in vx_set_clock()
249 } else if (chip->clock_mode == VX_CLOCK_MODE_INTERNAL || in vx_set_clock()
250 (chip->clock_mode == VX_CLOCK_MODE_AUTO && in vx_set_clock()
Dvx_core.c559 chip->clock_mode = VX_CLOCK_MODE_AUTO; in vx_reset_board()
594 static const char * const clock_mode[] = { "Auto", "Internal", "External" }; in vx_proc_read() local
622 snd_iprintf(buffer, "Clock Mode: %s\n", clock_mode[chip->clock_mode]); in vx_proc_read()
Dvx_mixer.c527 ucontrol->value.enumerated.item[0] = chip->clock_mode; in vx_clock_mode_get()
538 if (chip->clock_mode != ucontrol->value.enumerated.item[0]) { in vx_clock_mode_put()
539 chip->clock_mode = ucontrol->value.enumerated.item[0]; in vx_clock_mode_put()
/kernel/linux/linux-5.10/drivers/ide/
Dit821x.c77 u8 clock_mode; /* 0, ATA_50 or ATA_66 */ member
121 if(itdev->clock_mode == ATA_66) in it821x_program()
147 if(itdev->clock_mode == ATA_66) in it821x_program_udma()
196 if(clock == itdev->clock_mode) in it821x_clock_strategy()
201 itdev->clock_mode = ATA_66; in it821x_clock_strategy()
203 itdev->clock_mode = ATA_50; in it821x_clock_strategy()
552 idev->clock_mode = ATA_50; in init_hwif_it821x()
554 idev->clock_mode = ATA_66; in init_hwif_it821x()
/kernel/linux/linux-5.10/arch/mips/include/asm/vdso/
Dgettimeofday.h186 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode, in __arch_get_hw_counter() argument
190 if (clock_mode == VDSO_CLOCKMODE_R4K) in __arch_get_hw_counter()
194 if (clock_mode == VDSO_CLOCKMODE_GIC) in __arch_get_hw_counter()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_it821x.c89 u8 clock_mode; /* 0, ATA_50 or ATA_66 */ member
134 if (itdev->clock_mode == ATA_66) in it821x_program()
163 if (itdev->clock_mode == ATA_66) in it821x_program_udma()
213 if (clock == itdev->clock_mode) in it821x_clock_strategy()
218 itdev->clock_mode = ATA_66; in it821x_clock_strategy()
220 itdev->clock_mode = ATA_50; in it821x_clock_strategy()
762 itdev->clock_mode = ATA_50; in it821x_port_start()
764 itdev->clock_mode = ATA_66; in it821x_port_start()
/kernel/linux/linux-5.10/arch/arm/include/asm/vdso/
Dgettimeofday.h116 static __always_inline u64 __arch_get_hw_counter(int clock_mode, in __arch_get_hw_counter() argument
127 if (clock_mode == VDSO_CLOCKMODE_NONE) in __arch_get_hw_counter()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dor51132.c301 int clock_mode; in or51132_set_parameters() local
312 clock_mode = 0; in or51132_set_parameters()
319 clock_mode = 1; in or51132_set_parameters()
340 state->config->set_ts_params(fe, clock_mode); in or51132_set_parameters()
Dcxd2099.h25 u8 clock_mode; member
Dcxd2099.c298 if (ci->cfg.clock_mode == 2) { in init()
320 } else if (ci->cfg.clock_mode == 1) { in init()
/kernel/linux/linux-5.10/include/drm/i2c/
Dch7006.h56 } clock_mode; member
/kernel/linux/linux-5.10/include/linux/platform_data/
Dleds-lp55xx.h74 u8 clock_mode; member
/kernel/linux/linux-5.10/include/vdso/
Ddatapage.h93 s32 clock_mode; member
/kernel/linux/linux-5.10/arch/riscv/include/asm/vdso/
Dgettimeofday.h63 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode, in __arch_get_hw_counter() argument
/kernel/linux/linux-5.10/arch/s390/include/asm/vdso/
Dgettimeofday.h25 static inline u64 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) in __arch_get_hw_counter() argument
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtbcm.h41 __u8 clock_mode; member
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_core.h301 u32 clock_mode; member
315 u32 clock_mode; member
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-lp5521.rst101 .clock_mode = LP55XX_CLOCK_EXT,
Dleds-lp5523.rst140 .clock_mode = LP55XX_CLOCK_EXT,
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lp8501.c102 if (chip->pdata->clock_mode != LP55XX_CLOCK_EXT) in lp8501_post_init_device()

12