Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/x86/include/asm/vdso/
Dgettimeofday.h238 static inline u64 __arch_get_hw_counter(s32 clock_mode) in __arch_get_hw_counter() argument
240 if (clock_mode == VCLOCK_TSC) in __arch_get_hw_counter()
249 if (clock_mode == VCLOCK_PVCLOCK) { in __arch_get_hw_counter()
255 if (clock_mode == VCLOCK_HVCLOCK) { in __arch_get_hw_counter()
/Linux-v5.4/arch/mips/include/asm/vdso/
Dvsyscall.h25 u32 clock_mode = tk->tkr_mono.clock->archdata.vdso_clock_mode; in __mips_get_clock_mode() local
27 return clock_mode; in __mips_get_clock_mode()
Dgettimeofday.h191 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode) in __arch_get_hw_counter() argument
198 switch (clock_mode) { in __arch_get_hw_counter()
/Linux-v5.4/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.c558 chip->clock_mode = VX_CLOCK_MODE_AUTO; in vx_reset_board()
593 static char *clock_mode[] = { "Auto", "Internal", "External" }; in vx_proc_read() local
621 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()
/Linux-v5.4/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()
/Linux-v5.4/arch/arm64/include/asm/vdso/
Dgettimeofday.h69 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode) in __arch_get_hw_counter() argument
77 if (clock_mode) in __arch_get_hw_counter()
Dcompat_gettimeofday.h115 static __always_inline u64 __arch_get_hw_counter(s32 clock_mode) in __arch_get_hw_counter() argument
123 if (clock_mode) in __arch_get_hw_counter()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/kernel/time/
Dvsyscall.c98 vdata[CS_HRES_COARSE].clock_mode = __arch_get_clock_mode(tk); in update_vsyscall()
99 vdata[CS_RAW].clock_mode = __arch_get_clock_mode(tk); in update_vsyscall()
/Linux-v5.4/include/drm/i2c/
Dch7006.h56 } clock_mode; member
/Linux-v5.4/include/linux/platform_data/
Dleds-lp55xx.h65 u8 clock_mode; member
/Linux-v5.4/include/vdso/
Ddatapage.h62 s32 clock_mode; member
/Linux-v5.4/drivers/bluetooth/
Dbtbcm.h41 __u8 clock_mode; member
/Linux-v5.4/sound/pci/mixart/
Dmixart_core.h301 u32 clock_mode; member
315 u32 clock_mode; member
Dmixart.c186 clock_properties.clock_mode = CM_STANDALONE; in mixart_set_clock()
199 if (err < 0 || clock_prop_resp.status != 0 || clock_prop_resp.clock_mode != CM_STANDALONE) { in mixart_set_clock()
202 err, clock_prop_resp.status, clock_prop_resp.clock_mode); in mixart_set_clock()
/Linux-v5.4/Documentation/leds/
Dleds-lp5521.rst101 .clock_mode = LP55XX_CLOCK_EXT,
Dleds-lp5523.rst140 .clock_mode = LP55XX_CLOCK_EXT,
/Linux-v5.4/lib/vdso/
Dgettimeofday.c50 cycles = __arch_get_hw_counter(vd->clock_mode); in do_hres()
/Linux-v5.4/drivers/leds/
Dleds-lp8501.c102 if (chip->pdata->clock_mode != LP55XX_CLOCK_EXT) in lp8501_post_init_device()
/Linux-v5.4/include/sound/
Dvx_core.h172 unsigned int clock_mode; /* clock mode (VX_CLOCK_MODE_XXX) */ member

12