Home
last modified time | relevance | path

Searched refs:timer_mode (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/comedi/drivers/
Daddi_apci_3120.c152 unsigned char timer_mode; member
361 devpriv->timer_mode &= ~APCI3120_TIMER_MODE_MASK(timer); in apci3120_timer_set_mode()
362 devpriv->timer_mode |= APCI3120_TIMER_MODE(timer, mode); in apci3120_timer_set_mode()
363 outb(devpriv->timer_mode, dev->iobase + APCI3120_TIMER_MODE_REG); in apci3120_timer_set_mode()
825 unsigned int timer_mode; in apci3120_timer_insn_config() local
861 timer_mode = APCI3120_TIMER_MODE0; in apci3120_timer_insn_config()
865 timer_mode = APCI3120_TIMER_MODE2; in apci3120_timer_insn_config()
869 timer_mode = APCI3120_TIMER_MODE4; in apci3120_timer_insn_config()
873 timer_mode = APCI3120_TIMER_MODE5; in apci3120_timer_insn_config()
880 apci3120_timer_set_mode(dev, 2, timer_mode); in apci3120_timer_insn_config()
Daddi_apci_3501.c85 unsigned char timer_mode; member
/Linux-v5.15/arch/x86/kvm/
Dlapic.c349 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; in apic_lvtt_oneshot()
354 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_PERIODIC; in apic_lvtt_period()
359 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_TSCDEADLINE; in apic_lvtt_tscdeadline()
1514 u32 timer_mode = kvm_lapic_get_reg(apic, APIC_LVTT) & in apic_update_lvtt() local
1517 if (apic->lapic_timer.timer_mode != timer_mode) { in apic_update_lvtt()
1518 if (apic_lvtt_tscdeadline(apic) != (timer_mode == in apic_update_lvtt()
1525 apic->lapic_timer.timer_mode = timer_mode; in apic_update_lvtt()
Dlapic.h36 u32 timer_mode; member
/Linux-v5.15/arch/x86/include/asm/
Dapicdef.h335 timer_mode : 1, member