Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/platform/amphion/vdec.c, line 442
- drivers/media/platform/amphion/venc.c, line 108
- drivers/media/platform/amphion/vpu_v4l2.c, line 154
Smatch caller information:
drivers/media/platform/amphion/venc.c venc_enum_fmt() -> vpu_helper_enum_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| DATA_SOURCE | 0 | inst | r to_inst |
| USER_DATA | 1 | type | 0-u32max[u] |
| USER_DATA | 2 | index | s32min-s32max[u] |
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amphion/vpu_v4l2.c vpu_init_format() -> vpu_helper_enum_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 2 | index | 0 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->crop.height | 0-u32max[c] |
| USER_DATA | 0 | inst->crop.width | 0-u32max[c] |
| USER_DATA | 1 | type | 0-u32max[u] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vdec.c vdec_enum_fmt() -> vpu_helper_enum_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | inst | r to_inst |
| USER_DATA | 1 | type | 0-1,3-4,6,9,11,13,15-u32max[u] |
| USER_DATA | 2 | index | s32min-s32max[u] |
| UNITS | 2 | index | unit_array_size |
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |