Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/comedi/drivers/
Dcomedi_8254.c127 static unsigned int i8254_io8_cb(struct comedi_8254 *i8254, int dir, in i8254_io8_cb() argument
130 unsigned long iobase = i8254->context; in i8254_io8_cb()
131 unsigned int reg_offset = (reg * I8254_IO8) << i8254->regshift; in i8254_io8_cb()
141 static unsigned int i8254_io16_cb(struct comedi_8254 *i8254, int dir, in i8254_io16_cb() argument
144 unsigned long iobase = i8254->context; in i8254_io16_cb()
145 unsigned int reg_offset = (reg * I8254_IO16) << i8254->regshift; in i8254_io16_cb()
155 static unsigned int i8254_io32_cb(struct comedi_8254 *i8254, int dir, in i8254_io32_cb() argument
158 unsigned long iobase = i8254->context; in i8254_io32_cb()
159 unsigned int reg_offset = (reg * I8254_IO32) << i8254->regshift; in i8254_io32_cb()
171 static unsigned int i8254_mmio8_cb(struct comedi_8254 *i8254, int dir, in i8254_mmio8_cb() argument
[all …]
Damplc_dio200_common.c201 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_offset() local
206 offset = (void __iomem *)i8254->context - dev->mmio; in dio200_subdev_8254_offset()
208 offset = i8254->context - dev->iobase; in dio200_subdev_8254_offset()
553 struct comedi_8254 *i8254 = s->private; in dio200_subdev_8254_config() local
568 i8254->gate_src[chan] = src; in dio200_subdev_8254_config()
571 data[2] = i8254->gate_src[chan]; in dio200_subdev_8254_config()
579 i8254->clock_src[chan] = src; in dio200_subdev_8254_config()
582 data[1] = i8254->clock_src[chan]; in dio200_subdev_8254_config()
583 data[2] = clock_period[i8254->clock_src[chan]]; in dio200_subdev_8254_config()
597 struct comedi_8254 *i8254; in dio200_subdev_8254_init() local
[all …]
/linux-6.12.1/include/linux/comedi/
Dcomedi_8254.h73 typedef unsigned int comedi_8254_iocb_fn(struct comedi_8254 *i8254, int dir,
115 unsigned int comedi_8254_status(struct comedi_8254 *i8254,
117 unsigned int comedi_8254_read(struct comedi_8254 *i8254, unsigned int counter);
118 void comedi_8254_write(struct comedi_8254 *i8254,
121 int comedi_8254_set_mode(struct comedi_8254 *i8254,
123 int comedi_8254_load(struct comedi_8254 *i8254,
126 void comedi_8254_pacer_enable(struct comedi_8254 *i8254,
129 void comedi_8254_update_divisors(struct comedi_8254 *i8254);
130 void comedi_8254_cascade_ns_to_timer(struct comedi_8254 *i8254,
132 void comedi_8254_ns_to_timer(struct comedi_8254 *i8254,
[all …]
/linux-6.12.1/drivers/counter/
Di8254.c50 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()
DKconfig11 Enables support for the i8254 interface library functions. The i8254
19 If built as a module its name will be i8254.
DMakefile9 obj-$(CONFIG_I8254) += i8254.o
/linux-6.12.1/arch/x86/lib/
Dkaslr.c34 static inline u16 i8254(void) in i8254() function
85 random ^= i8254(); in kaslr_get_random_long()
/linux-6.12.1/arch/x86/kvm/
DMakefile9 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
/linux-6.12.1/Documentation/virt/kvm/x86/
Dtimekeeping.rst41 2.1. i8254 - PIT
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst3015 Creates an in-kernel device model for the i8254 PIT. This call is only valid
4308 i8254 (PIT) has two modes, reinject and !reinject. The default is reinject,
4309 where KVM queues elapsed i8254 ticks and monitors completion of interrupt from
4310 vector(s) that i8254 injects. Reinject mode dequeues a tick and injects its
4311 interrupt whenever there isn't a pending interrupt from i8254.
/linux-6.12.1/arch/x86/
DKconfig2180 supported, then entropy is read from the i8254 timer. The
/linux-6.12.1/
DMAINTAINERS11278 F: drivers/counter/i8254.c
11279 F: include/linux/i8254.h