Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/i2c/t4ka3.c t4ka3_init_controls() -> t4ka3_calc_mode()

Type Parameter Key Value
PARAM_VALUE 0 sensor 4096-ptr_max
PARAM_VALUE 2 crop 0,4096-ptr_max
BUF_SIZE 0 sensor 1056
BUF_SIZE 0 sensor->dev 1616
BUF_SIZE 0 sensor->powerdown_gpio s32min-(-1),1-s32max
BUF_SIZE 0 sensor->reset_gpio s32min,(-1),1-s32max
BUF_SIZE 0 sensor->sd.internal_ops 48
BUF_SIZE 1 fmt (-1),48
BUF_SIZE 1 fmt (-1),48
BUF_SIZE 2 crop (-1),16
BUF_SIZE 2 crop (-1),16
CAPPED_DATA 0 sensor->powerdown_gpio 1
CAPPED_DATA 0 sensor->reset_gpio 1
DATA_SOURCE 0 sensor $0
DATA_SOURCE 1 fmt r __v4l2_subdev_state_get_format
DATA_SOURCE 2 crop r __v4l2_subdev_state_get_crop
TERMINATED 0 sensor->sd.entity.name 1
TERMINATED 0 sensor->sd.name 1
MEM_ZERO 0 sensor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/i2c/t4ka3.c t4ka3_set_pad_format() -> t4ka3_calc_mode()

Type Parameter Key Value
PARAM_VALUE 0 sensor 4096-ptr_max
PARAM_VALUE 1 fmt 4096-ptr_max
PARAM_VALUE 2 crop 4096-ptr_max
BUF_SIZE 1 fmt 48
BUF_SIZE 2 crop (-1),16
BUF_SIZE 2 crop (-1),16
DATA_SOURCE 2 crop r __v4l2_subdev_state_get_crop
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 fmt->colorspace 0-u32max[u]
USER_DATA 1 fmt->field 0-u32max[u]
USER_DATA 1 fmt->height 0-u32max
USER_DATA 1 fmt->quantization 0-u16max[u]
USER_DATA 1 fmt->width 0-u32max
USER_DATA 1 fmt->xfer_func 0-u16max[u]
USER_DATA 1 fmt->ycbcr_enc 0-u16max[u]
HALF_LOCKED2 &cxdev->open_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdw->big_lock_mutex
HALF_LOCKED2 &pcdev->mlock
HALF_LOCKED2 &ve->vdev.entity.graph_obj.mdev->graph_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &em28xx_devlist_mutex
HALF_LOCKED2 sd_state->lock

drivers/media/i2c/t4ka3.c t4ka3_set_selection() -> t4ka3_calc_mode()

Type Parameter Key Value
PARAM_VALUE 1 fmt 4096-ptr_max
PARAM_VALUE 1 fmt->height 0-2464
PARAM_VALUE 1 fmt->width 0-3280
PARAM_VALUE 2 crop 4096-ptr_max
BUF_SIZE 1 fmt (-1),48
BUF_SIZE 1 fmt (-1),48
BUF_SIZE 2 crop (-1),16
BUF_SIZE 2 crop (-1),16
CAPPED_DATA 1 fmt->height 1
CAPPED_DATA 1 fmt->width 1
DATA_SOURCE 1 fmt r __v4l2_subdev_state_get_format
DATA_SOURCE 2 crop r __v4l2_subdev_state_get_crop
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 fmt->height 3-2463[c]
USER_DATA 1 fmt->width 3-3279[c]
HALF_LOCKED2 &video->mutex
HALF_LOCKED2 global &list_lock