/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 | 4716 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/ |
D | config.c | 58 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/ |
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
|
/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 | 614 pit: timer@fffffd30 { label 615 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9260.dtsi | 134 pit: timer@fffffd30 { label 135 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9rl.dtsi | 859 pit: timer@fffffd30 { label 860 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9263.dtsi | 130 pit: timer@fffffd30 { label 131 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9n12.dtsi | 399 pit: timer@fffffe30 { label 400 compatible = "atmel,at91sam9260-pit";
|
D | sama5d2.dtsi | 670 pit: timer@f8048030 { label 671 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9x5.dtsi | 145 pit: timer@fffffe30 { label 146 compatible = "atmel,at91sam9260-pit";
|
D | at91sam9g45.dtsi | 404 pit: timer@fffffd30 { label 405 compatible = "atmel,at91sam9260-pit";
|
D | sama5d3.dtsi | 1356 pit: timer@fffffe30 { label 1357 compatible = "atmel,at91sam9260-pit";
|
D | sama5d4.dtsi | 864 pit: timer@fc068630 { label 865 compatible = "atmel,at91sam9260-pit";
|
D | Makefile | 200 exynos5420-peach-pit.dtb \
|
/arch/sh/boot/dts/ |
D | j2_mimas_v2.dts | 63 compatible = "jcore,pit";
|