Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\clocksource.h Create Date:2022-07-28 07:33:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:locksource_hz2mult - calculates mult from hz and shift*@hz: Clocksource frequency in Hz*@shift_constant: Clocksource shift factor* Helper functions that converts a hz counter* frequency to a timsource multiplier, given the* clocksource shift value

Proto:static inline unsigned int clocksource_hz2mult(unsigned int hz, unsigned int shift_constant)

Type:unsigned int

Parameter:

TypeParameterName
unsigned inthz
unsigned intshift_constant
168  Return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC)
Caller
NameDescribe
calibrate_by_pmtimer