Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/surface/surface_dtx.c sdtx_device_init() -> sdtx_update_device_state()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->client_list.next 4096-ptr_max
PARAM_VALUE 0 ddev->client_list.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->client_list.prev 4096-ptr_max
PARAM_VALUE 0 ddev->client_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->client_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->client_lock.count.counter 0
PARAM_VALUE 0 ddev->client_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->client_lock.first_waiter 0
PARAM_VALUE 0 ddev->client_lock.magic 4096-ptr_max
PARAM_VALUE 0 ddev->client_lock.osq.tail.counter 0
PARAM_VALUE 0 ddev->client_lock.owner.counter 0
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ddev->ctrl->cplt.event.notif.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ddev->kref.refcount.refs.counter 1
PARAM_VALUE 0 ddev->lock.count.counter 0
PARAM_VALUE 0 ddev->lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->lock.first_waiter 0
PARAM_VALUE 0 ddev->lock.magic 4096-ptr_max
PARAM_VALUE 0 ddev->lock.osq.tail.counter 0
PARAM_VALUE 0 ddev->lock.owner.counter 0
PARAM_VALUE 0 ddev->mdev.fops 2933036098529095680
PARAM_VALUE 0 ddev->mdev.list.next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.list.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.list.prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.list.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.minor 0-s32max
PARAM_VALUE 0 ddev->mdev.name 4628536260949311488
PARAM_VALUE 0 ddev->mdev.nodename 3210895807413743616
PARAM_VALUE 0 ddev->mdev.this_device 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->flags 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 ddev->mdev.this_device->kobj->release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->kobj.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ddev->mdev.this_device->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ddev->mdev.this_device->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ddev->mdev.this_device->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ddev->mdev.this_device->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ddev->mdev.this_device->links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->p->klist_children.get 2213798222526185472
PARAM_VALUE 0 ddev->mdev.this_device->p->klist_children.put 3126867300421632000
PARAM_VALUE 0 ddev->mdev.this_device->p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ddev->mdev.this_device->p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ddev->mdev.this_device->parent->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mdev.this_device->power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->absinfo 0,4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.flags 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 ddev->mode_switch->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 ddev->mode_switch->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ddev->mode_switch->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 ddev->mode_switch->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 ddev->mode_switch->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ddev->mode_switch->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ddev->mode_switch->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 ddev->mode_switch->dev.parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.parent->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.parent->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 ddev->mode_switch->dev.physical_location->panel 0-7
PARAM_VALUE 0 ddev->mode_switch->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 ddev->mode_switch->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ddev->mode_switch->evbit 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->getkeycode 1-u64max
PARAM_VALUE 0 ddev->mode_switch->grab->private->inactivity_work.timer.flags 0-4294967295
PARAM_VALUE 0 ddev->mode_switch->h_list.next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->h_list.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->h_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->h_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->hint_events_per_packet 1-u32max
PARAM_VALUE 0 ddev->mode_switch->id.bustype 25
PARAM_VALUE 0 ddev->mode_switch->max_vals 1-u32max
PARAM_VALUE 0 ddev->mode_switch->mt 0,4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->mt->slot s32min-s32max
PARAM_VALUE 0 ddev->mode_switch->mutex.dep_map->name 0-255
PARAM_VALUE 0 ddev->mode_switch->mutex.first_waiter 0
PARAM_VALUE 0 ddev->mode_switch->mutex.magic 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->mutex.owner.counter 0
PARAM_VALUE 0 ddev->mode_switch->name 3316197622892482560
PARAM_VALUE 0 ddev->mode_switch->node.next 8912400628449923072
PARAM_VALUE 0 ddev->mode_switch->node.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->node.prev 0,4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->node.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->node.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->phys 382469077016367104
PARAM_VALUE 0 ddev->mode_switch->poller 0,4096-ptr_max
PARAM_VALUE 0 ddev->mode_switch->poller->poll_interval 1-4294967295
PARAM_VALUE 0 ddev->mode_switch->poller->poll_interval_max 1-4294967295
PARAM_VALUE 0 ddev->mode_switch->setkeycode 1-u64max
PARAM_VALUE 0 ddev->mode_switch->timer.lockdep_map->name 0-255
PARAM_VALUE 0 ddev->mode_switch->vals 16,4096-ptr_max
PARAM_VALUE 0 ddev->notif.base.fn 9084560582097149952
PARAM_VALUE 0 ddev->notif.base.node.next 4096-ptr_max
PARAM_VALUE 0 ddev->notif.base.priority 1
PARAM_VALUE 0 ddev->notif.event.flags 1
PARAM_VALUE 0 ddev->notif.event.id.instance 0
PARAM_VALUE 0 ddev->notif.event.id.target_category 17
PARAM_VALUE 0 ddev->notif.event.mask 0
PARAM_VALUE 0 ddev->waitq.head.next 4096-ptr_max
PARAM_VALUE 0 ddev->waitq.head.next->next 4096-ptr_max
PARAM_VALUE 0 ddev->waitq.head.prev 4096-ptr_max
PARAM_VALUE 0 ddev->waitq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ddev->waitq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ddev->write_lock.dep_map->name 0-255
PARAM_VALUE 0 ddev->write_lock.first_waiter 0
PARAM_VALUE 0 ddev->write_lock.magic 4096-ptr_max
PARAM_VALUE 0 ddev->write_lock.osq.tail.counter 0
PARAM_VALUE 0 ddev->write_lock.owner.counter 0
PARAM_VALUE 0 *ddev->mode_switch->rep s32min-s32max
PARAM_VALUE 1 delay 0
BUF_SIZE 0 ddev 1128
BUF_SIZE 0 ddev->mdev.fops 272
BUF_SIZE 0 ddev->mdev.name 12
BUF_SIZE 0 ddev->mdev.nodename 12
BUF_SIZE 0 ddev->mode_switch 2480
BUF_SIZE 0 ddev->mode_switch->name 41
BUF_SIZE 0 ddev->mode_switch->phys 27
CAPPED_DATA 0 ddev->mode_switch 1
DATA_SOURCE 0 ddev $0
STR_LEN 0 ddev->mdev.name 11
STR_LEN 0 ddev->mdev.nodename 11
STR_LEN 0 ddev->mode_switch->name 40
STR_LEN 0 ddev->mode_switch->phys 26
BIT_INFO 0 ddev->notif.event.reg 0x0,0x7fffffff
TERMINATED 0 ddev->mdev.name 1
TERMINATED 0 ddev->mdev.nodename 1
TERMINATED 0 ddev->mode_switch->name 1
TERMINATED 0 ddev->mode_switch->phys 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ddev->mode_switch->max_vals

drivers/platform/surface/surface_dtx.c surface_dtx_pm_complete() -> sdtx_update_device_state()

Type Parameter Key Value
PARAM_VALUE 1 delay 0-536870912
BUF_SIZE 0 ddev s32min-(-2),1-s32max
BUF_SIZE 0 ddev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ddev unit_byte
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &system_transition_mutex