Home
last modified time | relevance | path

Searched refs:i8254 (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/staging/comedi/drivers/
Dcomedi_8254.c124 static unsigned int __i8254_read(struct comedi_8254 *i8254, unsigned int reg) in __i8254_read() argument
126 unsigned int reg_offset = (reg * i8254->iosize) << i8254->regshift; in __i8254_read()
129 switch (i8254->iosize) { in __i8254_read()
132 if (i8254->mmio) in __i8254_read()
133 val = readb(i8254->mmio + reg_offset); in __i8254_read()
135 val = inb(i8254->iobase + reg_offset); in __i8254_read()
138 if (i8254->mmio) in __i8254_read()
139 val = readw(i8254->mmio + reg_offset); in __i8254_read()
141 val = inw(i8254->iobase + reg_offset); in __i8254_read()
144 if (i8254->mmio) in __i8254_read()
[all …]
Dcomedi_8254.h99 unsigned int comedi_8254_status(struct comedi_8254 *i8254,
101 unsigned int comedi_8254_read(struct comedi_8254 *i8254, unsigned int counter);
102 void comedi_8254_write(struct comedi_8254 *i8254,
105 int comedi_8254_set_mode(struct comedi_8254 *i8254,
107 int comedi_8254_load(struct comedi_8254 *i8254,
110 void comedi_8254_pacer_enable(struct comedi_8254 *i8254,
113 void comedi_8254_update_divisors(struct comedi_8254 *i8254);
114 void comedi_8254_cascade_ns_to_timer(struct comedi_8254 *i8254,
116 void comedi_8254_ns_to_timer(struct comedi_8254 *i8254,
119 void comedi_8254_set_busy(struct comedi_8254 *i8254,
[all …]
Damplc_dio200_common.c148 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_offset() local
153 offset = i8254->mmio - dev->mmio; in dio200_subdev_8254_offset()
155 offset = i8254->iobase - dev->iobase; in dio200_subdev_8254_offset()
500 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_config() local
515 i8254->gate_src[chan] = src; in dio200_subdev_8254_config()
518 data[2] = i8254->gate_src[chan]; in dio200_subdev_8254_config()
526 i8254->clock_src[chan] = src; in dio200_subdev_8254_config()
529 data[1] = i8254->clock_src[chan]; in dio200_subdev_8254_config()
530 data[2] = clock_period[i8254->clock_src[chan]]; in dio200_subdev_8254_config()
544 struct comedi_8254 *i8254; in dio200_subdev_8254_init() local
[all …]
/Linux-v5.4/arch/x86/lib/
Dkaslr.c34 static inline u16 i8254(void) in i8254() function
80 random ^= i8254(); in kaslr_get_random_long()
/Linux-v5.4/arch/x86/kvm/
DMakefile12 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
/Linux-v5.4/Documentation/virt/kvm/
Dtimekeeping.txt38 2.1) i8254 - PIT
Dapi.txt2372 Creates an in-kernel device model for the i8254 PIT. This call is only valid
3367 i8254 (PIT) has two modes, reinject and !reinject. The default is reinject,
3368 where KVM queues elapsed i8254 ticks and monitors completion of interrupt from
3369 vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its
3370 interrupt whenever there isn't a pending interrupt from i8254.
/Linux-v5.4/arch/x86/
DKconfig2213 supported, then entropy is read from the i8254 timer. The