Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

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

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_div.c ccu_div_enable() -> hw_to_ccu_div()

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 ccu_div_get_parent() -> hw_to_ccu_div()

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_div.c ccu_div_is_enabled() -> hw_to_ccu_div()

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_div.c ccu_div_recalc_rate() -> hw_to_ccu_div()

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_div.c ccu_div_set_parent() -> hw_to_ccu_div()

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_div.c ccu_div_set_rate() -> hw_to_ccu_div()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

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

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/thead/clk-th1520-ap.c ccu_div_enable() -> hw_to_ccu_div()

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 ccu_div_get_parent() -> hw_to_ccu_div()

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/thead/clk-th1520-ap.c ccu_div_is_enabled() -> hw_to_ccu_div()

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/thead/clk-th1520-ap.c ccu_div_recalc_rate() -> hw_to_ccu_div()

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/thead/clk-th1520-ap.c ccu_div_set_parent() -> hw_to_ccu_div()

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/thead/clk-th1520-ap.c ccu_div_set_rate() -> hw_to_ccu_div()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

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

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