Function report |
Source Code:kernel\time\clockevents.c |
Create Date:2022-07-28 10:50:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:clockevents_config
Proto:static void clockevents_config(struct clock_event_device *dev, unsigned int freq)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct clock_event_device * | dev | |
unsigned int | freq |
476 | If Not (features & CLOCK_EVT_FEAT_ONESHOT) Then Return |
484 | sec = max_delta_ticks |
488 | Else if sec > 600 && max_delta_ticks > UINT_MAX Then sec = 600 |
491 | clockevents_calc_mult_shift(dev, freq, sec) |
492 | min_delta_ns = cev_delta2ns(min_delta_ticks, dev, false) |
493 | max_delta_ns = cev_delta2ns(max_delta_ticks, dev, true) |
Name | Describe |
---|---|
clockevents_config_and_register | lockevents_config_and_register - Configure and register a clock event device*@dev: device to register*@freq: The clock frequency*@min_delta: The minimum clock ticks to program in oneshot mode*@max_delta: The maximum clock ticks to program in oneshot mode |
__clockevents_update_freq |
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 |