Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/clk/rockchip/clk-cpu.c rockchip_cpuclk_multi_pll_post_rate_change() -> rockchip_cpuclk_set_dividers()

Type Parameter Key Value
PARAM_VALUE 0 cpuclk 4096-ptr_max
PARAM_VALUE 0 cpuclk->rate_count 1-u32max
PARAM_VALUE 1 rate 4096-ptr_max
CAPPED_DATA 0 cpuclk->rate_count 1
DATA_SOURCE 0 cpuclk $0
DATA_SOURCE 1 rate r rockchip_get_cpuclk_settings
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 cpuclk->lock

drivers/clk/rockchip/clk-cpu.c rockchip_cpuclk_multi_pll_pre_rate_change() -> rockchip_cpuclk_set_dividers()

Type Parameter Key Value
PARAM_VALUE 0 cpuclk 4096-ptr_max
PARAM_VALUE 0 cpuclk->rate_count 1-u32max
PARAM_VALUE 1 rate 4096-ptr_max
CAPPED_DATA 0 cpuclk->rate_count 1
DATA_SOURCE 0 cpuclk $0
DATA_SOURCE 1 rate r rockchip_get_cpuclk_settings
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 cpuclk->lock

drivers/clk/rockchip/clk-cpu.c rockchip_cpuclk_post_rate_change() -> rockchip_cpuclk_set_dividers()

Type Parameter Key Value
PARAM_VALUE 0 cpuclk 4096-ptr_max
PARAM_VALUE 0 cpuclk->rate_count 1-u32max
PARAM_VALUE 1 rate 4096-ptr_max
CAPPED_DATA 0 cpuclk->rate_count 1
DATA_SOURCE 0 cpuclk $0
DATA_SOURCE 1 rate r rockchip_get_cpuclk_settings
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 cpuclk->lock

drivers/clk/rockchip/clk-cpu.c rockchip_cpuclk_post_rate_change() -> rockchip_cpuclk_set_dividers()

Type Parameter Key Value
PARAM_VALUE 0 cpuclk 4096-ptr_max
PARAM_VALUE 0 cpuclk->rate_count 1-u32max
PARAM_VALUE 0 cpuclk->reg_data 4096-ptr_max
PARAM_VALUE 0 cpuclk->reg_data->core_reg 4096-ptr_max
PARAM_VALUE 0 cpuclk->reg_data->div_core_mask 4096-ptr_max
PARAM_VALUE 0 cpuclk->reg_data->div_core_shift 4096-ptr_max
PARAM_VALUE 0 cpuclk->reg_data->mux_core_reg 0,361236
PARAM_VALUE 0 cpuclk->reg_data->num_cores 1-2,4
PARAM_VALUE 1 rate 4096-ptr_max
CAPPED_DATA 0 cpuclk->rate_count 1
DATA_SOURCE 0 cpuclk $0
DATA_SOURCE 1 rate r rockchip_get_cpuclk_settings
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 cpuclk->lock