/openbmc/linux/drivers/comedi/drivers/ |
H A D | comedi_8254.c | 130 if (i8254->mmio) in __i8254_read() 136 if (i8254->mmio) in __i8254_read() 326 comedi_8254_write(i8254, counter2, i8254->divisor2); in comedi_8254_pacer_enable() 327 comedi_8254_write(i8254, counter1, i8254->divisor1); in comedi_8254_pacer_enable() 339 i8254->divisor = i8254->next_div & 0xffff; in comedi_8254_update_divisors() 340 i8254->divisor1 = i8254->next_div1 & 0xffff; in comedi_8254_update_divisors() 341 i8254->divisor2 = i8254->next_div2 & 0xffff; in comedi_8254_update_divisors() 376 div * i8254->osc_base > i8254->osc_base) in comedi_8254_cascade_ns_to_timer() 588 i8254 = kzalloc(sizeof(*i8254), GFP_KERNEL); in __i8254_init() 589 if (!i8254) in __i8254_init() [all …]
|
H A 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() 543 struct comedi_8254 *i8254; in dio200_subdev_8254_init() local 565 if (!i8254) in dio200_subdev_8254_init() [all …]
|
/openbmc/linux/include/linux/comedi/ |
H A 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 …]
|
/openbmc/linux/drivers/counter/ |
H A D | i8254.c | 50 struct i8254 { struct 60 struct i8254 *const priv = counter_priv(counter); in i8254_count_read() argument 101 struct i8254 *const priv = counter_priv(counter); in i8254_action_read() 128 struct i8254 *const priv = counter_priv(counter); in i8254_count_ceiling_read() 160 const struct i8254 *const priv = counter_priv(counter); in i8254_count_mode_read() 191 struct i8254 *const priv = counter_priv(counter); in i8254_count_mode_write() 235 struct i8254 *const priv = counter_priv(counter); in i8254_count_floor_read() 261 const struct i8254 *const priv = counter_priv(counter); in i8254_count_preset_read() 271 struct i8254 *const priv = counter_priv(counter); in i8254_count_preset_write() 407 struct i8254 *priv; in devm_i8254_regmap_register()
|
H A D | Makefile | 9 obj-$(CONFIG_I8254) += i8254.o
|
H A D | Kconfig | 11 Enables support for the i8254 interface library functions. The i8254 19 If built as a module its name will be i8254.
|
/openbmc/linux/arch/x86/lib/ |
H A D | kaslr.c | 34 static inline u16 i8254(void) in i8254() function 85 random ^= i8254(); in kaslr_get_random_long()
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | pcspkr.dtsi | 3 compatible = "i8254,beeper";
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | meson.build | 4 i386_kvm_ss.add(when: 'CONFIG_I8254', if_true: files('i8254.c'))
|
/openbmc/qemu/docs/system/i386/ |
H A D | microvm.rst | 20 - i8254 PIT (optional) 49 - microvm.pit=OnOffAuto (Enable i8254 PIT) 90 the i8254 PIT (make sure you're also emulating a CPU with such feature
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | Makefile | 26 obj-$(CONFIG_I8254_TIMER) += i8254.o
|
/openbmc/linux/arch/x86/kvm/ |
H A D | Makefile | 13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
/openbmc/u-boot/drivers/sound/ |
H A D | Kconfig | 44 bool "Intel i8254 timer / beeper" 47 This enables support for a beeper that uses the i8254 timer chip.
|
/openbmc/qemu/hw/timer/ |
H A D | meson.build | 18 system_ss.add(when: 'CONFIG_I8254', if_true: files('i8254_common.c', 'i8254.c'))
|
/openbmc/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 41 2.1. i8254 - PIT
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 2947 Creates an in-kernel device model for the i8254 PIT. This call is only valid 4223 i8254 (PIT) has two modes, reinject and !reinject. The default is reinject, 4224 where KVM queues elapsed i8254 ticks and monitors completion of interrupt from 4225 vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its 4226 interrupt whenever there isn't a pending interrupt from i8254.
|
/openbmc/qemu/ |
H A D | MAINTAINERS | 1854 F: hw/timer/i8254* 1868 F: include/hw/timer/i8254*
|
/openbmc/linux/arch/x86/ |
H A D | Kconfig | 2137 supported, then entropy is read from the i8254 timer. The
|
/openbmc/linux/ |
H A D | MAINTAINERS | 10446 F: drivers/counter/i8254.c 10447 F: include/linux/i8254.h
|