Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/tee/amdtee/core.c, line 448
- drivers/tee/optee/ffa_abi.c
- drivers/tee/optee/smc_abi.c
- drivers/tee/qcomtee/call.c, line 728
- drivers/tee/tee_core.c, line 1226
- drivers/tee/tstee/core.c, line 437
Smatch caller information:
drivers/tee/qcomtee/call.c qcomtee_probe() -> tee_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->c_no_users.done | 0 |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->cdev.count | 0 |
| PARAM_VALUE | 0 | teedev->cdev.dev | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.kset | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.name | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.parent | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.cpu | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.entry.next | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.expires | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.flags | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.function | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.work.data.counter | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.work.entry.next | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.work.entry.prev | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.wq | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.sd | 0 |
| PARAM_VALUE | 0 | teedev->cdev.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->cdev.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->cdev.ops | 3525414413129207808 |
| PARAM_VALUE | 0 | teedev->cdev.owner | 0 |
| PARAM_VALUE | 0 | teedev->desc | 1252983547506110464 |
| PARAM_VALUE | 0 | teedev->dev.class | 7246655633256935424 |
| PARAM_VALUE | 0 | teedev->dev.devres_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.devt | 0-s32max |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_uses_io_tlb | 0 |
| PARAM_VALUE | 0 | teedev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | teedev->dev.kobj.kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | teedev->dev.kobj.name | 1-u64max |
| PARAM_VALUE | 0 | teedev->dev.kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | teedev->dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | teedev->dev.links.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.consumers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.defer_sync.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.defer_sync.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.status | 0 |
| PARAM_VALUE | 0 | teedev->dev.links.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.suppliers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.numa_node | (-1) |
| PARAM_VALUE | 0 | teedev->dev.parent | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | teedev->dev.power.early_init | 1 |
| PARAM_VALUE | 0 | teedev->dev.power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.power.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.power.is_prepared | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.is_suspended | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | teedev->dev.power.needs_force_resume | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.qos | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.request | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | teedev->dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | teedev->dev.power.wait_queue.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.power.wait_queue.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.release | 8871593852114354176 |
| PARAM_VALUE | 0 | teedev->id | 0-31 |
| PARAM_VALUE | 0 | teedev->idr.idr_base | 0 |
| PARAM_VALUE | 0 | teedev->idr.idr_next | 0 |
| PARAM_VALUE | 0 | teedev->idr.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | teedev->idr.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | teedev->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | teedev->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | teedev->num_users | 1 |
| PARAM_VALUE | 0 | teedev->pool | 4096-ptr_max |
| BUF_SIZE | 0 | teedev | 2312 |
| CAPPED_DATA | 0 | teedev->id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tee/amdtee/core.c amdtee_driver_init() -> tee_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->c_no_users.done | 0 |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->c_no_users.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->cdev.count | 0 |
| PARAM_VALUE | 0 | teedev->cdev.dev | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.kset | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.name | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.parent | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.cpu | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.entry.next | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.expires | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.flags | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.timer.function | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.work.data.counter | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.work.entry.next | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.work.entry.prev | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.release.wq | 0 |
| PARAM_VALUE | 0 | teedev->cdev.kobj.sd | 0 |
| PARAM_VALUE | 0 | teedev->cdev.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->cdev.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->cdev.ops | 3525414413129207808 |
| PARAM_VALUE | 0 | teedev->cdev.owner | 0 |
| PARAM_VALUE | 0 | teedev->desc | 6766196362933907456 |
| PARAM_VALUE | 0 | teedev->dev.class | 7246655633256935424 |
| PARAM_VALUE | 0 | teedev->dev.devres_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.devt | 0-s32max |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_io_tlb_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_pools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.dma_uses_io_tlb | 0 |
| PARAM_VALUE | 0 | teedev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | teedev->dev.kobj.kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | teedev->dev.kobj.name | 1-u64max |
| PARAM_VALUE | 0 | teedev->dev.kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | teedev->dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | teedev->dev.links.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.consumers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.defer_sync.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.defer_sync.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.status | 0 |
| PARAM_VALUE | 0 | teedev->dev.links.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.links.suppliers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.numa_node | (-1) |
| PARAM_VALUE | 0 | teedev->dev.parent | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | teedev->dev.power.early_init | 1 |
| PARAM_VALUE | 0 | teedev->dev.power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.power.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.power.is_prepared | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.is_suspended | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | teedev->dev.power.needs_force_resume | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.qos | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.request | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | teedev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | teedev->dev.power.timer_expires | 0 |
| PARAM_VALUE | 0 | teedev->dev.power.wait_queue.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.power.wait_queue.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->dev.release | 8871593852114354176 |
| PARAM_VALUE | 0 | teedev->id | 0-31 |
| PARAM_VALUE | 0 | teedev->idr.idr_base | 0 |
| PARAM_VALUE | 0 | teedev->idr.idr_next | 0 |
| PARAM_VALUE | 0 | teedev->idr.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | teedev->idr.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | teedev->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | teedev->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | teedev->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | teedev->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | teedev->num_users | 1 |
| PARAM_VALUE | 0 | teedev->pool | 4096-ptr_max |
| BUF_SIZE | 0 | teedev | 2312 |
| CAPPED_DATA | 0 | teedev->id | 1 |