Searched refs:i8254 (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/drivers/comedi/drivers/ |
D | comedi_8254.c | 122 static unsigned int __i8254_read(struct comedi_8254 *i8254, unsigned int reg) in __i8254_read() argument 124 unsigned int reg_offset = (reg * i8254->iosize) << i8254->regshift; in __i8254_read() 127 switch (i8254->iosize) { in __i8254_read() 130 if (i8254->mmio) in __i8254_read() 131 val = readb(i8254->mmio + reg_offset); in __i8254_read() 133 val = inb(i8254->iobase + reg_offset); in __i8254_read() 136 if (i8254->mmio) in __i8254_read() 137 val = readw(i8254->mmio + reg_offset); in __i8254_read() 139 val = inw(i8254->iobase + reg_offset); in __i8254_read() 142 if (i8254->mmio) in __i8254_read() [all …]
|
D | amplc_dio200_common.c | 147 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_offset() local 152 offset = i8254->mmio - dev->mmio; in dio200_subdev_8254_offset() 154 offset = i8254->iobase - dev->iobase; in dio200_subdev_8254_offset() 499 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_config() local 514 i8254->gate_src[chan] = src; in dio200_subdev_8254_config() 517 data[2] = i8254->gate_src[chan]; in dio200_subdev_8254_config() 525 i8254->clock_src[chan] = src; in dio200_subdev_8254_config() 528 data[1] = i8254->clock_src[chan]; in dio200_subdev_8254_config() 529 data[2] = clock_period[i8254->clock_src[chan]]; in dio200_subdev_8254_config() 543 struct comedi_8254 *i8254; in dio200_subdev_8254_init() local [all …]
|
/Linux-v6.1/include/linux/comedi/ |
D | comedi_8254.h | 99 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 …]
|
/Linux-v6.1/arch/x86/lib/ |
D | kaslr.c | 34 static inline u16 i8254(void) in i8254() function 85 random ^= i8254(); in kaslr_get_random_long()
|
/Linux-v6.1/arch/x86/kvm/ |
D | Makefile | 13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
/Linux-v6.1/Documentation/virt/kvm/x86/ |
D | timekeeping.rst | 41 2.1. i8254 - PIT
|
/Linux-v6.1/Documentation/virt/kvm/ |
D | api.rst | 2964 Creates an in-kernel device model for the i8254 PIT. This call is only valid 4225 i8254 (PIT) has two modes, reinject and !reinject. The default is reinject, 4226 where KVM queues elapsed i8254 ticks and monitors completion of interrupt from 4227 vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its 4228 interrupt whenever there isn't a pending interrupt from i8254.
|
/Linux-v6.1/arch/x86/ |
D | Kconfig | 2166 supported, then entropy is read from the i8254 timer. The
|