Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 13 files:
- arch/arm/mach-imx/mach-imx6q.c, line 118
- drivers/bluetooth/hci_bcm.c, line 1100
- drivers/clk/clk-fixed-rate_test.c, line 201
- drivers/clk/clk.c, line 3257
- drivers/clk/clk_test.c
- drivers/cpufreq/armada-8k-cpufreq.c, line 64
- drivers/cpufreq/qoriq-cpufreq.c, line 99
- drivers/gpu/drm/tegra/rgb.c
- sound/soc/fsl/fsl_rpmsg.c
- sound/soc/fsl/fsl_spdif.c
- sound/soc/fsl/fsl_utils.c
- sound/soc/kirkwood/kirkwood-i2s.c, line 693
- sound/soc/soc-pcm.c, line 513
Smatch caller information:
drivers/clk/clk-fixed-rate_test.c clk_fixed_rate_parent_test() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),72 |
| BUF_SIZE | 0 | p | (-1),72 |
| DATA_SOURCE | 0 | p | r clk_hw_get_clk_kunit |
| DATA_SOURCE | 1 | q | r clk_get_parent |
sound/soc/fsl/fsl_rpmsg.c fsl_rpmsg_hw_params() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 4096-u64max |
| DATA_SOURCE | 0 | p | r clk_get_parent |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_rpmsg.c fsl_rpmsg_hw_params() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 4096-u64max |
| DATA_SOURCE | 0 | p | r clk_get_parent |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_rpmsg.c fsl_rpmsg_hw_params() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| PARAM_VALUE | 1 | q | 4096-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_utils.c fsl_asoc_reparent_pll_clocks() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 1-u64max |
| DATA_SOURCE | 0 | p | r clk_get_parent |
| DATA_SOURCE | 1 | q | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_utils.c fsl_asoc_reparent_pll_clocks() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 1-u64max |
| DATA_SOURCE | 0 | p | r clk_get_parent |
| DATA_SOURCE | 1 | q | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_utils.c fsl_asoc_reparent_pll_clocks() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/armada-8k-cpufreq.c armada_8k_get_sharing_cpus() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),24,72 |
| BUF_SIZE | 0 | p | (-1),24,72 |
| BUF_SIZE | 1 | q | (-1),1-s32max |
| BUF_SIZE | 1 | q | (-1),1-s32max |
| CAPPED_DATA | 1 | q | 1 |
| CAPPED_DATA | 1 | q->core | 1 |
| DATA_SOURCE | 0 | p | r clk_get |
| DATA_SOURCE | 1 | q | $0 |
sound/soc/kirkwood/kirkwood-i2s.c kirkwood_i2s_dev_probe() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q | 0,4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),1-s32max |
| BUF_SIZE | 0 | p | (-1),1-s32max |
| BUF_SIZE | 1 | q | (-1),1-s32max |
| BUF_SIZE | 1 | q | (-1),1-s32max |
| DATA_SOURCE | 0 | p | r devm_clk_get |
| DATA_SOURCE | 1 | q | r devm_clk_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/clk_test.c clk_mux_no_reparent_round_rate() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| BUF_SIZE | 1 | q | 72 |
| BUF_SIZE | 1 | q | 72 |
| CAPPED_DATA | 0 | p->core | 1 |
| DATA_SOURCE | 0 | p | r clk_get_parent |
| DATA_SOURCE | 1 | q | r clk_hw_get_clk |
drivers/clk/clk_test.c clk_mux_no_reparent_set_rate() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| BUF_SIZE | 1 | q | 72 |
| BUF_SIZE | 1 | q | 72 |
| CAPPED_DATA | 0 | p->core | 1 |
| DATA_SOURCE | 0 | p | r clk_get_parent |
| DATA_SOURCE | 1 | q | r clk_hw_get_clk |
drivers/clk/clk_test.c clk_register_clk_parent_data_device_test() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),1-s32max |
| BUF_SIZE | 0 | p | (-1),1-s32max |
| BUF_SIZE | 1 | q | (-1),72 |
| BUF_SIZE | 1 | q | (-1),72 |
| DATA_SOURCE | 0 | p | r clk_get_kunit |
| DATA_SOURCE | 1 | q | r clk_hw_get_clk_kunit |
drivers/clk/clk_test.c clk_register_clk_parent_data_of_test() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),24,72 |
| BUF_SIZE | 0 | p | (-1),24,72 |
| BUF_SIZE | 1 | q | (-1),72 |
| BUF_SIZE | 1 | q | (-1),72 |
| DATA_SOURCE | 0 | p | r of_clk_get_kunit |
| DATA_SOURCE | 1 | q | r clk_hw_get_clk_kunit |
drivers/clk/clk_test.c clk_test_multiple_parents_mux_get_parent() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 4096-ptr_max,(-12),(-2) |
| BUF_SIZE | 1 | q | (-1),72 |
| BUF_SIZE | 1 | q | (-1),72 |
| DATA_SOURCE | 1 | q | r clk_hw_get_clk |
drivers/clk/clk_test.c clk_test_orphan_transparent_multiple_parent_mux_set_parent() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| BUF_SIZE | 0 | p | 72 |
| BUF_SIZE | 0 | p | 72 |
| DATA_SOURCE | 0 | p | r clk_hw_get_clk |
| DATA_SOURCE | 1 | q | r clk_get_parent |
drivers/clk/clk_test.c clk_test_single_parent_mux_get_parent() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 4096-ptr_max,(-12),(-2) |
| BUF_SIZE | 1 | q | (-1),72 |
| BUF_SIZE | 1 | q | (-1),72 |
| DATA_SOURCE | 1 | q | r clk_hw_get_clk |
sound/soc/soc-pcm.c soc_pcm_shared_bclk_rule_rate() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | q | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/cpufreq/qoriq-cpufreq.c set_affected_cpus() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q | 0,4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),24,72 |
| BUF_SIZE | 0 | p | (-1),24,72 |
| BUF_SIZE | 1 | q | (-1),24,72 |
| BUF_SIZE | 1 | q | (-1),24,72 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | q | r cpu_to_clk |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
sound/soc/fsl/fsl_spdif.c fsl_spdif_probe_txclk() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_spdif.c fsl_spdif_txclk_caldiv() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| CAPPED_DATA | 0 | p->core | 1 |
| DATA_SOURCE | 0 | p | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/bluetooth/hci_bcm.c bcm_get_resources() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 0,4096-ptr_max |
| BUF_SIZE | 0 | p | (-1),1-s32max |
| BUF_SIZE | 0 | p | (-1),1-s32max |
| BUF_SIZE | 1 | q | (-1),1-s32max |
| BUF_SIZE | 1 | q | (-1),1-s32max |
| DATA_SOURCE | 0 | p | r devm_clk_get_optional |
| DATA_SOURCE | 1 | q | r bcm_get_txco |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/rgb.c tegra_rgb_pll_rate_change_allowed() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/rgb.c tegra_rgb_pll_rate_change_allowed() -> clk_is_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0,4096-u64max |
| PARAM_VALUE | 1 | q | 4096-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |