Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/soc/intel/atom/sst/sst_pci.c intel_sst_probe() -> sst_context_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->block_list.next 0
PARAM_VALUE 0 ctx->block_list.prev 0
PARAM_VALUE 0 ctx->csr_value 0
PARAM_VALUE 0 ctx->ddr 0,4096-ptr_max
PARAM_VALUE 0 ctx->ddr_base 0-4294967295
PARAM_VALUE 0 ctx->ddr_end 0-4294967295
PARAM_VALUE 0 ctx->dev 0
PARAM_VALUE 0 ctx->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 ctx->dev->class 0,4096-ptr_max
PARAM_VALUE 0 ctx->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 ctx->dev_id 0
PARAM_VALUE 0 ctx->dram 0
PARAM_VALUE 0 ctx->dram_base 0-4294967295
PARAM_VALUE 0 ctx->dram_end 0-4294967295
PARAM_VALUE 0 ctx->fw_clear_context.counter 0
PARAM_VALUE 0 ctx->fw_in_mem 0
PARAM_VALUE 0 ctx->fw_save 0
PARAM_VALUE 0 ctx->fw_sg_list.dst 0
PARAM_VALUE 0 ctx->fw_sg_list.list_len 0
PARAM_VALUE 0 ctx->fw_sg_list.sg_idx 0
PARAM_VALUE 0 ctx->fw_sg_list.src 0
PARAM_VALUE 0 ctx->fw_version.build 0
PARAM_VALUE 0 ctx->fw_version.major 0
PARAM_VALUE 0 ctx->fw_version.minor 0
PARAM_VALUE 0 ctx->fw_version.type 0
PARAM_VALUE 0 ctx->info.dma_max_len 0-4294967295
PARAM_VALUE 0 ctx->info.dram_end 0-4294967295
PARAM_VALUE 0 ctx->info.dram_start 0-4294967295
PARAM_VALUE 0 ctx->info.dram_use 0-1
PARAM_VALUE 0 ctx->info.imr_end 0-4294967295
PARAM_VALUE 0 ctx->info.imr_start 0-4294967295
PARAM_VALUE 0 ctx->info.imr_use 0-1
PARAM_VALUE 0 ctx->info.iram_end 0-4294967295
PARAM_VALUE 0 ctx->info.iram_start 0-4294967295
PARAM_VALUE 0 ctx->info.iram_use 0-1
PARAM_VALUE 0 ctx->info.lpe_viewpt_rqd 0-1
PARAM_VALUE 0 ctx->info.mailbox_start 0-4294967295
PARAM_VALUE 0 ctx->info.max_streams 0-4294967295
PARAM_VALUE 0 ctx->info.num_probes 0-255
PARAM_VALUE 0 ctx->info.use_elf 0-1
PARAM_VALUE 0 ctx->ipc_dispatch_list.next 0
PARAM_VALUE 0 ctx->ipc_dispatch_list.prev 0
PARAM_VALUE 0 ctx->ipc_post_msg_wq.entry.next 0
PARAM_VALUE 0 ctx->ipc_post_msg_wq.entry.prev 0
PARAM_VALUE 0 ctx->ipc_post_msg_wq.func 0
PARAM_VALUE 0 ctx->ipc_reg.ipcd 0
PARAM_VALUE 0 ctx->ipc_reg.ipcx 0
PARAM_VALUE 0 ctx->iram 0,4096-ptr_max
PARAM_VALUE 0 ctx->iram_base 0-4294967295
PARAM_VALUE 0 ctx->iram_end 0-4294967295
PARAM_VALUE 0 ctx->lib_dwnld_reqd 0
PARAM_VALUE 0 ctx->lib_mem_mgr.avail 0
PARAM_VALUE 0 ctx->lib_mem_mgr.count 0
PARAM_VALUE 0 ctx->lib_mem_mgr.current_base 0
PARAM_VALUE 0 ctx->library_list.dst 0
PARAM_VALUE 0 ctx->library_list.list_len 0
PARAM_VALUE 0 ctx->library_list.sg_idx 0
PARAM_VALUE 0 ctx->library_list.src 0
PARAM_VALUE 0 ctx->mailbox 0,4096-ptr_max
PARAM_VALUE 0 ctx->mailbox_add 0-4294967295
PARAM_VALUE 0 ctx->mailbox_recv_offset 0
PARAM_VALUE 0 ctx->memcpy_list.next 0
PARAM_VALUE 0 ctx->memcpy_list.prev 0
PARAM_VALUE 0 ctx->ops 0
PARAM_VALUE 0 ctx->pci 0,4096-ptr_max
PARAM_VALUE 0 ctx->pci->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ctx->pci->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 ctx->pci->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctx->pci->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->pci->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctx->pci->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 ctx->pci->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ctx->pci->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ctx->pci->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->pci->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ctx->pci->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 ctx->pci->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctx->pci->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ctx->pci->p2pdma->p2pmem_published 0-1
PARAM_VALUE 0 ctx->pci->subordinate->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ctx->pdata 0,4096-ptr_max
PARAM_VALUE 0 ctx->post_msg_wq 0
PARAM_VALUE 0 ctx->pvt_id 0
PARAM_VALUE 0 ctx->qos 0
PARAM_VALUE 0 ctx->rx_list.next 0
PARAM_VALUE 0 ctx->rx_list.prev 0
PARAM_VALUE 0 ctx->shim 0,4096-ptr_max
PARAM_VALUE 0 ctx->shim_phy_add 0-4294967295
PARAM_VALUE 0 ctx->sst_lock.first_waiter 0
PARAM_VALUE 0 ctx->sst_lock.magic 0
PARAM_VALUE 0 ctx->sst_lock.osq.tail.counter 0
PARAM_VALUE 0 ctx->sst_lock.owner.counter 0
PARAM_VALUE 0 ctx->sst_state 0
PARAM_VALUE 0 ctx->stream_cnt 0
PARAM_VALUE 0 ctx->tstamp 0
PARAM_VALUE 0 ctx->use_dma 0
PARAM_VALUE 0 ctx->use_lli 0
PARAM_VALUE 0 ctx->wait_queue.head.next 0
PARAM_VALUE 0 ctx->wait_queue.head.prev 0
PARAM_VALUE 0 *ctx->pci->saved_config_space 0-4294967295
BUF_SIZE 0 ctx->pci (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064
BUF_SIZE 0 ctx->pdata s32min-(-2),1-s32max
STR_LEN 0 ctx->firmware_name 31
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctx->pci->acs_capabilities 0-u16max
HOST_DATA 0 ctx->pci->bus->bridge_ctl 0-u16max
HOST_DATA 0 ctx->pci->bus->parent->bridge_ctl 0-u16max
HOST_DATA 0 ctx->pci->class 0-16777215
HOST_DATA 0 ctx->pci->current_state 0-3[c]
HOST_DATA 0 ctx->pci->devcap 0-u32max
HOST_DATA 0 ctx->pci->devfn 0-503[c]
HOST_DATA 0 ctx->pci->device 0-u16max
HOST_DATA 0 ctx->pci->eetlp_prefix_max 0-7[c]
HOST_DATA 0 ctx->pci->fm_enabled 0-1[c]
HOST_DATA 0 ctx->pci->hdr_type 0-255[c]
HOST_DATA 0 ctx->pci->ide_cfg 0-1[c]
HOST_DATA 0 ctx->pci->ide_tee_limit 0-1[c]
HOST_DATA 0 ctx->pci->irq 0-255
HOST_DATA 0 ctx->pci->is_cxl 0-1
HOST_DATA 0 ctx->pci->multifunction 0-1[c]
HOST_DATA 0 ctx->pci->nr_ide_mem 0-255[c]
HOST_DATA 0 ctx->pci->pcie_flags_reg 0-u16max
HOST_DATA 0 ctx->pci->pcie_mpss 0-7[c]
HOST_DATA 0 ctx->pci->physfn->acs_capabilities 0-u16max
HOST_DATA 0 ctx->pci->physfn->bus->bridge_ctl 0-u16max
HOST_DATA 0 ctx->pci->physfn->bus->parent->bridge_ctl 0-u16max
HOST_DATA 0 ctx->pci->physfn->class 0-16777215
HOST_DATA 0 ctx->pci->physfn->current_state 0-3[c]
HOST_DATA 0 ctx->pci->physfn->devcap 0-u32max
HOST_DATA 0 ctx->pci->physfn->devfn 1-503[c]
HOST_DATA 0 ctx->pci->physfn->device 0-u16max
HOST_DATA 0 ctx->pci->physfn->eetlp_prefix_max 0-7[c]
HOST_DATA 0 ctx->pci->physfn->fm_enabled 0-1[c]
HOST_DATA 0 ctx->pci->physfn->hdr_type 0-255[c]
HOST_DATA 0 ctx->pci->physfn->ide_cfg 0-1[c]
HOST_DATA 0 ctx->pci->physfn->ide_tee_limit 0-1[c]
HOST_DATA 0 ctx->pci->physfn->irq 0-255
HOST_DATA 0 ctx->pci->physfn->is_cxl 0-1
HOST_DATA 0 ctx->pci->physfn->multifunction 0-1[c]
HOST_DATA 0 ctx->pci->physfn->nr_ide_mem 0-255[c]
HOST_DATA 0 ctx->pci->physfn->pcie_flags_reg 0-u16max
HOST_DATA 0 ctx->pci->physfn->pcie_mpss 0-7[c]
HOST_DATA 0 ctx->pci->physfn->pin 0
HOST_DATA 0 ctx->pci->physfn->pme_support 0-31[c]
HOST_DATA 0 ctx->pci->physfn->ptm_granularity 0-255[c]
HOST_DATA 0 ctx->pci->physfn->revision 0-255
HOST_DATA 0 ctx->pci->physfn->sriov->class 0-4294967295
HOST_DATA 0 ctx->pci->physfn->sriov->hdr_type 0-255
HOST_DATA 0 ctx->pci->physfn->sriov->max_VF_buses 0-255[c]
HOST_DATA 0 ctx->pci->physfn->sriov->offset 0-u16max
HOST_DATA 0 ctx->pci->physfn->sriov->stride 0-u16max
HOST_DATA 0 ctx->pci->physfn->sriov->subsystem_device 0-u16max
HOST_DATA 0 ctx->pci->physfn->sriov->subsystem_vendor 0-u16max
HOST_DATA 0 ctx->pci->physfn->subsystem_device 0-u16max
HOST_DATA 0 ctx->pci->physfn->subsystem_vendor 0-u16max
HOST_DATA 0 ctx->pci->physfn->supported_speeds 0,2-254[c]
HOST_DATA 0 ctx->pci->physfn->transparent 0[c]
HOST_DATA 0 ctx->pci->physfn->vendor 0-u16max
HOST_DATA 0 ctx->pci->pin 0
HOST_DATA 0 ctx->pci->pme_support 0-31[c]
HOST_DATA 0 ctx->pci->ptm_granularity 0-255[c]
HOST_DATA 0 ctx->pci->revision 0-255
HOST_DATA 0 ctx->pci->sriov->initial_VFs 0
HOST_DATA 0 ctx->pci->sriov->max_VF_buses 0-255[c]
HOST_DATA 0 ctx->pci->sriov->offset 0
HOST_DATA 0 ctx->pci->sriov->stride 0
HOST_DATA 0 ctx->pci->subsystem_device 0-u16max
HOST_DATA 0 ctx->pci->subsystem_vendor 0-u16max
HOST_DATA 0 ctx->pci->supported_speeds 0,2-254[c]
HOST_DATA 0 ctx->pci->transparent 0[c]
HOST_DATA 0 ctx->pci->vendor 0-u16max
HOST_DATA 0 *ctx->pci->dev.driver_data s64min-s64max
HOST_DATA 0 *ctx->pci->physfn->dev.driver_data s64min-s64max

sound/soc/intel/atom/sst/sst_pci.c intel_sst_remove() -> sst_context_cleanup()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ctx unit_byte

sound/soc/intel/atom/sst/sst_acpi.c sst_acpi_remove() -> sst_context_cleanup()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ctx unit_byte
HALF_LOCKED2 &_dev->mutex