Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/media/platform/amphion/venc.c
- drivers/media/platform/amphion/vpu_helpers.c
- drivers/media/platform/amphion/vpu_msgs.c, line 71
- drivers/media/platform/amphion/vpu_v4l2.c, line 196
Smatch caller information:
drivers/media/platform/amphion/venc.c venc_enum_frameintervals() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->formats | 1-u64max |
| DATA_SOURCE | 0 | inst | r to_inst |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amphion/venc.c venc_enum_framesizes() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->formats | 1-u64max |
| DATA_SOURCE | 0 | inst | r to_inst |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amphion/venc.c venc_s_selection() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| DATA_SOURCE | 0 | inst | r to_inst |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amphion/vpu_v4l2.c vpu_calc_fmt_sizeimage() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->formats | 1-u64max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| 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] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_msgs.c vpu_session_handle_seq_hdr() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res->plat_type | 0-1 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| DATA_SOURCE | 0 | inst | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/amphion/vpu_helpers.c vpu_helper_valid_frame_height() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->formats | 1-u64max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| 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] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_helpers.c vpu_helper_valid_frame_width() -> vpu_get_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->formats | 1-u64max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| 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] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |