Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/i915/display/g4x_dp.c, line 663
- drivers/gpu/drm/i915/display/intel_dp_link_training.c
Smatch caller information:
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_128b132b_link_train() -> intel_dp_program_link_training_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intel_dp | 4096-ptr_max |
| PARAM_VALUE | 0 | intel_dp->attached_connector | 4096-ptr_max |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | intel_dp->set_link_train | 4096-ptr_max |
| PARAM_VALUE | 0 | *intel_dp->dpcd | 0-255 |
| PARAM_VALUE | 0 | *intel_dp->lttpr_common_caps | 0-255 |
| PARAM_VALUE | 0 | *intel_dp->train_set | 0-255 |
| PARAM_VALUE | 1 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc_state->has_panel_replay | 1 |
| PARAM_VALUE | 1 | crtc_state->intel_dpll->info->id | 0-32 |
| PARAM_VALUE | 1 | crtc_state->port_clock | 1000000-s32max |
| PARAM_VALUE | 2 | dp_phy | 0 |
| PARAM_VALUE | 3 | dp_train_pat | 2 |
| BUF_SIZE | 0 | intel_dp | 6896 |
| DATA_SOURCE | 0 | intel_dp | $0 |
| DATA_SOURCE | 1 | crtc_state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_set_link_train() -> intel_dp_program_link_training_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intel_dp | 4096-ptr_max |
| PARAM_VALUE | 0 | intel_dp->attached_connector | 4096-ptr_max |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | intel_dp->aux.hw_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | *intel_dp->lttpr_common_caps | 0-255 |
| PARAM_VALUE | 1 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc_state->intel_dpll->info->id | 0-32 |
| PARAM_VALUE | 2 | dp_phy | 0-9 |
| PARAM_VALUE | 3 | dp_train_pat | 1-2,7,33-35 |
| DATA_SOURCE | 0 | intel_dp | $0 |
| DATA_SOURCE | 1 | crtc_state | $1 |
| DATA_SOURCE | 2 | dp_phy | $2 |
| DATA_SOURCE | 3 | dp_train_pat | $3 |
| MEM_ZERO | 0 | intel_dp->train_set | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | dp_phy | unit_array_size |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_stop_link_train() -> intel_dp_program_link_training_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intel_dp | 4096-ptr_max |
| PARAM_VALUE | 0 | intel_dp->link.active | 1 |
| PARAM_VALUE | 0 | *intel_dp->dpcd | 0-255 |
| PARAM_VALUE | 0 | *intel_dp->lttpr_common_caps | 0-255 |
| PARAM_VALUE | 0 | *intel_dp->train_set | 0-255 |
| PARAM_VALUE | 1 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc_state->intel_dpll->info->id | 0-32 |
| PARAM_VALUE | 2 | dp_phy | 0 |
| PARAM_VALUE | 3 | dp_train_pat | 0 |
| BUF_SIZE | 0 | intel_dp | (-1),6896 |
| BUF_SIZE | 0 | intel_dp | (-1),6896 |
| DATA_SOURCE | 0 | intel_dp | $0 |
| DATA_SOURCE | 1 | crtc_state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/g4x_dp.c intel_dp_enable_port() -> intel_dp_program_link_training_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intel_dp | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc_state->intel_dpll->info->id | 0-32 |
| PARAM_VALUE | 2 | dp_phy | 0 |
| PARAM_VALUE | 3 | dp_train_pat | 1 |
| BUF_SIZE | 0 | intel_dp | 6896 |
| DATA_SOURCE | 0 | intel_dp | $0 |
| DATA_SOURCE | 1 | crtc_state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &display->pps.mutex |