Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/input/touchscreen/zforce_ts.c zforce_probe() -> zforce_command_wait()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 ts->client 4096-ptr_max
PARAM_VALUE 0 ts->client->adapter 4096-ptr_max
PARAM_VALUE 0 ts->client->debugfs 4096-u64max
PARAM_VALUE 0 ts->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ts->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 ts->command_done.done 0-4294967293,u32max
PARAM_VALUE 0 ts->command_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ts->command_done.wait.lock.owner (-1)
PARAM_VALUE 0 ts->command_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ts->command_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ts->command_waiting 7
PARAM_VALUE 0 ts->gpio_int 0,4096-ptr_max
PARAM_VALUE 0 ts->gpio_rst 4096-ptr_max
PARAM_VALUE 0 ts->input 4096-ptr_max
PARAM_VALUE 0 ts->input->absbit 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.class 8160808337149124608
PARAM_VALUE 0 ts->input->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 ts->input->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 ts->input->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 ts->input->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 ts->input->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 ts->input->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 ts->input->dev.kobj.state_initialized 1
PARAM_VALUE 0 ts->input->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.status 0
PARAM_VALUE 0 ts->input->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.numa_node (-1)
PARAM_VALUE 0 ts->input->dev.parent 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.deferred_resume 0
PARAM_VALUE 0 ts->input->dev.power.disable_depth 1
PARAM_VALUE 0 ts->input->dev.power.early_init 1
PARAM_VALUE 0 ts->input->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.idle_notification 0
PARAM_VALUE 0 ts->input->dev.power.ignore_children 0
PARAM_VALUE 0 ts->input->dev.power.is_late_suspended 0
PARAM_VALUE 0 ts->input->dev.power.is_noirq_suspended 0
PARAM_VALUE 0 ts->input->dev.power.is_prepared 0
PARAM_VALUE 0 ts->input->dev.power.is_suspended 0
PARAM_VALUE 0 ts->input->dev.power.last_status (-1)
PARAM_VALUE 0 ts->input->dev.power.needs_force_resume 0
PARAM_VALUE 0 ts->input->dev.power.qos 0
PARAM_VALUE 0 ts->input->dev.power.request 0
PARAM_VALUE 0 ts->input->dev.power.request_pending 0
PARAM_VALUE 0 ts->input->dev.power.runtime_auto 1
PARAM_VALUE 0 ts->input->dev.power.runtime_error 0
PARAM_VALUE 0 ts->input->dev.power.runtime_status 2
PARAM_VALUE 0 ts->input->dev.power.timer_expires 0
PARAM_VALUE 0 ts->input->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.type 5029887639516573696
PARAM_VALUE 0 ts->input->devres_managed 1
PARAM_VALUE 0 ts->input->evbit 4096-ptr_max
PARAM_VALUE 0 ts->input->h_list.next 4096-ptr_max
PARAM_VALUE 0 ts->input->h_list.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->max_vals 10
PARAM_VALUE 0 ts->input->mutex.first_waiter 0
PARAM_VALUE 0 ts->input->mutex.magic 4096-ptr_max
PARAM_VALUE 0 ts->input->mutex.osq.tail.counter 0
PARAM_VALUE 0 ts->input->mutex.owner.counter 0
PARAM_VALUE 0 ts->input->node.next 4096-ptr_max
PARAM_VALUE 0 ts->input->node.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->timer.entry.pprev 0
PARAM_VALUE 0 ts->input->timer.flags 0-4194302
PARAM_VALUE 0 ts->input->vals 4096-ptr_max
PARAM_VALUE 0 ts->phys 0
PARAM_VALUE 0 *ts->phys 0-127
PARAM_VALUE 1 cmd 1
BUF_SIZE 0 ts 200
BUF_SIZE 0 ts->gpio_int s32min-(-1),1-s32max
BUF_SIZE 0 ts->gpio_rst s32min-(-1),1-s32max
BUF_SIZE 0 ts->input 2480
CAPPED_DATA 0 ts->client->irq 1
CAPPED_DATA 0 ts->gpio_int 1
CAPPED_DATA 0 ts->gpio_rst 1
DATA_SOURCE 0 ts r devm_kzalloc
STR_LEN 0 ts->phys 31
MEM_ZERO 0 ts
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ts->client->irq
NO_OVERFLOW_SIMPLE 0 ts->input->max_vals
NO_OVERFLOW_SIMPLE 0 ts->phys

drivers/input/touchscreen/zforce_ts.c zforce_probe() -> zforce_command_wait()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 ts->client 4096-ptr_max
PARAM_VALUE 0 ts->client->adapter 0
PARAM_VALUE 0 ts->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 ts->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ts->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 ts->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 ts->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 ts->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ts->client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 ts->client->debugfs 0
PARAM_VALUE 0 ts->client->dev.devres_head.prev 0
PARAM_VALUE 0 ts->client->dev.init_name 0
PARAM_VALUE 0 ts->client->devres_group_id 0
PARAM_VALUE 0 ts->command_done.done 0-4294967293,u32max
PARAM_VALUE 0 ts->command_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ts->command_done.wait.lock.owner (-1)
PARAM_VALUE 0 ts->command_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ts->command_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ts->command_waiting 0-255
PARAM_VALUE 0 ts->gpio_int 0,4096-ptr_max
PARAM_VALUE 0 ts->gpio_rst 4096-ptr_max
PARAM_VALUE 0 ts->input 4096-ptr_max
PARAM_VALUE 0 ts->input->absbit 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.class 8160808337149124608
PARAM_VALUE 0 ts->input->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 ts->input->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 ts->input->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 ts->input->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 ts->input->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 ts->input->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 ts->input->dev.kobj.state_initialized 1
PARAM_VALUE 0 ts->input->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.status 0
PARAM_VALUE 0 ts->input->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.numa_node (-1)
PARAM_VALUE 0 ts->input->dev.parent 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.deferred_resume 0
PARAM_VALUE 0 ts->input->dev.power.disable_depth 1
PARAM_VALUE 0 ts->input->dev.power.early_init 1
PARAM_VALUE 0 ts->input->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.idle_notification 0
PARAM_VALUE 0 ts->input->dev.power.ignore_children 0
PARAM_VALUE 0 ts->input->dev.power.is_late_suspended 0
PARAM_VALUE 0 ts->input->dev.power.is_noirq_suspended 0
PARAM_VALUE 0 ts->input->dev.power.is_prepared 0
PARAM_VALUE 0 ts->input->dev.power.is_suspended 0
PARAM_VALUE 0 ts->input->dev.power.last_status (-1)
PARAM_VALUE 0 ts->input->dev.power.needs_force_resume 0
PARAM_VALUE 0 ts->input->dev.power.qos 0
PARAM_VALUE 0 ts->input->dev.power.request 0
PARAM_VALUE 0 ts->input->dev.power.request_pending 0
PARAM_VALUE 0 ts->input->dev.power.runtime_auto 1
PARAM_VALUE 0 ts->input->dev.power.runtime_error 0
PARAM_VALUE 0 ts->input->dev.power.runtime_status 2
PARAM_VALUE 0 ts->input->dev.power.timer_expires 0
PARAM_VALUE 0 ts->input->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->dev.type 5029887639516573696
PARAM_VALUE 0 ts->input->devres_managed 1
PARAM_VALUE 0 ts->input->evbit 4096-ptr_max
PARAM_VALUE 0 ts->input->h_list.next 4096-ptr_max
PARAM_VALUE 0 ts->input->h_list.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->max_vals 10
PARAM_VALUE 0 ts->input->mutex.first_waiter 0
PARAM_VALUE 0 ts->input->mutex.magic 4096-ptr_max
PARAM_VALUE 0 ts->input->mutex.osq.tail.counter 0
PARAM_VALUE 0 ts->input->mutex.owner.counter 0
PARAM_VALUE 0 ts->input->node.next 4096-ptr_max
PARAM_VALUE 0 ts->input->node.prev 4096-ptr_max
PARAM_VALUE 0 ts->input->timer.entry.pprev 0
PARAM_VALUE 0 ts->input->timer.flags 0-4194302
PARAM_VALUE 0 ts->input->vals 4096-ptr_max
PARAM_VALUE 0 ts->phys 0
PARAM_VALUE 0 *ts->phys 0-127
PARAM_VALUE 1 cmd 30
BUF_SIZE 0 ts 200
BUF_SIZE 0 ts->gpio_int s32min-(-1),1-s32max
BUF_SIZE 0 ts->gpio_rst s32min-(-1),1-s32max
BUF_SIZE 0 ts->input 2480
CAPPED_DATA 0 ts->client->irq 1
CAPPED_DATA 0 ts->gpio_int 1
CAPPED_DATA 0 ts->gpio_rst 1
DATA_SOURCE 0 ts r devm_kzalloc
STR_LEN 0 ts->phys 31
MEM_ZERO 0 ts
MEM_ZERO 0 ts->client
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ts->client->irq
NO_OVERFLOW_SIMPLE 0 ts->input->max_vals
NO_OVERFLOW_SIMPLE 0 ts->phys

drivers/input/touchscreen/zforce_ts.c zforce_start() -> zforce_command_wait()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 1 cmd 1
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
DATA_SOURCE 0 ts $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ts unit_byte
HALF_LOCKED2 _T->lock

drivers/input/touchscreen/zforce_ts.c zforce_start() -> zforce_command_wait()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 ts->client 4096-ptr_max
PARAM_VALUE 0 ts->client->adapter 4096-ptr_max
PARAM_VALUE 0 ts->client->adapter->algo->master_xfer 1-u64max
PARAM_VALUE 0 ts->client->adapter->bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ts->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 ts->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 ts->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ts->client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 0 ts->command_done.done 0-4294967293,u32max
PARAM_VALUE 0 ts->command_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ts->command_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ts->command_waiting 0-255
PARAM_VALUE 1 cmd 0
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
DATA_SOURCE 0 ts $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ts unit_byte
HALF_LOCKED2 _T->lock

drivers/input/touchscreen/zforce_ts.c zforce_stop() -> zforce_command_wait()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 *ts->phys 0-255
PARAM_VALUE 1 cmd 0
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts->gpio_int s32min-(-1),1-s32max
BUF_SIZE 0 ts->gpio_rst s32min-(-1),1-s32max
BUF_SIZE 0 ts->input (-1),2480
DATA_SOURCE 0 ts $0
STR_LEN 0 ts->phys (-1),31
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ts->client->irq
NO_OVERFLOW_SIMPLE 0 ts->input->max_vals
UNITS 0 ts unit_byte
HALF_LOCKED2 _T->lock