Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/soc/intel/atom/sst/sst.c, line 452
- sound/soc/intel/atom/sst/sst_drv_interface.c
- sound/soc/intel/atom/sst/sst_stream.c, line 133
Smatch caller information:
sound/soc/intel/atom/sst/sst_drv_interface.c free_stream_context() -> sst_free_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst_drv_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | str_id | 1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | str_id | 1 |
| DATA_SOURCE | 0 | sst_drv_ctx | $0 |
| DATA_SOURCE | 1 | str_id | $1 |
| PARAM_COMPARE | 0 | sst_drv_ctx->info.max_streams | >= $1 |
| PARAM_COMPARE | 1 | str_id | <= $0->info.max_streams |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst_drv_ctx | unit_byte |
sound/soc/intel/atom/sst/sst_drv_interface.c sst_cdev_close() -> sst_free_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst_drv_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->info.max_streams | 1-u32max |
| PARAM_VALUE | 1 | str_id | 1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | str_id | 1 |
| DATA_SOURCE | 1 | str_id | $1 |
| PARAM_COMPARE | 0 | sst_drv_ctx->info.max_streams | >= $1 |
| PARAM_COMPARE | 1 | str_id | <= $0->info.max_streams |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sst_drv_ctx | unit_byte |
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/atom/sst/sst_stream.c sst_realloc_stream() -> sst_free_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst_drv_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->block_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sst_drv_ctx->info.max_streams | 1-u32max |
| PARAM_VALUE | 0 | sst_drv_ctx->ipc_dispatch_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->ipc_dispatch_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->ipc_dispatch_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->ipc_spin_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sst_drv_ctx->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->streams | 4096-ptr_max |
| PARAM_VALUE | 1 | str_id | 1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | str_id | 1 |
| DATA_SOURCE | 0 | sst_drv_ctx | $0 |
| DATA_SOURCE | 1 | str_id | $1 |
| FUZZY_MAX | 1 | str_id | 1 |
| PARAM_COMPARE | 0 | sst_drv_ctx->info.max_streams | >= $1 |
| PARAM_COMPARE | 1 | str_id | <= $0->info.max_streams |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sst_drv_ctx | unit_byte |
sound/soc/intel/atom/sst/sst.c intel_sst_suspend() -> sst_free_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sst_drv_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->info.max_streams | 1-u32max |
| PARAM_VALUE | 0 | sst_drv_ctx->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sst_drv_ctx->pdata->streams_lost_on_suspend | 1 |
| PARAM_VALUE | 0 | sst_drv_ctx->streams | 4096-ptr_max |
| PARAM_VALUE | 1 | str_id | 1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sst_drv_ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | str_id | 1 |
| FUZZY_MAX | 1 | str_id | 1 |
| PARAM_COMPARE | 0 | sst_drv_ctx->info.max_streams | >= $1 |
| PARAM_COMPARE | 1 | str_id | <= $0->info.max_streams |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sst_drv_ctx | unit_byte |