Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c, line 184
- drivers/media/test-drivers/vimc/vimc-sensor.c, line 478
- drivers/media/test-drivers/visl/visl-video.c, line 96
- drivers/media/test-drivers/vivid/vivid-core.c, line 1857
Smatch caller information:
drivers/media/test-drivers/vimc/vimc-sensor.c vimc_sensor_add() -> tpg_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->brightness | 128 |
| PARAM_VALUE | 0 | tpg->buffers | 1 |
| PARAM_VALUE | 0 | tpg->colorspace | 8 |
| PARAM_VALUE | 0 | tpg->contrast | 128 |
| PARAM_VALUE | 0 | tpg->crop.top | 0 |
| PARAM_VALUE | 0 | tpg->field | 1 |
| PARAM_VALUE | 0 | tpg->fourcc | 859981650 |
| PARAM_VALUE | 0 | tpg->hflip | 0 |
| PARAM_VALUE | 0 | tpg->hsv_enc | 128 |
| PARAM_VALUE | 0 | tpg->hue | 0 |
| PARAM_VALUE | 0 | tpg->max_line_width | 0 |
| PARAM_VALUE | 0 | tpg->mv_hor_mode | 3 |
| PARAM_VALUE | 0 | tpg->mv_vert_mode | 3 |
| PARAM_VALUE | 0 | tpg->pattern | 0 |
| PARAM_VALUE | 0 | tpg->perc_fill | 100 |
| PARAM_VALUE | 0 | tpg->qual | 0 |
| PARAM_VALUE | 0 | tpg->recalc_colors | 1 |
| PARAM_VALUE | 0 | tpg->recalc_square_border | 1 |
| PARAM_VALUE | 0 | tpg->saturation | 128 |
| PARAM_VALUE | 0 | tpg->vflip | 0 |
| PARAM_VALUE | 1 | max_w | 4096 |
| MEM_ZERO | 0 | tpg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/test-drivers/vivid/vivid-core.c vivid_create_instance() -> tpg_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->brightness | 128 |
| PARAM_VALUE | 0 | tpg->buffers | 1 |
| PARAM_VALUE | 0 | tpg->colorspace | 8 |
| PARAM_VALUE | 0 | tpg->contrast | 128 |
| PARAM_VALUE | 0 | tpg->crop.top | 0 |
| PARAM_VALUE | 0 | tpg->field | 1 |
| PARAM_VALUE | 0 | tpg->fourcc | 859981650 |
| PARAM_VALUE | 0 | tpg->hflip | 0 |
| PARAM_VALUE | 0 | tpg->hsv_enc | 128 |
| PARAM_VALUE | 0 | tpg->hue | 0 |
| PARAM_VALUE | 0 | tpg->max_line_width | 0 |
| PARAM_VALUE | 0 | tpg->mv_hor_mode | 3 |
| PARAM_VALUE | 0 | tpg->mv_vert_mode | 3 |
| PARAM_VALUE | 0 | tpg->pattern | 0 |
| PARAM_VALUE | 0 | tpg->perc_fill | 100 |
| PARAM_VALUE | 0 | tpg->qual | 0 |
| PARAM_VALUE | 0 | tpg->recalc_colors | 1 |
| PARAM_VALUE | 0 | tpg->recalc_square_border | 1 |
| PARAM_VALUE | 0 | tpg->saturation | 128 |
| PARAM_VALUE | 0 | tpg->vflip | 0 |
| PARAM_VALUE | 1 | max_w | 16384 |
| MEM_ZERO | 0 | tpg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/test-drivers/visl/visl-video.c visl_tpg_init() -> tpg_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->brightness | 128 |
| PARAM_VALUE | 0 | tpg->buffers | 1 |
| PARAM_VALUE | 0 | tpg->colorspace | 8 |
| PARAM_VALUE | 0 | tpg->contrast | 128 |
| PARAM_VALUE | 0 | tpg->crop.top | 0 |
| PARAM_VALUE | 0 | tpg->field | 1 |
| PARAM_VALUE | 0 | tpg->fourcc | 859981650 |
| PARAM_VALUE | 0 | tpg->hflip | 0 |
| PARAM_VALUE | 0 | tpg->hsv_enc | 128 |
| PARAM_VALUE | 0 | tpg->hue | 0 |
| PARAM_VALUE | 0 | tpg->max_line_width | 0 |
| PARAM_VALUE | 0 | tpg->mv_hor_mode | 3 |
| PARAM_VALUE | 0 | tpg->mv_vert_mode | 3 |
| PARAM_VALUE | 0 | tpg->pattern | 0 |
| PARAM_VALUE | 0 | tpg->perc_fill | 100 |
| PARAM_VALUE | 0 | tpg->qual | 0 |
| PARAM_VALUE | 0 | tpg->recalc_colors | 1 |
| PARAM_VALUE | 0 | tpg->recalc_square_border | 1 |
| PARAM_VALUE | 0 | tpg->saturation | 128 |
| PARAM_VALUE | 0 | tpg->vflip | 0 |
| MEM_ZERO | 0 | tpg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | tpg->buf_height | 0 |
| USER_DATA | 0 | tpg->compose.height | 0 |
| USER_DATA | 0 | tpg->compose.width | 0 |
| USER_DATA | 0 | tpg->fourcc | 859981650 |
| USER_DATA | 0 | tpg->src_width | 0 |
| USER_DATA | 1 | max_w | 0-u32max |
| UNITS | 1 | max_w | unit_byte |