Home
last modified time | relevance | path

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

/Linux-v4.19/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.c160 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_offset() local
165 offset = i8254->mmio - dev->mmio; in dio200_subdev_8254_offset()
167 offset = i8254->iobase - dev->iobase; in dio200_subdev_8254_offset()
512 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_config() local
527 i8254->gate_src[chan] = src; in dio200_subdev_8254_config()
530 data[2] = i8254->gate_src[chan]; in dio200_subdev_8254_config()
538 i8254->clock_src[chan] = src; in dio200_subdev_8254_config()
541 data[1] = i8254->clock_src[chan]; in dio200_subdev_8254_config()
542 data[2] = clock_period[i8254->clock_src[chan]]; in dio200_subdev_8254_config()
556 struct comedi_8254 *i8254; in dio200_subdev_8254_init() local
[all …]
/Linux-v4.19/arch/x86/lib/
Dkaslr.c34 static inline u16 i8254(void) in i8254() function
80 random ^= i8254(); in kaslr_get_random_long()
/Linux-v4.19/arch/x86/kvm/
DMakefile16 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
/Linux-v4.19/Documentation/virtual/kvm/
Dapi.txt2175 Creates an in-kernel device model for the i8254 PIT. This call is only valid
3122 i8254 (PIT) has two modes, reinject and !reinject. The default is reinject,
3123 where KVM queues elapsed i8254 ticks and monitors completion of interrupt from
3124 vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its
3125 interrupt whenever there isn't a pending interrupt from i8254.
Dtimekeeping.txt38 2.1) i8254 - PIT
/Linux-v4.19/arch/x86/
DKconfig2131 supported, then entropy is read from the i8254 timer. The