函数逻辑报告 |
Source Code:kernel\time\clockevents.c |
Create Date:2022-07-27 11:49:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:clockevents_config
函数原型:static void clockevents_config(struct clock_event_device *dev, unsigned int freq)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct clock_event_device * | dev | |
unsigned int | freq |
476 | 如果非features按位与CLOCK_EVT_FEAT_ONESHOT的值则返回 |
484 | sec等于max_delta_ticks |
488 | 否则如果sec大于600且max_delta_ticks大于UINT_MAX则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) |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |