Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/xen/time.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4110004079386767360
PARAM_VALUE 0 cs->rating 275,299,400
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1000000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

kernel/time/jiffies.c __clocksource_register() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 6128933025919262720,6194626177540263936
PARAM_VALUE 0 cs->mult 0-4294967295
PARAM_VALUE 0 cs->name 8421950148003213312,8609176897783853056
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 0
DATA_SOURCE 0 cs $0
HALF_LOCKED2 irq

drivers/clocksource/timer-nxp-pit.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->rating 300
PARAM_VALUE 0 cs->read 8751194423665803264
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-tegra186.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max,72057594037927935
PARAM_VALUE 0 cs->name 1361901254033367040,4587477146900901888,5887101622539894784
PARAM_VALUE 0 cs->owner 0
PARAM_VALUE 0 cs->rating 300
PARAM_VALUE 0 cs->read 1616577191542583296,7657296581783625728,7818729223694061568
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1000000,31250000,38400000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
TERMINATED 0 cs->name 1
HARD_MAX 0 cs->mask 72057594037927935
HARD_MAX 2 freq 38400000
MEM_ZERO 0 cs
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-loongson1-pwm.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 9178686045574246416
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/sh_tmu.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->disable 5430923306369429504
PARAM_VALUE 0 cs->enable 7583151702642487296
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->rating 200
PARAM_VALUE 0 cs->read 7119990284374896640
PARAM_VALUE 0 cs->resume 585250917474717696
PARAM_VALUE 0 cs->suspend 8073967629990629376
PARAM_VALUE 1 scale 1
BUF_SIZE 0 cs 216
BUF_SIZE 0 cs->name s32min,(-10),1-s32max
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/dw_apb_timer.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/hyperv_timer.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 299829733398409216,5087528856838340608
PARAM_VALUE 0 cs->rating 245,250,495,500
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 10000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
LOCK2 irq

arch/x86/kernel/kvmclock.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 5067689342509776896
PARAM_VALUE 0 cs->rating 299,400
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1000000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
LOCK2 irq

drivers/clocksource/timer-ti-dm.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->name 8794949065642901504
PARAM_VALUE 0 cs->rating 300
PARAM_VALUE 0 cs->read 8318133805860282368
PARAM_VALUE 0 cs->resume 929843957764755456
PARAM_VALUE 0 cs->suspend 781469454706647040
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 0
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
TERMINATED 0 cs->name 1
MEM_ZERO 0 cs
RX_PATH
TASK_NOT_RUNNING
UNITS 2 freq unit_byte

drivers/clocksource/numachip.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 330764630499610624
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1000000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/ingenic-sysost.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->name 7332295900833730560
PARAM_VALUE 0 cs->rating 400
PARAM_VALUE 0 cs->read 2631427306259968000
PARAM_VALUE 1 scale 1
BUF_SIZE 0 cs 216
BUF_SIZE 0 cs->name 12
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
STR_LEN 0 cs->name 11
TERMINATED 0 cs->name 1

drivers/clocksource/timer-cadence-ttc.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->name 7045611915231891456
PARAM_VALUE 0 cs->rating 200
PARAM_VALUE 0 cs->read 1322070200662073344
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
TERMINATED 0 cs->name 1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-sun5i.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 freq unit_byte

drivers/clocksource/timer-davinci.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 3097963268464234496
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->name 8813958773478871040,9002724463903846400
PARAM_VALUE 0 cs->rating 300
PARAM_VALUE 0 cs->read 6810430040733052928
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
TERMINATED 0 cs->name 1

drivers/clocksource/timer-atmel-st.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 5120131374600114176
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1-u32max
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/mxs_timer.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 2501415914369601536
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/timer-rtl-otto.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 1246490590309265856
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 3125000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

kernel/time/clocksource.c __devm_clocksource_register_scale() -> __clocksource_register_scale()

Type Parameter Key Value
DATA_SOURCE 0 cs $1
DATA_SOURCE 1 scale $2
DATA_SOURCE 2 freq $3

drivers/clocksource/em_sti.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->disable 3539952204839624704
PARAM_VALUE 0 cs->enable 1612648179175530496
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask 281474976710655
PARAM_VALUE 0 cs->rating 200
PARAM_VALUE 0 cs->read 4798552815075561472
PARAM_VALUE 0 cs->resume 5076877373278461952
PARAM_VALUE 0 cs->suspend 3539952204839624704
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 0
BUF_SIZE 0 cs 216
BUF_SIZE 0 cs->name s32min,(-10),1-s32max
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
MEM_ZERO 0 cs
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/sh_cmt.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->disable 517403989632638976
PARAM_VALUE 0 cs->enable 7399426489703555072
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->rating 125
PARAM_VALUE 0 cs->read 225172865867157504
PARAM_VALUE 0 cs->resume 3706985190539653120
PARAM_VALUE 0 cs->suspend 786001942498390016
PARAM_VALUE 1 scale 1
BUF_SIZE 0 cs 216
BUF_SIZE 0 cs->name s32min,(-10),1-s32max
CAPPED_DATA 0 cs->mask 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-goldfish.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1000000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/ingenic-timer.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u16max
PARAM_VALUE 0 cs->name 4363748209923538944
PARAM_VALUE 0 cs->rating 200
PARAM_VALUE 0 cs->read 4854416987210440704
PARAM_VALUE 1 scale 1
BUF_SIZE 0 cs 216
BUF_SIZE 0 cs->name 14
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
STR_LEN 0 cs->name 13
TERMINATED 0 cs->name 1

drivers/clocksource/timer-sprd.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 3912496829315125248
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

kernel/time/clocksource-wdtest.c clocksource_register_khz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4949217004054704128
PARAM_VALUE 0 cs->rating 10
PARAM_VALUE 1 scale 1000
PARAM_VALUE 2 freq 1000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/timer-nxp-stm.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->disable 7542554711667904512
PARAM_VALUE 0 cs->enable 1597248715114074112
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->owner 0
PARAM_VALUE 0 cs->rating 460
PARAM_VALUE 0 cs->read 1872525456133582848
PARAM_VALUE 0 cs->resume 7639836047146831872
PARAM_VALUE 0 cs->suspend 9222234307274895360
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
MEM_ZERO 0 cs
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &stm_instances_lock

drivers/clocksource/timer-rda.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 7510741542152015872
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 2000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/samsung_pwm_timer.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 427601496517406720
PARAM_VALUE 0 cs->mask u64max
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

arch/x86/kernel/hpet.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 7473636017775415296
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
HOST_DATA 2 freq 0-u32max[c]

drivers/clocksource/mmio.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u16max,16777215,u32max
PARAM_VALUE 0 cs->rating 200,300-301,340,350,400
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-atmel-pit.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask 0,2047-8796093022207
PARAM_VALUE 0 cs->name 7753618872175349760
PARAM_VALUE 0 cs->rating 175
PARAM_VALUE 0 cs->read 1516003337340375040
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
TERMINATED 0 cs->name 1

arch/x86/kernel/tsc.c clocksource_register_khz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 3889009705389109248,7234770648829792256
PARAM_VALUE 0 cs->base 0,1174015329837240320
PARAM_VALUE 1 scale 1000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/timer-pistachio.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 434802060165206096
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/timer-tegra.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 2128938569326526464
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 1000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/ingenic-ost.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->flags 1
PARAM_VALUE 0 cs->mask u32max
PARAM_VALUE 0 cs->name 7332295900833730560
PARAM_VALUE 0 cs->rating 320
PARAM_VALUE 0 cs->read 5467139978945638400,7253141158078251008
PARAM_VALUE 1 scale 1
BUF_SIZE 0 cs 216
BUF_SIZE 0 cs->name 12
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1
STR_LEN 0 cs->name 11
BIT_INFO 0 cs->read 0x4088045018040000,0x6fff7ffc7f653000
TERMINATED 0 cs->name 1
MEM_ZERO 0 cs
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-vt8500.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4459862216130494464
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 3000000
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/clksrc-dbx500-prcmu.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 2614111871991500800
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 32768
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

drivers/clocksource/acpi_pm.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 4637738746306019328
PARAM_VALUE 1 scale 1
PARAM_VALUE 2 freq 3579545
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1

arch/x86/platform/uv/uv_time.c clocksource_register_hz() -> __clocksource_register_scale()

Type Parameter Key Value
PARAM_VALUE 0 cs 7934112598674128896
PARAM_VALUE 1 scale 1
DATA_SOURCE 0 cs $0
DATA_SOURCE 2 freq $1