Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/i2c/thp7312.c thp7312_pm_runtime_resume() -> to_thp7312_dev()

Type Parameter Key Value
BUF_SIZE 0 sd s32min-(-2),1-s32max
BUF_SIZE 0 sd s32min-(-2),1-s32max
UNITS 0 sd unit_byte

drivers/media/i2c/thp7312.c thp7312_pm_runtime_suspend() -> to_thp7312_dev()

Type Parameter Key Value
BUF_SIZE 0 sd s32min-(-2),1-s32max
BUF_SIZE 0 sd s32min-(-2),1-s32max
UNITS 0 sd unit_byte

drivers/media/i2c/thp7312.c thp7312_remove() -> to_thp7312_dev()

Type Parameter Key Value
BUF_SIZE 0 sd s32min-(-2),1-s32max
BUF_SIZE 0 sd s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sd unit_byte
HALF_LOCKED2 &dev->mutex

drivers/media/i2c/thp7312.c thp7312_s_stream() -> to_thp7312_dev()

Type Parameter Key Value
DATA_SOURCE 0 sd $0

drivers/media/i2c/thp7312.c thp7312_set_fmt() -> to_thp7312_dev()

Type Parameter Key Value
BUF_SIZE 0 sd s32min-(-1),1-s32max
BUF_SIZE 0 sd s32min-(-1),1-s32max
DATA_SOURCE 0 sd $0
STR_LEN 0 sd (-1),15-17,26-27,31-44
STR_LEN 0 sd (-1),15-17,26-27,31-44
STR_LEN 0 sd->entity.name (-1),7
STR_LEN 0 sd->name (-1),51
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sd->entity.num_pads
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
HALF_LOCKED2 0 sd->active_state->lock

drivers/media/i2c/thp7312.c thp7312_set_frame_interval() -> to_thp7312_dev()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
BUF_SIZE 0 sd s32min-(-1),1-s32max
BUF_SIZE 0 sd s32min-(-1),1-s32max
DATA_SOURCE 0 sd $0
HALF_LOCKED2 lock