Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/usb/gspca/ov519.c mode_init_ov_sensor_regs() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->cam.cam_mode | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->clockdiv | 0-11,23 |
| PARAM_VALUE | 0 | sd->revision | 0-31 |
| PARAM_VALUE | 0 | sd->sensor | 15 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 4096-ptr_max |
| PARAM_VALUE | 2 | n | 4 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 8 |
| BUF_SIZE | 1 | regvals | 8 |
| DATA_SOURCE | 0 | sd | $0 |
| BIT_INFO | 1 | regvals | 0x100000000300000,0x7fbfbffffffff000 |
| BIT_INFO | 1 | regvals | 0x100000000300000,0x7fbfbffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c ov519_set_mode() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->clockdiv | 0-11,23 |
| PARAM_VALUE | 0 | sd->gspca_dev.usb_err | s32min-(-1) |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->revision | 0-31 |
| PARAM_VALUE | 0 | sd->sensor | 11 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 2 | n | 3 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 6 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c ov519_set_mode() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->clockdiv | 0-11,23 |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->revision | 0-31 |
| PARAM_VALUE | 0 | sd->sensor | 11 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 4096-ptr_max |
| PARAM_VALUE | 2 | n | 6 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 12 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->bridge | 5 |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 0 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 8969823692708892672 |
| PARAM_VALUE | 2 | n | 1 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->bridge | 5 |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 1 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 3628988630052044800 |
| PARAM_VALUE | 2 | n | 14 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 28 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->bridge | 5 |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 2 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 6574988232819707904 |
| PARAM_VALUE | 2 | n | 64 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 128 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 3 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 1931368269342998528 |
| PARAM_VALUE | 2 | n | 29 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 58 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 4-5 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 7143686115831816192 |
| PARAM_VALUE | 2 | n | 82 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 164 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 6-15 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 2551810596428271616 |
| PARAM_VALUE | 2 | n | 27 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 54 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 7-8 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 1920482872272474112 |
| PARAM_VALUE | 2 | n | 64 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 128 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 9-10 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 3405312773059928064 |
| PARAM_VALUE | 2 | n | 2 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 4 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 11 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 7387146288694206464 |
| PARAM_VALUE | 2 | n | 116 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 232 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 12 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 4425916309677547520 |
| PARAM_VALUE | 2 | n | 156 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 312 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 14 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 0-1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 2182627112765566976 |
| PARAM_VALUE | 2 | n | 83 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 166 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c sd_init() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->bridge | 5 |
| PARAM_VALUE | 0 | sd->invert_led | 0-1 |
| PARAM_VALUE | 0 | sd->sensor | 15 |
| PARAM_VALUE | 0 | sd->sensor_addr | 66,96,160,192 |
| PARAM_VALUE | 0 | sd->sif | 1 |
| PARAM_VALUE | 0 | sd->stopped | 1 |
| PARAM_VALUE | 0 | *sd->sensor_reg_cache | s16min-s16max |
| PARAM_VALUE | 1 | regvals | 3794922613426688000 |
| PARAM_VALUE | 2 | n | 14 |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | regvals | 28 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
| HALF_LOCKED2 | &gspca_dev->usb_lock |
drivers/media/usb/gspca/ov519.c setbrightness() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->sensor | 11 |
| PARAM_VALUE | 2 | n | 7 |
| BUF_SIZE | 1 | regvals | 14 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
drivers/media/usb/gspca/ov519.c setcolors() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->sensor | 11 |
| PARAM_VALUE | 2 | n | 6 |
| BUF_SIZE | 1 | regvals | 12 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |
drivers/media/usb/gspca/ov519.c setcontrast() -> write_i2c_regvals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->sensor | 11 |
| PARAM_VALUE | 2 | n | 31 |
| BUF_SIZE | 1 | regvals | 62 |
| DATA_SOURCE | 0 | sd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | n | unit_array_size |