Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/drm_connector.c
- drivers/gpu/drm/gud/gud_connector.c
- drivers/gpu/drm/i915/display/intel_tv.c, line 1909
- drivers/gpu/drm/nouveau/dispnv04/i2c/ch7006_drv.c, line 255
- drivers/gpu/drm/nouveau/dispnv04/tvnv17.c, line 663
Smatch caller information:
drivers/gpu/drm/gud/gud_connector.c gud_connector_add_properties() -> drm_mode_create_tv_properties_legacy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.encoder_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.num_encoder | s32min-32 |
| PARAM_VALUE | 1 | num_modes | 0 |
| BUF_SIZE | 0 | dev | 3696 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->mode_config.legacy_tv_mode_property->dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->mode_config.legacy_tv_mode_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | dev->mode_config.tv_select_subconnector_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | dev->mode_config.tv_subconnector_property->num_values |
drivers/gpu/drm/gud/gud_connector.c gud_connector_add_tv_mode() -> drm_mode_create_tv_properties_legacy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_modes | 1-134217727 |
| PARAM_VALUE | 2 | modes | 4096-ptr_max |
| BUF_SIZE | 2 | modes | 128 |
| CAPPED_DATA | 1 | num_modes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/nouveau/dispnv04/i2c/ch7006_drv.c ch7006_encoder_create_resources() -> drm_mode_create_tv_properties_legacy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.num_encoder | s32min-31 |
| PARAM_VALUE | 1 | num_modes | 7 |
| BUF_SIZE | 2 | modes | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/i915/display/intel_tv.c intel_tv_add_properties() -> drm_mode_create_tv_properties_legacy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_modes | 0-15 |
| PARAM_VALUE | 2 | modes | 4096-ptr_max |
| BUF_SIZE | 2 | modes | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | num_modes | unit_array_size |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c nv17_tv_create_resources() -> drm_mode_create_tv_properties_legacy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.num_encoder | s32min-31 |
| PARAM_VALUE | 1 | num_modes | 6,12 |
| PARAM_VALUE | 2 | modes | 4790267831916269568 |
| BUF_SIZE | 2 | modes | 96 |
| BIT_INFO | 1 | num_modes | 0x4,0xe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/drm_connector.c drm_mode_create_tv_properties() -> drm_mode_create_tv_properties_legacy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->base.id | 0-s32max |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->base.type | 2964369584 |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->enum_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->enum_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->flags | 8,12,2147483656 |
| PARAM_VALUE | 0 | dev->mode_config.tv_mode_property->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | num_modes | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->mode_config.tv_mode_property | 120 |
| CAPPED_DATA | 0 | dev->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->mode_config.tv_mode_property->num_values | |
| UNITS | 0 | dev | unit_byte |