Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/counter/ !
Drz-mtu3-cnt.c205 u8 timer_mode; in rz_mtu3_count_function_read_helper() local
208 timer_mode = rz_mtu3_8bit_ch_read(ch, RZ_MTU3_TMDR1); in rz_mtu3_count_function_read_helper()
211 switch (timer_mode & RZ_MTU3_TMDR1_PH_CNT_MODE_MASK) { in rz_mtu3_count_function_read_helper()
255 u8 timer_mode; in rz_mtu3_count_function_write() local
264 timer_mode = RZ_MTU3_TMDR1_PH_CNT_MODE_1; in rz_mtu3_count_function_write()
267 timer_mode = RZ_MTU3_TMDR1_PH_CNT_MODE_2; in rz_mtu3_count_function_write()
270 timer_mode = RZ_MTU3_TMDR1_PH_CNT_MODE_4; in rz_mtu3_count_function_write()
283 rz_mtu3_8bit_ch_write(ch, RZ_MTU3_TMDR1, timer_mode); in rz_mtu3_count_function_write()
/linux-6.6.21/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-6.6.21/arch/x86/kvm/ !
Dlapic.c542 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; in apic_lvtt_oneshot()
547 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_PERIODIC; in apic_lvtt_period()
552 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_TSCDEADLINE; in apic_lvtt_tscdeadline()
1754 u32 timer_mode = kvm_lapic_get_reg(apic, APIC_LVTT) & in apic_update_lvtt() local
1757 if (apic->lapic_timer.timer_mode != timer_mode) { in apic_update_lvtt()
1758 if (apic_lvtt_tscdeadline(apic) != (timer_mode == in apic_update_lvtt()
1765 apic->lapic_timer.timer_mode = timer_mode; in apic_update_lvtt()
Dlapic.h50 u32 timer_mode; member
/linux-6.6.21/arch/x86/include/asm/ !
Dapicdef.h333 timer_mode : 1, member