Home
last modified time | relevance | path

Searched refs:pit (Results 1 – 21 of 21) sorted by relevance

/arch/x86/kvm/
Di8254.c54 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 …]
Di8254.h62 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);
Dx86.c4716 struct kvm_pit *pit = kvm->arch.vpit; in kvm_vm_ioctl_set_pit() local
4718 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit()
4719 memcpy(&pit->pit_state.channels, ps, sizeof(*ps)); in kvm_vm_ioctl_set_pit()
4721 kvm_pit_load_count(pit, i, ps->channels[i].count, 0); in kvm_vm_ioctl_set_pit()
4722 mutex_unlock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit()
4742 struct kvm_pit *pit = kvm->arch.vpit; in kvm_vm_ioctl_set_pit2() local
4744 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit2()
4745 prev_legacy = pit->pit_state.flags & KVM_PIT_FLAGS_HPET_LEGACY; in kvm_vm_ioctl_set_pit2()
4749 memcpy(&pit->pit_state.channels, &ps->channels, in kvm_vm_ioctl_set_pit2()
4750 sizeof(pit->pit_state.channels)); in kvm_vm_ioctl_set_pit2()
[all …]
/arch/m68k/bvme6000/
Dconfig.c58 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in bvme6000_reset() local
66 pit->pcddr |= 0x10; /* WDOG enable */ in bvme6000_reset()
88 volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; in config_bvme6000() local
117 pit->pgcr = 0x00; /* Unidirectional 8 bit, no handshake for now */ in config_bvme6000()
118 pit->psrr = 0x18; /* PIACK and PIRQ functions enabled */ in config_bvme6000()
119 pit->pacr = 0x00; /* Sub Mode 00, H2 i/p, no DMA */ in config_bvme6000()
120 pit->padr = 0x00; /* Just to be tidy! */ in config_bvme6000()
121 pit->paddr = 0x00; /* All inputs for now (safest) */ in config_bvme6000()
122 pit->pbcr = 0x80; /* Sub Mode 1x, H4 i/p, no DMA */ in config_bvme6000()
123 pit->pbdr = 0xbc | (*config_reg_ptr & BVME_CONFIG_SW1 ? 0 : 0x40); in config_bvme6000()
[all …]
/arch/m68k/coldfire/
DMakefile21 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
/arch/arm/boot/dts/
Dat91-dvk_som60.dts20 tick-timer = &pit;
64 &pit {
Dexynos5420-peach-pit.dts21 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",
Dat91-dvk_su60_somc.dtsi100 &pit {
Dvfxxx.dtsi242 pit: pit@40037000 { label
243 compatible = "fsl,vf610-pit";
247 clock-names = "pit";
Dat91sam9261.dtsi614 pit: timer@fffffd30 { label
615 compatible = "atmel,at91sam9260-pit";
Dat91sam9260.dtsi134 pit: timer@fffffd30 { label
135 compatible = "atmel,at91sam9260-pit";
Dat91sam9rl.dtsi859 pit: timer@fffffd30 { label
860 compatible = "atmel,at91sam9260-pit";
Dat91sam9263.dtsi130 pit: timer@fffffd30 { label
131 compatible = "atmel,at91sam9260-pit";
Dat91sam9n12.dtsi399 pit: timer@fffffe30 { label
400 compatible = "atmel,at91sam9260-pit";
Dsama5d2.dtsi670 pit: timer@f8048030 { label
671 compatible = "atmel,at91sam9260-pit";
Dat91sam9x5.dtsi145 pit: timer@fffffe30 { label
146 compatible = "atmel,at91sam9260-pit";
Dat91sam9g45.dtsi404 pit: timer@fffffd30 { label
405 compatible = "atmel,at91sam9260-pit";
Dsama5d3.dtsi1356 pit: timer@fffffe30 { label
1357 compatible = "atmel,at91sam9260-pit";
Dsama5d4.dtsi864 pit: timer@fc068630 { label
865 compatible = "atmel,at91sam9260-pit";
DMakefile200 exynos5420-peach-pit.dtb \
/arch/sh/boot/dts/
Dj2_mimas_v2.dts63 compatible = "jcore,pit";