Defined in 2 files as a function:
- drivers/staging/media/imx/imx-ic-prp.c, line 396 (as a function)
- drivers/staging/media/imx/imx-ic-prpencvf.c, line 1206 (as a function)
Referenced in 2 files:
- drivers/staging/media/imx/imx-ic-prp.c, line 470
- drivers/staging/media/imx/imx-ic-prpencvf.c, line 1319
Smatch caller information:
drivers/staging/media/atomisp/pci/atomisp_cmd.c atomisp_get_sensor_fps() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 7695791765093076992 |
| PARAM_VALUE | 2 | fi->interval.denominator | 0 |
| PARAM_VALUE | 2 | fi->interval.numerator | 0 |
| PARAM_VALUE | 2 | fi->pad | 0 |
| PARAM_VALUE | 2 | fi->stream | 0 |
| PARAM_VALUE | 2 | fi->which | 0 |
| DATA_SOURCE | 1 | sd_state | r v4l2_subdev_get_unlocked_active_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &isp->mutex | ||
| HALF_LOCKED2 | 1 | sd_state->lock | |
| TYPE_LOCK | (struct atomisp_device)->mutex |
drivers/staging/media/atomisp/pci/atomisp_cmd.c atomisp_get_sensor_fps() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 7695791765093076992 |
| PARAM_VALUE | 2 | fi->interval.denominator | 0 |
| PARAM_VALUE | 2 | fi->interval.numerator | 0 |
| PARAM_VALUE | 2 | fi->pad | 0 |
| PARAM_VALUE | 2 | fi->stream | 0 |
| PARAM_VALUE | 2 | fi->which | 0 |
| DATA_SOURCE | 1 | sd_state | r v4l2_subdev_get_unlocked_active_state |
| CONTAINER | 0 | -56-56-160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &isp->mutex | ||
| HALF_LOCKED2 | 1 | sd_state->lock | |
| TYPE_LOCK | (struct atomisp_device)->mutex |
drivers/media/v4l2-core/v4l2-subdev.c call_get_frame_interval() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 4096-ptr_max |
| PARAM_VALUE | 2 | fi->pad | 0-65534 |
| PARAM_VALUE | 2 | fi->which | 0-1 |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | fi | (-1),128-16383 |
| BUF_SIZE | 2 | fi | (-1),128-16383 |
| CAPPED_DATA | 0 | sd->entity.num_pads | 1 |
| CAPPED_DATA | 2 | fi->pad | 1 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | sd_state | $1 |
| DATA_SOURCE | 2 | fi | $2 |
| CONTAINER | 0 | -56-56-160+0 | $(-1) |
| PARAM_COMPARE | 2 | fi->pad | <= $0->entity.num_pads |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 2 | fi | |
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/media/v4l2-core/v4l2-subdev.c subdev_do_ioctl() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 4096-ptr_max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | fi | (-1),128-16383 |
| BUF_SIZE | 2 | fi | (-1),128-16383 |
| DATA_SOURCE | 1 | sd_state | $3 |
| DATA_SOURCE | 2 | fi | $2 |
| MEM_ZERO | 2 | fi->reserved | |
| USER_PTR | 2 | fi | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/media/v4l2-core/v4l2-subdev.c subdev_do_ioctl() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 4096-ptr_max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | fi | (-1),128-16383 |
| BUF_SIZE | 2 | fi | (-1),128-16383 |
| DATA_SOURCE | 1 | sd_state | $3 |
| DATA_SOURCE | 2 | fi | $2 |
| CONTAINER | 0 | -56-56-160+0 | $(-1) |
| MEM_ZERO | 2 | fi->reserved | |
| USER_PTR | 2 | fi | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/staging/media/imx/imx-media-capture.c capture_legacy_g_parm() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 4278221661416558592 |
| PARAM_VALUE | 2 | fi->interval.denominator | 0 |
| PARAM_VALUE | 2 | fi->interval.numerator | 0 |
| PARAM_VALUE | 2 | fi->stream | 0 |
| PARAM_VALUE | 2 | fi->which | 0 |
| DATA_SOURCE | 1 | sd_state | r v4l2_subdev_get_unlocked_active_state |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/staging/media/imx/imx-media-capture.c capture_legacy_g_parm() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 4278221661416558592 |
| PARAM_VALUE | 2 | fi->interval.denominator | 0 |
| PARAM_VALUE | 2 | fi->interval.numerator | 0 |
| PARAM_VALUE | 2 | fi->stream | 0 |
| PARAM_VALUE | 2 | fi->which | 0 |
| DATA_SOURCE | 1 | sd_state | r v4l2_subdev_get_unlocked_active_state |
| CONTAINER | 0 | -56-56-160+0 | $(-1) |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/media/usb/em28xx/em28xx-video.c vidioc_g_parm() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0 |
| PARAM_VALUE | 2 | fi | 2115173047576793088 |
| CAPPED_DATA | 0 | &sd->list | 1 |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/v4l2-core/v4l2-common.c v4l2_g_parm_cap() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 5323932143831961600 |
| PARAM_VALUE | 2 | fi->interval.denominator | 0 |
| PARAM_VALUE | 2 | fi->interval.numerator | 0 |
| PARAM_VALUE | 2 | fi->pad | 0 |
| PARAM_VALUE | 2 | fi->stream | 0 |
| PARAM_VALUE | 2 | fi->which | 0 |
| DATA_SOURCE | 0 | sd | $1 |
| DATA_SOURCE | 1 | sd_state | r v4l2_subdev_get_unlocked_active_state |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/media/v4l2-core/v4l2-common.c v4l2_g_parm_cap() -> (struct v4l2_subdev_pad_ops)->get_frame_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_frame_interval | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sd_state->lock->first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | sd_state->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sd_state->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | fi | 5323932143831961600 |
| PARAM_VALUE | 2 | fi->interval.denominator | 0 |
| PARAM_VALUE | 2 | fi->interval.numerator | 0 |
| PARAM_VALUE | 2 | fi->pad | 0 |
| PARAM_VALUE | 2 | fi->stream | 0 |
| PARAM_VALUE | 2 | fi->which | 0 |
| DATA_SOURCE | 0 | sd | $1 |
| DATA_SOURCE | 1 | sd_state | r v4l2_subdev_get_unlocked_active_state |
| CONTAINER | 0 | -56-56-160+0 | $(-1) |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| HALF_LOCKED2 | 1 | sd_state->lock |