Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/test-drivers/visl/visl-dec.c, line 37
- drivers/media/test-drivers/vivid/vivid-kthread-cap.c
- drivers/media/test-drivers/vivid/vivid-vid-cap.c
Smatch caller information:
drivers/media/test-drivers/visl/visl-dec.c plane_vaddr() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| DATA_SOURCE | 0 | tpg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/test-drivers/vivid/vivid-vid-cap.c vid_cap_buf_prepare() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/test-drivers/vivid/vivid-vid-cap.c vid_cap_queue_setup() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->buffers | 1-3 |
| USER_DATA | 0 | tpg->buf_height | 0-u32max[u] |
| USER_DATA | 0 | tpg->fourcc | 540029273,540160345,540422489,808534338,808534599,808535874,808 |
| NO_OVERFLOW_SIMPLE | 0 | tpg->compose.width | |
| NO_OVERFLOW_SIMPLE | 0 | tpg->src_width | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| PARAM_VALUE | 0 | tpg->buffers | 1-3 |
| USER_DATA | 0 | tpg->buf_height | 0-u32max[u] |
| USER_DATA | 0 | tpg->fourcc | 540029273,540160345,540422489,808534338,808534599,808535874,808 |
| NO_OVERFLOW_SIMPLE | 0 | tpg->compose.width | |
| NO_OVERFLOW_SIMPLE | 0 | tpg->src_width | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/test-drivers/vivid/vivid-kthread-cap.c plane_vaddr() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| BUF_SIZE | 0 | tpg | 1616 |
| DATA_SOURCE | 0 | tpg | $0 |
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &out_dev->mutex | ||
| TYPE_LOCK | (struct vivid_dev)->mutex |
drivers/media/test-drivers/vivid/vivid-kthread-cap.c vivid_fillbuff() -> tpg_g_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tpg | 4096-ptr_max |
| BUF_SIZE | 0 | tpg | 1616 |
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &out_dev->mutex | ||
| TYPE_LOCK | (struct vivid_dev)->mutex |