Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/wwan/iosm/iosm_ipc_imem.c ipc_imem_channel_close() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->channels | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->nr_of_channels | 1-u32max |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| DATA_SOURCE | 0 | ipc_imem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wwan/iosm/iosm_ipc_imem.c ipc_imem_channel_close() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->channels | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->p_ap_shm | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->pcie->pci->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc_imem->nr_of_channels | 1-u32max |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| DATA_SOURCE | 0 | ipc_imem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wwan/iosm/iosm_ipc_imem.c ipc_imem_channel_reset() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->channels | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_ctx->index | 0-4294967295 |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_ctx->reload_failed | 0-1 |
| PARAM_VALUE | 0 | ipc_imem->mux->channel->state | 0-3 |
| PARAM_VALUE | 0 | ipc_imem->nr_of_channels | 1-u32max |
| PARAM_VALUE | 0 | ipc_imem->pcie | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->pcie->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->pcie->pci->bus->self->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | ipc_imem->phase | 1 |
| PARAM_VALUE | 0 | ipc_imem->run_state_worker.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_devlink->pcie->imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_devlink->pcie->imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->mux->imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->mux->imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| CAPPED_DATA | 0 | ipc_imem->fast_update_timer.base | 1 |
| CAPPED_DATA | 0 | ipc_imem->startup_timer.base | 1 |
| CAPPED_DATA | 0 | ipc_imem->td_alloc_timer.base | 1 |
| CAPPED_DATA | 0 | ipc_imem->tdupdate_timer.base | 1 |
| DATA_SOURCE | 0 | ipc_imem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wwan/iosm/iosm_ipc_imem.c ipc_imem_channel_reset() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->channels | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_ctx->index | 0-4294967295 |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_ctx->reload_failed | 0-1 |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->p_ap_shm | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->pcie->pci->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc_imem->mux->channel->state | 0-3 |
| PARAM_VALUE | 0 | ipc_imem->nr_of_channels | 1-u32max |
| PARAM_VALUE | 0 | ipc_imem->pcie | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->pcie->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->pcie->pci->bus->self->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | ipc_imem->phase | 1 |
| PARAM_VALUE | 0 | ipc_imem->run_state_worker.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_devlink->pcie->imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_devlink->pcie->imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->mux->imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->mux->imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| CAPPED_DATA | 0 | ipc_imem->fast_update_timer.base | 1 |
| CAPPED_DATA | 0 | ipc_imem->startup_timer.base | 1 |
| CAPPED_DATA | 0 | ipc_imem->td_alloc_timer.base | 1 |
| CAPPED_DATA | 0 | ipc_imem->tdupdate_timer.base | 1 |
| DATA_SOURCE | 0 | ipc_imem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wwan/iosm/iosm_ipc_imem.c ipc_imem_pipe_close() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->imem->ipc_task->ipc_queue.q_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->p_ap_shm | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->pcie->pci->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ipc_imem->pcie->pci->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->is_open | 0 |
| BUF_SIZE | 0 | ipc_imem->ipc_protocol | (-1),1224 |
| BUF_SIZE | 0 | ipc_imem->ipc_protocol->imem | (-1),3984 |
| BUF_SIZE | 0 | ipc_imem->ipc_task | (-1),14432 |
| BUF_SIZE | 0 | ipc_imem->mmio | (-1),88 |
| DATA_SOURCE | 0 | ipc_imem | $0 |
| DATA_SOURCE | 1 | pipe | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ipc_imem->cp_version | s32min-(-2),0-s32max |
| HOST_DATA | 0 | ipc_imem->mmio->chip_info_version | 0-255 |
| HOST_DATA | 0 | ipc_imem->mmio->has_mcr_support | 0-1 |
| HOST_DATA | 0 | ipc_imem->mmio->has_slp_no_prot | 0-1 |
| HOST_DATA | 0 | ipc_imem->mmio->has_ul_flow_credit | 0-1 |
| HOST_DATA | 0 | ipc_imem->mmio->mux_protocol | 0-u32max |
| HOST_DATA | 0 | ipc_imem->mmio->offset.chip_info | 4 |
| HOST_DATA | 0 | ipc_imem->mmio->offset.exec_stage | 0 |
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c ipc_imem_sys_devlink_close() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_sio.channel->state | 3 |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->mmio | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c ipc_imem_sys_devlink_close() -> ipc_imem_pipe_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc_imem | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_sio.channel->state | 3 |
| PARAM_VALUE | 0 | ipc_imem->ipc_devlink->devlink_sio.channel->ul_pipe.channel | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->p_ap_shm | 4096-ptr_max |
| PARAM_VALUE | 0 | ipc_imem->ipc_protocol->pcie->pci->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc_imem->mmio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->head_array | 0-4294967295 |
| PARAM_VALUE | 0 | *ipc_imem->ipc_protocol->p_ap_shm->tail_array | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |