Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/tegra/dsi.c, line 1090
- drivers/gpu/drm/tegra/hdmi.c, line 1597
- drivers/gpu/drm/tegra/rgb.c, line 360
- drivers/gpu/drm/tegra/sor.c, line 3124
Smatch caller information:
drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_init() -> tegra_output_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drm | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | drm->mode_config.num_encoder | s32min-32 |
| PARAM_VALUE | 1 | output | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge | 0,4096-ptr_max |
| PARAM_VALUE | 1 | output->connector.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->connector.dpms | 3 |
| PARAM_VALUE | 1 | output->connector.helper_private | 5958062732752355328 |
| PARAM_VALUE | 1 | output->encoder.base.id | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.base.type | 3772834016 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.helper_private | 1254437920659763200 |
| PARAM_VALUE | 1 | output->encoder.index | 0-31,2147483648-u32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | output->connector.cmdline_mode.bpp | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.refresh | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.bottom | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.left | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.right | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.top | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.xres | 0,720 |
| USER_DATA | 1 | output->connector.cmdline_mode.yres | 0,480,576 |
| UNITS | 0 | drm | unit_byte |
| LOCK2 | &device->clients_lock | ||
| TYPE_LOCK | (struct host1x_device)->clients_lock |
drivers/gpu/drm/tegra/sor.c tegra_sor_init() -> tegra_output_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drm | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.num_encoder | s32min-32 |
| PARAM_VALUE | 1 | output | 4096-ptr_max |
| PARAM_VALUE | 1 | output->connector.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->connector.dpms | 3 |
| PARAM_VALUE | 1 | output->connector.helper_private | 7223993910743724032 |
| PARAM_VALUE | 1 | output->encoder.base.id | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.base.type | 3772834016 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.helper_private | 0,60546447654076416,4730708880253992960 |
| PARAM_VALUE | 1 | output->encoder.index | 0-31,2147483648-u32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | output->connector.cmdline_mode.bpp | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.refresh | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.bottom | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.left | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.right | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.top | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.xres | 0,720 |
| USER_DATA | 1 | output->connector.cmdline_mode.yres | 0,480,576 |
| UNITS | 0 | drm | unit_byte |
| LOCK2 | &device->clients_lock | ||
| TYPE_LOCK | (struct host1x_device)->clients_lock |
drivers/gpu/drm/tegra/dsi.c tegra_dsi_init() -> tegra_output_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drm | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 4096-ptr_max |
| PARAM_VALUE | 1 | output->connector.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->connector.dpms | 3 |
| PARAM_VALUE | 1 | output->connector.helper_private | 4712061765827969024 |
| PARAM_VALUE | 1 | output->encoder.base.id | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.base.type | 3772834016 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.helper_private | 4124753596325687296 |
| PARAM_VALUE | 1 | output->encoder.index | 0-31,2147483648-u32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | output->connector.cmdline_mode.bpp | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.refresh | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.bottom | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.left | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.right | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.tv_margins.top | 0 |
| USER_DATA | 1 | output->connector.cmdline_mode.xres | 0,720 |
| USER_DATA | 1 | output->connector.cmdline_mode.yres | 0,480,576 |
| UNITS | 0 | drm | unit_byte |
| LOCK2 | &device->clients_lock | ||
| TYPE_LOCK | (struct host1x_device)->clients_lock |
drivers/gpu/drm/tegra/rgb.c tegra_dc_rgb_init() -> tegra_output_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drm | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 0 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | drm->dev_private | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.blob_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | drm->mode_config.blob_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | drm->mode_config.blob_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | drm->mode_config.blob_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | drm->mode_config.blob_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | drm->mode_config.blob_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | drm->mode_config.crtc_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.crtc_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.crtc_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.encoder_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | drm->mode_config.max_height | 4096,16384 |
| PARAM_VALUE | 0 | drm->mode_config.max_width | 4096,16384 |
| PARAM_VALUE | 0 | drm->mode_config.num_crtc | s32min-32 |
| PARAM_VALUE | 0 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 0 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | drm->mode_config.property_blob_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge | 0,4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.funcs | 8935298760230158336 |
| PARAM_VALUE | 1 | output->bridge->base.funcs->atomic_print_state | 0,7093739767784787968,8381430196319399936,8422402459676663808 |
| PARAM_VALUE | 1 | output->bridge->base.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.lock.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.lock.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.lock.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.lock.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.lock.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->base.lock.mutex.ctx | 0 |
| PARAM_VALUE | 1 | output->bridge->base.state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->chain_node.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->chain_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->dev->mode_config.privobj_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->bridge->encoder | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.base.id | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.base.type | 3772834016 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | output->encoder.bridge_chain_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | output->encoder.dev->mode_config.num_encoder | s32min-31 |
| PARAM_VALUE | 1 | output->encoder.funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.funcs->debugfs_init | 0,6973352036378669056 |
| PARAM_VALUE | 1 | output->encoder.funcs->destroy | 0,4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.funcs->early_unregister | 0,4760937263027425280 |
| PARAM_VALUE | 1 | output->encoder.funcs->late_register | 0,701314789818085376,1181227410646614016,1647545275053064192,2341737043894939648,3940292699586646016,6122176978846912512 |
| PARAM_VALUE | 1 | output->encoder.funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | output->encoder.helper_private | 1650648177865003008 |
| PARAM_VALUE | 1 | output->encoder.helper_private->atomic_check | 4321798460199460864 |
| PARAM_VALUE | 1 | output->encoder.helper_private->commit | 0 |
| PARAM_VALUE | 1 | output->encoder.helper_private->detect | 0 |
| PARAM_VALUE | 1 | output->encoder.helper_private->disable | 5946420837138210816 |
| PARAM_VALUE | 1 | output->encoder.helper_private->dpms | 0 |
| PARAM_VALUE | 1 | output->encoder.helper_private->enable | 6903290177506357248 |
| PARAM_VALUE | 1 | output->encoder.helper_private->prepare | 0 |
| PARAM_VALUE | 1 | output->encoder.index | 0-31,2147483648-u32max |
| PARAM_VALUE | 1 | output->panel | 0 |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | drm | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | drm->mode_config.object_idr.idr_base | 1 |
| CAPPED_DATA | 1 | &output->encoder | 1 |
| DATA_SOURCE | 0 | drm | $0 |
| FUZZY_MAX | 0 | drm->mode_config.max_height | 16384 |
| BIT_INFO | 0 | drm->mode_config.max_height | 0x0,0x5000 |
| HARD_MAX | 0 | drm->mode_config.max_height | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | output->bridge->base.dev->num_crtcs | |
| UNITS | 0 | drm | unit_byte |
| LOCK2 | &device->clients_lock | ||
| TYPE_LOCK | (struct host1x_device)->clients_lock |