Searched refs:PITChannelState (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/timer/ |
H A D | i8254_common.c | 38 PITChannelState *s = &pit->channels[channel]; in pit_set_gate() 45 int pit_get_out(PITChannelState *s, int64_t current_time) in pit_get_out() 77 int64_t pit_get_next_transition_time(PITChannelState *s, int64_t current_time) in pit_get_next_transition_time() 133 void pit_get_channel_info_common(PITCommonState *s, PITChannelState *sc, in pit_get_channel_info_common() 145 PITChannelState *s = &pit->channels[channel]; in pit_get_channel_info() 153 PITChannelState *s; in pit_reset_common() 184 VMSTATE_INT32(count, PITChannelState), 185 VMSTATE_UINT16(latched_count, PITChannelState), 186 VMSTATE_UINT8(count_latched, PITChannelState), 187 VMSTATE_UINT8(status_latched, PITChannelState), [all …]
|
H A D | i8254.c | 50 static void pit_irq_timer_update(PITChannelState *s, int64_t current_time); 52 static int pit_get_count(PITChannelState *s) in pit_get_count() 78 static void pit_set_channel_gate(PITCommonState *s, PITChannelState *sc, in pit_set_channel_gate() 108 static inline void pit_load_count(PITChannelState *s, int val) in pit_load_count() 118 static void pit_latch_count(PITChannelState *s) in pit_latch_count() 131 PITChannelState *s; in pit_ioport_write() 199 PITChannelState *s; in pit_ioport_read() 254 static void pit_irq_timer_update(PITChannelState *s, int64_t current_time) in pit_irq_timer_update() 279 PITChannelState *s = opaque; in pit_irq_timer() 287 PITChannelState *s; in pit_reset() [all …]
|
/openbmc/qemu/include/hw/timer/ |
H A D | i8254_internal.h | 32 typedef struct PITChannelState { struct 51 } PITChannelState; argument 57 PITChannelState channels[3]; 63 void (*set_channel_gate)(PITCommonState *s, PITChannelState *sc, int val); 64 void (*get_channel_info)(PITCommonState *s, PITChannelState *sc, 70 int pit_get_out(PITChannelState *s, int64_t current_time); 71 int64_t pit_get_next_transition_time(PITChannelState *s, int64_t current_time); 72 void pit_get_channel_info_common(PITCommonState *s, PITChannelState *sc,
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | i8254.c | 92 struct PITChannelState *sc; in kvm_pit_get() 134 struct PITChannelState *sc; in kvm_pit_put() 169 static void kvm_pit_set_gate(PITCommonState *s, PITChannelState *sc, int val) in kvm_pit_set_gate() 194 static void kvm_pit_get_channel_info(PITCommonState *s, PITChannelState *sc, in kvm_pit_get_channel_info() 214 PITChannelState *s = &pit->channels[0]; in kvm_pit_irq_control()
|