Documented in 2 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/clk/clk.c clk_set_max_rate() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 2 max 0-4294967295000
CAPPED_DATA 2 max 1
CAPPED_DATA 2 max 1
DATA_SOURCE 0 clk $0
DATA_SOURCE 2 max $1
USER_DATA 2 max 0-4294967295000[c]
UNITS 1 min unit_byte
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/clk/clk.c clk_set_min_rate() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->parent->dev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 clk (-1),1-s32max
BUF_SIZE 0 clk (-1),1-s32max
CAPPED_DATA 1 min 1
CAPPED_DATA 1 min 1
DATA_SOURCE 0 clk $0
DATA_SOURCE 1 min $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 min 0-4294967295000[c]
NO_OVERFLOW_SIMPLE 0 clk->min_rate
UNITS 2 max unit_byte
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &dev->mlock
HALF_LOCKED2 &vc4_hdmi->mutex
HALF_LOCKED2 global &drm_unplug_srcu

drivers/memory/tegra/tegra114-emc.c emc_debugfs_init() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 0,4096-ptr_max
BUF_SIZE 0 clk (-1),1-s32max
BUF_SIZE 0 clk (-1),1-s32max
PARAM_COMPARE 1 min >= $2
PARAM_COMPARE 2 max <= $1
PARAM_COMPARE 2 max <= $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 min unit_byte
UNITS 2 max unit_byte

drivers/memory/tegra/tegra124-emc.c emc_debugfs_init() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 0,4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 clk (-1),1-s32max
BUF_SIZE 0 clk (-1),1-s32max
PARAM_COMPARE 1 min >= $2
PARAM_COMPARE 2 max <= $1
PARAM_COMPARE 2 max <= $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 min unit_byte
UNITS 2 max unit_byte

drivers/memory/tegra/tegra20-emc.c tegra20_emc_debugfs_init() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_COMPARE 1 min >= $2
PARAM_COMPARE 2 max <= $1
PARAM_COMPARE 2 max <= $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 min unit_byte
UNITS 2 max unit_byte

drivers/clk/clk_test.c clk_drop_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max u64max
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk $0

drivers/clk/clk_test.c clk_orphan_two_level_root_last_test_set_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 41999000
PARAM_VALUE 2 max 42001000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_disjoints_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 1000
PARAM_VALUE 2 max 2000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_disjoints_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 3000
PARAM_VALUE 2 max 4000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max 142000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max u64max
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 242000000
PARAM_VALUE 2 max u64max
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_put_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_put_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 0
PARAM_VALUE 2 max 142000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_put_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max u64max
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_multiple_set_range_rate_put_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 242000000
PARAM_VALUE 2 max u64max
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_get_rate_lowered() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.request 0-4
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_child 0
PARAM_VALUE 0 clk->core->new_parent_index 0-254
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate

drivers/clk/clk_test.c clk_range_test_set_range_get_rate_raised() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.request 0-4
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_child 0
PARAM_VALUE 0 clk->core->new_parent_index 0-254
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate

drivers/clk/clk_test.c clk_range_test_set_range_invalid() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142001000
PARAM_VALUE 2 max 142000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_rate_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.request 0-4
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_child 0
PARAM_VALUE 0 clk->core->new_parent_index 0-254
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate

drivers/clk/clk_test.c clk_range_test_set_range_rate_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_parent_index 0-255
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 0 clk->max_rate 242000000
PARAM_VALUE 0 clk->min_rate 142000000
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 241999000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
CAPPED_DATA 0 clk->core 1
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 clk->max_rate
NO_OVERFLOW_SIMPLE 0 clk->min_rate

drivers/clk/clk_test.c clk_range_test_set_range_rate_maximized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_parent_index 0-255
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 0 clk->max_rate 241999000
PARAM_VALUE 0 clk->min_rate 142000000
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
CAPPED_DATA 0 clk->core 1
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 clk->max_rate
NO_OVERFLOW_SIMPLE 0 clk->min_rate

drivers/clk/clk_test.c clk_range_test_set_range_rate_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.request 0-4
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status 0,2
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_child 0
PARAM_VALUE 0 clk->core->new_parent_index 0-254
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate

drivers/clk/clk_test.c clk_range_test_set_range_rate_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_parent_index 0-255
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 0 clk->max_rate 242000000
PARAM_VALUE 0 clk->min_rate 142000000
PARAM_VALUE 1 min 142001000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
CAPPED_DATA 0 clk->core 1
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 clk->max_rate
NO_OVERFLOW_SIMPLE 0 clk->min_rate

drivers/clk/clk_test.c clk_range_test_set_range_rate_minimized() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->duty.den 0-4294967295
PARAM_VALUE 0 clk->core->duty.num 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->new_parent_index 0-255
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 clk->core->num_parents 0-255
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->new_child 0
PARAM_VALUE 0 clk->core->parent->new_parent_index 0-254
PARAM_VALUE 0 clk->core->phase s32min-s32max
PARAM_VALUE 0 clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 0 clk->core->rpm_enabled 0-1
PARAM_VALUE 0 clk->max_rate 242000000
PARAM_VALUE 0 clk->min_rate 142001000
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
CAPPED_DATA 0 clk->core 1
DATA_SOURCE 0 clk r clk_hw_get_clk
NO_OVERFLOW_SIMPLE 0 clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 clk->max_rate
NO_OVERFLOW_SIMPLE 0 clk->min_rate

drivers/clk/clk_test.c clk_range_test_set_range_round_rate_higher() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_round_rate_lower() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_set_rate_higher() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_set_rate_lower() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_set_round_rate_consistent_higher() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_range_test_set_range_set_round_rate_consistent_lower() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_modified() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_orphan_transparent_multiple_parent_mux_set_parent_set_range_untouched() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->enable_count 0-4294967295
PARAM_VALUE 0 clk->core->orphan 0-1
PARAM_VALUE 0 clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 clk->core->protect_count 0-4294967295
PARAM_VALUE 1 min 41999000
PARAM_VALUE 2 max 42001000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_orphan_transparent_multiple_parent_mux_set_range_round_rate() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_orphan_transparent_parent_mux_set_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
CAPPED_DATA 0 clk->core 1
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_single_parent_mux_set_range_round_rate_child_smaller() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 1-u64max
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
DATA_SOURCE 0 clk r clk_get_parent

drivers/clk/clk_test.c clk_test_single_parent_mux_set_range_round_rate_child_smaller() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 142001000
PARAM_VALUE 2 max 241999000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_single_parent_mux_set_range_round_rate_parent_only() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 1-u64max
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
DATA_SOURCE 0 clk r clk_get_parent

drivers/clk/clk_test.c clk_test_single_parent_mux_set_range_round_rate_parent_smaller() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 1-u64max
PARAM_VALUE 1 min 142001000
PARAM_VALUE 2 max 241999000
DATA_SOURCE 0 clk r clk_get_parent

drivers/clk/clk_test.c clk_test_single_parent_mux_set_range_round_rate_parent_smaller() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk 72
BUF_SIZE 0 clk 72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_uncached_set_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/clk/clk_test.c clk_test_uncached_updated_rate_set_range() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max,(-12),(-2)
PARAM_VALUE 1 min 142000000
PARAM_VALUE 2 max 242000000
BUF_SIZE 0 clk (-1),72
BUF_SIZE 0 clk (-1),72
DATA_SOURCE 0 clk r clk_hw_get_clk

drivers/memory/tegra/tegra210-emc-core.c tegra210_emc_debugfs_init() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 0,4096-ptr_max
PARAM_VALUE 0 clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 clk->core->dev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 clk (-1),1-s32max
BUF_SIZE 0 clk (-1),1-s32max
PARAM_COMPARE 1 min >= $2
RX_PATH
TASK_NOT_RUNNING

drivers/memory/tegra/tegra30-emc.c tegra30_emc_debugfs_init() -> clk_set_rate_range()

Type Parameter Key Value
PARAM_VALUE 0 clk 4096-ptr_max
PARAM_VALUE 0 clk->core->notifier_count 0-4294967295
PARAM_COMPARE 1 min >= $2
PARAM_COMPARE 2 max <= $1
PARAM_COMPARE 2 max <= $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 min unit_byte
UNITS 2 max unit_byte