函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\clocksource.h Create Date:2022-07-27 08:33:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:locksource_khz2mult - calculates mult from khz and shift*@khz: Clocksource frequency in KHz*@shift_constant: Clocksource shift factor* Helper functions that converts a khz counter frequency to a timsource* multiplier, given the clocksource shift value

函数原型:static inline unsigned int clocksource_khz2mult(unsigned int khz, unsigned int shift_constant)

返回类型:unsigned int

参数:

类型参数名称
unsigned intkhz
unsigned intshift_constant
154  返回:clocksource_freq2mult(khz, shift_constant, NSEC_PER_MSEC)