Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/test-drivers/vimc/vimc-sensor.c, line 91
- drivers/media/test-drivers/visl/visl-video.c, line 114
- drivers/media/test-drivers/vivid/vivid-ctrls.c, line 561
Smatch caller information:
drivers/media/test-drivers/vivid/vivid-ctrls.c vivid_vid_cap_s_ctrl() -> tpg_s_quantization()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/test-drivers/vimc/vimc-sensor.c vimc_sensor_tpg_s_format() -> tpg_s_quantization()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->recalc_colors | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | tpg->compose.width | |
| NO_OVERFLOW_SIMPLE | 0 | tpg->src_width | |
| HALF_LOCKED2 | sd->active_state->lock |
drivers/media/test-drivers/visl/visl-video.c visl_tpg_init() -> tpg_s_quantization()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->quantization | 0 |
| PARAM_VALUE | 0 | tpg->recalc_colors | 1 |
| MEM_ZERO | 0 | tpg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tpg->buf_height | 0 |
| USER_DATA | 0 | tpg->colorspace | 0-7,9-u32max[u] |
| USER_DATA | 0 | tpg->compose.height | 0 |
| USER_DATA | 0 | tpg->compose.width | 0-u32max |
| USER_DATA | 0 | tpg->crop.height | 0-u32max |
| USER_DATA | 0 | tpg->crop.width | 0-u32max |
| USER_DATA | 0 | tpg->fourcc | 808,540029273,540160345,540422489-540422490,808534338,808534599 |
| USER_DATA | 0 | tpg->max_line_width | 0-u32max |
| USER_DATA | 0 | tpg->scaled_width | 0-u32max |
| USER_DATA | 0 | tpg->src_height | 0-u32max |
| USER_DATA | 0 | tpg->src_width | 0-u32max |
| USER_DATA | 0 | tpg->ycbcr_enc | 1-255[u] |
| USER_DATA | 1 | quantization | 0-255[u] |