Defined in 3 files as a function:

Referenced in 20 files:

Smatch caller information:

drivers/clk/sunxi-ng/ccu_nm.c hw_to_ccu_nm() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_div.c hw_to_ccu_div() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_gate.c hw_to_ccu_gate() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_mp.c ccu_mp_mmc_determine_rate() -> hw_to_ccu_common()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/sunxi-ng/ccu_mp.c ccu_mp_mmc_recalc_rate() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/sunxi-ng/ccu_mp.c ccu_mp_mmc_set_rate() -> hw_to_ccu_common()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/sunxi-ng/ccu_mp.c hw_to_ccu_mp() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_mux.c hw_to_ccu_mux() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_mmc_timing.c sunxi_ccu_get_mmc_timing_mode() -> hw_to_ccu_common()

Type Parameter Key Value
DATA_SOURCE 0 hw r __clk_get_hw
RX_PATH
TASK_NOT_RUNNING

drivers/clk/sunxi-ng/ccu_mmc_timing.c sunxi_ccu_set_mmc_timing_mode() -> hw_to_ccu_common()

Type Parameter Key Value
DATA_SOURCE 0 hw r __clk_get_hw
RX_PATH
TASK_NOT_RUNNING

drivers/clk/sunxi-ng/ccu_nkmp.c hw_to_ccu_nkmp() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/spacemit/ccu_common.c spacemit_ccu_register() -> hw_to_ccu_common()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/clk/spacemit/ccu_pll.c ccu_pll_disable() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk
HALF_LOCKED2 flags

drivers/clk/spacemit/ccu_pll.c ccu_pll_is_enabled() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24
BUF_SIZE 0 hw (-1),24
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/spacemit/ccu_pll.c ccu_plla_disable() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk
HALF_LOCKED2 flags

drivers/clk/spacemit/ccu_pll.c ccu_plla_is_enabled() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24
BUF_SIZE 0 hw (-1),24
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/spacemit/ccu_pll.c hw_to_ccu_pll() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/spacemit/ccu_mix.c ccu_mix_trigger_fc() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24
BUF_SIZE 0 hw (-1),24
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/spacemit/ccu_mix.c hw_to_ccu_mix() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/thead/clk-th1520-ap.c hw_to_ccu_div() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/thead/clk-th1520-ap.c hw_to_ccu_pll() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/spacemit/ccu_ddn.c hw_to_ccu_ddn() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_phase.c hw_to_ccu_phase() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_32k_prepare() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_32k_recalc_accuracy() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw->core (-1),280
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_32k_recalc_rate() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_32k_unprepare() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_disable() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24
BUF_SIZE 0 hw (-1),24
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_enable() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_is_enabled() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24
BUF_SIZE 0 hw (-1),24
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c ccu_iosc_recalc_rate() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw (-1),48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
HALF_LOCKED2 clk

drivers/clk/sunxi-ng/ccu_nk.c hw_to_ccu_nk() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_mult.c hw_to_ccu_mult() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents

drivers/clk/sunxi-ng/ccu_nkm.c hw_to_ccu_nkm() -> hw_to_ccu_common()

Type Parameter Key Value
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw (-1),24,48
BUF_SIZE 0 hw->core (-1),32,40-10200
DATA_SOURCE 0 hw $0
STR_LEN 0 hw->core->dev (-1),2-20,22-24,31,39,63
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents