Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c update_subconnector_property() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | link | (-1),1616 |
| BUF_SIZE | 0 | link | (-1),1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_default_unknown() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 127 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_dvi_converter() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 2 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_dvi_dongle() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 4 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_hdmi_converter() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 3 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_hdmi_dongle() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 5 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_mismatched() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 6 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_none() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 0 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_subconnector_type_vga() -> get_subconnector_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.dongle_type | 1 |
| BUF_SIZE | 0 | link | 1616 |
| DATA_SOURCE | 0 | link | r kunit_kzalloc |
| MEM_ZERO | 0 | link |