Function report |
Source Code:kernel\time\clockevents.c |
Create Date:2022-07-28 10:49:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lockevents_switch_state - set the operating state of a clock event device*@dev: device to modify*@state: new state* Must be called with interrupts disabled !
Proto:void clockevents_switch_state(struct clock_event_device *dev, enum clock_event_state state)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clock_event_device * | dev | |
| enum clock_event_state | state |
| 150 | If clockevent_get_state(dev) != state Then |
| 151 | If __clockevents_switch_state(dev, state) Then Return |
| 154 | clockevent_set_state(dev, state) |
| 160 | If clockevent_state_oneshot(dev) Then |
| Name | Describe |
|---|---|
| clockevents_shutdown | lockevents_shutdown - shutdown the device and clear next_event*@dev: device to shutdown |
| clockevents_exchange_device | lockevents_exchange_device - release and request clock devices*@old: device to release (can be NULL)*@new: device to request (can be NULL)* Called from various tick functions with clockevents_lock held and* interrupts disabled. |
| tick_setup_periodic | Setup the device for a periodic tick |
| tick_program_event | k_program_event |
| tick_resume_oneshot | k_resume_onshot - resume oneshot mode |
| tick_setup_oneshot | k_setup_oneshot - setup the event device for oneshot mode (hres or nohz) |
| tick_switch_to_oneshot | k_switch_to_oneshot - switch to oneshot mode |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |