Home | History | Annotate | Download | only in 8254TimerDxe

Lines Matching refs:Timer

21 #include <Protocol/Timer.h>

29 // The PCAT 8253/8254 has an input clock at 1.193182 MHz and Timer 0 is
39 // The maximum tick duration for 8254 timer
43 // The default timer tick duration is set to 10 ms = 100000 100 ns units
53 Initialize the Timer Architectural Protocol driver
58 @retval EFI_SUCCESS Timer Architectural Protocol created
73 This function adjusts the period of timer interrupts to the value specified
74 by TimerPeriod. If the timer period is updated, then the selected timer
76 the timer hardware is not programmable, then EFI_UNSUPPORTED is returned.
77 If an error occurs while attempting to update the timer period, then the
78 timer hardware will be put back in its state prior to this call, and
79 EFI_DEVICE_ERROR is returned. If TimerPeriod is 0, then the timer interrupt
81 Instead, it must either turn off the timer hardware, or it must adjust the
82 interrupt controller so that a CPU interrupt is not generated when the timer
87 @param NotifyFunction The rate to program the timer interrupt in 100 nS units. If
88 the timer hardware is not programmable, then EFI_UNSUPPORTED is
89 returned. If the timer is programmable, then the timer period
90 will be rounded up to the nearest timer period that is supported
91 by the timer hardware. If TimerPeriod is set to 0, then the
92 timer interrupts will be disabled.
94 @retval EFI_SUCCESS The timer period was changed.
95 @retval EFI_UNSUPPORTED The platform cannot change the period of the timer interrupt.
96 @retval EFI_DEVICE_ERROR The timer period could not be changed due to a device error.
109 This function adjusts the period of timer interrupts to the value specified
110 by TimerPeriod. If the timer period is updated, then the selected timer
112 the timer hardware is not programmable, then EFI_UNSUPPORTED is returned.
113 If an error occurs while attempting to update the timer period, then the
114 timer hardware will be put back in its state prior to this call, and
115 EFI_DEVICE_ERROR is returned. If TimerPeriod is 0, then the timer interrupt
117 Instead, it must either turn off the timer hardware, or it must adjust the
118 interrupt controller so that a CPU interrupt is not generated when the timer
123 @param TimerPeriod The rate to program the timer interrupt in 100 nS units. If
124 the timer hardware is not programmable, then EFI_UNSUPPORTED is
125 returned. If the timer is programmable, then the timer period
126 will be rounded up to the nearest timer period that is supported
127 by the timer hardware. If TimerPeriod is set to 0, then the
128 timer interrupts will be disabled.
130 @retval EFI_SUCCESS The timer period was changed.
131 @retval EFI_UNSUPPORTED The platform cannot change the period of the timer interrupt.
132 @retval EFI_DEVICE_ERROR The timer period could not be changed due to a device error.
145 This function retrieves the period of timer interrupts in 100 ns units,
148 returned, then the timer is currently disabled.
152 @param TimerPeriod A pointer to the timer period to retrieve in 100 ns units. If
153 0 is returned, then the timer is currently disabled.
155 @retval EFI_SUCCESS The timer period was returned in TimerPeriod.
169 This function generates a soft timer interrupt. If the platform does not support soft
170 timer interrupts, then EFI_UNSUPPORTED is returned. Otherwise, EFI_SUCCESS is returned.
172 service, then a soft timer interrupt will be generated. If the timer interrupt is
174 registered handler should not be able to distinguish a hardware-generated timer
175 interrupt from a software-generated timer interrupt.
180 @retval EFI_SUCCESS The soft timer interrupt was generated.
181 @retval EFI_UNSUPPORTED The platform does not support the generation of soft timer interrupts.