Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/clk/qcom/clk-alpha-pll.c __alpha_pll_trion_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-alpha-pll.c clk_alpha_pll_agera_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-alpha-pll.c clk_alpha_pll_slew_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->core 0,4096-ptr_max
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-alpha-pll.c clk_alpha_pll_stromer_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-alpha-pll.c clk_zonda_pll_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/clk-gate_test.c clk_gate_test_disable() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 hw->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_status 0,2
PARAM_VALUE 0 hw->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->protect_count 0-4294967295

drivers/clk/clk-gate_test.c clk_gate_test_disable() -> clk_hw_is_enabled()

Type Parameter Key Value

drivers/clk/clk-gate_test.c clk_gate_test_enable() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->prepare_count 1-4294967295
PARAM_VALUE 0 hw->clk->core->protect_count 0-4294967295

drivers/clk/clk-gate_test.c clk_gate_test_enable() -> clk_hw_is_enabled()

Type Parameter Key Value

drivers/clk/clk-gate_test.c clk_gate_test_hiword_disable() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 hw->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_status 0,2
PARAM_VALUE 0 hw->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->protect_count 0-4294967295

drivers/clk/clk-gate_test.c clk_gate_test_hiword_disable() -> clk_hw_is_enabled()

Type Parameter Key Value

drivers/clk/clk-gate_test.c clk_gate_test_hiword_enable() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->prepare_count 1-4294967295
PARAM_VALUE 0 hw->clk->core->protect_count 0-4294967295

drivers/clk/clk-gate_test.c clk_gate_test_hiword_enable() -> clk_hw_is_enabled()

Type Parameter Key Value

drivers/clk/clk-gate_test.c clk_gate_test_invert_disable() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 hw->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_status 0,2
PARAM_VALUE 0 hw->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->protect_count 0-4294967295

drivers/clk/clk-gate_test.c clk_gate_test_invert_disable() -> clk_hw_is_enabled()

Type Parameter Key Value

drivers/clk/clk-gate_test.c clk_gate_test_invert_enable() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 hw->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hw->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hw->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 hw->clk->core->prepare_count 1-4294967295
PARAM_VALUE 0 hw->clk->core->protect_count 0-4294967295

drivers/clk/clk-gate_test.c clk_gate_test_invert_enable() -> clk_hw_is_enabled()

Type Parameter Key Value

drivers/clk/clk-gate_test.c clk_gate_test_is_disabled() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw r __clk_hw_register_gate
NO_OVERFLOW_SIMPLE 0 hw->clk->core->num_parents

drivers/clk/clk-gate_test.c clk_gate_test_is_disabled_inverted() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw r __clk_hw_register_gate
NO_OVERFLOW_SIMPLE 0 hw->clk->core->num_parents

drivers/clk/clk-gate_test.c clk_gate_test_is_enabled() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw r __clk_hw_register_gate
NO_OVERFLOW_SIMPLE 0 hw->clk->core->num_parents

drivers/clk/clk-gate_test.c clk_gate_test_is_enabled_inverted() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw r __clk_hw_register_gate
NO_OVERFLOW_SIMPLE 0 hw->clk->core->num_parents

drivers/clk/qcom/clk-rcg2.c __clk_rcg2_shared_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-rcg2.c clk_rcg2_shared_get_parent() -> clk_hw_is_enabled()

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/qcom/clk-rcg2.c clk_rcg2_shared_recalc_rate() -> clk_hw_is_enabled()

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/qcom/clk-rcg2.c clk_rcg2_shared_set_parent() -> clk_hw_is_enabled()

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/qcom/clk-rcg.c clk_rcg_lcc_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-rcg.c configure_bank() -> clk_hw_is_enabled()

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

drivers/clk/imx/clk-divider-gate.c clk_divider_gate_recalc_rate() -> clk_hw_is_enabled()

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
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->core->num_parents
LOCK2 div->lock
LOCK2 flags
HALF_LOCKED2 clk

drivers/clk/imx/clk-divider-gate.c clk_divider_gate_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 div->lock
LOCK2 flags

drivers/clk/sprd/gate.c sprd_gate_is_enabled() -> clk_hw_is_enabled()

Type Parameter Key Value
PARAM_VALUE 0 hw 1-u64max
DATA_SOURCE 0 hw r clk_hw_get_parent
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/clk-hfpll.c clk_hfpll_set_rate() -> clk_hw_is_enabled()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &h->lock
LOCK2 flags
TYPE_LOCK (struct clk_hfpll)->lock