Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/clk/qcom/clk-rcg2.c, line 114 (as a function)
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c, line 612 (as a function)
Referenced in 5 files:
- drivers/clk/qcom/clk-rcg2.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c
- drivers/input/touchscreen/wdt87xx_i2c.c, line 934
- drivers/regulator/lp872x.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_update_config_dpms_off_removes_display() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 3611403453127000064 |
| PARAM_VALUE | 1 | config->assr_enabled | 0 |
| PARAM_VALUE | 1 | config->dig_be | 0 |
| PARAM_VALUE | 1 | config->dig_fe | 0 |
| PARAM_VALUE | 1 | config->dio_output_idx | 0 |
| PARAM_VALUE | 1 | config->dm_stream_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | config->dp2_enabled | 0 |
| PARAM_VALUE | 1 | config->dpms_off | 1 |
| PARAM_VALUE | 1 | config->frl_enabled | 0 |
| PARAM_VALUE | 1 | config->link_enc_idx | 0 |
| PARAM_VALUE | 1 | config->mst_enabled | 0 |
| PARAM_VALUE | 1 | config->otg_inst | 0 |
| PARAM_VALUE | 1 | config->phy_idx | 0 |
| PARAM_VALUE | 1 | config->stream_enc_idx | 0 |
| PARAM_VALUE | 1 | config->usb4_enabled | 0 |
| BUF_SIZE | 0 | rcg | 5168 |
| DATA_SOURCE | 0 | rcg | r alloc_test_workqueue_locked |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_update_config_null_connector_is_noop() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 16,4096-ptr_max |
| PARAM_VALUE | 1 | config | 9056220527050059776 |
| PARAM_VALUE | 1 | config->assr_enabled | 0 |
| PARAM_VALUE | 1 | config->dig_be | 0 |
| PARAM_VALUE | 1 | config->dig_fe | 0 |
| PARAM_VALUE | 1 | config->dio_output_idx | 0 |
| PARAM_VALUE | 1 | config->dm_stream_ctx | 0 |
| PARAM_VALUE | 1 | config->dp2_enabled | 0 |
| PARAM_VALUE | 1 | config->dpms_off | 0 |
| PARAM_VALUE | 1 | config->frl_enabled | 0 |
| PARAM_VALUE | 1 | config->link_enc_idx | 0 |
| PARAM_VALUE | 1 | config->mst_enabled | 0 |
| PARAM_VALUE | 1 | config->otg_inst | 0 |
| PARAM_VALUE | 1 | config->phy_idx | 0 |
| PARAM_VALUE | 1 | config->stream_enc_idx | 0 |
| PARAM_VALUE | 1 | config->usb4_enabled | 0 |
| BUF_SIZE | 0 | rcg | 5168 |
| DATA_SOURCE | 0 | rcg | r alloc_test_workqueue_locked |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_update_config_null_dc_link_is_noop() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 16,4096-ptr_max |
| PARAM_VALUE | 1 | config | 4605701186275119104 |
| PARAM_VALUE | 1 | config->assr_enabled | 0 |
| PARAM_VALUE | 1 | config->dig_be | 0 |
| PARAM_VALUE | 1 | config->dig_fe | 0 |
| PARAM_VALUE | 1 | config->dio_output_idx | 0 |
| PARAM_VALUE | 1 | config->dm_stream_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | config->dp2_enabled | 0 |
| PARAM_VALUE | 1 | config->dpms_off | 0 |
| PARAM_VALUE | 1 | config->frl_enabled | 0 |
| PARAM_VALUE | 1 | config->link_enc_idx | 0 |
| PARAM_VALUE | 1 | config->mst_enabled | 0 |
| PARAM_VALUE | 1 | config->otg_inst | 0 |
| PARAM_VALUE | 1 | config->phy_idx | 0 |
| PARAM_VALUE | 1 | config->stream_enc_idx | 0 |
| PARAM_VALUE | 1 | config->usb4_enabled | 0 |
| BUF_SIZE | 0 | rcg | 5168 |
| DATA_SOURCE | 0 | rcg | r alloc_test_workqueue_locked |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_update_config_populates_display_and_link() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 5404541888154238976 |
| PARAM_VALUE | 1 | config->assr_enabled | 0 |
| PARAM_VALUE | 1 | config->dig_be | 5 |
| PARAM_VALUE | 1 | config->dig_fe | 4 |
| PARAM_VALUE | 1 | config->dio_output_idx | 8 |
| PARAM_VALUE | 1 | config->dm_stream_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | config->dp2_enabled | 0 |
| PARAM_VALUE | 1 | config->dpms_off | 0 |
| PARAM_VALUE | 1 | config->frl_enabled | 0 |
| PARAM_VALUE | 1 | config->link_enc_idx | 7 |
| PARAM_VALUE | 1 | config->mst_enabled | 0 |
| PARAM_VALUE | 1 | config->otg_inst | 1 |
| PARAM_VALUE | 1 | config->phy_idx | 2 |
| PARAM_VALUE | 1 | config->stream_enc_idx | 6 |
| PARAM_VALUE | 1 | config->usb4_enabled | 0 |
| BUF_SIZE | 0 | rcg | 5168 |
| DATA_SOURCE | 0 | rcg | r alloc_test_workqueue_locked |
| NOCHECK_CALL |
drivers/clk/qcom/clk-rcg2.c clk_gfx3d_set_rate_and_parent() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | rcg->parent_map | 4096-ptr_max |
| PARAM_VALUE | 0 | *rcg->clkr.regmap->cache->data | 0-4294967295 |
| BUF_SIZE | 0 | rcg | 88 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | clk |
drivers/clk/qcom/clk-rcg2.c clk_rcg2_configure() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.hw.core | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->async | 0 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->lock | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->unlock | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | rcg->freq_multi_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->freq_multi_tbl->freq | 0,19200000,24000000,25000000,50000000,78125000,125000000,156250000,312500000 |
| PARAM_VALUE | 0 | rcg->mnd_width | 0,8,16 |
| PARAM_VALUE | 0 | *rcg->clkr.regmap->cache->data | 0-4294967295 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | rcg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/qcom/clk-rcg2.c clk_rcg2_configure_gp() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->async | 0 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->mnd_width | 0,8,16 |
| PARAM_VALUE | 0 | *rcg->clkr.regmap->cache->data | 0-4294967295 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | rcg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/qcom/clk-rcg2.c clk_rcg2_set_duty_cycle() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->async | 0 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->mnd_width | 8,16 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | clk |
drivers/clk/qcom/clk-rcg2.c clk_rcg2_set_parent() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->async | 0 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | rcg->parent_map | 4096-ptr_max |
| CAPPED_DATA | 0 | rcg->clkr.regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/clk/qcom/clk-rcg2.c clk_rcg2_shared_disable() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | *rcg->clkr.regmap->cache->data | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | clk | ||
| HALF_LOCKED2 | flags |
drivers/clk/qcom/clk-rcg2.c clk_rcg2_shared_enable() -> update_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rcg | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | rcg->clkr.regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | *rcg->clkr.regmap->cache->data | 0-4294967295 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | rcg->clkr.regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c update_psp_stream_config() -> (struct cp_psp_funcs)->update_stream_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | config | 5936781408830849024 |
| PARAM_VALUE | 1 | config->assr_enabled | 0-1 |
| PARAM_VALUE | 1 | config->dp2_enabled | 0-1 |
| PARAM_VALUE | 1 | config->frl_enabled | 0-1 |
| PARAM_VALUE | 1 | config->mst_enabled | 0-1 |
| PARAM_VALUE | 1 | config->usb4_enabled | 0-1 |
| CONTAINER | 0 | *(-8-8+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |