Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/via/via-camera.c viacam_resume() -> viacam_config_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cam->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cam->opstate | 1-u32max |
| PARAM_VALUE | 0 | cam->power_gpio | 0,4096-u64max |
| PARAM_VALUE | 0 | cam->reset_gpio | 0,4096-u64max |
| PARAM_VALUE | 0 | cam->sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->cached->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ops->pad->set_fmt | 1-u64max |
| PARAM_VALUE | 0 | cam->vdev.fh_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | *cam->sensor->dev_priv->dev.driver_data->reg | 0-255 |
| BUF_SIZE | 0 | cam | 3688 |
| CAPPED_DATA | 0 | cam->sensor->ctrl_handler->lock | 1 |
| CAPPED_DATA | 0 | &cam->lock | 1 |
| CAPPED_DATA | 0 | &cam->vdev.fh_list | 1 |
| DATA_SOURCE | 0 | cam | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &viafb_pm_hooks_lock | ||
| LOCK2 | 0 | &cam->lock | |
| HALF_LOCKED2 | &fsm->lock | ||
| TYPE_LOCK | (struct via_camera)->lock |
drivers/media/platform/via/via-camera.c viacam_s_fmt_vid_cap() -> viacam_config_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->mbus_code | 8200 |
| PARAM_VALUE | 0 | cam->opstate | 0 |
| PARAM_VALUE | 0 | cam->sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->cached->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ops->pad->set_fmt | 1-u64max |
| PARAM_VALUE | 0 | cam->sensor_format.height | 480 |
| PARAM_VALUE | 0 | cam->sensor_format.hsv_enc | 0-u16max |
| PARAM_VALUE | 0 | cam->sensor_format.quantization | 0-u16max |
| PARAM_VALUE | 0 | cam->sensor_format.width | 640 |
| PARAM_VALUE | 0 | cam->sensor_format.xfer_func | 0-u16max |
| PARAM_VALUE | 0 | cam->sensor_format.ycbcr_enc | 0-u16max |
| PARAM_VALUE | 0 | cam->user_format.bytesperline | 352-1280 |
| PARAM_VALUE | 0 | cam->user_format.height | 144-480 |
| PARAM_VALUE | 0 | cam->user_format.hsv_enc | 0-u16max |
| PARAM_VALUE | 0 | cam->user_format.quantization | 0-u16max |
| PARAM_VALUE | 0 | cam->user_format.sizeimage | 50688-614400 |
| PARAM_VALUE | 0 | cam->user_format.width | 176-640 |
| PARAM_VALUE | 0 | cam->user_format.xfer_func | 0-u16max |
| PARAM_VALUE | 0 | cam->user_format.ycbcr_enc | 0-u16max |
| PARAM_VALUE | 0 | *cam->sensor->dev_priv->dev.driver_data->reg | 0-255 |
| BUF_SIZE | 0 | cam | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cam->sensor->ctrl_handler->lock | 1 |
| DATA_SOURCE | 0 | cam | r video_drvdata |
| USER_DATA | 0 | cam->sensor_format.colorspace | 0-u32max[u] |
| USER_DATA | 0 | cam->sensor_format.field | 0-u32max[u] |
| USER_DATA | 0 | cam->sensor_format.quantization | 0-u16max[u] |
| USER_DATA | 0 | cam->sensor_format.xfer_func | 0-u16max[u] |
| USER_DATA | 0 | cam->sensor_format.ycbcr_enc | 0-u16max[u] |
| USER_DATA | 0 | cam->user_format.bytesperline | 352-1280[c] |
| USER_DATA | 0 | cam->user_format.colorspace | 0-u32max[u] |
| USER_DATA | 0 | cam->user_format.field | 0-u32max[u] |
| USER_DATA | 0 | cam->user_format.flags | 0-u32max[u] |
| USER_DATA | 0 | cam->user_format.priv | 0-u32max[u] |
| USER_DATA | 0 | cam->user_format.quantization | 0-u16max[u] |
| USER_DATA | 0 | cam->user_format.sizeimage | 50688-614400[c] |
| USER_DATA | 0 | cam->user_format.xfer_func | 0-u16max[u] |
| USER_DATA | 0 | cam->user_format.ycbcr_enc | 0-u16max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/via/via-camera.c viacam_vb2_start_streaming() -> viacam_config_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->opstate | 0 |
| PARAM_VALUE | 0 | cam->sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->cached->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ops->pad->set_fmt | 1-u64max |
| PARAM_VALUE | 0 | *cam->sensor->dev_priv->dev.driver_data->reg | 0-255 |
| BUF_SIZE | 0 | cam | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cam->sensor->ctrl_handler->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vq->lock |