Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 9 files:
- drivers/clk/clk.c, line 2757
- drivers/gpu/drm/vc4/vc4_hdmi.c
- drivers/gpu/drm/vc4/vc4_kms.c
- drivers/media/platform/broadcom/bcm2835-unicam.c
- drivers/memory/tegra/tegra186-emc.c, line 116
- drivers/memory/tegra/tegra210-emc-core.c, line 1643
- drivers/spi/spi-amlogic-spisg.c, line 657
- include/trace/events/clk.h, line 121
- sound/soc/atmel/mchp-spdifrx.c
Smatch caller information:
drivers/spi/spi-amlogic-spisg.c aml_spisg_clk_init() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rate | 24000000 |
| BUF_SIZE | 0 | clk | (-1),1-s32max |
| BUF_SIZE | 0 | clk | (-1),1-s32max |
| DATA_SOURCE | 0 | clk | r devm_clk_get_enabled |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_runtime_resume() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rate | 250000000 |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_runtime_resume() -> clk_set_min_rate()
| 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-4 |
| PARAM_VALUE | 0 | clk->core->dev->power.request_pending | 0-1 |
| 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 | 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->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->protect_count | 0-4294967295 |
| 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 | rate | 0 |
drivers/media/platform/broadcom/bcm2835-unicam.c unicam_runtime_suspend() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rate | 0 |
sound/soc/atmel/mchp-spdifrx.c mchp_spdifrx_hw_params() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 0,4096-u64max |
| 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-4 |
| PARAM_VALUE | 0 | clk->core->dev->power.request_pending | 0-1 |
| 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.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->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 1 | rate | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mlock | ||
| TYPE_LOCK | (struct mchp_spdifrx_dev)->mlock |
sound/soc/atmel/mchp-spdifrx.c mchp_spdifrx_probe() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rate | 36864001 |
| BUF_SIZE | 0 | clk | (-1),1-s32max |
| BUF_SIZE | 0 | clk | (-1),1-s32max |
| DATA_SOURCE | 0 | clk | r devm_clk_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/memory/tegra/tegra210-emc-core.c tegra210_emc_debug_min_rate_set() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rate | 0-4294967295000 |
| CAPPED_DATA | 1 | rate | 1 |
| CAPPED_DATA | 1 | rate | 1 |
| DATA_SOURCE | 1 | rate | $1 |
| USER_DATA | 1 | rate | 0-4294967295000[c] |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/vc4/vc4_kms.c vc4_atomic_commit_tail() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | rate | 1 |
| CAPPED_DATA | 1 | rate | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/vc4/vc4_kms.c vc4_atomic_commit_tail() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | rate | 1 |
| CAPPED_DATA | 1 | rate | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/vc4/vc4_kms.c vc4_atomic_commit_tail() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 0,4096-ptr_max |
| 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->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 |
| CAPPED_DATA | 1 | rate | 1 |
| CAPPED_DATA | 1 | rate | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/vc4/vc4_kms.c vc4_atomic_commit_tail() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 0,4096-ptr_max |
| 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->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 |
| CAPPED_DATA | 1 | rate | 1 |
| CAPPED_DATA | 1 | rate | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/vc4/vc4_hdmi.c vc4_hdmi_encoder_pre_crtc_configure() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rate | 120000000-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vc4_hdmi->mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct vc4_hdmi)->mutex |
drivers/gpu/drm/vc4/vc4_hdmi.c vc4_hdmi_encoder_pre_crtc_configure() -> clk_set_min_rate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rate | 75000000,150000000,300000000 |
| FUZZY_MAX | 1 | rate | 300000000 |
| BIT_INFO | 1 | rate | 0x600000,0x1df9fbc0 |
| BIT_INFO | 1 | rate | 0x600000,0x1df9fbc0 |
| HARD_MAX | 1 | rate | 300000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vc4_hdmi->mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct vc4_hdmi)->mutex |