Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/nxp/imx7-media-csi.c imx7_csi_set_fmt() -> imx7_csi_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->dev_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sdformat | 4096-ptr_max |
| PARAM_VALUE | 3 | cc | 4359582406247702528 |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | sd_state | (-1),208 |
| BUF_SIZE | 1 | sd_state | (-1),208 |
| BUF_SIZE | 1 | sd_state->lock | (-1),152 |
| BUF_SIZE | 1 | sd_state->pads | (-1),88-5767080 |
| BUF_SIZE | 1 | sd_state->sd | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | sdformat | (-1),128-16383 |
| BUF_SIZE | 2 | sdformat | (-1),128-16383 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | sd_state | $1 |
| DATA_SOURCE | 2 | sdformat | $2 |
| 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 |
| STR_LEN | 1 | sd_state->sd | (-1),15-17,26-27,31-44 |
| STR_LEN | 1 | sd_state->sd->entity.name | (-1),7 |
| STR_LEN | 1 | sd_state->sd->name | (-1),51 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | sdformat->format.colorspace | 0-u32max[u] |
| USER_DATA | 2 | sdformat->format.field | 0-u32max[u] |
| USER_DATA | 2 | sdformat->format.height | 0-u32max |
| USER_DATA | 2 | sdformat->format.quantization | 0-u16max[u] |
| USER_DATA | 2 | sdformat->format.width | 0-u32max |
| USER_DATA | 2 | sdformat->format.xfer_func | 0-u16max[u] |
| USER_DATA | 2 | sdformat->format.ycbcr_enc | 0-u16max[u] |
| NO_OVERFLOW_SIMPLE | 0 | sd->entity.num_pads | |
| NO_OVERFLOW_SIMPLE | 1 | sd_state->sd->entity.num_pads | |
| USER_PTR | 2 | sdformat | |
| 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 | 0 | sd->active_state->lock | |
| HALF_LOCKED2 | 1 | sd_state->lock |
drivers/media/platform/nxp/imx7-media-csi.c imx7_csi_set_fmt() -> imx7_csi_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->dev_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | sd_state | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sdformat | 7519483601700659200 |
| PARAM_VALUE | 2 | sdformat->format.colorspace | 1,3,7-12 |
| PARAM_VALUE | 2 | sdformat->format.hsv_enc | 1-u16max |
| PARAM_VALUE | 2 | sdformat->format.quantization | 1-u16max |
| PARAM_VALUE | 2 | sdformat->format.xfer_func | 1-u16max |
| PARAM_VALUE | 2 | sdformat->format.ycbcr_enc | 1-u16max |
| PARAM_VALUE | 2 | sdformat->pad | 1 |
| PARAM_VALUE | 3 | cc | 8826126967707226112 |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | sd_state | (-1),208 |
| BUF_SIZE | 1 | sd_state | (-1),208 |
| BUF_SIZE | 1 | sd_state->lock | (-1),152 |
| BUF_SIZE | 1 | sd_state->pads | (-1),88-5767080 |
| BUF_SIZE | 1 | sd_state->sd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | sd_state | $1 |
| 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 |
| STR_LEN | 1 | sd_state->sd | (-1),15-17,26-27,31-44 |
| STR_LEN | 1 | sd_state->sd->entity.name | (-1),7 |
| STR_LEN | 1 | sd_state->sd->name | (-1),51 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | sdformat->format.field | 0-u32max[u] |
| USER_DATA | 2 | sdformat->format.height | 0-u32max |
| USER_DATA | 2 | sdformat->format.width | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | sd->entity.num_pads | |
| NO_OVERFLOW_SIMPLE | 1 | sd_state->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 | 0 | sd->active_state->lock | |
| HALF_LOCKED2 | 1 | sd_state->lock |