Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/usb/gspca/sn9c20x.c mt9m001_init_sensor() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->queue.buf_ops->copy_timestamp 0,3401818510708633600
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_user_buffer 0,5298842246379896832,5841025948992888832
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_vb2_buffer 0,1786911256580034560,5041348282711113728
PARAM_VALUE 0 gspca_dev->queue.buf_ops->init_buffer 0,384438844081053696
PARAM_VALUE 0 gspca_dev->queue.buf_ops->verify_planes_array 0,6675302666440089600
PARAM_VALUE 0 gspca_dev->sd_desc 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_err 0-s32max
PARAM_VALUE 0 gspca_dev->usb_lock.dep_map->name 0-255
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 val 3196237398178631680
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev->usb_buf (-1),64
BUF_SIZE 0 gspca_dev->vdev.lock (-1),152
BUF_SIZE 0 gspca_dev->vdev.queue (-1),632
BUF_SIZE 0 gspca_dev->vdev.v4l2_dev (-1),192
DATA_SOURCE 0 gspca_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock

drivers/media/usb/gspca/sn9c20x.c mt9v_init_sensor() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->i2c_addr 93
PARAM_VALUE 0 gspca_dev->queue.buf_ops->copy_timestamp 0,3401818510708633600
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_user_buffer 0,5298842246379896832,5841025948992888832
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_vb2_buffer 0,1786911256580034560,5041348282711113728
PARAM_VALUE 0 gspca_dev->queue.buf_ops->init_buffer 0,384438844081053696
PARAM_VALUE 0 gspca_dev->queue.buf_ops->verify_planes_array 0,6675302666440089600
PARAM_VALUE 0 gspca_dev->sd_desc 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_err 0-s32max
PARAM_VALUE 0 gspca_dev->usb_lock.dep_map->name 0-255
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 reg 255
PARAM_VALUE 2 val 5658988737419132928
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev->usb_buf (-1),64
BUF_SIZE 0 gspca_dev->vdev.lock (-1),152
BUF_SIZE 0 gspca_dev->vdev.queue (-1),632
BUF_SIZE 0 gspca_dev->vdev.v4l2_dev (-1),192
DATA_SOURCE 0 gspca_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock

drivers/media/usb/gspca/sn9c20x.c mt9v_init_sensor() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->i2c_addr 92
PARAM_VALUE 0 gspca_dev->queue.buf_ops->copy_timestamp 0,3401818510708633600
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_user_buffer 0,5298842246379896832,5841025948992888832
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_vb2_buffer 0,1786911256580034560,5041348282711113728
PARAM_VALUE 0 gspca_dev->queue.buf_ops->init_buffer 0,384438844081053696
PARAM_VALUE 0 gspca_dev->queue.buf_ops->verify_planes_array 0,6675302666440089600
PARAM_VALUE 0 gspca_dev->sd_desc 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_buf 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.dep_map->name 0-255
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 reg 255
PARAM_VALUE 2 val 5658988737419132928
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev->usb_buf (-1),64
BUF_SIZE 0 gspca_dev->vdev.lock (-1),152
BUF_SIZE 0 gspca_dev->vdev.queue (-1),632
BUF_SIZE 0 gspca_dev->vdev.v4l2_dev (-1),192
DATA_SOURCE 0 gspca_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock

drivers/media/usb/gspca/sn9c20x.c mt9v_init_sensor() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->i2c_addr 72,93
PARAM_VALUE 0 gspca_dev->queue.buf_ops->copy_timestamp 0,3401818510708633600
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_user_buffer 0,5298842246379896832,5841025948992888832
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_vb2_buffer 0,1786911256580034560,5041348282711113728
PARAM_VALUE 0 gspca_dev->queue.buf_ops->init_buffer 0,384438844081053696
PARAM_VALUE 0 gspca_dev->queue.buf_ops->verify_planes_array 0,6675302666440089600
PARAM_VALUE 0 gspca_dev->sd_desc 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_buf 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.dep_map->name 0-255
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 val 5658988737419132928
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev->usb_buf (-1),64
BUF_SIZE 0 gspca_dev->vdev.lock (-1),152
BUF_SIZE 0 gspca_dev->vdev.queue (-1),632
BUF_SIZE 0 gspca_dev->vdev.v4l2_dev (-1),192
DATA_SOURCE 0 gspca_dev $0
FUZZY_MAX 0 gspca_dev->i2c_addr 93
HARD_MAX 0 gspca_dev->i2c_addr 93
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock

drivers/media/usb/gspca/sn9c20x.c ov9650_init_sensor() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->queue.buf_ops->copy_timestamp 0,3401818510708633600
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_user_buffer 0,5298842246379896832,5841025948992888832
PARAM_VALUE 0 gspca_dev->queue.buf_ops->fill_vb2_buffer 0,1786911256580034560,5041348282711113728
PARAM_VALUE 0 gspca_dev->queue.buf_ops->init_buffer 0,384438844081053696
PARAM_VALUE 0 gspca_dev->queue.buf_ops->verify_planes_array 0,6675302666440089600
PARAM_VALUE 0 gspca_dev->sd_desc 4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_err 0-s32max
PARAM_VALUE 0 gspca_dev->usb_lock.dep_map->name 0-255
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gspca_dev->usb_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 reg 28
PARAM_VALUE 2 val 4714867639706132480
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev->usb_buf (-1),64
BUF_SIZE 0 gspca_dev->vdev.lock (-1),152
BUF_SIZE 0 gspca_dev->vdev.queue (-1),632
BUF_SIZE 0 gspca_dev->vdev.v4l2_dev (-1),192
DATA_SOURCE 0 gspca_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock

drivers/media/usb/gspca/sn9c20x.c sd_dbg_g_register() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->sd_desc 4096-ptr_max
PARAM_VALUE 0 gspca_dev->sensor 5-10
PARAM_VALUE 0 gspca_dev->usb_err 0
PARAM_VALUE 2 val 4096-ptr_max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-2),1-s32max
BUF_SIZE 2 val 8
DATA_SOURCE 0 gspca_dev $0
FUZZY_MAX 0 gspca_dev->sensor 10
CAPABLE 0 21
HARD_MAX 0 gspca_dev->sensor 10
NOCHECK_CALL
USER_DATA 1 reg 0-255[u]
USER_DATA 2 *val 0-u16max[u]
USER_PTR 2 val
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/gspca/sn9c20x.c set_hvflip() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->flags 4-255
PARAM_VALUE 0 gspca_dev->sd_desc->isoc_init 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->sd_desc->isoc_nego 0,5597140758607159296,7839014778267959296
PARAM_VALUE 0 gspca_dev->sd_desc->stop0 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->sd_desc->stopN 0,4096-ptr_max
PARAM_VALUE 0 *gspca_dev->dev->toggle 0-4294967295
PARAM_VALUE 1 reg 32
PARAM_VALUE 2 val 7954376376705794048
BUF_SIZE 0 gspca_dev s32min-(-1),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-1),1-s32max
DATA_SOURCE 0 gspca_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock

drivers/media/usb/gspca/sn9c20x.c set_hvflip() -> i2c_r2()

Type Parameter Key Value
PARAM_VALUE 0 gspca_dev 4096-ptr_max
PARAM_VALUE 0 gspca_dev->flags 4-255
PARAM_VALUE 0 gspca_dev->sd_desc->isoc_init 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->sd_desc->isoc_nego 0,5597140758607159296,7839014778267959296
PARAM_VALUE 0 gspca_dev->sd_desc->stop0 0,4096-ptr_max
PARAM_VALUE 0 gspca_dev->sd_desc->stopN 0,4096-ptr_max
PARAM_VALUE 0 *gspca_dev->dev->toggle 0-4294967295
PARAM_VALUE 1 reg 32
PARAM_VALUE 2 val 7954376376705794048
BUF_SIZE 0 gspca_dev s32min-(-1),1-s32max
BUF_SIZE 0 gspca_dev s32min-(-1),1-s32max
DATA_SOURCE 0 gspca_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &gspca_dev->usb_lock