/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | i8254.c | 54 static void pit_set_gate(struct kvm_pit *pit, int channel, u32 val) in pit_set_gate() argument 56 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_set_gate() 77 static int pit_get_gate(struct kvm_pit *pit, int channel) in pit_get_gate() argument 79 return pit->pit_state.channels[channel].gate; in pit_get_gate() 82 static s64 __kpit_elapsed(struct kvm_pit *pit) in __kpit_elapsed() argument 86 struct kvm_kpit_state *ps = &pit->pit_state; in __kpit_elapsed() 106 static s64 kpit_elapsed(struct kvm_pit *pit, struct kvm_kpit_channel_state *c, in kpit_elapsed() argument 110 return __kpit_elapsed(pit); in kpit_elapsed() 115 static int pit_get_count(struct kvm_pit *pit, int channel) in pit_get_count() argument 117 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_get_count() [all …]
|
D | i8254.h | 62 void kvm_pit_load_count(struct kvm_pit *pit, int channel, u32 val, 64 void kvm_pit_set_reinject(struct kvm_pit *pit, bool reinject);
|
D | x86.c | 5197 struct kvm_pit *pit = kvm->arch.vpit; in kvm_vm_ioctl_set_pit() local 5199 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit() 5200 memcpy(&pit->pit_state.channels, ps, sizeof(*ps)); in kvm_vm_ioctl_set_pit() 5202 kvm_pit_load_count(pit, i, ps->channels[i].count, 0); in kvm_vm_ioctl_set_pit() 5203 mutex_unlock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit() 5223 struct kvm_pit *pit = kvm->arch.vpit; in kvm_vm_ioctl_set_pit2() local 5225 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit2() 5226 prev_legacy = pit->pit_state.flags & KVM_PIT_FLAGS_HPET_LEGACY; in kvm_vm_ioctl_set_pit2() 5230 memcpy(&pit->pit_state.channels, &ps->channels, in kvm_vm_ioctl_set_pit2() 5231 sizeof(pit->pit_state.channels)); in kvm_vm_ioctl_set_pit2() [all …]
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | jcore-pit.c | 65 static int jcore_pit_disable(struct jcore_pit *pit) in jcore_pit_disable() argument 67 writel(0, pit->base + REG_PITEN); in jcore_pit_disable() 71 static int jcore_pit_set(unsigned long delta, struct jcore_pit *pit) in jcore_pit_set() argument 73 jcore_pit_disable(pit); in jcore_pit_set() 74 writel(delta, pit->base + REG_THROT); in jcore_pit_set() 75 writel(pit->enable_val, pit->base + REG_PITEN); in jcore_pit_set() 81 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_shutdown() local 83 return jcore_pit_disable(pit); in jcore_pit_set_state_shutdown() 88 struct jcore_pit *pit = container_of(ced, struct jcore_pit, ced); in jcore_pit_set_state_oneshot() local 90 return jcore_pit_disable(pit); in jcore_pit_set_state_oneshot() [all …]
|
D | Makefile | 4 obj-$(CONFIG_ATMEL_PIT) += timer-atmel-pit.o 10 obj-$(CONFIG_CLKSRC_JCORE_PIT) += jcore-pit.o 54 obj-$(CONFIG_VF_PIT_TIMER) += timer-vf-pit.o
|
/kernel/linux/linux-5.10/arch/m68k/bvme6000/ |
D | config.c | 57 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in bvme6000_reset() local 65 pit->pcddr |= 0x10; /* WDOG enable */ in bvme6000_reset() 87 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in config_bvme6000() local 116 pit->pgcr = 0x00; /* Unidirectional 8 bit, no handshake for now */ in config_bvme6000() 117 pit->psrr = 0x18; /* PIACK and PIRQ functions enabled */ in config_bvme6000() 118 pit->pacr = 0x00; /* Sub Mode 00, H2 i/p, no DMA */ in config_bvme6000() 119 pit->padr = 0x00; /* Just to be tidy! */ in config_bvme6000() 120 pit->paddr = 0x00; /* All inputs for now (safest) */ in config_bvme6000() 121 pit->pbcr = 0x80; /* Sub Mode 1x, H4 i/p, no DMA */ in config_bvme6000() 122 pit->pbdr = 0xbc | (*config_reg_ptr & BVME_CONFIG_SW1 ? 0 : 0x40); in config_bvme6000() [all …]
|
/kernel/linux/linux-5.10/arch/m68k/coldfire/ |
D | Makefile | 21 obj-$(CONFIG_M520x) += m520x.o pit.o intc-simr.o reset.o 22 obj-$(CONFIG_M523x) += m523x.o pit.o dma_timer.o intc-2.o reset.o 25 obj-$(CONFIG_M527x) += m527x.o pit.o intc-2.o reset.o 27 obj-$(CONFIG_M528x) += m528x.o pit.o intc-2.o reset.o 32 obj-$(CONFIG_M5441x) += m5441x.o pit.o intc-simr.o reset.o
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
D | jcore,pit.txt | 5 - compatible: Must be "jcore,pit". 11 - interrupts: An interrupt to assign for the timer. The actual pit 21 compatible = "jcore,pit";
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | at91-dvk_som60.dts | 20 tick-timer = &pit; 64 &pit {
|
D | exynos5420-peach-pit.dts | 21 compatible = "google,pit-rev16", 22 "google,pit-rev15", "google,pit-rev14", 23 "google,pit-rev13", "google,pit-rev12", 24 "google,pit-rev11", "google,pit-rev10", 25 "google,pit-rev9", "google,pit-rev8", 26 "google,pit-rev7", "google,pit-rev6", 27 "google,pit", "google,peach","samsung,exynos5420",
|
D | at91-dvk_su60_somc.dtsi | 100 &pit {
|
D | vfxxx.dtsi | 242 pit: pit@40037000 { label 243 compatible = "fsl,vf610-pit"; 247 clock-names = "pit";
|
D | at91sam9261.dtsi | 618 pit: timer@fffffd30 { label 619 compatible = "atmel,at91sam9260-pit";
|
D | sam9x60.dtsi | 698 pit: timer@fffffe40 { label 699 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9rl.dtsi | 809 pit: timer@fffffd30 { label 810 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9n12.dtsi | 135 pit: timer@fffffe30 { label 136 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9260.dtsi | 138 pit: timer@fffffd30 { label 139 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9263.dtsi | 137 pit: timer@fffffd30 { label 138 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9x5.dtsi | 149 pit: timer@fffffe30 { label 150 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9g45.dtsi | 146 pit: timer@fffffd30 { label 147 compatible = "atmel,at91sam9260-pit";
|
D | sama5d2.dtsi | 678 pit: timer@f8048030 { label 679 compatible = "atmel,at91sam9260-pit";
|
D | sama5d3.dtsi | 1042 pit: timer@fffffe30 { label 1043 compatible = "atmel,at91sam9260-pit";
|
D | sama5d4.dtsi | 759 pit: timer@fc068630 { label 760 compatible = "atmel,at91sam9260-pit";
|
/kernel/linux/linux-5.10/arch/sh/boot/dts/ |
D | j2_mimas_v2.dts | 63 compatible = "jcore,pit";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
D | atmel-sysregs.txt | 8 - compatible: Should be "atmel,at91sam9260-pit"
|