Searched refs:timer_mode (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/staging/comedi/drivers/addi-data/
H A Dhwdrv_apci3501.c33 devpriv->timer_mode = data[0]; apci3501_config_insn_timer()
36 if (devpriv->timer_mode == ADDIDATA_WATCHDOG) { apci3501_config_insn_timer()
53 if (devpriv->timer_mode == ADDIDATA_WATCHDOG) { apci3501_config_insn_timer()
93 if (devpriv->timer_mode == ADDIDATA_WATCHDOG || apci3501_write_insn_timer()
94 devpriv->timer_mode == ADDIDATA_TIMER) { apci3501_write_insn_timer()
101 if (devpriv->timer_mode == ADDIDATA_WATCHDOG) apci3501_write_insn_timer()
132 if (devpriv->timer_mode != ADDIDATA_TIMER && apci3501_read_insn_timer()
133 devpriv->timer_mode != ADDIDATA_WATCHDOG) apci3501_read_insn_timer()
/linux-4.4.14/drivers/oprofile/
H A Doprof.c242 static int timer_mode; variable
249 timer_mode = 0; oprofile_init()
258 timer_mode = 1; oprofile_init()
273 if (!timer_mode) oprofile_exit()
/linux-4.4.14/sound/oss/
H A Dmpu401.c34 static int timer_mode = TMR_INTERNAL, timer_caps = TMR_INTERNAL; variable
1288 if (timer_mode & TMR_MODE_CLS) set_timer_mode()
1290 else if (timer_mode & TMR_MODE_SMPTE) set_timer_mode()
1293 if (timer_mode & TMR_INTERNAL) set_timer_mode()
1299 if (timer_mode & (TMR_MODE_MIDI | TMR_MODE_CLS)) set_timer_mode()
1304 else if (timer_mode & TMR_MODE_FSK) set_timer_mode()
1346 if (timer_mode & TMR_INTERNAL) mpu_start_timer()
1494 timer_mode = parm; mpu_timer_ioctl()
1496 if (timer_mode & TMR_MODE_CLS) mpu_timer_ioctl()
1498 else if (timer_mode & TMR_MODE_SMPTE) mpu_timer_ioctl()
1501 if (put_user(timer_mode, p)) mpu_timer_ioctl()
1503 return timer_mode; mpu_timer_ioctl()
1654 if (timer_mode & TMR_EXTERNAL) timer_ext_event()
1666 if (timer_mode & TMR_EXTERNAL) timer_ext_event()
1676 if (timer_mode & TMR_EXTERNAL) timer_ext_event()
1686 if (timer_mode & TMR_EXTERNAL) timer_ext_event()
1737 timer_mode = (TMR_INTERNAL | TMR_MODE_MIDI) & timer_caps; mpu_timer_init()
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Daddi_apci_3120.c161 unsigned char timer_mode; member in struct:apci3120_private
370 devpriv->timer_mode &= ~APCI3120_TIMER_MODE_MASK(timer); apci3120_timer_set_mode()
371 devpriv->timer_mode |= APCI3120_TIMER_MODE(timer, mode); apci3120_timer_set_mode()
372 outb(devpriv->timer_mode, dev->iobase + APCI3120_TIMER_MODE_REG); apci3120_timer_set_mode()
834 unsigned int timer_mode; apci3120_timer_insn_config() local
870 timer_mode = APCI3120_TIMER_MODE0; apci3120_timer_insn_config()
874 timer_mode = APCI3120_TIMER_MODE2; apci3120_timer_insn_config()
878 timer_mode = APCI3120_TIMER_MODE4; apci3120_timer_insn_config()
882 timer_mode = APCI3120_TIMER_MODE5; apci3120_timer_insn_config()
889 apci3120_timer_set_mode(dev, 2, timer_mode); apci3120_timer_insn_config()
H A Daddi_apci_3501.c72 unsigned char timer_mode; member in struct:apci3501_private
/linux-4.4.14/arch/x86/kvm/
H A Dlapic.h14 u32 timer_mode; member in struct:kvm_timer
H A Dlapic.c264 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; apic_lvtt_oneshot()
269 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_PERIODIC; apic_lvtt_period()
274 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_TSCDEADLINE; apic_lvtt_tscdeadline()
1186 u32 timer_mode = kvm_apic_get_reg(apic, APIC_LVTT) & apic_update_lvtt() local
1189 if (apic->lapic_timer.timer_mode != timer_mode) { apic_update_lvtt()
1190 apic->lapic_timer.timer_mode = timer_mode; apic_update_lvtt()
/linux-4.4.14/arch/x86/include/asm/
H A Dapicdef.h334 timer_mode : 1, member in struct:local_apic::__anon3014

Completed in 384 milliseconds